X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matitaB%2Fmatita%2Fcontribs%2FRELATIONAL%2FNPlus%2Ffun.ma;fp=matitaB%2Fmatita%2Fcontribs%2FRELATIONAL%2FNPlus%2Ffun.ma;h=0000000000000000000000000000000000000000;hb=da0775e27b362e91ea1453a800bc403781cc2ca3;hp=4fcdab720b304f73e04e243f1c74b3a186f3e355;hpb=d9824956d9132109ed5f23380a0a1f9c5181d18a;p=helm.git diff --git a/matitaB/matita/contribs/RELATIONAL/NPlus/fun.ma b/matitaB/matita/contribs/RELATIONAL/NPlus/fun.ma deleted file mode 100644 index 4fcdab720..000000000 --- a/matitaB/matita/contribs/RELATIONAL/NPlus/fun.ma +++ /dev/null @@ -1,40 +0,0 @@ -(**************************************************************************) -(* ___ *) -(* ||M|| *) -(* ||A|| A project by Andrea Asperti *) -(* ||T|| *) -(* ||I|| Developers: *) -(* ||T|| The HELM team. *) -(* ||A|| http://helm.cs.unibo.it *) -(* \ / *) -(* \ / This file is distributed under the terms of the *) -(* v GNU General Public License Version 2 *) -(* *) -(**************************************************************************) - - - -include "NPlus/inv.ma". - -(* Functional properties ****************************************************) - -theorem nplus_total: ∀p,q. ∃r. p ⊕ q ≍ r. - intros; elim q; clear q; - [ autobatch | decompose; autobatch ]. -qed. - -theorem nplus_mono: ∀p,q,r1. p ⊕ q ≍ r1 → - ∀r2. p ⊕ q ≍ r2 → r1 = r2. - intros 4; elim H; clear H q r1; - [ lapply linear nplus_inv_zero_2 to H1 - | lapply linear nplus_inv_succ_2 to H3. decompose - ]; destruct; autobatch. -qed. - -theorem nplus_inj_1: ∀p1, q, r. p1 ⊕ q ≍ r → - ∀p2. p2 ⊕ q ≍ r → p2 = p1. - intros 4; elim H; clear H q r; - [ lapply linear nplus_inv_zero_2 to H1 - | lapply linear nplus_inv_succ_2_3 to H3 - ]; autobatch. -qed.