Debian Codegraph @

apps/tc/tests/multi_var.v

raw
1 From elpi Require Import elpi tc.
2
3 Class C (T : Type) : Type := {}.
4 Axiom t : forall n m : nat, Type.
5
6 Instance tC (n : nat) : C (t n n). Qed.
7 Set Printing All.
8 Goal C (t 0 0). apply _. Qed.
9
10 Instance tC1 (n : nat) : let n' := n in C (t n n'). Qed.
11
12 Goal C (t 0 (id 0)). apply _. Qed.
13
14 (* Elpi Print TC.Solver "elpi.apps.tc.examples/TC.Solver". *)