Debian Codegraph @

test-suite/bugs/bug_3709.v

raw
1 Require Import TestSuite.admit.
2 Module NonPrim.
3 Unset Primitive Projections.
4 Record hProp := hp { hproptype :> Type }.
5 Goal forall (h : (Type -> hProp) -> (Type -> hProp)) k f,
6 (forall y, h y = y) ->
7 h (fun b : Type => {| hproptype := f b |}) = k.
8 Proof.
9 intros h k f H.
10 etransitivity.
11 apply H.
12 admit.
13 Defined.
14 End NonPrim.
15 Module Prim.
16 Set Primitive Projections.
17 Record hProp := hp { hproptype :> Type }.
18 Goal forall (h : (Type -> hProp) -> (Type -> hProp)) k f,
19 (forall y, h y = y) ->
20 h (fun b : Type => {| hproptype := f b |}) = k.
21 Proof.
22 intros h k f H.
23 etransitivity.
24 apply H.
25 Abort.
26 End Prim.