Line | |
---|
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 "Cminor/Cminor_abstract.ma". |
---|
16 | include "Cminor/Cminor_semantics.ma". |
---|
17 | include "common/Measurable.ma". |
---|
18 | |
---|
19 | definition Cminor_stack_ident : |
---|
20 | genv → |
---|
21 | ∀s:Cminor_state. |
---|
22 | match Cminor_classify s with [ cl_call ⇒ True | _ ⇒ False ] → |
---|
23 | ident ≝ |
---|
24 | λge,s. |
---|
25 | match s return λs. match Cminor_classify s with [ cl_call ⇒ True | _ ⇒ False ] → ident with |
---|
26 | [ Callstate id _ _ _ _ ⇒ λ_. id |
---|
27 | | _ ⇒ λH.⊥ |
---|
28 | ]. |
---|
29 | @H |
---|
30 | qed. |
---|
31 | |
---|
32 | definition Cminor_pcs : preclassified_system ≝ |
---|
33 | mk_preclassified_system |
---|
34 | Cminor_fullexec |
---|
35 | (λ_.Cminor_labelled) |
---|
36 | (λ_.Cminor_classify) |
---|
37 | Cminor_stack_ident. |
---|
Note: See
TracBrowser
for help on using the repository browser.