Coq-Equations icon indicating copy to clipboard operation
Coq-Equations copied to clipboard

Unable to build a covering for records containing definitions

Open jakobbotsch opened this issue 4 years ago • 1 comments

Equations fails to build a covering for the following:

Record test := mk { foo : nat; bar := foo }.
Equations baz (t : test) : nat :=
baz (mk 0) := 0;
baz (mk (S n)) with true := {
  | true => 0;
  | false => 0
  }.

If bar := foo is removed it works.

jakobbotsch avatar Oct 12 '20 16:10 jakobbotsch

Hmm, that one's not so easy, it will take some time to get right.

mattam82 avatar Nov 18 '20 18:11 mattam82