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/notation/relations/cofreestar_3.ma".
16 include "basic_2/substitution/cpys.ma".
18 (* CONTEXT-SENSITIVE EXCLUSION FROM FREE VARIABLES **************************)
20 definition cofrees: relation3 nat lenv term ≝
21 λd,L,U1. ∀U2. ⦃⋆, L⦄ ⊢ U1 ▶*[d, ∞] U2 → ∃T2. ⇧[d, 1] T2 ≡ U2.
24 "context-sensitive exclusion from free variables (term)"
25 'CoFreeStar d L T = (cofrees d L T).
27 (* Basic forward lemmas *****************************************************)
29 lemma cofrees_fwd_lift: ∀L,U,d. d ~ϵ 𝐅*⦃L, U⦄ → ∃T. ⇧[d, 1] T ≡ U.
32 lemma nlift_frees: ∀L,U,d. (∀T. ⇧[d, 1] T ≡ U → ⊥) → (d ~ϵ 𝐅*⦃L, U⦄ → ⊥).
33 #L #U #d #HnTU #H elim (cofrees_fwd_lift … H) -H /2 width=2 by/