Debian Codegraph @

test-suite/coqchk/inductive_functor_squash.v

raw
1
2
3 Module Type T.
4 Parameter f : nat -> Type.
5 End T.
6
7 Module F(A:T).
8 Inductive ind : Prop :=
9 C : A.f 0 -> ind.
10 End F.
11
12 Module A. Definition f (x:nat) := True. End A.
13
14 Module M := F A.
15 (* M.ind could eliminate into Set/Type even though F.ind can't *)