Library mcertikos.proc.CVOpGenLink
Require Import LinkTemplate.
Require Import PCVOp.
Require Import CVOpGen.
Require Import CVOpGenLinkSource.
Require Import PCVIntro.
Require Import PCVIntroCSource.
Require Import PCVIntroCode.
Section WITHCOMPCERTIKOS.
Context `{compcertikos_prf: CompCertiKOS} `{real_params_prf: RealParams}.
Context `{multi_oracle_prop: MultiOracleProp}.
Lemma init_correct:
init_correct_type PCVOp_module pcvintro pcvop.
Proof.
init_correct.
Qed.
Lemma link_correct_aux:
link_correct_aux_type PCVOp_module pcvintro pcvop.
Proof.
link_correct_aux.
- link_cfunction ipc_send_body_spec_ref PCVINTROCODE.ipc_send_body_code_correct.
- link_cfunction ipc_receive_body_spec_ref PCVINTROCODE.ipc_receive_body_code_correct.
- link_cfunction fifobbq_pool_init_spec_ref PCVINTROCODE.fifobbq_pool_init_code_correct.
- apply passthrough_correct.
Qed.
Theorem cl_backward_simulation:
cl_backward_simulation_type PCVOp_module pcvintro pcvop.
Proof.
cl_backward_simulation init_correct link_correct_aux.
Qed.
Theorem make_program_exists:
make_program_exist_type PCVOp_module pcvintro pcvop.
Proof.
make_program_exists link_correct_aux.
Qed.
End WITHCOMPCERTIKOS.
Require Import PCVOp.
Require Import CVOpGen.
Require Import CVOpGenLinkSource.
Require Import PCVIntro.
Require Import PCVIntroCSource.
Require Import PCVIntroCode.
Section WITHCOMPCERTIKOS.
Context `{compcertikos_prf: CompCertiKOS} `{real_params_prf: RealParams}.
Context `{multi_oracle_prop: MultiOracleProp}.
Lemma init_correct:
init_correct_type PCVOp_module pcvintro pcvop.
Proof.
init_correct.
Qed.
Lemma link_correct_aux:
link_correct_aux_type PCVOp_module pcvintro pcvop.
Proof.
link_correct_aux.
- link_cfunction ipc_send_body_spec_ref PCVINTROCODE.ipc_send_body_code_correct.
- link_cfunction ipc_receive_body_spec_ref PCVINTROCODE.ipc_receive_body_code_correct.
- link_cfunction fifobbq_pool_init_spec_ref PCVINTROCODE.fifobbq_pool_init_code_correct.
- apply passthrough_correct.
Qed.
Theorem cl_backward_simulation:
cl_backward_simulation_type PCVOp_module pcvintro pcvop.
Proof.
cl_backward_simulation init_correct link_correct_aux.
Qed.
Theorem make_program_exists:
make_program_exist_type PCVOp_module pcvintro pcvop.
Proof.
make_program_exists link_correct_aux.
Qed.
End WITHCOMPCERTIKOS.