Debian Codegraph @

test-suite/bugs/bug_3596.v

raw
1 Require Import TestSuite.admit.
2 Set Implicit Arguments.
3 Record foo := { fx : nat }.
4 Set Primitive Projections.
5 Record bar := { bx : nat }.
6 Definition Foo (f : foo) : f = f.
7 destruct f as [fx]; destruct fx; admit.
8 Defined.
9 Definition Bar (b : bar) : b = b.
10 destruct b as [fx]; destruct fx; admit.
11 Defined.
12 Goal forall f b, Bar b = Bar b -> Foo f = Foo f.
13 intros f b.
14 destruct f, b.
15 simpl.
16 Fail progress unfold Bar. (* success *)
17 Fail progress unfold Foo. (* failed to progress *)
18 reflexivity.
19 Qed.