Debian Codegraph @

test-suite/bugs/bug_19680_1.v

raw
1 Axiom admit : False.
2
3 Record CSetoid : Type := makeCSetoid {cs_crr :> Type}.
4
5 Inductive QposInf : Set :=
6 | Qpos2QposInf : QposInf
7 | QposInfinity : QposInf.
8
9 Axiom is_RegularFunction : forall {X:Type} (x:QposInf -> X), Prop.
10
11 Record Complete (X:Type) : Type := {approximate : QposInf -> X ;regFun_prf : is_RegularFunction approximate }.
12
13 Axiom Q_as_MetricSpace : Type.
14
15 Definition CR : Type := Complete Q_as_MetricSpace.
16
17 Axiom inject_Q_CR : CR.
18 Definition CRasCSetoid : CSetoid := makeCSetoid CR.
19
20 Goal forall (f : nat -> CRasCSetoid) (Hf : nat), Complete (Complete Q_as_MetricSpace).
21 Proof.
22 intros f Hf.
23 exists (fun e:QposInf => match e with | QposInfinity => inject_Q_CR
24 | Qpos2QposInf => let n := Hf in f n end).
25 elim admit.
26 Qed. (* Anomaly here *)