data61 / PSL

Other
65 stars 9 forks source link

SeLFiE: change the type signature of eval in Eval_Syntax. #90

Closed yutakang closed 4 years ago

yutakang commented 5 years ago

The type signature of eval should be "val eval: Proof.state -> term -> assert -> bool" so that I can use it in Eval_Syntax_Struct.

yutakang commented 5 years ago

I also have to change the type signature of eval in Eval_Modifier.

yutakang commented 5 years ago

I also have to change the type signature of pst_to_full_path_to_fpunode_table in Full_Path_To_FPUnode.

yutakang commented 5 years ago

The fundamental difference between Eval_Syntax and Eval_Semantics is the following:

yutakang commented 5 years ago

So, we should define Full_Path_To_FPUnode after we define Eval_Semantics.

yutakang commented 5 years ago

So, we should define Full_Path_To_FPUnode after we define Eval_Semantics.

Probably, the right order is

  1. print
  2. semantics
  3. full_path (and update print)
  4. mod

So, I have to