From fffc8fda02a15fd60817ab1b828cfd6fe2968a11 Mon Sep 17 00:00:00 2001 From: Andrea Asperti Date: Thu, 18 Mar 2010 11:36:56 +0000 Subject: [PATCH] Porting alla nuova def. di negazione --- helm/software/matita/nlibrary/basics/functions.ma | 3 ++- helm/software/matita/nlibrary/basics/relations.ma | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/helm/software/matita/nlibrary/basics/functions.ma b/helm/software/matita/nlibrary/basics/functions.ma index a4a8f240d..186aee41d 100644 --- a/helm/software/matita/nlibrary/basics/functions.ma +++ b/helm/software/matita/nlibrary/basics/functions.ma @@ -36,11 +36,12 @@ ndefinition symmetric2: ∀A,B:Type[0].∀f:A→A→B.Prop ndefinition associative: ∀A:Type[0].∀f:A→A→A.Prop ≝ λA.λf.∀x,y,z.f (f x y) z = f x (f y z). +(* ntheorem eq_f_g_h: ∀A,B,C,D:Type[0].∀f:C→D.∀g:B→C.∀h:A→B. f∘(g∘h) = (f∘g)∘h. //. -nqed. +nqed. *) (* functions and relations *) ndefinition monotonic : ∀A:Type.∀R:A→A→Prop. diff --git a/helm/software/matita/nlibrary/basics/relations.ma b/helm/software/matita/nlibrary/basics/relations.ma index e70a5877a..9a01823be 100644 --- a/helm/software/matita/nlibrary/basics/relations.ma +++ b/helm/software/matita/nlibrary/basics/relations.ma @@ -17,6 +17,9 @@ include "Plogic/connectives.ma". ndefinition relation : Type \to Type ≝ λA:Type.A→A→Prop. +nrecord relation (A:Type) : Type ≝ +{fun:2> A→A→Prop}. + ndefinition reflexive: ∀A:Type.∀R :relation A.Prop ≝ λA.λR.∀x:A.R x x. -- 2.39.2