]> matita.cs.unibo.it Git - helm.git/blob - matita/contribs/LOGIC/Insert/fun.ma
tagged 0.5.0-rc1
[helm.git] / matita / contribs / LOGIC / Insert / fun.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 "CLE/defs.ma".
18 include "Insert/inv.ma".
19
20 (* Functional properties ****************************************************)
21 (*
22 theorem insert_total: \forall S,i,P. i <= P \to \exists Q. Insert S i P Q.
23  intros 4; elim H; clear H i P;
24  decompose; autobatch.
25 qed.  
26
27 theorem insert_inj: \forall S1,i,P, Q. Insert S1 i P Q \to 
28                     \forall S2. Insert S2 i P Q \to S1 = S2.
29  intros 5; elim H; clear H i P Q;
30  [ lapply linear insert_inv_zero to H1; destruct; autobatch
31  | lapply linear insert_inv_succ to H3; decompose; destruct; autobatch
32  ].
33 qed.
34 *)