Debian Codegraph @

test-suite/bugs/bug_19264.v

raw
1 Lemma f_equal@{a b} : forall (A:Type@{a}) (B : Type@{b}) (f : A -> B) (x y : A), x = y -> f x = f y.
2 Proof. intros;congruence. Qed.
3
4 Register f_equal as core.eq.congr.
5
6 Set Universe Polymorphism.
7
8 Inductive prod (A B:Type) := pair : A -> B -> prod A B.
9
10 Scheme Equality for prod.
11 (*
12 Error: Unexpected error during scheme creation: Unsatisfied constraints:
13 foo.30 <= f_equal.a
14 foo.30 <= f_equal.b
15 foo.31 <= f_equal.a
16 foo.31 <= f_equal.b (maybe a bugged tactic).
17 *)