summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/4372.v
blob: 428192a3447db128e3ce6e5337b0a20800bd38c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(* Tactic inversion was raising an anomaly because of a fake
   dependency of TypeDenote into its argument *)

Inductive expr :=
| ETrue.

Inductive IntermediateType : Set := ITbool.

Definition TypeDenote (IT : IntermediateType) : Type :=
  match IT with
  | _ => bool
  end.

Inductive ValueDenote : forall (e:expr) it, TypeDenote it -> Prop :=
| VT : ValueDenote ETrue ITbool true.

Goal forall it v, @ValueDenote ETrue it v -> True.
  intros it v H.
  inversion H.
Abort.