X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2FRELATIONAL%2FZEq%2Fsetoid.ma;h=03075bb75818909371091eaeec06d4178d59eafc;hb=d9824956d9132109ed5f23380a0a1f9c5181d18a;hp=1b6279fd1c57064bafd1c5b953da58325cb1996d;hpb=93cc04b6bdb9772d8e4d96cf019ad8394e26b92a;p=helm.git diff --git a/helm/software/matita/contribs/RELATIONAL/ZEq/setoid.ma b/helm/software/matita/contribs/RELATIONAL/ZEq/setoid.ma index 1b6279fd1..03075bb75 100644 --- a/helm/software/matita/contribs/RELATIONAL/ZEq/setoid.ma +++ b/helm/software/matita/contribs/RELATIONAL/ZEq/setoid.ma @@ -12,25 +12,25 @@ (* *) (**************************************************************************) -set "baseuri" "cic:/matita/RELATIONAL/ZEq/setoid". + include "NPlus/fun.ma". include "ZEq/defs.ma". -theorem zeq_refl: \forall z. z = z. - intros. elim z. clear z. - lapply (nplus_total t t1). decompose. - auto. +theorem zeq_refl: ∀z. z ≈ z. + intros; elim z. clear z. + lapply (nplus_total a b); decompose; + autobatch. qed. -theorem zeq_sym: \forall z1,z2. z1 = z2 \to z2 = z1. - intros. elim H. clear H z1 z2. auto. +theorem zeq_sym: ∀z1,z2. z1 ≈ z2 → z2 ≈ z1. + intros; elim H; clear H z1 z2; autobatch. qed. (* theorem zeq_trans: \forall z1,z2. z1 = z2 \to \forall z3. z2 = z3 \to z1 = z3. intros 3. elim H. clear H z1 z2. - inversion H3. clear H3. intros. subst. + inversion H3. clear H3. intros. destruct. lapply (nplus_total n5 n6). decompose. lapply (nplus_total n4 n9). decompose. apply zeq.