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