1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 set "baseuri" "cic:/matita/RELATIONAL/NPlusList/props".
17 include "NPlusList/defs.ma".
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.
23 intros. inversion H; clear H; intros;
28 theorem npluslist_inj_2: \forall ns1,ns2,n.
29 NPlusListEq (cons ? ns1 n) (cons ? ns2 n) \to
31 unfold NPlusListEq. intros. decompose.
32 lapply linear npluslist_gen_cons to H. decompose.
33 lapply linear npluslist_gen_cons to H2. decompose.