source: src/RTLabs/RTLabsToRTLAxiom.ma

Last change on this file was 3145, checked in by tranquil, 7 years ago
  • removed sigma types from traces of intensional events
  • completed correctness.ma using axiom files, a single daemon remains
File size: 1.9 KB
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
15include "RTLabs/RTLabsToRTL.ma".
16include "common/StatusSimulation.ma".
17include "joint/Traces.ma".
18include "RTLabs/RTLabs_abstract.ma".
19include "RTL/RTL_semantics.ma".
20include "RTLabs/MeasurableToStructured.ma". (* for make_ext_initial_state *)
21
22definition RTLabsToRTLstacksizes_ok : RTLabs_program → stack_cost_model → Prop ≝
23λp.stack_cost_model_le (rtlabs_stack_cost p).
24
25axiom RTLabsToRTL_ok :
26∀stack_model : stack_cost_model.
27∀cost.
28∀p_in : RTLabs_program.
29RTLabsToRTLstacksizes_ok p_in stack_model →
30let p_out ≝ rtlabs_to_rtl cost p_in in
31let stacksizes ≝ stack_sizes stack_model in
32∀init_in.make_ext_initial_state p_in = OK … init_in →
33∃init_out : state_pc RTL_semantics_separate.
34  make_initial_state
35   (mk_prog_params RTL_semantics_separate p_out stacksizes) =
36    OK ? init_out ∧
37∃[1] R.
38  status_simulation_with_init
39    (RTLabs_status (make_global … p_in))
40    (joint_status RTL_semantics_separate p_out stacksizes) R
41    init_in init_out.
Note: See TracBrowser for help on using the repository browser.