Debian Codegraph @

apps/tc/tests/WIP/premisesSort/sort1.v

raw
1 From elpi.apps.tc.tests.premisesSort Require Import sortCode.
2
3 Set Warnings "+elpi".
4 Class A (S : Type).
5 Class B (S : Type).
6 Class C (S : Type).
7
8 Global Instance A1 : A nat. Admitted.
9 Global Instance A2 : A bool. Admitted.
10
11 Global Instance B1 : B nat. Admitted.
12
13 Global Instance C1 {T : Type} `{A T, B T} : C bool. Admitted.
14
15 (* Simpl example where we do backtrack *)
16 Goal C bool.
17 apply _.
18 Qed.