Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bdep #603

Draft
wants to merge 168 commits into
base: main
Choose a base branch
from
Draft

Bdep #603

wants to merge 168 commits into from

Conversation

strub
Copy link
Member

@strub strub commented Aug 23, 2024

No description provided.

strub and others added 30 commits November 24, 2023 07:05
This family of functions type-check a formula w.r.t. a memory that
is infered from the program logic goal.

The commit changes two things:

 - for prhl, its uses the same memory name as the one used
   in the program logic goal. (Previously, it was using `mhr`)

 - its returns the memory that has been used for the type-checking
 - EcMatching.Zipper.map
 - EcLowPhlGoal.{is_program_logic,hl_set_stmt}
This tactic allows to change an expression in a statement by some
other expression. When applied, the user has to prove that the two
expressions are equal (generalizing over all the program variables)

This tactic applies to any program logic.

The syntax is:

    proc change <side?> <codepos> : <form>

This tactic is in the TCB.

Test plan:

 - unit test (tests/prochange.ec)
This tactic allows to rewrite an expression in a statement.

The syntax is:

    proc rewrite <side?> <codepos> <proof-term>

This tactic does not aim to be in the TCB and its final
version should rely on "proc change".

Test plan:

  - unit test (tests/procrewrite.ec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants