(**************************************************************************) (* ___ *) (* ||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 "LIN/LINToASM.ma". include "LIN/LIN_semantics.ma". include "joint/Traces.ma". include "common/StatusSimulation.ma". include "ASM/Interpret2.ma". axiom LINToASM_ok : ∀stacksizes : ident → option ℕ. (* are hypotheses needed here? *) ∀p_in : joint_program LIN. ∀p_out : pseudo_assembly_program. ∀sigma,policy. lin_to_asm p_in = Some ? p_out → ∀init_in.make_initial_state (mk_prog_params LIN_semantics p_in stacksizes) = OK … init_in → let init_out ≝ initialise_status … p_out in ∃[1] R. status_simulation_with_init (joint_status LIN_semantics p_in stacksizes) (ASM_status p_out sigma policy) R init_in init_out.