Repository navigation
Restore imported V3.5 Fierz tactic - #1060
Conversation
|
Advisory cross-file review against Lean Pool's supervisory rubric. This is not by itself a significance, source-verification, or merge verdict. [Low impact] The change is limited to the public tactic for Fierz entry goals. The repair appears mergeable, with a non-blocking request to save the separate-import regression test. Findings
SummaryKeeps the coordinate solver local and restores exported
Reviews (1) · Last reviewed commit: "Restore exported V3.5 Fierz tactic" · Reviewed by Greptile |
Proof profile (new / modified Lean files)Statement changes✅ No statements changed — all 109 tracked declarations across 1 modified file kept their type; only proofs / definition bodies changed. Statements are compared textually against the merge base (comments and whitespace ignored; Compile cost of modified files — base → headHeartbeats: 2,861,048 → 2,862,970 (+1,921, +0.1%). Commands: 128 → 134. Per-file wall sum: 197.9 s → 268.3 s (+35.6%). Wall clock is measured under parallel load and is noisy; heartbeats are deterministic and are the regression signal. Files: 1 compared — 0 cheaper, 0 costlier, 1 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
Advisory only — never blocks merge. Full log uploaded as the |
Vilin97
left a comment
There was a problem hiding this comment.
Approved at 7869980e3ac554c8c0dd4090ef0b9d0bc4ba1240.
- The coordinate solver stays local and still serves all the existing proof cases. The exported tactic closes an entry goal through the public completeness theorem, which quantifies over all four indices. The theorem and certificate statements are unchanged.
- The separate-caller check in the PR exercises the original import regression. A saved caller would help detect a future recurrence. The exact-head required checks passed. Lean Action CI
🤖 LLM review — refactor (
|
| Aspect | Value |
|---|---|
| Scope | tactic export |
| Introduces tech debt | ✅ no |
| Maintainability | ✅ improved |
| Brittleness | ✅ more_robust |
| Risk | ✅ low |
Applying the public theorem isolates downstream callers from private coordinate lemmas and arithmetic normalization, with only a 0.1% heartbeat increase in /profile.
Findings (1)
- missing-regression-test —
LeanPool/LatticeDiracDerivation/V35BilinearCliffordClosure.lean:464
Every checked-in call exercises the local solver, and the example in the PR description passes on both base and head. Addingmoduleto that example reproduces the private-helper error on base and passes on head. Check that version in CI to cover the public import boundary.
Tokens: 2,480,340 in / 12,915 out · Tier: codex-subscription · Effort: xhigh · Billing: Codex subscription quota (no API credits) · Estimated cost: $10.1151 (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.
Summary
v35FierzFinishafterv35_fierz_completenessas a thin wrapper using only that public theorem.Regression test
A separate caller importing only the public Fierz module now compiles:
Verification
lake build LeanPool.LatticeDiracDerivation.V35BilinearCliffordClosurelake build LeanPool.LatticeDiracDerivation.Importslake exe runLinter LeanPool.LatticeDiracDerivation.Importslake exe lint-style LeanPool/LatticeDiracDerivation/V35BilinearCliffordClosure.leanpython -X utf8 -m lean_pool.quality --static-onlypython scripts/project-indexes.py --module --checkgit diff --checksorry,admit,axiom,set_option, or#printThis is an AI-assisted follow-up to the API-regression finding on #1057.