| 1 |
Set Universe Polymorphism. |
| 2 |
|
| 3 |
Axiom M : Type -> Prop. |
| 4 |
Axiom raise : forall {T}, M T. |
| 5 |
|
| 6 |
Inductive goal : Type := |
| 7 |
| AHyp : forall {A : Type}, goal. |
| 8 |
|
| 9 |
Definition gtactic@{u u0} := goal@{u} -> M@{u0} (False). |
| 10 |
|
| 11 |
Class Seq (C : Type) := |
| 12 |
seq : C -> gtactic. |
| 13 |
Arguments seq {C _} _. |
| 14 |
|
| 15 |
#[export] Instance seq_one : Seq@{Set _ _} (gtactic) := fun t2 => fun g => raise. |
| 16 |
|
| 17 |
Definition x1 : gtactic := @seq@{_ _ _} _ _ (fun g : goal => raise). |
| 18 |
Definition x2 : gtactic := @seq@{_ _ _} _ seq_one (fun g : goal => raise). |