Repository navigation
Questions: morphisms F-8 to F-10, unit test, rejection control - #26
Merged
Merged
Conversation
Morphism.agda classifies the strict morphisms out of one question (F-8), adds the per-question projections (F-9) and shows that the number of lost questions does not preserve alternatives (F-10). Each is re-proved in the Rocq and Lean legs. Adds tests/unit/QuestionsTest.agda and the ninth expected rejection, QuestionsMeetIsABranch, as the control for Q-4. The ledger records the rows; the census is 29, all ungraded. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_0136P7ZngnAq35mYcMvxDyS4
Contributor
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.



Summary
Follow-up to #25, part 1 of 2. Classifies morphisms out of the Questions instance and gives it a unit test and an expected-rejection control. Part 2 records receipts and grades; it must follow the merge of this PR, because this PR changes the inputs of all three proof legs.
Changes
src/ResourceAlgebra/Morphism.agda:one-question-hom,one-question-needs,one-question-unique. Out of one question there is exactly one strict morphism into an algebraB, and it exists exactly whenBhas 𝟘 ⊗ 𝟘 ≡ 𝟘.first-question,later-questions. Each question can be read alone.count-not-⊕. The number of lost questions does not preserve ⊕.verification/proofs/coq/ResourceAlgebra.vandverification/proofs/lean4/ResourceAlgebra.lean: the same theorems, with 6 new assumption/axiom print lines in each.tests/unit/QuestionsTest.agda, imported byAllTests.agda.tests/reject/QuestionsMeetIsABranch.agda: the ninth expected rejection, the control for Q-4.docs/status/PROOF-STATUS.adoc: rows F-8 to F-10, correspondence, nine rejections, the open list. Census: 29 rows, all ungraded.README.adoc,docs/pre-registration.adoc,CHANGELOG.adoc.Which morphisms to classify was a design choice made in this PR, not specified by the owner. Not classified: morphisms out of
Questions nfor n ≥ 2 beyond the projections, and every morphism into Questions.RSR Quality Checklist
Required
just testandjust qualitywere not run as recipes.unsafeblocks (none)Admitted, nosorry, nopostulate).envfiles includedAs Applicable
CHANGELOGupdatedTesting
bash scripts/check-agda.sh: pass, with all 9 expected rejections (Agda 2.6.3 locally; CI pins 2.6.4.3).bash tests/unit/resource_algebra_test.sh: pass.bash scripts/check-proofs.sh lean4with Lean 4.35.0: pass. 56 of 56 printed theorems depend on no axiom.From Stdlibreplaced byFrom Coq; 48 of 48 printed theorems are closed. Rocq 9.3.0 androcqchkrun only in CI.check-adoc-renders,check-invisible-characters,check-no-placeholders,check-escape-hatches,check-no-md-in-docs,check-root-shape,just validate-claude-md: pass.The commit is not signed. The session has no signing key.
Generated by Claude Code