]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/RELATIONAL/NPlusList/props.ma
propagating the arithmetics library, partial commit
[helm.git] / matita / matita / contribs / RELATIONAL / NPlusList / props.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15
16
17 include "NPlusList/defs.ma".
18 (*
19 axiom npluslist_gen_cons: \forall l,q,r. 
20                             NPlusList (cons ? l q) r \to
21                             \exists p. NPlusList l p \land NPlus p q r.
22 (* 
23  intros. inversion H; clear H; intros;
24  [ id
25  | destruct.
26 *)
27
28 theorem npluslist_inj_2: \forall ns1,ns2,n. 
29                          NPlusListEq (cons ? ns1 n) (cons ? ns2 n) \to
30                          NPlusListEq ns1 ns2.
31  unfold NPlusListEq. intros. decompose.
32  lapply linear npluslist_gen_cons to H. decompose.
33  lapply linear npluslist_gen_cons to H2. decompose.
34 *)