]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_proper.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / syntax / path_proper.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 include "delayed_updating/syntax/path.ma".
16 include "delayed_updating/notation/functions/class_p_0.ma".
17 include "ground/lib/subset.ma".
18 include "ground/xoa/ex_1_2.ma".
19
20 (* PROPER CONDITION FOR PATH ************************************************)
21
22 definition ppc: predicate path ā‰
23            Ī»p. šž = p ā†’ āŠ„
24 .
25
26 interpretation
27   "proper condition (path)"
28   'ClassP = (ppc).
29
30 (* Basic constructions ******************************************************)
31
32 lemma ppc_lcons (l) (q): lā——q Ļµ š.
33 #l #p #H destruct
34 qed.
35
36 (* Basic inversions ********************************************************)
37
38 lemma ppc_inv_empty:
39       (šž) Ļµ š ā†’ āŠ„.
40 #H0 @H0 -H0 //
41 qed-.
42
43 lemma ppc_inv_lcons (p):
44       p Ļµ š ā†’ āˆƒāˆƒl,q. lā——q = p.
45 *
46 [ #H0 elim (ppc_inv_empty ā€¦ H0)
47 | #l #q #_ /2 width=3 by ex1_2_intro/
48 ]
49 qed-.