A derivation rewinds with the second clock - #557
Merged
Conversation
Closes #549. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: WaylandYang <wayland0916@gmail.com>
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.
derived_for_entitykeptinvalidated_at IS NULLwhile the assertions beside it tookas_of, so a rewound entity showed March's facts with today's conclusions: a derivation whose premises were not on record yet (#549). The read now takesas_ofand usesrecord_axis::derived_held_at, the predicate the graph overview already used. The entity panel route andentity_factsover MCP pass the moment they had already parsed.Record. 0019's status line names this cut. A new open question records the limit that stays:
fact_derivationsis rewritten in place when a kept conclusion is reproved (0030, cut 2), so a proof has one version, and expanding a rewound derivation shows today's premises with the retracted ones marked.Test.
a_derivation_follows_the_second_clockseeds two premises recorded on March 10 and a derivation drawn on March 11, then reads at March 1 (nothing on either half), March 10 noon (the premise, no conclusion), and now (the conclusion). After invalidating the derivation on April 1 it reads at March 20 (still there, as 0019 promises) and now (gone). With the old predicate the March 1 read fails.Closes #549.
🤖 Generated with Claude Code