Repository navigation
A plan says where each method was applied among what happens at that time - #1
Merged
Merged
Conversation
…time A plan with times said when each method was applied, and an executor checks its precondition there. A time is not enough when actions start or end at it: the state changes with each of them, and the verifier applies a method as soon as its precondition holds, which may be after one of those starts and before another, or between two ends. An executor that took the method to come after all the ends and before all the starts of its time checked it in a state in which it need not hold. Each step of a plan now names, of the actions that start or end at the time its method was applied, those that had started (applied_after_start_of) and those that had not ended yet (applied_before_end_of). Both are empty where the method comes after the ends and before the starts, as nearly always. docs/semantics.md, section 8, says so.
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.
A plan with times said when each method was applied, and an executor checks
its precondition there. A time is not enough when actions start or end at it:
the state changes with each of them, and the verifier applies a method as soon
as its precondition holds, which may be after one of those starts and before
another, or between two ends. An executor that took the method to come after
all the ends and before all the starts of its time checked it in a state in
which it need not hold.
Each step of a plan now names, of the actions that start or end at the time
its method was applied:
applied_after_start_of: those that had started (and ended, if they lastnothing);
applied_before_end_of: those that had not ended yet.Both are empty where the method comes after the ends and before the starts,
as nearly always, so nothing changes for whoever reads only
applied_at.They are in
PlanStep(C++ and Python), anddocs/semantics.md, section 8,says what they mean.
Test:
TemporalTest.WhereAMethodWasAppliedAmongWhatHappensAtOnce, a methodapplied after a start at its time, one applied between two ends, and one
where there is nothing to say.