]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/reducibility/ysc.ma
- "big tree" order implemented
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / reducibility / ysc.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 "basic_2/static/ssta.ma".
16 include "basic_2/reducibility/cpr.ma".
17
18 (* "BIG TREE" SUCCESSOR ON CLOSURES *****************************************)
19
20 inductive ysc (h) (g) (L1) (T1): relation2 lenv term ≝
21 | ysc_fw  : ∀L2,T2. ♯{L2, T2} < ♯{L1, T1} → ysc h g L1 T1 L2 T2
22 | ysc_cpr : ∀T2. L1 ⊢ T1 ➡ T2 → (T1 = T2 → ⊥) → ysc h g L1 T1 L1 T2
23 | ysc_ssta: ∀T2,l. ⦃h, L1⦄ ⊢ T1 •[g, l + 1] T2 → ysc h g L1 T1 L1 T2
24 .
25
26 interpretation
27    "'big tree' successor (closure)"
28    'BTSuccessor h g L1 T1 L2 T2 = (ysc h g L1 T1 L2 T2).