Repository navigation
VED: behaviour after a reset from any power-up state (synchronous reset, unit 1) - #208
Open
junjihashimoto wants to merge 17 commits into
Open
junjihashimoto wants to merge 17 commits into
junjihashimoto wants to merge 17 commits into
Conversation
…eneral theorem from U1Stmt; memories, hierarchy, async, parser as scope questions)
…(every IR register has a reset arm)
…eedFwd, contract-bound reset and explicit shift; post-reset state agrees with st0 on registers only (non-register independence and prefix evaluation lemmas); trace oldest-first; async limited to edge-observed reset, separate review
…) and plain-body step facts
… 1, 2, 4, 5 pieces)
…; lakefile entries
…ster in the wrong-reset control, theorem without extra hypotheses
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unit 1 of Issue sparkle-ved-reset. The statement and plan in
notes/ved/VED-RESET.md(revision 2, 9590c7d) were approved by the reviewer for this scope.What it proves.
Tools/VedReset.lean:OutputsOn.U1Stmtitself, so the theorem has no extra hypotheses.#ved_u1entry gets the reset statement without a new proof.Lemmas.
st0on the registers only.Controls (
Tests/Ved/VedResetCheck.lean, in ved-pr and ved-full):resetStmt_of_u1applied to a delay and a counter entry. Concrete runs start from a state that differs fromst0(also in a non-register name), with r = 0 and r = 2.#print axioms resetStmt_of_u1reports the standard three only.Checks.
kjob lake build Tools.VedReset Tests.Ved.VedResetCheckpasses on Lean 4.36 and on 4.32.1.ved_paths --checkpasses. VED CI on all supported versions runs on this PR.Not in this PR: asynchronous reset (unit 2) and the parser's reset kind (unit 3), which each get their own review.