X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Flibrary%2Flogic%2Fequality.ma;h=0675edc76bb94eb3144b905dbee0eb76da522119;hb=7bac8af3711810b6d6ade5134eda2f62bf6b0ba3;hp=b87dc6c95656dcf5de3c3ceb00e9ed105067c6b8;hpb=7f2444c2670cadafddd8785b687ef312158376b0;p=helm.git diff --git a/matita/library/logic/equality.ma b/matita/library/logic/equality.ma index b87dc6c95..0675edc76 100644 --- a/matita/library/logic/equality.ma +++ b/matita/library/logic/equality.ma @@ -72,6 +72,11 @@ theorem eq_f: \forall A,B:Type.\forall f:A\to B. intros.elim H.reflexivity. qed. +theorem eq_f1: \forall A,B:Type.\forall f:A\to B. +\forall x,y:A. x=y \to f y = f x. +intros.elim H.reflexivity. +qed. + theorem eq_f2: \forall A,B,C:Type.\forall f:A\to B \to C. \forall x1,x2:A. \forall y1,y2:B. x1=x2 \to y1=y2 \to f x1 y1 = f x2 y2.