X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Flibrary%2Fhigher_order_defs%2Ffunctions.ma;h=90f550618d9e39e047c0099726ed5b6613c89964;hb=e880d6eab5e1700f4a625ddcd7d0fa8f0cce2dcc;hp=e14b38db6b8c6ff15d8cb15c548f33e6b42b6c36;hpb=e78cf74f8976cf0ca554f64baa9979d0423ee927;p=helm.git diff --git a/helm/software/matita/library/higher_order_defs/functions.ma b/helm/software/matita/library/higher_order_defs/functions.ma index e14b38db6..90f550618 100644 --- a/helm/software/matita/library/higher_order_defs/functions.ma +++ b/helm/software/matita/library/higher_order_defs/functions.ma @@ -58,3 +58,7 @@ definition distributive2: \forall A,B:Type.\forall f:A \to B \to B. \forall g: B\to B\to B. Prop \def \lambda A,B.\lambda f,g.\forall x:A.\forall y,z:B. f x (g y z) = g (f x y) (f x z). +lemma injective_compose : ∀A,B,C,f,g.injective A B f → injective B C g → + injective A C (λx.g (f x)). +intros;unfold;intros;simplify in H2;apply H;apply H1;assumption; +qed. \ No newline at end of file