forked from leanprover/LNSym
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: memory model proofs for simp_mem [2/3?] (leanprover#108)
This PR is stacked on top of leanprover#105, and is peeled from leanprover#90. This is the second of 3 anticipated PRs which build the new `simp_mem` tactic. This PR change `mem` from private to public, because it was found when writing automation that ```lean theorem ArmState.read_mem_eq_mem_read : read_mem addr s = s.mem.read addr := rfl ``` exposes `s.mem` to the outside world, on which we perform memory operations. So, we think of `s.mem` as a public interface for the memory, whose *methods* which modify memory will eventually be made private. ### 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: Shilpi Goel <shigoel@gmail.com> Co-authored-by: Alex Keizer <alex@keizer.dev>
- Loading branch information
1 parent
9e05e6a
commit fc5aabe
Showing
1 changed file
with
61 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters