]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/delayed_updating/etc/lift/fsubst.etc
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / etc / lift / fsubst.etc
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/prototerm.ma".
16 include "delayed_updating/notation/functions/pitchforkleftarrow_3.ma".
17
18 (* FOCALIZED SUBSTITUTION ***************************************************)
19
20 definition fsubst (p) (u): prototerm → prototerm ≝
21            λt,q.
22            ∨∨ ∃∃r. r ϵ u & p●r = q
23             | ∧∧ q ϵ t & (∀r. p●r = q → ⊥)
24 .
25
26 interpretation
27   "focalized substitution (prototerm)"
28   'PitchforkLeftArrow t p u = (fsubst p u t).