Debian Codegraph @

test-suite/bugs/bug_4372.v

raw
1 (* Tactic inversion was raising an anomaly because of a fake
2 dependency of TypeDenote into its argument *)
3
4 Inductive expr :=
5 | ETrue.
6
7 Inductive IntermediateType : Set := ITbool.
8
9 Definition TypeDenote (IT : IntermediateType) : Type :=
10 match IT with
11 | _ => bool
12 end.
13
14 Inductive ValueDenote : forall (e:expr) it, TypeDenote it -> Prop :=
15 | VT : ValueDenote ETrue ITbool true.
16
17 Goal forall it v, @ValueDenote ETrue it v -> True.
18 intros it v H.
19 inversion H.
20 Abort.