Skip to content

refactor: extract out MemoryEffects structure#222

Merged
shigoel merged 9 commits intomainfrom
extract-memory-effects
Oct 10, 2024
Merged

refactor: extract out MemoryEffects structure#222
shigoel merged 9 commits intomainfrom
extract-memory-effects

Conversation

@alexkeizer
Copy link
Copy Markdown
Collaborator

@alexkeizer alexkeizer commented Oct 7, 2024

Description:

Extracted from #179, stacked on #220.

We extract out memory-effects related code from AxEffects into a new MemoryEffects structure. This PR is purely a non-functional change, but will serve as the starting point of integrating simp_mem with sym_n.

The current simplification is effectively a no-op, since the proof state is not massaged to the way simp_mem wants it to be. Subsequent PRs will focus on massaging the goal state to be as simp_mem likes, and then trying to symbolically simplify the memory expression we see.

Testing:

What tests have been run? Did make all succeed for your changes? Was
conformance testing successful on an Aarch64 machine? yes

License:

By submitting this pull request, I confirm that my contribution is
made under the terms of the Apache 2.0 license.

Co-authored-by @bollu[email protected]

@alexkeizer
Copy link
Copy Markdown
Collaborator Author

This extracts the purely non-functional refactor from #179. I've stacked this PR on top of #220 to make use of the common tracing methods we've already added at some point in that stack, so this version of the change resolves all comment that were made on the previous PR, and is ready to merge from my perspective.

@shigoel shigoel marked this pull request as ready for review October 8, 2024 19:39
@shigoel shigoel self-requested a review as a code owner October 8, 2024 19:39
Comment thread Tactics/Sym/MemoryEffects.lean Outdated
shigoel
shigoel previously approved these changes Oct 8, 2024
@alexkeizer alexkeizer force-pushed the extract-memory-effects branch from 077b5da to 6295e15 Compare October 8, 2024 20:01
Base automatically changed from section-monad to main October 8, 2024 20:14
@shigoel shigoel dismissed their stale review October 8, 2024 20:14

The base branch was changed.

@alexkeizer
Copy link
Copy Markdown
Collaborator Author

@shigoel All comment address, this should be ready to merge

@shigoel shigoel merged commit 0ac14c8 into main Oct 10, 2024
@shigoel shigoel deleted the extract-memory-effects branch October 10, 2024 15:14
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