apps/tc/tests/test_scope.v
raw| 1 | From elpi Require Import tc. |
| 2 | |
| 3 | Section M. |
| 4 | Class C (i : Type -> Type). |
| 5 | |
| 6 | Context (Q : Type -> Type). |
| 7 | |
| 8 | Goal C Q -> exists (T : Type -> Type), forall R, C R -> C (T). |
| 9 | eexists. |
| 10 | intros. |
| 11 | Set Printing Existential Instances. |
| 12 | assert (C Q) by auto. |
| 13 | (* Elpi Trace Browser. *) |
| 14 | apply _. |
| 15 | Show Proof. |
| 16 | Abort. |
| 17 | End M. |