]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_balanced.ma
017cfc5bae27c0dc38febdb6495b1f16eaf0bf33
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / syntax / path_balanced.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_b_0.ma".
17
18 (* BALANCE CONDITION FOR PATH ***********************************************)
19
20 (* This condition applies to a structural path *)
21 inductive pbc: predicate path ≝
22 | pbc_empty: pbc (𝐞)
23 | pbc_redex: ∀b. pbc b → pbc (𝗔◗b◖𝗟)
24 | pbc_after: ∀b1,b2. pbc b1 → pbc b2 → pbc (b1●b2)
25 .
26
27 interpretation
28   "balance condition (path)"
29   'ClassB = (pbc).