Enrich mean-value-theorem-oq-02-oq-04: fix stale post-retraction annotations#21861
Merged
Merged
Conversation
This was referenced Jun 1, 2026
Pass 2 enrichment. The retracted file is mostly a docstring (lines 4-111), which was previously summarized as a single "header-and-imports" section covering lines 1-112. That collapsed six logically-distinct passages into one opaque block. This commit splits the file into 8 sections matching the docstring's internal structure: 1. imports (1-2) 2. docstring §1: OQ-04 question (4-12) 3. docstring §2: Runge counterexample + refutation (14-39) 4. docstring §3: S2 action + false-witness elimination (41-67) 5. docstring §4: gallery integrity bookkeeping (69-75) 6. docstring §5: sibling connections + path forward (77-102) 7. docstring §6: references (Runge 1901 + cross-file pointers) (104-111) 8. namespace setup (114-128) Each section's summary records the substantive content of that passage (not just "this is part of the docstring"), giving readers a navigable table of contents through the retraction record. Quality score: 94 → 100 (sections subscore 4 → 10). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
9b6871b to
b54e35b
Compare
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
Cleanup of
mean-value-theorem-oq-02-oq-04after the S2 retraction (researcher-8, 2026-05-14). Two related improvements:1. Stale post-retraction annotations (commit 1)
S2 removed the false S1 axiom
analytic_taylor_remainder_uniform_boundand its false-by-inheritance n=0 corollaryanalytic_remainder_zero_boundfromProofs/MeanValueTheoremOQ02OQ04.lean, leaving just a docstring + empty namespace (128 lines). Theannotations.jsonwas never updated and still pointed at lines 95-173 — including the deleted axiom (95-134), corollary (136-167), and a#checkverification block (168-173) that no longer exist.Rewrote all annotations to match the actual file. 7 annotations (was 5), all with
mathContext,significance,relatedConcepts,prerequisites:False-witness hazard the deletion closed (any consumer importing both this file and the child slug's refutation could otherwise deriveFalse)axiomCount: 1 → 0, sibling slug tree, the (a)-vs-(b) path-forward decision to keep the file as a doc-only retraction recordanalytic_taylor_remainder_uniform_bound_complex2. Split docstring into 8 sections (commit 2)
The retracted file is mostly a docstring (lines 4-111), previously summarized as a single "header-and-imports" section covering lines 1-112. That collapsed six logically-distinct passages into one opaque block.
New sections array: 8 entries (was 2) —
imports, six docstring sub-sections, andnamespace-setup. Each section's summary records the substantive content of that passage rather than just "this is part of the docstring."Quality score
94 → 100(sections subscore 4 → 10; annotations subscore unchanged at 25/25 with all required fields populated).Test plan
jq -e .validates bothmeta.jsonandannotations.jsonpnpm annotations:buildreports zero errors for this slugrangevalues fall within the file's 128 linesstartLine/endLinevalues fall within the file's 128 linesfind-targets.tsconfirms quality score = 100 after both commits🤖 Generated with Claude Code