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
RevLine 
[2796]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".
[2946]18include "RTLabs/RTLabs_abstract.ma".
[2796]19include "RTL/RTL_semantics.ma".
[3096]20include "RTLabs/MeasurableToStructured.ma". (* for make_ext_initial_state *)
[2796]21
[3145]22definition RTLabsToRTLstacksizes_ok : RTLabs_program → stack_cost_model → Prop ≝
23λp.stack_cost_model_le (rtlabs_stack_cost p).
[2946]24
[2796]25axiom RTLabsToRTL_ok :
[3145]26∀stack_model : stack_cost_model.
[3096]27∀cost.
[2796]28∀p_in : RTLabs_program.
[3145]29RTLabsToRTLstacksizes_ok p_in stack_model →
[3096]30let p_out ≝ rtlabs_to_rtl cost p_in in
[3145]31let stacksizes ≝ stack_sizes stack_model in
[3096]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 ∧
[2796]37∃[1] R.
[3096]38  status_simulation_with_init
[2796]39    (RTLabs_status (make_global … p_in))
[3096]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.