Repository navigation
Update lattice Dirac derivation to V3.5 - #1055
Conversation
|
Advisory cross-file review against Lean Pool's supervisory rubric. This is not by itself a significance, source-verification, or merge verdict. [Medium impact] No blocking issue remains in the reviewed changes. SummaryUpdates the project from V3.4 to V3.5 with generated rotations and boosts, free-solution covariance, Clifford/Fierz completeness, antiparticle residues, and moving-spin results.
Reviews (2) · Last reviewed commit: "Address LeanPool review feedback" · Reviewed by Greptile |
Vilin97
left a comment
There was a problem hiding this comment.
Approved at fba400d3ba4734bf2fe8bd23749670c74ea5d547. The required Lean build is in progress.
- Scope and proof. The antiparticle spin sum uses the inherited negative pole numerator. The covariance proof intertwines the free residual for every finite generator word. The Fierz theorem checks every matrix-entry quadruple, with
1/4for the four spinor components and1/2for the two orderings of each tensor pair. The moving-spin calculation gives the stated on-shell square and the signed-permutation helicity bridge. - Provenance and integration. The eight public V3.5 modules preserve the pinned upstream theorem statements and the MIT notice. The previously accepted V3.4 modules are unchanged and remain publicly imported. The search of the pinned dependencies found related Clifford and spin infrastructure, with no match for these C19 results. Pinned upstream release
- Advisory findings. A channel-indexed theorem matching the public lookup would improve that API. The displayed Fierz identity already covers the matrix entries claimed by the card. The positive radius and norm equation state the normalized helicity comparison, so the existing theorem is appropriate even though the algebraic identity can be generalized to an arbitrary nonzero scale.
Vilin97
left a comment
There was a problem hiding this comment.
Approved at 8444bb3d742ae669d8a7f9bdcc1b8c1ec0bb6d10.
- The two unused lookup helpers are gone. The channel count, tensor normalizations, Fierz statement and proof are unchanged.
- The new nonzero-scale helicity theorem uses the original calculation, and the positive-radius wrapper preserves the original public statement and its interpretation. Both files retain their source notices.
- Optional wording cleanup in the Fierz module overview would describe six independent tensor channels. The enum now just supplies six labels, while the completeness formula runs over the ordered index pairs.
Proof profile (new / modified Lean files)
This build covers the changed modules and their dependency cones on top of the restored cache. The serial per-file sums below are useful for ranking slow files, not as a build budget. A base→head comparison was attempted but its measurements are unavailable (see the run log); modified files are omitted from the tables below. Statement changes✅ No statements changed — all 0 tracked declarations across 2 modified files kept their type; only proofs / definition bodies changed. Statements are compared textually against the merge base (comments and whitespace ignored; Total heartbeats: 7,729,788 maxHeartbeats units across 7 valid files (1,392 added LOC). Sum of Count-heartbeats wall-clock total: 621.26 s. Repeated import cost inside Heartbeat values sum disjoint root command traces with LOC counts added lines in the profiled Lean files from this PR diff.
Aggregate phase totals
Slowest changed modules (from
|
| Changed module | Lake time |
|---|---|
LeanPool.LatticeDiracDerivation.V35BilinearCliffordClosure |
136.00 s |
LeanPool.LatticeDiracDerivation.V35CovariantSolutionTransport |
35.00 s |
LeanPool.LatticeDiracDerivation.V35FrameworkAndGapLock |
7.00 s |
LeanPool.LatticeDiracDerivation.V35MovingSpinInvariant |
4.60 s |
LeanPool.LatticeDiracDerivation.V35AntiparticleResidueClosure |
3.80 s |
LeanPool.LatticeDiracDerivation.V35CompleteBilinears |
3.60 s |
LeanPool.LatticeDiracDerivation.V35GeneratedLorentzTransformations |
1.30 s |
LeanPool.LatticeDiracDerivation.V35CompleteCovariantObservables |
1.30 s |
Per-file `lean --profile` output
LeanPool/LatticeDiracDerivation/V35AntiparticleResidueClosure.lean
import took 5.42s
simp took 122ms
simp took 108ms
simp took 115ms
simp took 108ms
simp took 118ms
simp took 108ms
simp took 112ms
simp took 124ms
simp took 114ms
simp took 141ms
simp took 135ms
simp took 119ms
simp took 139ms
cumulative profiling times:
attribute application 0.038ms
blocked (unaccounted) 2.33s
compilation (IR) 0.23ms
compilation (LCNF base) 2.29ms
compilation (LCNF impure) 1.03ms
compilation (LCNF mono) 2.06ms
congr simp thm 3.35ms
declTypeLinter 2.58ms
elaboration 34ms
fix level params 1.48ms
import 5.42s
initialization 31.5ms
instantiate metavars 15ms
interpretation 354ms
let-to-have transformation 0.0443ms
linting 21.2ms
module linting 0.019ms
norm_num 11.9ms
parsing 2.89ms
process pre-definitions 16.7ms
ring 11.1ms
share common exprs 25.1ms
simp 1.87s
tactic execution 51.8ms
tacticAnalysis 2.34ms
type checking 95.6ms
typeclass inference 125ms
real 8.79
user 3.70
sys 1.08
LeanPool/LatticeDiracDerivation/V35BilinearCliffordClosure.lean
import took 1.02s
simp took 1.96s
simp took 1.51s
simp took 1.57s
simp took 2.02s
share common exprs took 135ms
type checking took 330ms
simp took 1.7s
simp took 2.33s
simp took 1.83s
simp took 1.53s
type checking took 217ms
simp took 1.61s
simp took 1.93s
simp took 2.01s
simp took 2.1s
type checking took 235ms
simp took 2.19s
simp took 1.59s
simp took 2.33s
simp took 2.18s
type checking took 237ms
simp took 2.04s
simp took 2.07s
simp took 1.89s
simp took 1.45s
type checking took 239ms
simp took 1.55s
simp took 1.51s
simp took 1.51s
simp took 1.51s
type checking took 258ms
simp took 1.54s
simp took 1.54s
simp took 1.51s
simp took 1.54s
type checking took 220ms
simp took 1.79s
simp took 1.78s
simp took 1.68s
simp took 1.69s
type checking took 267ms
simp took 1.53s
simp took 1.53s
simp took 1.31s
simp took 1.55s
type checking took 233ms
simp took 1.57s
simp took 1.52s
simp took 1.39s
simp took 1.56s
type checking took 217ms
simp took 1.53s
simp took 1.53s
simp took 1.46s
simp took 1.54s
type checking took 228ms
simp took 1.69s
simp took 1.76s
simp took 1.57s
simp took 1.8s
type checking took 217ms
simp took 1.57s
simp took 1.51s
simp took 1.56s
simp took 1.33s
type checking took 193ms
simp took 1.61s
simp took 1.57s
simp took 1.67s
simp took 1.4s
type checking took 247ms
simp took 1.59s
simp took 1.62s
simp took 1.6s
simp took 1.44s
type checking took 229ms
simp took 1.75s
simp took 1.67s
simp took 1.68s
simp took 1.6s
type checking took 213ms
simp took 1.63s
simp took 1.6s
simp took 1.53s
simp took 1.57s
type checking took 242ms
simp took 1.69s
simp took 1.58s
simp took 1.57s
simp took 1.58s
type checking took 264ms
simp took 1.66s
simp took 1.59s
simp took 1.58s
simp took 1.61s
type checking took 244ms
simp took 1.79s
simp took 1.91s
simp took 1.85s
simp took 1.73s
type checking took 238ms
simp took 1.64s
simp took 1.55s
simp took 1.54s
simp took 1.54s
type checking took 225ms
simp took 1.68s
simp took 1.58s
simp took 1.59s
simp took 1.64s
type checking took 217ms
simp took 1.6s
simp took 1.59s
simp took 1.59s
simp took 1.57s
type checking took 218ms
simp took 1.78s
simp took 1.85s
simp took 1.71s
simp took 1.83s
type checking took 207ms
simp took 1.6s
simp took 1.58s
simp took 1.42s
simp took 1.61s
type checking took 208ms
simp took 1.73s
simp took 1.56s
simp took 1.36s
simp took 1.63s
type checking took 196ms
simp took 1.6s
simp took 1.71s
simp took 1.5s
simp took 1.61s
type checking took 212ms
simp took 1.8s
simp took 1.86s
simp took 1.66s
simp took 2.04s
type checking took 193ms
simp took 1.55s
simp took 1.56s
simp took 1.68s
simp took 1.56s
type checking took 191ms
simp took 1.74s
simp took 1.58s
simp took 1.72s
simp took 1.32s
type checking took 198ms
simp took 1.79s
simp took 1.64s
simp took 1.65s
simp took 1.48s
type checking took 197ms
simp took 1.9s
simp took 1.8s
simp took 1.8s
simp took 1.67s
type checking took 191ms
simp took 1.73s
simp took 1.7s
simp took 1.68s
simp took 1.56s
type checking took 206ms
simp took 1.72s
simp took 1.6s
simp took 1.66s
simp took 1.61s
type checking took 213ms
simp took 1.68s
simp took 1.6s
simp took 1.61s
simp took 1.6s
type checking took 204ms
simp took 1.77s
simp took 1.94s
simp took 1.75s
simp took 1.89s
share common exprs took 100ms
type checking took 179ms
simp took 1.59s
simp took 1.6s
simp took 1.69s
simp took 1.73s
type checking took 178ms
simp took 1.64s
simp took 1.6s
simp took 1.67s
simp took 1.65s
type checking took 206ms
simp took 1.64s
simp took 1.67s
simp took 1.6s
simp took 1.63s
type checking took 213ms
simp took 1.9s
simp took 1.87s
simp took 1.8s
simp took 1.83s
share common exprs took 102ms
type checking took 208ms
simp took 1.61s
simp took 1.56s
simp took 1.42s
simp took 1.6s
type checking took 198ms
simp took 1.64s
simp took 1.67s
simp took 1.53s
simp took 1.73s
type checking took 212ms
simp took 1.59s
simp took 1.61s
simp took 1.34s
simp took 1.61s
type checking took 176ms
simp took 1.81s
simp took 1.76s
simp took 1.65s
simp took 1.9s
share common exprs took 105ms
type checking took 199ms
simp took 1.62s
simp took 1.71s
simp took 1.58s
simp took 1.54s
type checking took 213ms
simp took 1.69s
simp took 1.65s
simp took 1.68s
simp took 1.5s
type checking took 169ms
simp took 1.63s
simp took 1.82s
simp took 1.78s
simp took 1.4s
type checking took 192ms
simp took 1.83s
simp took 1.84s
simp took 1.83s
simp took 1.65s
type checking took 191ms
simp took 1.95s
simp took 1.81s
simp took 1.89s
simp took 1.98s
share common exprs took 107ms
type checking took 214ms
simp took 1.85s
simp took 1.78s
simp took 1.76s
simp took 1.76s
type checking took 214ms
simp took 1.9s
simp took 1.79s
simp took 1.68s
simp took 1.85s
type checking took 206ms
simp took 2.01s
simp took 1.92s
simp took 1.93s
simp took 2.16s
share common exprs took 117ms
type checking took 190ms
simp took 1.9s
simp took 1.79s
simp took 1.8s
simp took 1.83s
share common exprs took 110ms
type checking took 200ms
simp took 1.76s
simp took 1.74s
simp took 1.8s
simp took 1.77s
share common exprs took 101ms
type checking took 203ms
simp took 1.77s
simp took 1.82s
simp took 1.75s
simp took 1.9s
share common exprs took 103ms
type checking took 228ms
simp took 1.94s
simp took 1.96s
simp took 1.95s
simp took 2.23s
share common exprs took 112ms
type checking took 196ms
simp took 1.8s
simp took 1.94s
simp took 1.66s
simp took 1.79s
share common exprs took 101ms
type checking took 179ms
simp took 1.81s
simp took 1.76s
simp took 1.57s
simp took 1.82s
type checking took 191ms
simp took 1.81s
simp took 1.78s
simp took 1.6s
simp took 1.89s
type checking took 211ms
simp took 1.99s
simp took 2.02s
simp took 1.68s
simp took 1.92s
share common exprs took 108ms
type checking took 195ms
simp took 1.78s
simp took 1.8s
simp took 1.8s
simp took 1.68s
type checking took 189ms
simp took 1.87s
simp took 1.86s
simp took 1.84s
simp took 1.66s
type checking took 207ms
simp took 1.8s
simp took 1.94s
simp took 1.83s
simp took 1.62s
share common exprs took 108ms
type checking took 200ms
simp took 1.7s
simp took 1.4s
simp took 1.4s
simp took 1.18s
type checking took 173ms
cumulative profiling times:
attribute application 1.59ms
blocked (unaccounted) 125s
compilation (IR) 1.86ms
compilation (LCNF base) 20.2ms
compilation (LCNF impure) 6.88ms
compilation (LCNF mono) 11.2ms
congr simp thm 277ms
declTypeLinter 33.8ms
elaboration 2.17s
fix level params 329ms
import 1.02s
initialization 26.7ms
instantiate metavars 96.7ms
interpretation 3.45s
let-to-have transformation 1.2ms
linting 95.5ms
module linting 0.0326ms
norm_num 375ms
parsing 32ms
process pre-definitions 2.91s
ring 3.53ms
share common exprs 5.16s
simp 435s
tactic execution 1.91s
tacticAnalysis 33.9ms
type checking 13.7s
typeclass inference 7.32s
real 127.34
user 456.70
sys 1.81
LeanPool/LatticeDiracDerivation/V35CompleteBilinears.lean
import took 998ms
simp took 109ms
cumulative profiling times:
attribute application 0.0738ms
blocked (unaccounted) 1.11s
compilation (IR) 0.43ms
compilation (LCNF base) 4.56ms
compilation (LCNF impure) 1.85ms
compilation (LCNF mono) 4.76ms
congr simp thm 1.69ms
declTypeLinter 2.81ms
elaboration 21.9ms
fix level params 1.49ms
import 998ms
initialization 33.3ms
instantiate metavars 10.9ms
interpretation 273ms
let-to-have transformation 0.0627ms
linting 5.83ms
module linting 0.0328ms
norm_num 3.61ms
parsing 3.42ms
process pre-definitions 13.2ms
ring 17.4ms
share common exprs 15.7ms
simp 1.28s
tactic execution 24.9ms
tacticAnalysis 2.03ms
type checking 119ms
typeclass inference 50.7ms
real 3.01
user 2.80
sys 0.87
LeanPool/LatticeDiracDerivation/V35CompleteCovariantObservables.lean
import took 1.02s
cumulative profiling times:
attribute application 0.0143ms
declTypeLinter 1.82ms
elaboration 3.48ms
fix level params 0.00569ms
import 1.02s
initialization 25.8ms
instantiate metavars 0.00267ms
interpretation 175ms
let-to-have transformation 0.0155ms
linting 1.4ms
module linting 0.0229ms
parsing 1ms
process pre-definitions 0.1ms
share common exprs 0.0122ms
tacticAnalysis 1.5ms
type checking 0.514ms
real 1.92
user 1.16
sys 0.85
LeanPool/LatticeDiracDerivation/V35CovariantSolutionTransport.lean
import took 997ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 715ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 902ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 807ms
share common exprs took 124ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 835ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 896ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 662ms
simp took 411ms
simp took 390ms
simp took 370ms
simp took 401ms
simp took 385ms
simp took 378ms
simp took 387ms
simp took 438ms
simp took 371ms
simp took 397ms
simp took 301ms
simp took 318ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 130ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 125ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 125ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 125ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 142ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 149ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 131ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 131ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 125ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 124ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 125ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 125ms
share common exprs took 308ms
process pre-definitions took 105ms
elaboration took 208ms
type checking took 301ms
simp took 536ms
simp took 458ms
simp took 468ms
simp took 496ms
simp took 438ms
simp took 463ms
simp took 488ms
simp took 509ms
simp took 314ms
simp took 315ms
simp took 323ms
simp took 370ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 147ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 146ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 142ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 145ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 143ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 142ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 161ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 148ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 150ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 147ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 147ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 153ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_NormNum_Core___elabRules_Mathlib_Tactic_normNum_1._boxed took 149ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_NormNum_Core___elabRules_Mathlib_Tactic_normNum_1._boxed took 103ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_NormNum_Core___elabRules_Mathlib_Tactic_normNum_1._boxed took 104ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_NormNum_Core___elabRules_Mathlib_Tactic_normNum_1._boxed took 116ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_NormNum_Core___elabRules_Mathlib_Tactic_normNum_1._boxed took 100ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_NormNum_Core___elabRules_Mathlib_Tactic_normNum_1._boxed took 103ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_NormNum_Core___elabRules_Mathlib_Tactic_normNum_1._boxed took 121ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_NormNum_Core___elabRules_Mathlib_Tactic_normNum_1._boxed took 105ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_NormNum_Core___elabRules_Mathlib_Tactic_normNum_1._boxed took 114ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 194ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 195ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 183ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 182ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 176ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 176ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 180ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 178ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 184ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 177ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 180ms
interpretation of Mathlib.Tactic.RingNF._aux_Mathlib_Tactic_Ring_RingNF___elabRules_Mathlib_Tactic_RingNF_ringNF_1._boxed took 190ms
instantiate metavars took 103ms
share common exprs took 651ms
process pre-definitions took 228ms
elaboration took 314ms
type checking took 506ms
cumulative profiling times:
attribute application 0.173ms
blocked (unaccounted) 14.9s
compilation (IR) 0.557ms
compilation (LCNF base) 5.29ms
compilation (LCNF impure) 2.51ms
compilation (LCNF mono) 4.7ms
congr simp thm 42.8ms
declTypeLinter 6.75ms
elaboration 702ms
fix level params 37.9ms
import 997ms
initialization 25.9ms
instantiate metavars 213ms
interpretation 13s
let-to-have transformation 1.1ms
linting 25.2ms
module linting 0.0159ms
norm_num 1.61s
parsing 14.2ms
process pre-definitions 414ms
ring 814ms
share common exprs 1.17s
simp 10.5s
tactic execution 481ms
tacticAnalysis 6.54ms
type checking 1.04s
typeclass inference 1.88s
real 17.02
user 32.44
sys 0.97
LeanPool/LatticeDiracDerivation/V35FrameworkAndGapLock.lean
import took 1.02s
cumulative profiling times:
attribute application 0.0145ms
declTypeLinter 1.89ms
elaboration 4.18ms
fix level params 0.00502ms
import 1.02s
initialization 26.4ms
instantiate metavars 0.00237ms
interpretation 174ms
let-to-have transformation 0.00971ms
linting 1.36ms
module linting 0.0212ms
parsing 0.776ms
process pre-definitions 0.101ms
share common exprs 0.00916ms
tacticAnalysis 0.792ms
type checking 1.23ms
typeclass inference 3.63ms
real 1.95
user 1.16
sys 0.88
LeanPool/LatticeDiracDerivation/V35GeneratedLorentzTransformations.lean
import took 956ms
cumulative profiling times:
attribute application 0.248ms
blocked (unaccounted) 34.4ms
compilation (IR) 0.339ms
compilation (LCNF base) 2.27ms
compilation (LCNF impure) 1.51ms
compilation (LCNF mono) 2.21ms
congr simp thm 0.893ms
declTypeLinter 3.94ms
elaboration 23.9ms
fix level params 0.103ms
import 956ms
initialization 31.6ms
instantiate metavars 0.244ms
interpretation 209ms
let-to-have transformation 0.0616ms
linting 6.29ms
module linting 0.0212ms
parsing 5.28ms
process pre-definitions 3.14ms
share common exprs 0.565ms
simp 15.8ms
tactic execution 27.2ms
tacticAnalysis 3.1ms
type checking 6.8ms
typeclass inference 2.99ms
real 1.89
user 1.24
sys 0.83
LeanPool/LatticeDiracDerivation/V35MovingSpinInvariant.lean
import took 958ms
simp took 442ms
simp took 402ms
simp took 403ms
simp took 423ms
share common exprs took 129ms
type checking took 166ms
cumulative profiling times:
attribute application 0.068ms
blocked (unaccounted) 3.15s
compilation (IR) 0.411ms
compilation (LCNF base) 4.9ms
compilation (LCNF impure) 1.92ms
compilation (LCNF mono) 4.08ms
congr simp thm 4.53ms
declTypeLinter 3.16ms
elaboration 127ms
fix level params 5.99ms
import 958ms
initialization 25.6ms
instantiate metavars 22.5ms
interpretation 1.08s
let-to-have transformation 0.102ms
linting 27.6ms
module linting 0.0185ms
norm_num 185ms
parsing 5.07ms
process pre-definitions 59.3ms
ring 47ms
share common exprs 148ms
simp 2.01s
tactic execution 54.9ms
tacticAnalysis 2.78ms
type checking 231ms
typeclass inference 455ms
real 5.18
user 5.38
sys 0.88
Advisory only — never blocks merge. Full log uploaded as the proof-profile artifact.
🤖 LLM review — refactor (
|
| Aspect | Value |
|---|---|
| Scope | V3.5 port and Fierz proof split |
| Introduces tech debt | 🛑 yes |
| Maintainability | 🛑 regressed |
| Brittleness | 🛑 more_brittle |
| Risk | 🟡 medium |
Share the Fierz entry calculations and remove the moving-spin dependency on Fierz before merging.
Findings (3)
- compile-cost —
LeanPool/LatticeDiracDerivation/V35BilinearCliffordClosure.lean:107
v35FierzFinishre-expands the gamma-five, axial, and sigma operators with the default simp set across all 256 cases. The PR’s/profilerecords 136 seconds of Lake build time and 7,526,846 heartbeats for this module. Prove reusable entry lemmas from the existing operator definitions, then usesimp onlywith those lemmas to evaluate the finite sums. - unnecessary-dependency —
LeanPool/LatticeDiracDerivation/V35MovingSpinInvariant.lean:14
This import puts the Fierz module on the build path for Pauli–Lubanski and helicity proofs. The file elaborated in a scratch check withV34MomentumHelicityas its sole import. Remove the Fierz import here and keep both branches imported byV35CompleteCovariantObservables. - stale-comment —
LeanPool/LatticeDiracDerivation/V35BilinearCliffordClosure.lean:20
The module comment still describes the six tensor labels as unordered index pairs after the mapping was removed. The channel count usesFin 6, and the Fierz theorem sums over ordered pairs. Update the comment to explain the six independent components and the factor for summing over both orderings.
Tokens: 3,726,636 in / 18,715 out · Tier: codex-subscription · Effort: xhigh · Billing: Codex subscription quota (no API credits) · Estimated cost: $15.1873 (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.
request_changes is an ask, not a close: of the reviewer's past request_changes verdicts, 39% were merged after a human looked. Read the findings before acting on the verdict.
This is a cumulative update of the accepted lattice Dirac project from V3.4 to V3.5.
Upstream provenance
What changes
Claim boundary
This formalizes a free linearized result. It does not claim a localized or interacting physical electron, electromagnetic coupling, charge quantization, g = 2, transport closure beyond the inherited free sector, or an absolute MeV scale. It proves generated equation/solution covariance and bilinear Clifford/Fierz closure; it does not prove a separate finite transformation law for every bilinear class.
Local verification