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 include "basic_2/static/ssta.ma".
16 include "basic_2/reducibility/cpr.ma".
18 (* "BIG TREE" SUCCESSOR ON CLOSURES *****************************************)
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
27 "'big tree' successor (closure)"
28 'BTSuccessor h g L1 T1 L2 T2 = (ysc h g L1 T1 L2 T2).