Skip to content

A plan says where each method was applied among what happens at that time - #1

Merged
fmrico merged 1 commit into
mainfrom
applied_among_happenings
Dec 2, 2026
Merged

fmrico merged 1 commit into
mainfrom
applied_among_happenings

Conversation

@fmrico

@fmrico fmrico commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

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 last
    nothing);
  • 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), and docs/semantics.md, section 8,
says what they mean.

Test: TemporalTest.WhereAMethodWasAppliedAmongWhatHappensAtOnce, a method
applied after a start at its time, one applied between two ends, and one
where there is nothing to say.

…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.
@fmrico
fmrico merged commit a50af4d into main Dec 2, 2026
9 checks passed
@fmrico
fmrico deleted the applied_among_happenings branch December 2, 2026 09:02
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.

1 participant