(**************************************************************************) (* ___ *) (* ||M|| *) (* ||A|| A project by Andrea Asperti *) (* ||T|| *) (* ||I|| Developers: *) (* ||T|| The HELM team. *) (* ||A|| http://helm.cs.unibo.it *) (* \ / *) (* \ / This file is distributed under the terms of the *) (* v GNU General Public License Version 2 *) (* *) (**************************************************************************) include "Clight/Clight_abstract.ma". include "Clight/Cexec.ma". include "common/Measurable.ma". definition Clight_stack_ident : cl_genv → ∀s:Clight_state. match Clight_classify s with [ cl_call ⇒ True | _ ⇒ False ] → ident ≝ λge,s. match s return λs. match Clight_classify s with [ cl_call ⇒ True | _ ⇒ False ] → ident with [ Callstate id _ _ _ _ ⇒ λ_. id | _ ⇒ λH.⊥ ]. @H qed. definition Clight_pcs : preclassified_system ≝ mk_preclassified_system clight_fullexec (λ_.Clight_labelled) (λ_.Clight_classify) Clight_stack_ident.