Debian Codegraph @

test-suite/bugs/bug_3854.v

raw
1 Require Import TestSuite.admit.
2 Definition relation (A : Type) := A -> A -> Type.
3 Class Reflexive {A} (R : relation A) := reflexivity : forall x : A, R x x.
4 Axiom IsHProp : Type -> Type.
5 Existing Class IsHProp.
6 Inductive Empty : Set := .
7 Notation "~ x" := (x -> Empty) : type_scope.
8 Record hProp := BuildhProp { type :> Type ; trunc : IsHProp type }.
9 Arguments BuildhProp _ {_}.
10 Canonical Structure default_hProp := fun T P => (@BuildhProp T P).
11 Generalizable Variables A B f g e n.
12 Axiom trunc_forall : forall `{P : A -> Type}, IsHProp (forall a, P a).
13 #[export] Existing Instance trunc_forall.
14 Inductive V : Type := | set {A : Type} (f : A -> V) : V.
15 Axiom mem : V -> V -> hProp.
16 Axiom mem_induction
17 : forall (C : V -> hProp), (forall v, (forall x, mem x v -> C x) -> C v) -> forall v, C v.
18 Definition irreflexive_mem : forall x, (fun x y => ~ mem x y) x x.
19 Proof.
20 pose (fun x => BuildhProp (~ mem x x)).
21 refine (mem_induction (fun x => BuildhProp (~ mem x x)) _); simpl in *.
22 admit.
23 Abort.