]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambda_delta/Basic_2/computation/acp.ma
437a51c55da4ef136aaf74c7d4bf072d0422fd12
[helm.git] / matita / matita / contribs / lambda_delta / Basic_2 / computation / acp.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/substitution/ldrop.ma".
16
17 (* ABSTRACT COMPUTATION PROPERTIES ******************************************)
18
19 definition CP1 ≝ λRR:lenv→relation term. λRS:relation term.
20                  ∀L,k. NF … (RR L) RS (⋆k).
21
22 definition CP2 ≝ λRR:lenv→relation term. λRS:relation term.
23                  ∀L,K,W,i. ⇓[0,i] L ≡ K. 𝕓{Abst} W → NF … (RR L) RS (#i).
24
25 definition CP3 ≝ λRR:lenv→relation term. λRP:lenv→predicate term.
26                  ∀L,V,k. RP L (𝕔{Appl}⋆k.V) → RP L V.
27
28 (* requirements for abstract computation properties *)
29 record acp (RR:lenv->relation term) (RS:relation term) (RP:lenv→predicate term) : Prop ≝
30 { cp1: CP1 RR RS;
31   cp2: CP2 RR RS;
32   cp3: CP3 RR RP
33 }.