Debian Codegraph @

test-suite/success/ConversionOrder.v

raw
1 (* The kernel may convert application arguments right to left,
2 resulting in ill-typed terms, but should be robust to them. *)
3
4 Inductive Hide := hide : forall A, A -> Hide.
5
6 Lemma foo : (hide Type Type) = (hide (nat -> Type) (fun x : nat => Type)).
7 Proof.
8 Fail reflexivity.
9 match goal with |- ?l = _ => exact_no_check (eq_refl l) end.
10 Fail Defined.
11 Abort.
12
13 Definition HideMore (_:Hide) := 0.
14
15 Definition foo : HideMore (hide Type Type) = HideMore (hide (nat -> Type) (fun x : nat => Type))
16 := eq_refl.