Changeset 1378


Ignore:
Timestamp:
Oct 14, 2011, 7:32:21 PM (8 years ago)
Author:
sacerdot
Message:

New file LIN/joint_LTL_LIN.ma to factorize out the syntactic parameters shared
by LTL and LIN.

Location:
src
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • src/LIN/LIN.ma

    r1281 r1378  
    1 include "joint/Joint.ma".
     1include "LIN/joint_LTL_LIN.ma".
    22include "utilities/lists.ma".
    33
    4 definition lin_params__: params__ ≝
    5  mk_params__ unit unit unit unit registers_move Register nat unit False.
    6 definition lin_params_ : params_ ≝ mk_params_ lin_params__ unit.
    7 definition lin_params0 : params0 ≝ mk_params0 lin_params__ unit unit.
    8 definition lin_params1 : params1 ≝ mk_params1 lin_params0 unit.
     4definition lin_params_ : params_ ≝ mk_params_ ltl_lin_params__ unit.
    95
    106definition pre_lin_statement ≝ joint_statement lin_params_.
     
    2420definition lin_params: ∀globals. params globals ≝
    2521 λglobals.
    26   mk_params globals unit lin_params1 (Σcode:list (lin_statement globals). well_formed_P … code)
     22  mk_params globals unit ltl_lin_params1 (Σcode:list (lin_statement globals). well_formed_P … code)
    2723   (λcode:Σcode.?. λl.
    2824    find ?? (λs. let 〈l',x〉 ≝ s in
  • src/LIN/semantics.ma

    r1377 r1378  
    3232 λl.λ_.λ_.λ_.λ_.λst.save_ra … st l.
    3333
    34 definition lin_more_sem_params1 : more_sem_params1 … lin_params1 ≝
    35  mk_more_sem_params1 ? lin_params1 lin_more_sem_params
     34definition lin_more_sem_params1 : more_sem_params1 … ltl_lin_params1 ≝
     35 mk_more_sem_params1 ? ltl_lin_params1 lin_more_sem_params
    3636  lin_init_locals lin_pop_frame lin_save_frame.
    3737
  • src/LTL/LTL.ma

    r1281 r1378  
    1 include "joint/Joint.ma".
     1include "LIN/joint_LTL_LIN.ma".
    22
    3 definition ltl_params__: params__ ≝
    4  (mk_params__ unit unit unit unit registers_move Register nat unit False).
    5 definition ltl_params_ : params_ ≝ graph_params_ ltl_params__.
    6 definition ltl_params0 : params0 ≝ mk_params0 ltl_params__ unit unit.
    7 definition ltl_params1 : params1 ≝ mk_params1 ltl_params0 unit.
    8 definition ltl_params: ∀globals. params globals ≝ graph_params ltl_params1.
     3definition ltl_params_ : params_ ≝ graph_params_ ltl_lin_params__.
     4definition ltl_params: ∀globals. params globals ≝ graph_params ltl_lin_params1.
    95
    106definition ltl_statement ≝ joint_statement ltl_params_.
    11 
    127definition ltl_program ≝ joint_program ltl_params.
    138
  • src/LTL/semantics.ma

    r1377 r1378  
    2727 λl.λ_.λ_.λ_.λ_.λst.save_ra … st l.
    2828
    29 definition ltl_more_sem_params1 : more_sem_params1 … ltl_params1 ≝
    30  mk_more_sem_params1 ? ltl_params1 ltl_more_sem_params
     29definition ltl_more_sem_params1 : more_sem_params1 … ltl_lin_params1 ≝
     30 mk_more_sem_params1 ? ltl_lin_params1 ltl_more_sem_params
    3131  ltl_init_locals ltl_pop_frame ltl_save_frame.
    3232
Note: See TracChangeset for help on using the changeset viewer.