From 9524d3d6475a63868921e8440ac00a9b57c71c08 Mon Sep 17 00:00:00 2001 From: Wilmer Ricciotti Date: Sun, 21 Jun 2009 18:32:22 +0000 Subject: [PATCH] Added injective compose --- helm/software/matita/library/higher_order_defs/functions.ma | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2