Debian Codegraph @

test-suite/success/CaseCumul.v

raw
1 Inductive boolε : bool -> Type :=
2 | trueε : boolε true
3 | falseε : boolε false.
4
5 (* Check branch sort inference with implicit Prop ⊆ Type cumulativity *)
6 Definition test (x : boolε true) :=
7 match x with
8 | trueε => I
9 | falseε => tt
10 end.