jeannin / zelus

A synchronous language with ODEs
http://zelus.di.ens.fr
Other
0 stars 4 forks source link

[Summer] Treat base variables as trivially true refinement variables #22

Closed jlvargasme closed 2 years ago

jlvargasme commented 2 years ago

Currently, MARVLus handles refinement and base variables differently. Base variables are simply added to the environment while typing rules are applied to refinement variables to verify their satisfiability.

This process can be generalized by treating base variables as trivially true refinement variables.

An implementation idea is to create a function a vc_gen_refinement_variable function that:

For base variables a "True" expression is passed as the refinement_expression variable