Skip to content

Clarify the catalytic register theorem documentation - #1053

Merged
Vilin97 merged 1 commit into
mainfrom
fix/catalytic-register-documentation-20261127
Nov 27, 2026
Merged

Vilin97 merged 1 commit into
mainfrom
fix/catalytic-register-documentation-20261127

Conversation

@Vilin97

@Vilin97 Vilin97 commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

Scope

Follow-up to #1048 for the remaining documentation findings.

  • State that the prime-field classifier requires a positive access budget, and distinguish formal polynomial identities from pointwise execution on finite fields. The pointwise identities (x³=x) over 𝔽₂ and (x⁷=x) over 𝔽₄ illustrate the distinction. Upstream limitations
  • State the actual unit hypotheses in the three-register theorem documentation and clarify the radix-13 digit count in the project card.

Validation

git diff --check passed. A comparison after stripping Lean comments found identical Lean source. The parsed project card changes only its summary and the two relevant result descriptions.

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve at 4a673947261c3276bce0883f811b2d47dcd1f5fb.

  • An independent source pass checked the positive budget, formal-polynomial scope, and actual unit hypotheses against the existing Lean declarations. The card's radix-13 digit count now matches the theorem. Upstream limitations
  • Stripping Lean comments gives identical source in all three edited modules. The YAML comparison found only the intended prose changes. The required Lean build is running. Lean Action CI

@greptile-apps

greptile-apps Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Advisory cross-file review against Lean Pool's supervisory rubric. This is not by itself a significance, source-verification, or merge verdict.

The documentation changes introduce no identified merge-blocking issue.RetriggerView in Greptile

[Low impact] The documentation changes introduce no identified merge-blocking issue.

Summary

Clarifies the existing theorems without changing their statements or proofs.

  • The two-register results now separate polynomial identities from field functions.
  • Three-register powering results state their ring-unit requirements.
  • The project card defines the radix-13 digit count before its bound.

The revised claims agree with the Lean declarations. External source fidelity was not independently reverified.

Reviews (1) · Last reviewed commit: "Clarify catalytic register theorem scope..." · Reviewed by Greptile

@github-actions

Copy link
Copy Markdown
Contributor

Proof profile (new / modified Lean files)

Statement changes

✅ No statements changed — all 96 tracked declarations across 3 modified files kept their type; only proofs / definition bodies changed.

Statements are compared textually against the merge base (comments and whitespace ignored; by proof terms embedded in a type are treated as proof-irrelevant), the same method as physlib's /check-golf. Anonymous instances and examples are not tracked.

Compile cost of modified files — base → head

Heartbeats: 110,832 → 110,832 (-0, -0.0%). Commands: 238 → 238.

Per-file wall sum: 19.5 s → 19.0 s (-2.5%). Wall clock is measured under parallel load and is noisy; heartbeats are deterministic and are the regression signal.

Files: 3 compared — 0 cheaper, 0 costlier, 3 within noise (threshold: |Δ heartbeats| ≥ 1,000 and ≥ 1%).

Both sides are elaborated against the merge-base build of the pool — sound when only proofs and definition bodies change; a file whose statements changed may fail there and is flagged ⚠. Heartbeats come from disjoint root command traces with trace.profiler.useHeartbeats and synchronous elaboration, converted to maxHeartbeats units. Failed measurements are not classified as cheaper or costlier. Δ lines counts added/deleted lines from this PR diff.

File Δ lines HB base HB head Δ HB Δ HB % Wall base (s) Wall head (s)
LeanPool/CatalyticRegisters/ExtensionFieldSeparation.lean +11/-11 54,931 54,931 -0 -0.0% 8.65 8.51
LeanPool/CatalyticRegisters/DigitSumDichotomy.lean +4/-3 43,407 43,407 +0 +0.0% 7.62 7.43
LeanPool/CatalyticRegisters/ThreeRegisterBreakthrough.lean +2/-2 12,495 12,495 +0 +0.0% 3.19 3.03
Total +17/-16 110,832 110,832 -0 -0.0% 19.5 19.0

Advisory only — never blocks merge. Full log uploaded as the proof-profile artifact.

@Vilin97

Vilin97 commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator Author

🤖 LLM review — refactor (gpt-6.2-sol)

Reviewed head: 4a673947261c3276bce0883f811b2d47dcd1f5fb

Verdict: ✅ approve

The PR states the classifier’s positive access budget, distinguishes formal polynomial computation from pointwise evaluation, gives the unit hypotheses for the seventh- and ninth-power programs, and clarifies the radix-13 digit count. The Lean edits are confined to comments, and the project card changes only three prose fields. A targeted Lean build passed for the edited modules and their soundness and powering dependents. Upstream scope notes

Aspect Value
Scope theorem and project-card documentation
Introduces tech debt ✅ no
Maintainability ✅ improved
Brittleness ➖ unchanged
Risk ✅ low

The revised documentation accurately describes the existing semantics and hypotheses, and the proof profile reports identical elaboration heartbeats for all three edited modules.


Tokens: 953,948 in / 6,283 out · Tier: codex-subscription · Effort: xhigh · Billing: Codex subscription quota (no API credits) · Estimated cost: $3.9100 (Standard API equivalent; uncached input) (long-context rate)
Automated review against .github/REFACTOR_REVIEW_RULES.md. Disagree? Reply on the PR; rules can be updated in a PR of their own.

@Vilin97
Vilin97 added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit fae61c2 Nov 27, 2026
27 checks passed
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