source: src/LIN/LINToASMAxiom.ma @ 3433

Last change on this file since 3433 was 3096, checked in by tranquil, 7 years ago

preliminary work on closing correctness.ma

File size: 1.6 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 "LIN/LINToASM.ma".
16include "LIN/LIN_semantics.ma".
17include "joint/Traces.ma".
18include "common/StatusSimulation.ma".
19include "ASM/Interpret2.ma".
20
21axiom LINToASM_ok :
22∀stacksizes : ident → option ℕ. (* are hypotheses needed here? *)
23∀p_in : joint_program LIN.
24∀p_out : pseudo_assembly_program.
25∀sigma,policy.
26lin_to_asm p_in = Some ? p_out →
27∀init_in.make_initial_state
28    (mk_prog_params LIN_semantics p_in stacksizes) = OK … init_in →
29let init_out ≝ initialise_status … p_out in
30∃[1] R.
31  status_simulation_with_init
32    (joint_status LIN_semantics p_in stacksizes)
33    (ASM_status p_out sigma policy)
34    R init_in init_out.
Note: See TracBrowser for help on using the repository browser.