Debian Codegraph @

test-suite/bugs/bug_3377.v

raw
1 Set Primitive Projections.
2 Set Implicit Arguments.
3 Record prod A B := pair { fst : A; snd : B}.
4
5 Goal fst (@pair Type Type Type Type).
6 Set Printing All.
7 match goal with |- ?f ?x => set (foo := f x) end.
8 Abort.
9
10 Goal forall x : prod Set Set, x = @pair _ _ (fst x) (snd x).
11 Proof.
12 intro x.
13 lazymatch goal with
14 | [ |- ?x = @pair _ _ (?f ?x) (?g ?x) ] => pose f
15 end.
16 (* Toplevel input, characters 7-44:
17 Error: No matching clauses for match. *)
18 Abort.