From: Enrico Tassi <enrico.tassi@inria.fr> Date: Tue, 10 Mar 2009 17:49:39 +0000 (+0000) Subject: notation ++ X-Git-Tag: make_still_working~4166 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=798c509fb17048996eb30fb991cc2da21d07dfcb;p=helm.git notation ++ --- diff --git a/helm/software/matita/tests/unifhint.ma b/helm/software/matita/tests/unifhint.ma index 6d0c73350..6e6900f80 100644 --- a/helm/software/matita/tests/unifhint.ma +++ b/helm/software/matita/tests/unifhint.ma @@ -48,15 +48,38 @@ axiom P : âg:group. gcarr g â Prop. axiom tac : Expr â Expr. axiom start : âg,x,G.P g ãx,Gã â Prop. -notation "@ t" non associative with precedence 90 for @{ (λx.x) $t }. +notation > "ident a â term 90 b term 20 c" +non associative with precedence 90 for +@{ let ${ident a} â $b in $c }. +unification hint 0 (âg:group.âx:Expr.âG:list (gcarr g). -unification hint 0 (âg:group.âx:Expr.âG:list (gcarr g). ãEopp x,Gã = (@ãx,Gã) ^-1). -unification hint 0 (âg:group.âx,y.âG:list (gcarr g). ãEmult x y,Gã = (@ãx,Gã) * (@ãy,Gã)). -unification hint 0 (âg:group.âG:list (gcarr g). ãEunit,Gã = ð). -unification hint 2 (âg:group.âG:list (gcarr g).âx:gcarr g. ã(Evar 0), (x :: G)ã = @x). -unification hint 3 (âg:group.âG:list (gcarr g).ân.âx:gcarr g.(@ãEvar n, Gã)= - (ã(Evar (S n)), (x :: G)ã) ) . +(* ------------------------------------ *) + ãEopp x,Gã = ãx,Gã^-1). + + +unification hint 0 (âg:group.âx,y.âG:list (gcarr g). + + V1 â ãx,Gã V2 â ãy,Gã +(* ------------------------------------ *) + ãEmult x y,Gã = V1 * V2). + +unification hint 0 (âg:group.âG:list (gcarr g). + +(* ------------------------------------ *) + ãEunit,Gã = ð). + +unification hint 2 (âg:group.âG:list (gcarr g).âx:gcarr g. + + V â x +(* ------------------------------------ *) + ã(Evar 0), (x :: G)ã = V). + +unification hint 3 (âg:group.âG:list (gcarr g).ân.âx:gcarr g. + + V â ãEvar n, Gã +(* ------------------------------------ *) + ã(Evar (S n)), (x :: G)ã = V) . lemma test : âg:group.âx,y:gcarr g. âh:P ? ((ð * x) * (x^-1 * y)). start g ? ? h.