From 54d44b70d0b45c7323f286ee1369132a32cf51db Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Mon, 13 Jun 2005 12:30:08 +0000 Subject: [PATCH] added syntax hilight for temperino --- helm/matita/temperino.lang | 147 +++++++++++++++++++++ helm/matita/tests/interactive/temperino.ma | 38 ++++++ 2 files changed, 185 insertions(+) create mode 100644 helm/matita/temperino.lang create mode 100644 helm/matita/tests/interactive/temperino.ma diff --git a/helm/matita/temperino.lang b/helm/matita/temperino.lang new file mode 100644 index 000000000..b62d2c43d --- /dev/null +++ b/helm/matita/temperino.lang @@ -0,0 +1,147 @@ + + + + + \ + + + %% + + + + \(\* + \*\) + + + + \(\*\* + \*\*\) + + + + theorem + definition + lemma + fact + remark + + + + alias + coercion + coinductive + corec + in + inductive + let + match + qed + rec + record + with + + + + + + \[ + + + \| + + + \] + + + \{ + + + \} + + + + Set + Prop + Type + + + + absurd + apply + assumption + auto + change + contradiction + cut + decompose + discriminate + elim + elimType + exact + exists + fold + fourier + goal + injection + intro + intros + left + letin + normalize + reduce + reflexivity + replace + rewrite + right + ring + simmetry + simplify + split + transitivity + whd + + + + + print + check + hint + quit + set + + + + elim + hint + instance + locate + match + + + + def + forall + lambda + to + exists + Rightarrow + land + lor + subst + + + + " + " + + + + diff --git a/helm/matita/tests/interactive/temperino.ma b/helm/matita/tests/interactive/temperino.ma new file mode 100644 index 000000000..70e9f4141 --- /dev/null +++ b/helm/matita/tests/interactive/temperino.ma @@ -0,0 +1,38 @@ +%% test per temperino.lang + +%% commento +(* commento *) +(** hint. **) + +inductive pippo : Type \def + | a : Type \to pippo + | b : Prop \to pippo + | c : Set \to pippo. + +definition pollo : Set \to Set \def + \lambda a:Set.a. + +inductive paolo : Prop \def t:paolo. + +theorem comeno : \forall p:pippo.pippo. +intros.assumption. +qed. + +definition f : pippo \to paolo \def + \lambda x:pippo. + match x with + [ (a z) \Rightarrow t + | (b z) \Rightarrow t + | (c z) \Rightarrow t ]. + +record w : Type \def { + mario : Prop; + pippo : Set +}. + +whelp locate pippo. + +print "coercions". + + + -- 2.39.2