diff --git a/LeanPool/LatticeDiracDerivation.lean b/LeanPool/LatticeDiracDerivation.lean index a1d540452a..a361b730e9 100644 --- a/LeanPool/LatticeDiracDerivation.lean +++ b/LeanPool/LatticeDiracDerivation.lean @@ -6,20 +6,19 @@ Authors: G. D. Partin module -public import LeanPool.LatticeDiracDerivation.V2 +public import LeanPool.LatticeDiracDerivation.V32CompleteFreeFermion /-! # Free Dirac dynamics and cubical spin from a reciprocal C19 lattice action -Source: url:https://github.com/gpartin/LeanDiracDerivation/tree/61a4798b8b3ebfcffd24065079dc4db9d7b43f75 +Source: url:https://github.com/gpartin/LeanDiracDerivation/tree/e2161e0936f181d4a5a9d49963a666f7cea42502 Authors: G. D. Partin Status: verified -Main declarations: `LeanDirac.V2.complete_first_principles_free_dirac`, - `LeanDirac.V2.cubical_flavor_classification`, - `LeanDirac.V2.periodic_quantized_add_char_bijective`, - `LeanDirac.V2.periodic_integrated_positive_packet_current_bridge`, - `LeanDirac.V2.positive_packet_pointwise_bridge_is_false`, - `LeanDirac.V2.lorentz_spin_half_from_native_action` +Main declarations: `LeanDirac.V2.v32_complete_free_fermion`, + `LeanDirac.V2.v32_no_global_exact_local_oriented_root`, `LeanDirac.V2.c19_no_momentum_doublers`, + `LeanDirac.V2.v32_rest_spin_commutant_is_scalar`, + `LeanDirac.V2.v32_free_schrodinger_multiplier_with_exact_remainder`, + `LeanDirac.V2.v32_native_rest_mass`, `LeanDirac.V2.v32_absolute_energy_scale_not_selected` Tags: mathematical-physics, dirac-operator, clifford-algebra, lattice, fourier-analysis MSC: 81Q05, 15A66, 65M06, 81R20 -/ diff --git a/LeanPool/LatticeDiracDerivation/Imports.lean b/LeanPool/LatticeDiracDerivation/Imports.lean index 0a1fc9aa1c..bd265c582a 100644 --- a/LeanPool/LatticeDiracDerivation/Imports.lean +++ b/LeanPool/LatticeDiracDerivation/Imports.lean @@ -51,3 +51,20 @@ public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumTangent public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumVerletDispersion public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumVerletStability public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumVerletTime +public import LeanPool.LatticeDiracDerivation.V32BrillouinZoneAudit +public import LeanPool.LatticeDiracDerivation.V32CenteredStepTransport +public import LeanPool.LatticeDiracDerivation.V32CompleteFreeFermion +public import LeanPool.LatticeDiracDerivation.V32ContinuumOperatorConvergence +public import LeanPool.LatticeDiracDerivation.V32CopyClassification +public import LeanPool.LatticeDiracDerivation.V32DiscreteSymmetries +public import LeanPool.LatticeDiracDerivation.V32FiniteLorentz +public import LeanPool.LatticeDiracDerivation.V32FrameworkLock +public import LeanPool.LatticeDiracDerivation.V32GlobalSpectrum +public import LeanPool.LatticeDiracDerivation.V32IrreducibleParticle +public import LeanPool.LatticeDiracDerivation.V32LatticeArtifacts +public import LeanPool.LatticeDiracDerivation.V32NonrelativisticLimit +public import LeanPool.LatticeDiracDerivation.V32PacketBenchmarks +public import LeanPool.LatticeDiracDerivation.V32Robustness +public import LeanPool.LatticeDiracDerivation.V32ScaleIdentifiability +public import LeanPool.LatticeDiracDerivation.V32SpectralProjectors +public import LeanPool.LatticeDiracDerivation.V32TransportObservables diff --git a/LeanPool/LatticeDiracDerivation/V32BrillouinZoneAudit.lean b/LeanPool/LatticeDiracDerivation/V32BrillouinZoneAudit.lean new file mode 100644 index 0000000000..274e546b9d --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32BrillouinZoneAudit.lean @@ -0,0 +1,108 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32GlobalSpectrum + +/-! +# V3.2 Stage 4: exact C19 zero audit + +The massive branch is gapped, so momentum-space doublers can only arise from +additional zeros of the C19 transport symbol. This file proves directly from +the positive C19 bond sum that the only zero in the fundamental Brillouin box +is the origin. +-/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section +open BigOperators Complex + +theorem c19_zero_forces_every_bond_character + (momentum : LatticeMomentum) + (hzero : c19TransportSymbol momentum = 0) : + ∀ direction, c19Character momentum direction = 1 := by + intro direction + have hall := (Finset.sum_eq_zero_iff_of_nonneg + (fun d (_ : d ∈ Finset.univ) => + mul_nonneg (le_of_lt (c19_weight_positive d)) + (Complex.normSq_nonneg _))).mp hzero + have hterm := hall direction (Finset.mem_univ direction) + have hnorm : Complex.normSq (1 - c19Character momentum direction) = 0 := by + rcases mul_eq_zero.mp hterm with hw | hn + · exact False.elim ((ne_of_gt (c19_weight_positive direction)) hw) + · exact hn + have hsub : 1 - c19Character momentum direction = 0 := + Complex.normSq_eq_zero.mp hnorm + exact (sub_eq_zero.mp hsub).symm + +theorem c19_zero_forces_axis_cosines + (momentum : LatticeMomentum) + (hzero : c19TransportSymbol momentum = 0) : + Real.cos (momentum 0) = 1 ∧ + Real.cos (momentum 1) = 1 ∧ + Real.cos (momentum 2) = 1 := by + have hbond (direction : C19Neighbor) : + Complex.normSq (1 - c19Character momentum direction) = 0 := by + rw [c19_zero_forces_every_bond_character momentum hzero direction] + simp + have hx := hbond ⟨0, by omega⟩ + have hy := hbond ⟨2, by omega⟩ + have hz := hbond ⟨4, by omega⟩ + rw [c19Character, normSq_one_sub_exp_I] at hx hy hz + simp [c19PhaseAngle, c19Coord, Fin.sum_univ_succ] at hx hy hz + constructor + · nlinarith + · constructor <;> nlinarith + +/-- The V3.2 I nF un da me nt al Br il lo ui nB ox definition used by this stage. -/ +def InFundamentalBrillouinBox (momentum : LatticeMomentum) : Prop := + ∀ axis, -(Real.pi) ≤ momentum axis ∧ momentum axis < Real.pi + +theorem c19_no_momentum_doublers + (momentum : LatticeMomentum) + (hbox : InFundamentalBrillouinBox momentum) + (hzero : c19TransportSymbol momentum = 0) : + momentum = fun _ => 0 := by + have hcos := c19_zero_forces_axis_cosines momentum hzero + funext axis + fin_cases axis + · exact (Real.cos_eq_one_iff_of_lt_of_lt + (by have h := (hbox 0).1; simp at h ⊢; nlinarith [Real.pi_pos]) + (by have h := (hbox 0).2; simp at h ⊢; nlinarith [Real.pi_pos])).mp hcos.1 + · exact (Real.cos_eq_one_iff_of_lt_of_lt + (by have h := (hbox 1).1; simp at h ⊢; nlinarith [Real.pi_pos]) + (by have h := (hbox 1).2; simp at h ⊢; nlinarith [Real.pi_pos])).mp hcos.2.1 + · exact (Real.cos_eq_one_iff_of_lt_of_lt + (by have h := (hbox 2).1; simp at h ⊢; nlinarith [Real.pi_pos]) + (by have h := (hbox 2).2; simp at h ⊢; nlinarith [Real.pi_pos])).mp hcos.2.2 + +/-- The bundled V3.2 B ri ll ou in Zo ne Ce rt if ic at e. -/ +structure V32BrillouinZoneCertificate : Prop where + symbolNonnegative : ∀ momentum, 0 ≤ c19TransportSymbol momentum + originIsZero : c19TransportSymbol (fun _ => 0) = 0 + originIsOnlyZero : ∀ momentum, + InFundamentalBrillouinBox momentum → + c19TransportSymbol momentum = 0 → momentum = fun _ => 0 + +theorem v32_brillouin_zone_audit : V32BrillouinZoneCertificate where + symbolNonnegative := c19_transport_symbol_nonnegative + originIsZero := c19_transport_symbol_zero + originIsOnlyZero := c19_no_momentum_doublers + + +end +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32CenteredStepTransport.lean b/LeanPool/LatticeDiracDerivation/V32CenteredStepTransport.lean new file mode 100644 index 0000000000..6e931c5437 --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32CenteredStepTransport.lean @@ -0,0 +1,65 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32TransportObservables +public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumVerletDispersion +public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumVerletStability + +/-! # V3.2 Stage 15: exact centered-step spectrum -/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section +open Filter Topology + +/-- The bundled V3.2 C en te re dS te pT ra ns po rt Ce rt if ic at e. -/ +structure V32CenteredStepTransportCertificate : Prop where + exactDispersion : ∀ r dt momentum, + uniformVerletStable r dt momentum → + Real.cos (dt * uniformVerletAngularFrequency r dt momentum) = + 1 - uniformVerletStabilityParameter r dt momentum / 2 + rootHasUnitNorm : ∀ r dt momentum, + ‖uniformVerletCharacteristicRoot r dt momentum‖ = 1 + rootSolvesRecurrence : ∀ r dt momentum, + uniformVerletStable r dt momentum → + uniformVerletCharacteristicRoot r dt momentum ^ 2 - + ((2 - uniformVerletStabilityParameter r dt momentum : ℝ) : ℂ) * + uniformVerletCharacteristicRoot r dt momentum + 1 = 0 + modifiedEnergyInvariant : ∀ r dt momentum phase, + uniformVerletModifiedEnergy r dt momentum + (uniformVerletPhaseStep r dt momentum phase) = + uniformVerletModifiedEnergy r dt momentum phase + numericalFrequencyConverges : ∀ r momentum, + Tendsto (fun dt : ℝ => uniformVerletAngularFrequency r dt momentum) + (nhds 0) (nhds (uniformVacuumModalFrequency r momentum)) + exactStepAngle : ∀ r dt momentum, + dt * uniformVerletAngularFrequency r dt momentum = + 2 * Real.arcsin + (dt * uniformVacuumModalFrequency r momentum / 2) + +theorem v32_centered_step_transport : V32CenteredStepTransportCertificate where + exactDispersion := uniform_verlet_exact_dispersion + rootHasUnitNorm := uniform_verlet_characteristic_root_norm + rootSolvesRecurrence := uniform_verlet_characteristic_root_equation + modifiedEnergyInvariant := uniform_verlet_modified_energy_invariant + numericalFrequencyConverges := + uniform_verlet_angular_frequency_tends_to_native + exactStepAngle := uniform_verlet_step_angle + + +end +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32CompleteFreeFermion.lean b/LeanPool/LatticeDiracDerivation/V32CompleteFreeFermion.lean new file mode 100644 index 0000000000..4d1fb126be --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32CompleteFreeFermion.lean @@ -0,0 +1,71 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32DiscreteSymmetries +public import LeanPool.LatticeDiracDerivation.V32PacketBenchmarks + +/-! +# V3.2 Stage 17: cumulative machine-checked certificate + +This certificate assembles the V3.2 modules. Release status is controlled by +the separate hostile claim audit; compilation alone does not widen any claim. +-/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section + +/-- The bundled V3.2 C om pl et eF re eF er mi on Ce rt if ic at e. -/ +structure V32CompleteFreeFermionCertificate : Prop where + framework : V32FrameworkLockCertificate + spectrum : V32GlobalSpectrumCertificate + projectors : V32SpectralProjectorCertificate + brillouin : V32BrillouinZoneCertificate + copies : V32CopyClassificationCertificate + particleSector : V32IrreducibleParticleCertificate + finiteLorentz : V32FiniteLorentzCertificate + discreteSymmetries : V32DiscreteSymmetryCertificate + nonrelativistic : V32NonrelativisticLimitCertificate + continuum : V32ContinuumOperatorConvergenceCertificate + artifacts : V32LatticeArtifactCertificate + restMass : NativeRestMassCertificate + robustness : V32RobustnessCertificate + transport : V32TransportObservableCertificate + centeredStep : V32CenteredStepTransportCertificate + packets : V32PacketBenchmarkCertificate + +theorem v32_complete_free_fermion : V32CompleteFreeFermionCertificate where + framework := v32_framework_lock + spectrum := v32_global_spectrum + projectors := v32_spectral_projectors + brillouin := v32_brillouin_zone_audit + copies := v32_copy_classification + particleSector := v32_irreducible_particle_sector + finiteLorentz := v32_finite_lorentz + discreteSymmetries := v32_discrete_symmetries + nonrelativistic := v32_nonrelativistic_limit + continuum := v32_continuum_operator_convergence + artifacts := v32_lattice_artifacts + restMass := v32_native_rest_mass + robustness := v32_robustness + transport := v32_transport_observables + centeredStep := v32_centered_step_transport + packets := v32_packet_benchmarks + + +end +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32ContinuumOperatorConvergence.lean b/LeanPool/LatticeDiracDerivation/V32ContinuumOperatorConvergence.lean new file mode 100644 index 0000000000..c6cbe3586c --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32ContinuumOperatorConvergence.lean @@ -0,0 +1,72 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32NonrelativisticLimit +public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumDiscreteTime +public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumVerletTime + +/-! # V3.2 Stage 10: separated spatial and centered-time defects -/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section +open Filter Topology + +/-- The bundled V3.2 C on ti nu um Op er at or Co nv er ge nc eC er ti fi ca te. -/ +structure V32ContinuumOperatorConvergenceCertificate : Prop where + exactSpatialSplit : ∀ momentum, + c19TransportSymbol momentum = + c19QuadraticSymbol momentum + c19SpatialRemainder momentum + spatialFourthOrderBound : ∀ momentum radius, + 0 ≤ radius → (∀ axis, |momentum axis| ≤ radius) → + 2 * radius ≤ 1 → + |c19SpatialRemainder momentum| ≤ 40 * radius ^ 4 + centeredTimeDefectVanishes : ∀ r momentum phase component, + Tendsto + (fun dt : ℝ => + uniformActionToStandardDirac r momentum + (uniformCenteredTemporalDefect r dt momentum phase) component) + (nhds 0) (nhds 0) + verletLocalErrorIsSecondOrder : ∀ r momentum phase component, + Tendsto + (fun dt : ℝ => + if dt = 0 then 0 else + uniformActionToStandardDirac r momentum + (uniformVerletLocalDefect r dt momentum phase) component / + ((dt ^ 2 : ℝ) : ℂ)) + (nhds 0) (nhds 0) + finiteC19CurrentRemainderVanishes : ∀ + (momentum : LatticeMomentum) (axis : Fin 3) (q : UniformCell2), + Tendsto + (fun scale : ℝ => + finiteC19CurrentRemainder + (fun coordinate => scale * momentum coordinate) axis q) + (nhds 0) (nhds 0) + +theorem v32_continuum_operator_convergence : + V32ContinuumOperatorConvergenceCertificate where + exactSpatialSplit := c19_symbol_exact_quadratic_plus_remainder + spatialFourthOrderBound := c19_spatial_remainder_bound + centeredTimeDefectVanishes := + uniform_centered_temporal_defect_readout_tends_to_zero + verletLocalErrorIsSecondOrder := uniform_verlet_local_defect_is_little_o_dt_sq + finiteC19CurrentRemainderVanishes := + finite_c19_current_remainder_tends_to_zero + + +end +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32CopyClassification.lean b/LeanPool/LatticeDiracDerivation/V32CopyClassification.lean new file mode 100644 index 0000000000..acc231ade4 --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32CopyClassification.lean @@ -0,0 +1,153 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32SpectralProjectors +public import LeanPool.LatticeDiracDerivation.V32BrillouinZoneAudit +public import LeanPool.LatticeDiracDerivation.V2.FlavorClassification + +/-! +# V3.2 Stage 5: internal-copy classification + +This stage keeps the two exhaustive cubical four-component sectors distinct +from momentum-space doubling. Both sectors intertwine the same derived free +Hamiltonian, their intersection is zero, and every eight-corner amplitude has +their canonical flavor decomposition. +-/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section + +/-- The V3.2 C op yP ai r definition used by this stage. -/ +abbrev V32CopyPair := CubicalCell4 × CubicalCell4 + +/-- The V3.2 C op yP ai rH am il to ni an definition used by this stage. -/ +def v32CopyPairHamiltonian + (mass px py pz : ℂ) (pair : V32CopyPair) : V32CopyPair := + (cubicalStandardHamiltonian mass px py pz pair.1, + cubicalStandardHamiltonian mass px py pz pair.2) + +/-- The V3.2 C op yE xc ha ng e definition used by this stage. -/ +def v32CopyExchange (pair : V32CopyPair) : V32CopyPair := + (pair.2, pair.1) + +theorem v32_copy_exchange_involution (pair : V32CopyPair) : + v32CopyExchange (v32CopyExchange pair) = pair := by + rfl + +theorem v32_copy_exchange_commutes_hamiltonian + (mass px py pz : ℂ) (pair : V32CopyPair) : + v32CopyExchange (v32CopyPairHamiltonian mass px py pz pair) = + v32CopyPairHamiltonian mass px py pz (v32CopyExchange pair) := by + rfl + +/-- The V3.2 C op yM at ri xA ct io n definition used by this stage. -/ +def v32CopyMatrixAction + (a b c d : ℂ) (pair : V32CopyPair) : V32CopyPair := + (fun component => a * pair.1 component + b * pair.2 component, + fun component => c * pair.1 component + d * pair.2 component) + +theorem v32_standard_hamiltonian_linear_combination + (mass px py pz a b : ℂ) (z w : CubicalCell4) : + cubicalStandardHamiltonian mass px py pz + (fun component => a * z component + b * w component) = + fun component => + a * cubicalStandardHamiltonian mass px py pz z component + + b * cubicalStandardHamiltonian mass px py pz w component := by + funext component + fin_cases component <;> + simp [cubicalStandardHamiltonian, cubicalStandardSpatial, + cubicalStandardBeta, cubicalStandardAlphaX, + cubicalStandardAlphaY, cubicalStandardAlphaZ] <;> ring + +theorem v32_every_copy_matrix_commutes_hamiltonian + (mass px py pz a b c d : ℂ) (pair : V32CopyPair) : + v32CopyMatrixAction a b c d + (v32CopyPairHamiltonian mass px py pz pair) = + v32CopyPairHamiltonian mass px py pz + (v32CopyMatrixAction a b c d pair) := by + apply Prod.ext + · exact (v32_standard_hamiltonian_linear_combination + mass px py pz a b pair.1 pair.2).symm + · exact (v32_standard_hamiltonian_linear_combination + mass px py pz c d pair.1 pair.2).symm + +theorem v32_copy_exchange_is_off_diagonal_matrix (pair : V32CopyPair) : + v32CopyMatrixAction 0 1 1 0 pair = v32CopyExchange pair := by + apply Prod.ext <;> funext component <;> + simp [v32CopyMatrixAction, v32CopyExchange] + +/-- The V3.2 C op yP ai rE mb ed definition used by this stage. -/ +def v32CopyPairEmbed (pair : V32CopyPair) : CubicalCell8 := + fun corner => + cubicalDiracEmbedMinus pair.1 corner + + cubicalDiracEmbedPlus pair.2 corner + +theorem v32_copy_pair_embed_intertwines + (mass px py pz : ℂ) (pair : V32CopyPair) : + cubicalNativeHamiltonian mass px py pz (v32CopyPairEmbed pair) = + v32CopyPairEmbed (v32CopyPairHamiltonian mass px py pz pair) := by + funext corner + have hminus := congrFun + (cubical_hamiltonian_intertwines_minus mass px py pz pair.1) corner + have hplus := congrFun + (cubical_hamiltonian_intertwines_plus mass px py pz pair.2) corner + fin_cases corner <;> + simp [v32CopyPairEmbed, v32CopyPairHamiltonian, + cubicalNativeHamiltonian, cubicalNativeSpatial, + cubicalBeta, cubicalIncidenceLinear, cubicalGamma, + cubicalIncidenceSign, cubicalFlip, cubicalFlip0, + cubicalFlip1, cubicalFlip2, cubicalBit0, cubicalBit1, + cubicalBit2] at hminus hplus ⊢ <;> linear_combination hminus + hplus + +/-- The bundled V3.2 C op yC la ss if ic at io nC er ti fi ca te. -/ +structure V32CopyClassificationCertificate : Prop where + noMomentumDoublers : V32BrillouinZoneCertificate + exhaustiveInternalCopies : CubicalFlavorClassificationCertificate + minusCopyIntertwines : ∀ mass px py pz z, + cubicalNativeHamiltonian mass px py pz (cubicalDiracEmbedMinus z) = + cubicalDiracEmbedMinus (cubicalStandardHamiltonian mass px py pz z) + plusCopyIntertwines : ∀ mass px py pz z, + cubicalNativeHamiltonian mass px py pz (cubicalDiracEmbedPlus z) = + cubicalDiracEmbedPlus (cubicalStandardHamiltonian mass px py pz z) + exchangeInvolution : ∀ pair, + v32CopyExchange (v32CopyExchange pair) = pair + exchangeCommutes : ∀ mass px py pz pair, + v32CopyExchange (v32CopyPairHamiltonian mass px py pz pair) = + v32CopyPairHamiltonian mass px py pz (v32CopyExchange pair) + copyCommutant : ∀ mass px py pz a b c d pair, + v32CopyMatrixAction a b c d + (v32CopyPairHamiltonian mass px py pz pair) = + v32CopyPairHamiltonian mass px py pz + (v32CopyMatrixAction a b c d pair) + embeddedPairIntertwines : ∀ mass px py pz pair, + cubicalNativeHamiltonian mass px py pz (v32CopyPairEmbed pair) = + v32CopyPairEmbed (v32CopyPairHamiltonian mass px py pz pair) + +theorem v32_copy_classification : V32CopyClassificationCertificate where + noMomentumDoublers := v32_brillouin_zone_audit + exhaustiveInternalCopies := cubical_flavor_classification + minusCopyIntertwines := cubical_hamiltonian_intertwines_minus + plusCopyIntertwines := cubical_hamiltonian_intertwines_plus + exchangeInvolution := v32_copy_exchange_involution + exchangeCommutes := v32_copy_exchange_commutes_hamiltonian + copyCommutant := v32_every_copy_matrix_commutes_hamiltonian + embeddedPairIntertwines := v32_copy_pair_embed_intertwines + + +end +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32DiscreteSymmetries.lean b/LeanPool/LatticeDiracDerivation/V32DiscreteSymmetries.lean new file mode 100644 index 0000000000..ca8ce43292 --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32DiscreteSymmetries.lean @@ -0,0 +1,183 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32FiniteLorentz + +/-! # V3.2 Stage 8: discrete symmetries of the derived representation -/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section + +/-- The V3.2 P ar it y definition used by this stage. -/ +def v32Parity (z : CubicalCell4) : CubicalCell4 := cubicalStandardBeta z + +/-- The V3.2 C ha rg eC on ju ga te definition used by this stage. -/ +def v32ChargeConjugate (z : CubicalCell4) : CubicalCell4 + | 0 => starRingEnd ℂ (z 3) + | 1 => -starRingEnd ℂ (z 2) + | 2 => -starRingEnd ℂ (z 1) + | _ => starRingEnd ℂ (z 0) + +/-- The V3.2 T im eR ev er se definition used by this stage. -/ +def v32TimeReverse (z : CubicalCell4) : CubicalCell4 + | 0 => starRingEnd ℂ (z 1) + | 1 => -starRingEnd ℂ (z 0) + | 2 => starRingEnd ℂ (z 3) + | _ => -starRingEnd ℂ (z 2) + +/-- The V3.2 C PT definition used by this stage. -/ +def v32CPT (z : CubicalCell4) : CubicalCell4 := + v32ChargeConjugate (v32Parity (v32TimeReverse z)) + +theorem v32_parity_square (z : CubicalCell4) : + v32Parity (v32Parity z) = z := by + funext component + fin_cases component <;> simp [v32Parity, cubicalStandardBeta] + +theorem v32_charge_conjugation_square (z : CubicalCell4) : + v32ChargeConjugate (v32ChargeConjugate z) = z := by + funext component + fin_cases component <;> simp [v32ChargeConjugate] + +theorem v32_time_reversal_square (z : CubicalCell4) : + v32TimeReverse (v32TimeReverse z) = fun component => -z component := by + funext component + fin_cases component <;> simp [v32TimeReverse] + +theorem v32_parity_hamiltonian + (mass px py pz : ℝ) (z : CubicalCell4) : + v32Parity (v32ContinuumHamiltonian mass px py pz z) = + v32ContinuumHamiltonian mass (-px) (-py) (-pz) (v32Parity z) := by + funext component + fin_cases component <;> + simp [v32Parity, v32ContinuumHamiltonian, + cubicalStandardHamiltonian, cubicalStandardSpatial, + cubicalStandardBeta, cubicalStandardAlphaX, + cubicalStandardAlphaY, cubicalStandardAlphaZ] <;> ring + +theorem v32_time_reversal_hamiltonian + (mass px py pz : ℝ) (z : CubicalCell4) : + v32TimeReverse (v32ContinuumHamiltonian mass px py pz z) = + v32ContinuumHamiltonian mass (-px) (-py) (-pz) (v32TimeReverse z) := by + funext component + fin_cases component <;> + simp [v32TimeReverse, v32ContinuumHamiltonian, + cubicalStandardHamiltonian, cubicalStandardSpatial, + cubicalStandardBeta, cubicalStandardAlphaX, + cubicalStandardAlphaY, cubicalStandardAlphaZ, + map_add, map_mul] <;> ring + +theorem v32_charge_conjugation_hamiltonian + (mass px py pz : ℝ) (z : CubicalCell4) : + v32ChargeConjugate (v32ContinuumHamiltonian mass px py pz z) = + fun component => + -v32ContinuumHamiltonian mass (-px) (-py) (-pz) + (v32ChargeConjugate z) component := by + funext component + fin_cases component <;> + simp [v32ChargeConjugate, v32ContinuumHamiltonian, + cubicalStandardHamiltonian, cubicalStandardSpatial, + cubicalStandardBeta, cubicalStandardAlphaX, + cubicalStandardAlphaY, cubicalStandardAlphaZ, + map_add, map_mul] <;> ring + +theorem v32_cpt_square (z : CubicalCell4) : + v32CPT (v32CPT z) = z := by + funext component + fin_cases component <;> + simp [v32CPT, v32ChargeConjugate, v32Parity, + v32TimeReverse, cubicalStandardBeta] + +theorem v32_cpt_hamiltonian + (mass px py pz : ℝ) (z : CubicalCell4) : + v32CPT (v32ContinuumHamiltonian mass px py pz z) = + fun component => + -v32ContinuumHamiltonian mass (-px) (-py) (-pz) + (v32CPT z) component := by + funext component + fin_cases component <;> + simp [v32CPT, v32ChargeConjugate, v32Parity, + v32TimeReverse, v32ContinuumHamiltonian, + cubicalStandardHamiltonian, cubicalStandardSpatial, + cubicalStandardBeta, cubicalStandardAlphaX, + cubicalStandardAlphaY, cubicalStandardAlphaZ, + map_add, map_mul] <;> ring + +theorem v32_cpt_preserves_density (z : CubicalCell4) : + cubicalCell4Density (v32CPT z) = cubicalCell4Density z := by + simp [cubicalCell4Density, v32CPT, v32ChargeConjugate, + v32Parity, v32TimeReverse, cubicalStandardBeta, + Complex.normSq, Fin.sum_univ_four] + ring + +theorem v32_cpt_commutes_spin + (axis : Fin 3) (z : CubicalCell4) : + v32CPT (standardCubicalSpin axis z) = + standardCubicalSpin axis (v32CPT z) := by + funext component + fin_cases axis <;> fin_cases component <;> + simp [v32CPT, v32ChargeConjugate, v32Parity, + v32TimeReverse, cubicalStandardBeta, standardCubicalSpin, + standardCubicalPlaneBivector, standardCubicalGamma, + cubicalStandardAlphaX, cubicalStandardAlphaY, + cubicalStandardAlphaZ, map_mul] + +/-- The bundled V3.2 D is cr et eS ym me tr yC er ti fi ca te. -/ +structure V32DiscreteSymmetryCertificate : Prop where + paritySquare : ∀ z, v32Parity (v32Parity z) = z + chargeSquare : ∀ z, v32ChargeConjugate (v32ChargeConjugate z) = z + timeSquare : ∀ z, + v32TimeReverse (v32TimeReverse z) = fun component => -z component + parityCovariance : ∀ mass px py pz z, + v32Parity (v32ContinuumHamiltonian mass px py pz z) = + v32ContinuumHamiltonian mass (-px) (-py) (-pz) (v32Parity z) + timeCovariance : ∀ mass px py pz z, + v32TimeReverse (v32ContinuumHamiltonian mass px py pz z) = + v32ContinuumHamiltonian mass (-px) (-py) (-pz) (v32TimeReverse z) + chargeBranchExchange : ∀ mass px py pz z, + v32ChargeConjugate (v32ContinuumHamiltonian mass px py pz z) = + fun component => + -v32ContinuumHamiltonian mass (-px) (-py) (-pz) + (v32ChargeConjugate z) component + cptSquare : ∀ z, v32CPT (v32CPT z) = z + cptCovariance : ∀ mass px py pz z, + v32CPT (v32ContinuumHamiltonian mass px py pz z) = + fun component => + -v32ContinuumHamiltonian mass (-px) (-py) (-pz) + (v32CPT z) component + cptDensity : ∀ z, + cubicalCell4Density (v32CPT z) = cubicalCell4Density z + cptSpin : ∀ axis z, + v32CPT (standardCubicalSpin axis z) = + standardCubicalSpin axis (v32CPT z) + +theorem v32_discrete_symmetries : V32DiscreteSymmetryCertificate where + paritySquare := v32_parity_square + chargeSquare := v32_charge_conjugation_square + timeSquare := v32_time_reversal_square + parityCovariance := v32_parity_hamiltonian + timeCovariance := v32_time_reversal_hamiltonian + chargeBranchExchange := v32_charge_conjugation_hamiltonian + cptSquare := v32_cpt_square + cptCovariance := v32_cpt_hamiltonian + cptDensity := v32_cpt_preserves_density + cptSpin := v32_cpt_commutes_spin + + +end +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32FiniteLorentz.lean b/LeanPool/LatticeDiracDerivation/V32FiniteLorentz.lean new file mode 100644 index 0000000000..00ff1941d3 --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32FiniteLorentz.lean @@ -0,0 +1,117 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32IrreducibleParticle + +/-! +# V3.2 Stage 7: finite continuum Lorentz transformations + +Finite rotations were derived in V3.1. Here the finite axial boost is the +closed exponential of the already-derived boost generator: because the +transport generator squares to one, its exponential has the forced +cosh/sinh form. No independent spin transformation is postulated. +-/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section + +/-- The V3.2 s ta nd ar dC ub ic al Fi ni te Bo os t definition used by this stage. -/ +def standardCubicalFiniteBoost + (axis : Fin 3) (rapidity : ℝ) (z : CubicalCell4) : CubicalCell4 := + fun component => + (Real.cosh (rapidity / 2) : ℂ) * z component + + (Real.sinh (rapidity / 2) : ℂ) * + standardCubicalGamma axis z component + +theorem standard_cubical_finite_boost_zero + (axis : Fin 3) (z : CubicalCell4) : + standardCubicalFiniteBoost axis 0 z = z := by + funext component + simp [standardCubicalFiniteBoost] + +theorem standard_cubical_finite_boost_add + (axis : Fin 3) (first second : ℝ) (z : CubicalCell4) : + standardCubicalFiniteBoost axis first + (standardCubicalFiniteBoost axis second z) = + standardCubicalFiniteBoost axis (first + second) z := by + have hc : (Real.cosh ((first + second) / 2) : ℂ) = + (Real.cosh (first / 2) : ℂ) * (Real.cosh (second / 2) : ℂ) + + (Real.sinh (first / 2) : ℂ) * (Real.sinh (second / 2) : ℂ) := by + rw [show (first + second) / 2 = first / 2 + second / 2 by ring, + Real.cosh_add] + norm_num + have hs : (Real.sinh ((first + second) / 2) : ℂ) = + (Real.sinh (first / 2) : ℂ) * (Real.cosh (second / 2) : ℂ) + + (Real.cosh (first / 2) : ℂ) * (Real.sinh (second / 2) : ℂ) := by + rw [show (first + second) / 2 = first / 2 + second / 2 by ring, + Real.sinh_add] + norm_num + funext component + simp only [standardCubicalFiniteBoost] + rw [hc, hs] + fin_cases axis <;> fin_cases component + all_goals + simp [standardCubicalFiniteBoost, standardCubicalGamma, + cubicalStandardAlphaX, cubicalStandardAlphaY, + cubicalStandardAlphaZ] + all_goals + ring_nf + all_goals + norm_num [Complex.I_sq] + +theorem standard_cubical_finite_boost_inverse + (axis : Fin 3) (rapidity : ℝ) (z : CubicalCell4) : + standardCubicalFiniteBoost axis (-rapidity) + (standardCubicalFiniteBoost axis rapidity z) = z := by + rw [standard_cubical_finite_boost_add] + simp [standard_cubical_finite_boost_zero] + +/-- The bundled V3.2 F in it eL or en tz Ce rt if ic at e. -/ +structure V32FiniteLorentzCertificate : Prop where + infinitesimalAndFiniteRotations : LorentzSpinHalfCertificate + finiteBoostZero : ∀ axis z, + standardCubicalFiniteBoost axis 0 z = z + finiteBoostComposition : ∀ axis first second z, + standardCubicalFiniteBoost axis first + (standardCubicalFiniteBoost axis second z) = + standardCubicalFiniteBoost axis (first + second) z + finiteBoostInverse : ∀ axis rapidity z, + standardCubicalFiniteBoost axis (-rapidity) + (standardCubicalFiniteBoost axis rapidity z) = z + infinitesimalBoostCovariance : ∀ axis energy mass momentum z, + (fun component => + standardCubicalBoost axis + (orientedCubicalDiracSymbol energy mass momentum z) component - + orientedCubicalDiracSymbol energy mass momentum + (standardCubicalBoost axis z) component) = + fun component => Complex.I * + (orientedCubicalDiracSymbol + (cubicalMomentumBoostEnergy axis momentum) + 0 (cubicalMomentumBoostSpace axis energy) + z) component + +theorem v32_finite_lorentz : V32FiniteLorentzCertificate where + infinitesimalAndFiniteRotations := lorentz_spin_half_from_native_action + finiteBoostZero := standard_cubical_finite_boost_zero + finiteBoostComposition := standard_cubical_finite_boost_add + finiteBoostInverse := standard_cubical_finite_boost_inverse + infinitesimalBoostCovariance := oriented_dirac_symbol_boost_covariant + + +end +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32FrameworkLock.lean b/LeanPool/LatticeDiracDerivation/V32FrameworkLock.lean new file mode 100644 index 0000000000..708e9426ad --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32FrameworkLock.lean @@ -0,0 +1,49 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V2.LorentzSpin + +/-! +# V3.2 framework and claim lock + +This module starts V3.2 from the two sealed V3.1 cumulative certificates. It +adds no field, action term, stencil coefficient, physical unit, or particle +interpretation. +-/ + +@[expose] public section + +namespace LeanDirac.V2 + + + +/-- The bundled V3.2 F ra me wo rk Lo ck Ce rt if ic at e. -/ +structure V32FrameworkLockCertificate : Prop where + freeDirac : CompleteFreeDiracCertificate + lorentzSpin : LorentzSpinHalfCertificate + nativeMass : + (0 : ℝ) ≤ chi0 ∧ chi0 ^ 2 = chi0 ^ 2 ∧ + ∀ mass : ℝ, 0 ≤ mass → mass ^ 2 = chi0 ^ 2 → mass = chi0 + c19Speed : c19ContinuumSpeed ^ 2 = 12 + zeroMode : c19TransportSymbol (fun _ => 0) = 0 + spatialRemainderAtRest : c19SpatialRemainder (fun _ => 0) = 0 + +theorem v32_framework_lock : V32FrameworkLockCertificate where + freeDirac := complete_first_principles_free_dirac + lorentzSpin := lorentz_spin_half_from_native_action + nativeMass := canonical_native_mass_is_chi0 + c19Speed := c19_continuum_speed_square + zeroMode := c19_transport_symbol_zero + spatialRemainderAtRest := c19_spatial_remainder_zero_at_origin + +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32GlobalSpectrum.lean b/LeanPool/LatticeDiracDerivation/V32GlobalSpectrum.lean new file mode 100644 index 0000000000..610c8f86f0 --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32GlobalSpectrum.lean @@ -0,0 +1,394 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32FrameworkLock +public import Mathlib.Analysis.Real.Pi.Bounds + +/-! # V3.2 global spectrum and the finite-C19 first-order obstruction + +The unchanged action has an exact scalar finite-C19 normal-mode spectrum. +The oriented cubical first-order operator derived in V3.1 instead squares to +the quadratic (continuum) C19 symbol. This file proves both statements and +identifies their exact difference. Consequently it does not relabel the +continuum Dirac root as an exact finite-lattice Hamiltonian. +-/ + +@[expose] public section + +namespace LeanDirac.V2 + +noncomputable section +open Complex + + + +/-- The V3.2 E xa ct C19 En er gy Sq definition used by this stage. -/ +def v32ExactC19EnergySq (mass : ℝ) (momentum : LatticeMomentum) : ℝ := + uniformVacuumModalSquare mass momentum + +/-- The V3.2 E xa ct C19 Po si ti ve En er gy definition used by this stage. -/ +def v32ExactC19PositiveEnergy (mass : ℝ) (momentum : LatticeMomentum) : ℝ := + Real.sqrt (v32ExactC19EnergySq mass momentum) + +/-- The V3.2 E xa ct C19 Ne ga ti ve En er gy definition used by this stage. -/ +def v32ExactC19NegativeEnergy (mass : ℝ) (momentum : LatticeMomentum) : ℝ := + -v32ExactC19PositiveEnergy mass momentum + +theorem v32_exact_c19_energy_sq_eq + (mass : ℝ) (momentum : LatticeMomentum) : + v32ExactC19EnergySq mass momentum = + mass ^ 2 + c19TransportSymbol momentum := by + rfl + +theorem v32_exact_c19_energy_sq_nonnegative + (mass : ℝ) (momentum : LatticeMomentum) : + 0 ≤ v32ExactC19EnergySq mass momentum := by + exact uniform_vacuum_modal_square_nonnegative mass momentum + +theorem v32_exact_c19_energy_sq_ge_mass_sq + (mass : ℝ) (momentum : LatticeMomentum) : + mass ^ 2 ≤ v32ExactC19EnergySq mass momentum := by + rw [v32_exact_c19_energy_sq_eq] + linarith [c19_transport_symbol_nonnegative momentum] + +theorem v32_exact_c19_positive_energy_nonnegative + (mass : ℝ) (momentum : LatticeMomentum) : + 0 ≤ v32ExactC19PositiveEnergy mass momentum := by + exact Real.sqrt_nonneg _ + +theorem v32_exact_c19_positive_energy_square + (mass : ℝ) (momentum : LatticeMomentum) : + v32ExactC19PositiveEnergy mass momentum ^ 2 = + v32ExactC19EnergySq mass momentum := by + exact Real.sq_sqrt (v32_exact_c19_energy_sq_nonnegative mass momentum) + +theorem v32_exact_c19_negative_energy_square + (mass : ℝ) (momentum : LatticeMomentum) : + v32ExactC19NegativeEnergy mass momentum ^ 2 = + v32ExactC19EnergySq mass momentum := by + simp [v32ExactC19NegativeEnergy, + v32_exact_c19_positive_energy_square] + +theorem v32_exact_c19_positive_energy_ge_abs_mass + (mass : ℝ) (momentum : LatticeMomentum) : + |mass| ≤ v32ExactC19PositiveEnergy mass momentum := by + rw [v32ExactC19PositiveEnergy, ← Real.sqrt_sq_eq_abs] + exact Real.sqrt_le_sqrt (v32_exact_c19_energy_sq_ge_mass_sq mass momentum) + +theorem v32_exact_c19_massive_gap + (mass : ℝ) (momentum : LatticeMomentum) (hmass : mass ≠ 0) : + 0 < v32ExactC19PositiveEnergy mass momentum := by + have habs : 0 < |mass| := abs_pos.mpr hmass + exact lt_of_lt_of_le habs + (v32_exact_c19_positive_energy_ge_abs_mass mass momentum) + +theorem v32_exact_c19_branches_are_real + (mass : ℝ) (momentum : LatticeMomentum) : + v32ExactC19NegativeEnergy mass momentum ≤ 0 ∧ + 0 ≤ v32ExactC19PositiveEnergy mass momentum := by + constructor + · exact neg_nonpos.mpr (v32_exact_c19_positive_energy_nonnegative _ _) + · exact v32_exact_c19_positive_energy_nonnegative _ _ + +theorem v32_oriented_root_exact_iff_remainder_zero + (mass : ℝ) (momentum : LatticeMomentum) : + (∀ amplitude : CubicalCell8, + nativeC19OrientedMassiveRoot mass momentum + (nativeC19OrientedMassiveRoot mass momentum amplitude) = + fun corner => + ((v32ExactC19EnergySq mass momentum : ℝ) : ℂ) * + amplitude corner) ↔ + c19SpatialRemainder momentum = 0 := by + constructor + · intro hexact + let amplitude : CubicalCell8 := fun _ => 1 + have hroot := congrFun (hexact amplitude) (0 : CubicalCorner) + have hcontinuum := congrFun + (native_c19_root_square_is_exact_hessian_minus_remainder + mass momentum amplitude) (0 : CubicalCorner) + simp only [amplitude, v32ExactC19EnergySq, mul_one] at hroot hcontinuum + rw [hcontinuum] at hroot + have hreal : + uniformVacuumModalSquare mass momentum - c19SpatialRemainder momentum = + uniformVacuumModalSquare mass momentum := by + exact_mod_cast hroot + exact sub_eq_self.mp hreal + · intro hremainder amplitude + rw [native_c19_root_square_is_exact_hessian_minus_remainder] + simp [v32ExactC19EnergySq, hremainder] + +theorem v32_oriented_root_exact_at_rest (mass : ℝ) : + ∀ amplitude : CubicalCell8, + nativeC19OrientedMassiveRoot mass (fun _ => 0) + (nativeC19OrientedMassiveRoot mass (fun _ => 0) amplitude) = + fun corner => + ((v32ExactC19EnergySq mass (fun _ => 0) : ℝ) : ℂ) * + amplitude corner := by + exact (v32_oriented_root_exact_iff_remainder_zero mass (fun _ => 0)).2 + c19_spatial_remainder_zero_at_origin + +/-- The V3.2 P iA xi sM om en tu m definition used by this stage. -/ +def v32PiAxisMomentum : LatticeMomentum := fun axis => + if axis = 0 then Real.pi else 0 + +theorem v32_pi_axis_remainder_exact : + c19SpatialRemainder v32PiAxisMomentum = 48 - 12 * Real.pi ^ 2 := by + rw [c19_spatial_remainder_is_bond_error_sum] + simp [v32PiAxisMomentum, c19PhaseAngle, c19Weight, c19Coord, + Fin.sum_univ_succ, Real.cos_neg] + ring + +theorem v32_pi_axis_remainder_nonzero : + c19SpatialRemainder v32PiAxisMomentum ≠ 0 := by + rw [v32_pi_axis_remainder_exact] + nlinarith [Real.pi_gt_three] + +theorem v32_pi_axis_transport_exact : + c19TransportSymbol v32PiAxisMomentum = 48 := by + rw [c19_symbol_exact_quadratic_plus_remainder, + v32_pi_axis_remainder_exact] + simp [c19QuadraticSymbol, v32PiAxisMomentum] + +/-- The V3.2 O dd Tr an sp or tC oe ff ic ie nt s definition used by this stage. -/ +def V32OddTransportCoefficients {n : Nat} + (coefficient : LatticeMomentum → Fin n → ℝ) : Prop := + ∀ momentum component, + coefficient (fun axis => -momentum axis) component = + -coefficient momentum component + +/-- The V3.2 A xi sP er io di cT ra ns po rt Co ef fi ci en ts definition used by this stage. -/ +def V32AxisPeriodicTransportCoefficients {n : Nat} + (coefficient : LatticeMomentum → Fin n → ℝ) : Prop := + ∀ momentum component axis, + coefficient + (fun other => momentum other + + if other = axis then 2 * Real.pi else 0) + component = + coefficient momentum component + +theorem v32_odd_periodic_transport_vanishes_at_pi_axis + {n : Nat} (coefficient : LatticeMomentum → Fin n → ℝ) + (hodd : V32OddTransportCoefficients coefficient) + (hperiodic : V32AxisPeriodicTransportCoefficients coefficient) : + ∀ component, coefficient v32PiAxisMomentum component = 0 := by + intro component + let negativePi : LatticeMomentum := fun axis => + -v32PiAxisMomentum axis + have hshift : + (fun other => negativePi other + + if other = (0 : Fin 3) then 2 * Real.pi else 0) = + v32PiAxisMomentum := by + funext other + fin_cases other + · simp [negativePi, v32PiAxisMomentum] + ring + · simp [negativePi, v32PiAxisMomentum] + · simp [negativePi, v32PiAxisMomentum] + have hperiod := hperiodic negativePi component (0 : Fin 3) + rw [hshift] at hperiod + have hoddAt := hodd v32PiAxisMomentum component + change coefficient negativePi component = + -coefficient v32PiAxisMomentum component at hoddAt + rw [hoddAt] at hperiod + linarith + +theorem v32_no_odd_periodic_sum_of_squares_factorization + {n : Nat} (coefficient : LatticeMomentum → Fin n → ℝ) + (hodd : V32OddTransportCoefficients coefficient) + (hperiodic : V32AxisPeriodicTransportCoefficients coefficient) : + ¬ (∀ momentum, + ∑ component, coefficient momentum component ^ 2 = + c19TransportSymbol momentum) := by + intro hfactor + have hzero := v32_odd_periodic_transport_vanishes_at_pi_axis + coefficient hodd hperiodic + have hpi := hfactor v32PiAxisMomentum + rw [v32_pi_axis_transport_exact] at hpi + have hsumzero : + ∑ component, coefficient v32PiAxisMomentum component ^ 2 = 0 := by + apply Finset.sum_eq_zero + intro component _ + rw [hzero component] + norm_num + linarith + +/-- The V3.2 C19 Bo nd Di ff er en ce definition used by this stage. -/ +def v32C19BondDifference + (momentum : LatticeMomentum) (direction : C19Neighbor) : ℂ := + (Real.sqrt (c19Weight direction) : ℂ) * + (1 - c19Character momentum direction) + +theorem v32_c19_bond_difference_norm_sq + (momentum : LatticeMomentum) (direction : C19Neighbor) : + Complex.normSq (v32C19BondDifference momentum direction) = + c19Weight direction * + Complex.normSq (1 - c19Character momentum direction) := by + rw [v32C19BondDifference, Complex.normSq_mul] + simp only [Complex.normSq_ofReal] + have hsqrt : Real.sqrt (c19Weight direction) * + Real.sqrt (c19Weight direction) = c19Weight direction := by + simpa [pow_two] using + Real.sq_sqrt (le_of_lt (c19_weight_positive direction)) + rw [hsqrt] + +theorem v32_exact_c19_symbol_is_local_bond_sum + (momentum : LatticeMomentum) : + c19TransportSymbol momentum = + ∑ direction, Complex.normSq + (v32C19BondDifference momentum direction) := by + unfold c19TransportSymbol + apply Finset.sum_congr rfl + intro direction _ + rw [v32_c19_bond_difference_norm_sq] + +theorem v32_no_global_exact_local_oriented_root : + ¬ (∀ mass momentum amplitude, + nativeC19OrientedMassiveRoot mass momentum + (nativeC19OrientedMassiveRoot mass momentum amplitude) = + fun corner => + ((v32ExactC19EnergySq mass momentum : ℝ) : ℂ) * + amplitude corner) := by + intro hglobal + have hzero := (v32_oriented_root_exact_iff_remainder_zero + 1 v32PiAxisMomentum).1 (hglobal 1 v32PiAxisMomentum) + exact v32_pi_axis_remainder_nonzero hzero + +/-- The V3.2 C on ti nu um En er gy Sq definition used by this stage. -/ +def v32ContinuumEnergySq (mass px py pz : ℝ) : ℝ := + mass ^ 2 + px ^ 2 + py ^ 2 + pz ^ 2 + +/-- The V3.2 C on ti nu um Ha mi lt on ia n definition used by this stage. -/ +def v32ContinuumHamiltonian + (mass px py pz : ℝ) (z : CubicalCell4) : CubicalCell4 := + cubicalStandardHamiltonian (mass : ℂ) (px : ℂ) (py : ℂ) (pz : ℂ) z + +theorem v32_continuum_energy_sq_nonnegative + (mass px py pz : ℝ) : + 0 ≤ v32ContinuumEnergySq mass px py pz := by + unfold v32ContinuumEnergySq + positivity + +theorem v32_continuum_energy_sq_pos_of_mass_pos + (mass px py pz : ℝ) (hmass : 0 < mass) : + 0 < v32ContinuumEnergySq mass px py pz := by + unfold v32ContinuumEnergySq + nlinarith [sq_nonneg px, sq_nonneg py, sq_nonneg pz] + +theorem v32_continuum_hamiltonian_square + (mass px py pz : ℝ) (z : CubicalCell4) : + v32ContinuumHamiltonian mass px py pz + (v32ContinuumHamiltonian mass px py pz z) = + fun component => + (v32ContinuumEnergySq mass px py pz : ℂ) * z component := by + simpa [v32ContinuumHamiltonian, v32ContinuumEnergySq, + Complex.ofReal_pow] using + cubical_standard_hamiltonian_square + (mass : ℂ) (px : ℂ) (py : ℂ) (pz : ℂ) z + +theorem v32_continuum_hamiltonian_is_hermitian + (mass px py pz : ℝ) (z w : CubicalCell4) : + cubicalCell4Inner z (v32ContinuumHamiltonian mass px py pz w) = + cubicalCell4Inner (v32ContinuumHamiltonian mass px py pz z) w := by + apply Complex.ext <;> + simp [cubicalCell4Inner, v32ContinuumHamiltonian, + cubicalStandardHamiltonian, cubicalStandardBeta, + cubicalStandardSpatial, cubicalStandardAlphaX, + cubicalStandardAlphaY, cubicalStandardAlphaZ, + Fin.sum_univ_four, Complex.mul_re, Complex.mul_im] <;> ring + +theorem v32_rest_hamiltonian_square (mass : ℝ) (z : CubicalCell4) : + v32ContinuumHamiltonian mass 0 0 0 + (v32ContinuumHamiltonian mass 0 0 0 z) = + fun component => (mass ^ 2 : ℂ) * z component := by + simpa [v32ContinuumEnergySq] using + v32_continuum_hamiltonian_square mass 0 0 0 z + +/-- The bundled V3.2 G lo ba lS pe ct ru mC er ti fi ca te. -/ +structure V32GlobalSpectrumCertificate : Prop where + framework : V32FrameworkLockCertificate + exactFiniteEnergyNonnegative : ∀ mass momentum, + 0 ≤ v32ExactC19EnergySq mass momentum + exactFiniteMassiveGap : ∀ mass momentum, mass ≠ 0 → + 0 < v32ExactC19PositiveEnergy mass momentum + exactFiniteBranchesReal : ∀ mass momentum, + v32ExactC19NegativeEnergy mass momentum ≤ 0 ∧ + 0 ≤ v32ExactC19PositiveEnergy mass momentum + exactFiniteBranchSquares : ∀ mass momentum, + v32ExactC19PositiveEnergy mass momentum ^ 2 = + v32ExactC19EnergySq mass momentum ∧ + v32ExactC19NegativeEnergy mass momentum ^ 2 = + v32ExactC19EnergySq mass momentum + localRootObstruction : ∀ mass momentum, + (∀ amplitude : CubicalCell8, + nativeC19OrientedMassiveRoot mass momentum + (nativeC19OrientedMassiveRoot mass momentum amplitude) = + fun corner => + ((v32ExactC19EnergySq mass momentum : ℝ) : ℂ) * + amplitude corner) ↔ + c19SpatialRemainder momentum = 0 + noGlobalExactLocalRoot : + ¬ (∀ mass momentum amplitude, + nativeC19OrientedMassiveRoot mass momentum + (nativeC19OrientedMassiveRoot mass momentum amplitude) = + fun corner => + ((v32ExactC19EnergySq mass momentum : ℝ) : ℂ) * + amplitude corner) + oddPeriodicLocalFactorizationNoGo : ∀ {n : Nat} + (coefficient : LatticeMomentum → Fin n → ℝ), + V32OddTransportCoefficients coefficient → + V32AxisPeriodicTransportCoefficients coefficient → + ¬ (∀ momentum, + ∑ component, coefficient momentum component ^ 2 = + c19TransportSymbol momentum) + exactLocalBondDecomposition : ∀ momentum, + c19TransportSymbol momentum = + ∑ direction, Complex.normSq + (v32C19BondDifference momentum direction) + energyNonnegative : ∀ mass px py pz, + 0 ≤ v32ContinuumEnergySq mass px py pz + massiveGap : ∀ mass px py pz, 0 < mass → + 0 < v32ContinuumEnergySq mass px py pz + exactSquare : ∀ mass px py pz z, + v32ContinuumHamiltonian mass px py pz + (v32ContinuumHamiltonian mass px py pz z) = + fun component => + (v32ContinuumEnergySq mass px py pz : ℂ) * z component + hermitian : ∀ mass px py pz z w, + cubicalCell4Inner z (v32ContinuumHamiltonian mass px py pz w) = + cubicalCell4Inner (v32ContinuumHamiltonian mass px py pz z) w + restSquare : ∀ mass z, + v32ContinuumHamiltonian mass 0 0 0 + (v32ContinuumHamiltonian mass 0 0 0 z) = + fun component => (mass ^ 2 : ℂ) * z component + +theorem v32_global_spectrum : V32GlobalSpectrumCertificate where + framework := v32_framework_lock + exactFiniteEnergyNonnegative := v32_exact_c19_energy_sq_nonnegative + exactFiniteMassiveGap := v32_exact_c19_massive_gap + exactFiniteBranchesReal := v32_exact_c19_branches_are_real + exactFiniteBranchSquares := fun mass momentum => + ⟨v32_exact_c19_positive_energy_square mass momentum, + v32_exact_c19_negative_energy_square mass momentum⟩ + localRootObstruction := v32_oriented_root_exact_iff_remainder_zero + noGlobalExactLocalRoot := v32_no_global_exact_local_oriented_root + oddPeriodicLocalFactorizationNoGo := + v32_no_odd_periodic_sum_of_squares_factorization + exactLocalBondDecomposition := v32_exact_c19_symbol_is_local_bond_sum + energyNonnegative := v32_continuum_energy_sq_nonnegative + massiveGap := v32_continuum_energy_sq_pos_of_mass_pos + exactSquare := v32_continuum_hamiltonian_square + hermitian := v32_continuum_hamiltonian_is_hermitian + restSquare := v32_rest_hamiltonian_square + +end +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32IrreducibleParticle.lean b/LeanPool/LatticeDiracDerivation/V32IrreducibleParticle.lean new file mode 100644 index 0000000000..0a1ab461fe --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32IrreducibleParticle.lean @@ -0,0 +1,140 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32CopyClassification + +/-! +# V3.2 Stage 6: massive spin-one-half sector + +The V3.1 Lorentz certificate already derives the unique nonzero half scale, +the little-group algebra, finite rotations, and the rest Pauli--Lubanski +Casimir. This stage combines it with the global branch projectors and the +two-copy classification without promoting the result to a physical electron. +-/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section + +/-- The V3.2 R es tS pi no r2 definition used by this stage. -/ +abbrev V32RestSpinor2 := Fin 2 → ℂ + +/-- The V3.2 R es tP os it iv eE mb ed definition used by this stage. -/ +def v32RestPositiveEmbed (z : V32RestSpinor2) : CubicalCell4 + | 0 => z 0 + | 1 => z 1 + | _ => 0 + +/-- The V3.2 R es tP os it iv eR ea d definition used by this stage. -/ +def v32RestPositiveRead (z : CubicalCell4) : V32RestSpinor2 + | 0 => z 0 + | _ => z 1 + +/-- The V3.2 R es tS pi n definition used by this stage. -/ +def v32RestSpin (axis : Fin 3) (z : V32RestSpinor2) : V32RestSpinor2 := + v32RestPositiveRead (standardCubicalSpin axis (v32RestPositiveEmbed z)) + +/-- The V3.2 S pi n2 Ma tr ix Ac ti on definition used by this stage. -/ +def v32Spin2MatrixAction + (a b c d : ℂ) (z : V32RestSpinor2) : V32RestSpinor2 + | 0 => a * z 0 + b * z 1 + | _ => c * z 0 + d * z 1 + +/-- The V3.2 S pi n2 Ba si s0 definition used by this stage. -/ +def v32Spin2Basis0 : V32RestSpinor2 + | 0 => 1 + | _ => 0 + +/-- The V3.2 S pi n2 Ba si s1 definition used by this stage. -/ +def v32Spin2Basis1 : V32RestSpinor2 + | 0 => 0 + | _ => 1 + +theorem v32_positive_rest_projector_fixes_spinor + (mass : ℝ) (hmass : 0 < mass) (z : V32RestSpinor2) : + v32PositiveProjector mass 0 0 0 mass (v32RestPositiveEmbed z) = + v32RestPositiveEmbed z := by + funext component + fin_cases component <;> + simp [v32PositiveProjector, v32SpectralProjector, + v32ContinuumHamiltonian, cubicalStandardHamiltonian, + cubicalStandardSpatial, cubicalStandardBeta, + cubicalStandardAlphaX, cubicalStandardAlphaY, + cubicalStandardAlphaZ, v32RestPositiveEmbed, ne_of_gt hmass] <;> ring + +theorem v32_rest_spin_commutant_is_scalar + (a b c d : ℂ) + (hcommute : ∀ axis z, + v32Spin2MatrixAction a b c d (v32RestSpin axis z) = + v32RestSpin axis (v32Spin2MatrixAction a b c d z)) : + b = 0 ∧ c = 0 ∧ a = d := by + have hz1 := congrFun (hcommute (2 : Fin 3) v32Spin2Basis1) 0 + have hx0 := congrFun (hcommute (0 : Fin 3) v32Spin2Basis0) 1 + have hx1 := congrFun (hcommute (0 : Fin 3) v32Spin2Basis1) 0 + norm_num [v32RestSpin, v32RestPositiveRead, v32RestPositiveEmbed, + v32Spin2MatrixAction, + v32Spin2Basis0, v32Spin2Basis1, standardCubicalSpin, + standardCubicalPlaneBivector, standardCubicalGamma, + cubicalStandardAlphaX, cubicalStandardAlphaY, + cubicalStandardAlphaZ, native_cubical_spin_scale_eq_half] at hx0 hx1 hz1 + have hII (x : ℂ) : Complex.I * (Complex.I * x) = -x := by + rw [← mul_assoc, Complex.I_mul_I, neg_one_mul] + constructor + · rw [hII b] at hx1 + field_simp at hx1 + exact CharZero.eq_neg_self_iff.mp hx1 + constructor + · rw [hII c] at hx0 + field_simp at hx0 + exact CharZero.eq_neg_self_iff.mp hx0 + · rw [hII d] at hz1 + field_simp at hz1 + simpa using hz1 + +/-- The bundled V3.2 I rr ed uc ib le Pa rt ic le Ce rt if ic at e. -/ +structure V32IrreducibleParticleCertificate : Prop where + projectors : V32SpectralProjectorCertificate + copies : V32CopyClassificationCertificate + lorentzSpin : LorentzSpinHalfCertificate + restCasimir : ∀ mass z, + cubicalPauliLubanskiSquare mass (fun _ => 0) z = + fun component => -(3 / 4 : ℂ) * mass ^ 2 * z component + uniqueHalfScale : ∃! scale : ℝ, admissibleCubicalSpinScale scale + positiveRestProjectorIsTwoState : ∀ mass, 0 < mass → ∀ z, + v32PositiveProjector mass 0 0 0 mass (v32RestPositiveEmbed z) = + v32RestPositiveEmbed z + restLittleGroupCommutantScalar : ∀ a b c d, + (∀ axis z, + v32Spin2MatrixAction a b c d (v32RestSpin axis z) = + v32RestSpin axis (v32Spin2MatrixAction a b c d z)) → + b = 0 ∧ c = 0 ∧ a = d + fullTheoryCopyMultiplicity : V32CopyClassificationCertificate + +theorem v32_irreducible_particle_sector : + V32IrreducibleParticleCertificate where + projectors := v32_spectral_projectors + copies := v32_copy_classification + lorentzSpin := lorentz_spin_half_from_native_action + restCasimir := rest_pauli_lubanski_spin_half + uniqueHalfScale := exists_unique_admissible_cubical_spin_scale + positiveRestProjectorIsTwoState := v32_positive_rest_projector_fixes_spinor + restLittleGroupCommutantScalar := v32_rest_spin_commutant_is_scalar + fullTheoryCopyMultiplicity := v32_copy_classification + + +end +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32LatticeArtifacts.lean b/LeanPool/LatticeDiracDerivation/V32LatticeArtifacts.lean new file mode 100644 index 0000000000..63ac0eda00 --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32LatticeArtifacts.lean @@ -0,0 +1,299 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32ContinuumOperatorConvergence +public import LeanPool.LatticeDiracDerivation.V32BrillouinZoneAudit + +/-! # V3.2 Stage 11: explicit finite-C19 artifact -/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section + + +/-- The V3.2 S pa ti al Ar ti fa ct definition used by this stage. -/ +def v32SpatialArtifact (momentum : LatticeMomentum) : ℝ := + c19TransportSymbol momentum - c19QuadraticSymbol momentum + +theorem v32_spatial_artifact_is_c19_remainder (momentum : LatticeMomentum) : + v32SpatialArtifact momentum = c19SpatialRemainder momentum := by + rw [v32SpatialArtifact, c19_symbol_exact_quadratic_plus_remainder] + ring + +theorem v32_spatial_artifact_bound + (momentum : LatticeMomentum) (radius : ℝ) (hradius : 0 ≤ radius) + (hmomentum : ∀ axis, |momentum axis| ≤ radius) + (hsmall : 2 * radius ≤ 1) : + |v32SpatialArtifact momentum| ≤ 40 * radius ^ 4 := by + rw [v32_spatial_artifact_is_c19_remainder] + exact c19_spatial_remainder_bound momentum radius hradius hmomentum hsmall + +/-- Geometry-only fourth moment of the C19 bond phases. -/ +def v32C19FourthPhaseMoment (momentum : LatticeMomentum) : ℝ := + ∑ direction, + c19Weight direction * c19PhaseAngle momentum direction ^ 4 + +/-- The C19 fourth-moment summand after expanding the finite geometry table. -/ +def v32C19FourthExpandedTerm + (momentum : LatticeMomentum) (direction : C19Neighbor) : ℝ := + match direction.val with + | 0 => 2 * momentum 0 ^ 4 + | 1 => 2 * momentum 0 ^ 4 + | 2 => 2 * momentum 1 ^ 4 + | 3 => 2 * momentum 1 ^ 4 + | 4 => 2 * momentum 2 ^ 4 + | 5 => 2 * momentum 2 ^ 4 + | 6 => (-momentum 0 - momentum 1) ^ 4 + | 7 => (-momentum 0 + momentum 1) ^ 4 + | 8 => (momentum 0 - momentum 1) ^ 4 + | 9 => (momentum 0 + momentum 1) ^ 4 + | 10 => (-momentum 0 - momentum 2) ^ 4 + | 11 => (-momentum 0 + momentum 2) ^ 4 + | 12 => (momentum 0 - momentum 2) ^ 4 + | 13 => (momentum 0 + momentum 2) ^ 4 + | 14 => (-momentum 1 - momentum 2) ^ 4 + | 15 => (-momentum 1 + momentum 2) ^ 4 + | 16 => (momentum 1 - momentum 2) ^ 4 + | _ => (momentum 1 + momentum 2) ^ 4 + +private theorem v32_c19_fourth_term_0 (momentum : LatticeMomentum) : + c19Weight (0 : C19Neighbor) * c19PhaseAngle momentum 0 ^ 4 = + v32C19FourthExpandedTerm momentum 0 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + +private theorem v32_c19_fourth_term_1 (momentum : LatticeMomentum) : + c19Weight (1 : C19Neighbor) * c19PhaseAngle momentum 1 ^ 4 = + v32C19FourthExpandedTerm momentum 1 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + ring + +private theorem v32_c19_fourth_term_2 (momentum : LatticeMomentum) : + c19Weight (2 : C19Neighbor) * c19PhaseAngle momentum 2 ^ 4 = + v32C19FourthExpandedTerm momentum 2 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + +private theorem v32_c19_fourth_term_3 (momentum : LatticeMomentum) : + c19Weight (3 : C19Neighbor) * c19PhaseAngle momentum 3 ^ 4 = + v32C19FourthExpandedTerm momentum 3 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + ring + +private theorem v32_c19_fourth_term_4 (momentum : LatticeMomentum) : + c19Weight (4 : C19Neighbor) * c19PhaseAngle momentum 4 ^ 4 = + v32C19FourthExpandedTerm momentum 4 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + +private theorem v32_c19_fourth_term_5 (momentum : LatticeMomentum) : + c19Weight (5 : C19Neighbor) * c19PhaseAngle momentum 5 ^ 4 = + v32C19FourthExpandedTerm momentum 5 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + ring + +private theorem v32_c19_fourth_term_6 (momentum : LatticeMomentum) : + c19Weight (6 : C19Neighbor) * c19PhaseAngle momentum 6 ^ 4 = + v32C19FourthExpandedTerm momentum 6 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + ring + +private theorem v32_c19_fourth_term_7 (momentum : LatticeMomentum) : + c19Weight (7 : C19Neighbor) * c19PhaseAngle momentum 7 ^ 4 = + v32C19FourthExpandedTerm momentum 7 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + +private theorem v32_c19_fourth_term_8 (momentum : LatticeMomentum) : + c19Weight (8 : C19Neighbor) * c19PhaseAngle momentum 8 ^ 4 = + v32C19FourthExpandedTerm momentum 8 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + ring + +private theorem v32_c19_fourth_term_9 (momentum : LatticeMomentum) : + c19Weight (9 : C19Neighbor) * c19PhaseAngle momentum 9 ^ 4 = + v32C19FourthExpandedTerm momentum 9 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + +private theorem v32_c19_fourth_term_10 (momentum : LatticeMomentum) : + c19Weight (10 : C19Neighbor) * c19PhaseAngle momentum 10 ^ 4 = + v32C19FourthExpandedTerm momentum 10 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + ring + +private theorem v32_c19_fourth_term_11 (momentum : LatticeMomentum) : + c19Weight (11 : C19Neighbor) * c19PhaseAngle momentum 11 ^ 4 = + v32C19FourthExpandedTerm momentum 11 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + +private theorem v32_c19_fourth_term_12 (momentum : LatticeMomentum) : + c19Weight (12 : C19Neighbor) * c19PhaseAngle momentum 12 ^ 4 = + v32C19FourthExpandedTerm momentum 12 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + ring + +private theorem v32_c19_fourth_term_13 (momentum : LatticeMomentum) : + c19Weight (13 : C19Neighbor) * c19PhaseAngle momentum 13 ^ 4 = + v32C19FourthExpandedTerm momentum 13 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + +private theorem v32_c19_fourth_term_14 (momentum : LatticeMomentum) : + c19Weight (14 : C19Neighbor) * c19PhaseAngle momentum 14 ^ 4 = + v32C19FourthExpandedTerm momentum 14 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + ring + +private theorem v32_c19_fourth_term_15 (momentum : LatticeMomentum) : + c19Weight (15 : C19Neighbor) * c19PhaseAngle momentum 15 ^ 4 = + v32C19FourthExpandedTerm momentum 15 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + +private theorem v32_c19_fourth_term_16 (momentum : LatticeMomentum) : + c19Weight (16 : C19Neighbor) * c19PhaseAngle momentum 16 ^ 4 = + v32C19FourthExpandedTerm momentum 16 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + ring + +private theorem v32_c19_fourth_term_17 (momentum : LatticeMomentum) : + c19Weight (17 : C19Neighbor) * c19PhaseAngle momentum 17 ^ 4 = + v32C19FourthExpandedTerm momentum 17 := by + simp [v32C19FourthExpandedTerm, c19Weight, c19PhaseAngle, c19Coord, + Fin.sum_univ_succ] + +theorem v32_c19_fourth_summand_expansion + (momentum : LatticeMomentum) (direction : C19Neighbor) : + c19Weight direction * c19PhaseAngle momentum direction ^ 4 = + v32C19FourthExpandedTerm momentum direction := by + fin_cases direction + · exact v32_c19_fourth_term_0 momentum + · exact v32_c19_fourth_term_1 momentum + · exact v32_c19_fourth_term_2 momentum + · exact v32_c19_fourth_term_3 momentum + · exact v32_c19_fourth_term_4 momentum + · exact v32_c19_fourth_term_5 momentum + · exact v32_c19_fourth_term_6 momentum + · exact v32_c19_fourth_term_7 momentum + · exact v32_c19_fourth_term_8 momentum + · exact v32_c19_fourth_term_9 momentum + · exact v32_c19_fourth_term_10 momentum + · exact v32_c19_fourth_term_11 momentum + · exact v32_c19_fourth_term_12 momentum + · exact v32_c19_fourth_term_13 momentum + · exact v32_c19_fourth_term_14 momentum + · exact v32_c19_fourth_term_15 momentum + · exact v32_c19_fourth_term_16 momentum + · exact v32_c19_fourth_term_17 momentum + +/-- The leading (quartic) spatial correction is rotationally isotropic. -/ +theorem v32_c19_fourth_phase_moment_isotropic (momentum : LatticeMomentum) : + v32C19FourthPhaseMoment momentum = + 12 * (momentum 0 ^ 2 + momentum 1 ^ 2 + momentum 2 ^ 2) ^ 2 := by + rw [v32C19FourthPhaseMoment] + conv_lhs => + enter [2, direction] + rw [v32_c19_fourth_summand_expansion] + simp [v32C19FourthExpandedTerm, Fin.sum_univ_succ] + ring + +/-- Geometry-only sixth moment, used to locate the first directional split. -/ +def v32C19SixthPhaseMoment (momentum : LatticeMomentum) : ℝ := + ∑ direction, + c19Weight direction * c19PhaseAngle momentum direction ^ 6 + +/-- The V3.2 A xi sM om en tu m definition used by this stage. -/ +def v32AxisMomentum (r : ℝ) : LatticeMomentum + | 0 => r + | _ => 0 + +/-- The V3.2 F ac eD ia go na lM om en tu m definition used by this stage. -/ +def v32FaceDiagonalMomentum (r : ℝ) : LatticeMomentum + | 0 => r + | 1 => r + | _ => 0 + +theorem v32_c19_sixth_axis_moment (r : ℝ) : + v32C19SixthPhaseMoment (v32AxisMomentum r) = 12 * r ^ 6 := by + simp [v32C19SixthPhaseMoment, v32AxisMomentum, c19Weight, + c19PhaseAngle, c19Coord, Fin.sum_univ_succ] + ring + +theorem v32_c19_sixth_face_diagonal_moment (r : ℝ) : + v32C19SixthPhaseMoment (v32FaceDiagonalMomentum r) = 144 * r ^ 6 := by + simp [v32C19SixthPhaseMoment, v32FaceDiagonalMomentum, c19Weight, + c19PhaseAngle, c19Coord, Fin.sum_univ_succ] + ring + +/-- Equal-norm axis and face-diagonal directions agree through fourth order +but split at sixth order. The explicit integer witness avoids a numerical +or fitted anisotropy claim. -/ +theorem v32_c19_sixth_order_anisotropy_witness : + v32C19SixthPhaseMoment (v32AxisMomentum (Real.sqrt 2)) = 96 ∧ + v32C19SixthPhaseMoment (v32FaceDiagonalMomentum 1) = 144 ∧ + (Real.sqrt 2) ^ 2 = 2 * (1 : ℝ) ^ 2 := by + have hsqrt : (Real.sqrt 2) ^ 2 = (2 : ℝ) := Real.sq_sqrt (by norm_num) + constructor + · rw [v32_c19_sixth_axis_moment] + rw [show (Real.sqrt 2) ^ 6 = ((Real.sqrt 2) ^ 2) ^ 3 by ring, hsqrt] + norm_num + constructor + · rw [v32_c19_sixth_face_diagonal_moment] + norm_num + rw [hsqrt] + norm_num + +/-- The bundled V3.2 L at ti ce Ar ti fa ct Ce rt if ic at e. -/ +structure V32LatticeArtifactCertificate : Prop where + exactArtifact : ∀ momentum, + v32SpatialArtifact momentum = c19SpatialRemainder momentum + fourthOrderEnvelope : ∀ momentum radius, + 0 ≤ radius → (∀ axis, |momentum axis| ≤ radius) → + 2 * radius ≤ 1 → |v32SpatialArtifact momentum| ≤ 40 * radius ^ 4 + artifactZeroAtRest : v32SpatialArtifact (fun _ => 0) = 0 + leadingFourthMomentIsotropic : ∀ momentum, + v32C19FourthPhaseMoment momentum = + 12 * (momentum 0 ^ 2 + momentum 1 ^ 2 + momentum 2 ^ 2) ^ 2 + sixthAxisMoment : ∀ r, + v32C19SixthPhaseMoment (v32AxisMomentum r) = 12 * r ^ 6 + sixthFaceDiagonalMoment : ∀ r, + v32C19SixthPhaseMoment (v32FaceDiagonalMomentum r) = 144 * r ^ 6 + +theorem v32_lattice_artifacts : V32LatticeArtifactCertificate where + exactArtifact := v32_spatial_artifact_is_c19_remainder + fourthOrderEnvelope := v32_spatial_artifact_bound + artifactZeroAtRest := by + rw [v32_spatial_artifact_is_c19_remainder] + exact c19_spatial_remainder_zero_at_origin + leadingFourthMomentIsotropic := v32_c19_fourth_phase_moment_isotropic + sixthAxisMoment := v32_c19_sixth_axis_moment + sixthFaceDiagonalMoment := v32_c19_sixth_face_diagonal_moment + + +end +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32NonrelativisticLimit.lean b/LeanPool/LatticeDiracDerivation/V32NonrelativisticLimit.lean new file mode 100644 index 0000000000..eb9d9421fc --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32NonrelativisticLimit.lean @@ -0,0 +1,150 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32SpectralProjectors + +/-! # V3.2 Stage 9: exact low-momentum energy reduction -/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section + +/-- The V3.2 M om en tu mS q definition used by this stage. -/ +def v32MomentumSq (px py pz : ℝ) : ℝ := px ^ 2 + py ^ 2 + pz ^ 2 + +theorem v32_rest_energy_subtraction_exact + (mass energy px py pz : ℝ) + (hshell : energy ^ 2 = mass ^ 2 + v32MomentumSq px py pz) + (hden : energy + mass ≠ 0) : + energy - mass = v32MomentumSq px py pz / (energy + mass) := by + field_simp [hden] + nlinarith + +theorem v32_nonrelativistic_first_correction_exact + (mass energy px py pz : ℝ) + (hmass : mass ≠ 0) + (hshell : energy ^ 2 = mass ^ 2 + v32MomentumSq px py pz) + (hden : energy + mass ≠ 0) : + energy - mass - v32MomentumSq px py pz / (2 * mass) = + -(v32MomentumSq px py pz) ^ 2 / + (2 * mass * (energy + mass) ^ 2) := by + have hlead := v32_rest_energy_subtraction_exact mass energy px py pz hshell hden + rw [hlead] + field_simp [hmass, hden] + nlinarith [hshell] + +/-- On the positive-energy branch the lower two coordinates are not an +independent input. They are fixed exactly by the momentum response of the +upper two coordinates. This is the algebraic elimination used in the free +Schrodinger limit. -/ +theorem v32_positive_lower_component_elimination + (mass energy px py pz : ℝ) (_hden : energy + mass ≠ 0) + (q : UniformCell2) : + cubicalCell4LowerHalf + (normalizedPositiveFrequencyEmbedding mass energy px py pz q) = + fun component => + ((energy + mass : ℝ) : ℂ)⁻¹ * + positivePauliSpatial px py pz + (cubicalCell4Upper + (normalizedPositiveFrequencyEmbedding + mass energy px py pz q)) component := by + let spinor := normalizedPositiveFrequencyEmbedding mass energy px py pz q + have hupper : cubicalCell4Upper spinor = + fun component => (positiveFrequencyScale mass energy : ℂ) * q component := by + funext component + fin_cases component <;> rfl + have hlower : cubicalCell4LowerHalf spinor = + fun component => (positiveFrequencyRatio mass energy : ℂ) * + positivePauliSpatial px py pz q component := by + funext component + fin_cases component <;> rfl + change cubicalCell4LowerHalf spinor = fun component => + ((energy + mass : ℝ) : ℂ)⁻¹ * + positivePauliSpatial px py pz (cubicalCell4Upper spinor) component + rw [hlower, hupper] + funext component + have hlinear : + positivePauliSpatial px py pz + (fun index => (positiveFrequencyScale mass energy : ℂ) * q index) component = + (positiveFrequencyScale mass energy : ℂ) * + positivePauliSpatial px py pz q component := by + change cubicalSpatialLowerLinear px py pz + ((positiveFrequencyScale mass energy : ℂ) • q) component = _ + rw [(cubicalSpatialLowerLinear px py pz).map_smul] + rfl + rw [hlinear, positiveFrequencyRatio] + push_cast + field_simp [show ((energy : ℂ) + (mass : ℂ)) ≠ 0 by exact_mod_cast _hden] + +/-- After the rest oscillation is removed, the upper component obeys the +exact free kinetic-energy multiplier. The usual `p ^ 2/(2m)` multiplier and +its complete relativistic correction are the two terms on the right. -/ +theorem v32_free_schrodinger_multiplier_with_exact_remainder + (mass energy px py pz : ℝ) + (hmass : mass ≠ 0) + (hshell : energy ^ 2 = mass ^ 2 + v32MomentumSq px py pz) + (hden : energy + mass ≠ 0) : + energy - mass = + v32MomentumSq px py pz / (2 * mass) - + (v32MomentumSq px py pz) ^ 2 / + (2 * mass * (energy + mass) ^ 2) := by + have h := v32_nonrelativistic_first_correction_exact + mass energy px py pz hmass hshell hden + linear_combination h + +/-- The bundled V3.2 N on re la ti vi st ic Li mi tC er ti fi ca te. -/ +structure V32NonrelativisticLimitCertificate : Prop where + exactRestSubtraction : ∀ mass energy px py pz, + energy ^ 2 = mass ^ 2 + v32MomentumSq px py pz → + energy + mass ≠ 0 → + energy - mass = v32MomentumSq px py pz / (energy + mass) + firstCorrection : ∀ mass energy px py pz, + mass ≠ 0 → + energy ^ 2 = mass ^ 2 + v32MomentumSq px py pz → + energy + mass ≠ 0 → + energy - mass - v32MomentumSq px py pz / (2 * mass) = + -(v32MomentumSq px py pz) ^ 2 / + (2 * mass * (energy + mass) ^ 2) + lowerComponentElimination : ∀ mass energy px py pz, + energy + mass ≠ 0 → ∀ q, + cubicalCell4LowerHalf + (normalizedPositiveFrequencyEmbedding mass energy px py pz q) = + fun component => + ((energy + mass : ℝ) : ℂ)⁻¹ * + positivePauliSpatial px py pz + (cubicalCell4Upper + (normalizedPositiveFrequencyEmbedding + mass energy px py pz q)) component + freeSchrodingerMultiplier : ∀ mass energy px py pz, + mass ≠ 0 → + energy ^ 2 = mass ^ 2 + v32MomentumSq px py pz → + energy + mass ≠ 0 → + energy - mass = + v32MomentumSq px py pz / (2 * mass) - + (v32MomentumSq px py pz) ^ 2 / + (2 * mass * (energy + mass) ^ 2) + +theorem v32_nonrelativistic_limit : V32NonrelativisticLimitCertificate where + exactRestSubtraction := v32_rest_energy_subtraction_exact + firstCorrection := v32_nonrelativistic_first_correction_exact + lowerComponentElimination := v32_positive_lower_component_elimination + freeSchrodingerMultiplier := + v32_free_schrodinger_multiplier_with_exact_remainder + + +end +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32PacketBenchmarks.lean b/LeanPool/LatticeDiracDerivation/V32PacketBenchmarks.lean new file mode 100644 index 0000000000..e368198ffa --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32PacketBenchmarks.lean @@ -0,0 +1,42 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32CenteredStepTransport + +/-! # V3.2 Stage 16: finite positive-frequency packet contract -/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section + +/-- The bundled V3.2 P ac ke tB en ch ma rk Ce rt if ic at e. -/ +structure V32PacketBenchmarkCertificate : Prop where + centeredStep : V32CenteredStepTransportCertificate + freeChainWithIntegratedPackets : CompleteFreeDiracCertificate + pointwiseOverclaimRejected : + cubicalCell4Density packetScopeDiracAtOrigin ≠ + -uniformNativePhaseDensity packetScopeNativeAtOrigin.1 + packetScopeNativeAtOrigin.2 + +theorem v32_packet_benchmarks : V32PacketBenchmarkCertificate where + centeredStep := v32_centered_step_transport + freeChainWithIntegratedPackets := complete_first_principles_free_dirac + pointwiseOverclaimRejected := positive_packet_pointwise_bridge_is_false + + +end +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32Robustness.lean b/LeanPool/LatticeDiracDerivation/V32Robustness.lean new file mode 100644 index 0000000000..c086f2ac6c --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32Robustness.lean @@ -0,0 +1,124 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32ScaleIdentifiability +public import LeanPool.LatticeDiracDerivation.V32LatticeArtifacts +public import LeanPool.LatticeDiracDerivation.V32CopyClassification +public import LeanPool.LatticeDiracDerivation.V2.ReadoutCharacterization + +/-! # V3.2 Stage 13: declared robustness and uniqueness scope -/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section +open Filter Topology + +/-- The finite-periodic transverse tangent theorem is valid for an arbitrary +substrate kinetic normalization `B`. The conclusion contains no selected +numerical value of `B`. -/ +theorem v32_free_transverse_tangent_uniform_in_B + {L : ℕ} [NeZero L] {momentum : LatticeMomentum} + (r B : ℝ) (hr : r ≠ 0) + (mode : PeriodicC19FourierMode L momentum) + (position velocity : UniformCell2) : + Tendsto + (fun eps : ℝ => + periodicC19LagrangianTangentQuotient + r B eps mode position velocity) + (nhds 0) + (nhds (2 * periodicSiteCount L * + uniformVacuumModalLagrangian r momentum position velocity)) := + periodic_c19_lagrangian_tangent_tends_to_modal + r B hr mode position velocity + +/-- The bundled V3.2 T wo Co py Re st Se ct or Ce rt if ic at e. -/ +structure V32TwoCopyRestSectorCertificate : Prop where + spinUpPairMass : + v32CopyPairHamiltonian (chi0 : ℂ) 0 0 0 + (v32RestSpinUp, v32RestSpinUp) = + (fun component => (chi0 : ℂ) * v32RestSpinUp component, + fun component => (chi0 : ℂ) * v32RestSpinUp component) + spinDownPairMass : + v32CopyPairHamiltonian (chi0 : ℂ) 0 0 0 + (v32RestSpinDown, v32RestSpinDown) = + (fun component => (chi0 : ℂ) * v32RestSpinDown component, + fun component => (chi0 : ℂ) * v32RestSpinDown component) + unitDensity : + cubicalCell4Density v32RestSpinUp = 1 ∧ + cubicalCell4Density v32RestSpinDown = 1 + zeroRestCurrent : ∀ axis, + cubicalDiracCurrent axis v32RestSpinUp = 0 ∧ + cubicalDiracCurrent axis v32RestSpinDown = 0 + nativeMass : chi0 = 19 + branchGap : 2 * chi0 = 38 + +theorem v32_two_copy_rest_sector : V32TwoCopyRestSectorCertificate where + spinUpPairMass := by + apply Prod.ext <;> funext component + · exact congrFun v32_rest_spinors_are_positive_energy.1 component + · exact congrFun v32_rest_spinors_are_positive_energy.1 component + spinDownPairMass := by + apply Prod.ext <;> funext component + · exact congrFun v32_rest_spinors_are_positive_energy.2 component + · exact congrFun v32_rest_spinors_are_positive_energy.2 component + unitDensity := v32_rest_spinor_densities_are_one + zeroRestCurrent := by + intro axis + fin_cases axis <;> + constructor <;> + norm_num [cubicalDiracCurrent, cubicalVelocityOperator, + cubicalCell4RealPair, cubicalAlpha, cubicalStandardAlphaX, + cubicalStandardAlphaY, cubicalStandardAlphaZ, + v32RestSpinUp, v32RestSpinDown, Fin.sum_univ_four, + Complex.normSq, Complex.mul_re, Complex.mul_im] + nativeMass := v32_native_rest_mass_is_nineteen + branchGap := v32_rest_gap_is_thirty_eight + +/-- The bundled V3.2 R ob us tn es sC er ti fi ca te. -/ +structure V32RobustnessCertificate : Prop where + fullFreeChain : CompleteFreeDiracCertificate + readoutScope : CubicalReadoutCharacterizationCertificate + flavorScope : CubicalFlavorClassificationCertificate + nativeMass : NativeRestMassCertificate + artifacts : V32LatticeArtifactCertificate + twoCopyRestSector : V32TwoCopyRestSectorCertificate + arbitraryB : ∀ {L : ℕ} [NeZero L] {momentum : LatticeMomentum} + (r B : ℝ), r ≠ 0 → + ∀ (mode : PeriodicC19FourierMode L momentum) + (position velocity : UniformCell2), + Tendsto + (fun eps : ℝ => + periodicC19LagrangianTangentQuotient + r B eps mode position velocity) + (nhds 0) + (nhds (2 * periodicSiteCount L * + uniformVacuumModalLagrangian r momentum position velocity)) + +theorem v32_robustness : V32RobustnessCertificate where + fullFreeChain := complete_first_principles_free_dirac + readoutScope := cubical_readout_characterization + flavorScope := cubical_flavor_classification + nativeMass := v32_native_rest_mass + artifacts := v32_lattice_artifacts + twoCopyRestSector := v32_two_copy_rest_sector + arbitraryB := fun r B hr mode position velocity => + v32_free_transverse_tangent_uniform_in_B + r B hr mode position velocity + + +end +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32ScaleIdentifiability.lean b/LeanPool/LatticeDiracDerivation/V32ScaleIdentifiability.lean new file mode 100644 index 0000000000..42d1afc65e --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32ScaleIdentifiability.lean @@ -0,0 +1,141 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32NonrelativisticLimit +public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumCurrentBridge + +/-! # V3.2 Stage 12: native rest mass and physical-scale identifiability -/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section + +/-- The V3.2 P hy si ca lR es tE ne rg y definition used by this stage. -/ +def v32PhysicalRestEnergy (nativeEnergyUnit : ℝ) : ℝ := + chi0 * nativeEnergyUnit + +/-- The V3.2 R es tS pi nU p definition used by this stage. -/ +def v32RestSpinUp : CubicalCell4 + | 0 => 1 + | _ => 0 + +/-- The V3.2 R es tS pi nD ow n definition used by this stage. -/ +def v32RestSpinDown : CubicalCell4 + | 1 => 1 + | _ => 0 + +/-- The V3.2 N at iv eC om pt on Le ng th definition used by this stage. -/ +def v32NativeComptonLength : ℝ := c19ContinuumSpeed / chi0 + +theorem v32_native_rest_mass_is_nineteen : chi0 = 19 := by + norm_num [chi0] + +theorem v32_rest_gap_is_thirty_eight : 2 * chi0 = 38 := by + norm_num [chi0] + +theorem v32_rest_hamiltonian_exact (z : CubicalCell4) : + v32ContinuumHamiltonian chi0 0 0 0 z = + fun component => (chi0 : ℂ) * cubicalStandardBeta z component := by + funext component + fin_cases component <;> + simp [v32ContinuumHamiltonian, cubicalStandardHamiltonian, + cubicalStandardSpatial, cubicalStandardAlphaX, + cubicalStandardAlphaY, cubicalStandardAlphaZ] + +theorem v32_physical_conversion_law (nativeEnergyUnit : ℝ) : + v32PhysicalRestEnergy nativeEnergyUnit = 19 * nativeEnergyUnit := by + simp [v32PhysicalRestEnergy, chi0] + +theorem v32_absolute_energy_scale_not_selected : + ∃ unitA unitB : ℝ, + unitA ≠ unitB ∧ + v32PhysicalRestEnergy unitA ≠ v32PhysicalRestEnergy unitB := by + refine ⟨1, 2, by norm_num, ?_⟩ + norm_num [v32PhysicalRestEnergy, chi0] + +theorem v32_rest_spinors_are_positive_energy : + (v32ContinuumHamiltonian chi0 0 0 0 v32RestSpinUp = + fun component => (chi0 : ℂ) * v32RestSpinUp component) ∧ + (v32ContinuumHamiltonian chi0 0 0 0 v32RestSpinDown = + fun component => (chi0 : ℂ) * v32RestSpinDown component) := by + constructor <;> funext component <;> fin_cases component <;> + simp [v32ContinuumHamiltonian, cubicalStandardHamiltonian, + cubicalStandardSpatial, cubicalStandardBeta, + cubicalStandardAlphaX, cubicalStandardAlphaY, + cubicalStandardAlphaZ, v32RestSpinUp, v32RestSpinDown] + +theorem v32_rest_spinor_densities_are_one : + cubicalCell4Density v32RestSpinUp = 1 ∧ + cubicalCell4Density v32RestSpinDown = 1 := by + constructor <;> + norm_num [cubicalCell4Density, v32RestSpinUp, v32RestSpinDown, + Complex.normSq, Fin.sum_univ_four] + +theorem v32_native_inertial_coefficient : + (1 : ℝ) / (2 * chi0) = 1 / 38 := by + norm_num [chi0] + +theorem v32_native_compton_clock_ratio : + chi0 * v32NativeComptonLength = c19ContinuumSpeed := by + norm_num [v32NativeComptonLength, chi0] + ring + +/-- The bundled V3.2 N at iv eR es tM as sC er ti fi ca te. -/ +structure NativeRestMassCertificate : Prop where + canonicalMass : + (0 : ℝ) ≤ chi0 ∧ chi0 ^ 2 = chi0 ^ 2 ∧ + ∀ mass : ℝ, 0 ≤ mass → mass ^ 2 = chi0 ^ 2 → mass = chi0 + nativeValue : chi0 = 19 + restHamiltonian : ∀ z, + v32ContinuumHamiltonian chi0 0 0 0 z = + fun component => (chi0 : ℂ) * cubicalStandardBeta z component + positiveRestCurrentZero : ∀ axis r, r ≠ 0 → ∀ position, + uniformPhaseSpaceCurrent axis r (fun _ => 0) + (uniformRestPositivePhase r position) = 0 + restGap : 2 * chi0 = 38 + physicalConversion : ∀ nativeEnergyUnit, + v32PhysicalRestEnergy nativeEnergyUnit = 19 * nativeEnergyUnit + absoluteScaleNeedsAnchor : ∃ unitA unitB : ℝ, + unitA ≠ unitB ∧ + v32PhysicalRestEnergy unitA ≠ v32PhysicalRestEnergy unitB + explicitPositiveRestSpinors : + (v32ContinuumHamiltonian chi0 0 0 0 v32RestSpinUp = + fun component => (chi0 : ℂ) * v32RestSpinUp component) ∧ + (v32ContinuumHamiltonian chi0 0 0 0 v32RestSpinDown = + fun component => (chi0 : ℂ) * v32RestSpinDown component) + unitRestDensities : + cubicalCell4Density v32RestSpinUp = 1 ∧ + cubicalCell4Density v32RestSpinDown = 1 + inertialCoefficient : (1 : ℝ) / (2 * chi0) = 1 / 38 + comptonClockRatio : chi0 * v32NativeComptonLength = c19ContinuumSpeed + +theorem v32_native_rest_mass : NativeRestMassCertificate where + canonicalMass := canonical_native_mass_is_chi0 + nativeValue := v32_native_rest_mass_is_nineteen + restHamiltonian := v32_rest_hamiltonian_exact + positiveRestCurrentZero := uniform_positive_rest_dirac_current_zero + restGap := v32_rest_gap_is_thirty_eight + physicalConversion := v32_physical_conversion_law + absoluteScaleNeedsAnchor := v32_absolute_energy_scale_not_selected + explicitPositiveRestSpinors := v32_rest_spinors_are_positive_energy + unitRestDensities := v32_rest_spinor_densities_are_one + inertialCoefficient := v32_native_inertial_coefficient + comptonClockRatio := v32_native_compton_clock_ratio + + +end +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32SpectralProjectors.lean b/LeanPool/LatticeDiracDerivation/V32SpectralProjectors.lean new file mode 100644 index 0000000000..0553d8b5cd --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32SpectralProjectors.lean @@ -0,0 +1,317 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32GlobalSpectrum + +/-! +# V3.2 Stage 3: spectral projectors + +The projectors in this file are constructed only from the Hamiltonian proved in +Stage 2. The hypotheses on `energy` say that it is a nonzero square root of +the already-derived dispersion relation; no branch or physical scale is +inserted. +-/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section + +/-- The V3.2 S pe ct ra lP ro je ct or definition used by this stage. -/ +def v32SpectralProjector + (sign : ℝ) (mass px py pz energy : ℝ) (z : CubicalCell4) : CubicalCell4 := + fun component => + (1 / 2 : ℂ) * + (z component + (sign / energy : ℝ) * + v32ContinuumHamiltonian mass px py pz z component) + +/-- The V3.2 P os it iv eP ro je ct or definition used by this stage. -/ +def v32PositiveProjector := v32SpectralProjector 1 +/-- The V3.2 N eg at iv eP ro je ct or definition used by this stage. -/ +def v32NegativeProjector := v32SpectralProjector (-1) + +theorem v32_projectors_complete + (mass px py pz energy : ℝ) (z : CubicalCell4) : + (fun component => + v32PositiveProjector mass px py pz energy z component + + v32NegativeProjector mass px py pz energy z component) = z := by + funext component + simp [v32PositiveProjector, v32NegativeProjector, v32SpectralProjector] + ring + +theorem v32_spectral_projector_idempotent + (sign mass px py pz energy : ℝ) + (hsign : sign ^ 2 = 1) + (henergy : energy ^ 2 = v32ContinuumEnergySq mass px py pz) + (hne : energy ≠ 0) (z : CubicalCell4) : + v32SpectralProjector sign mass px py pz energy + (v32SpectralProjector sign mass px py pz energy z) = + v32SpectralProjector sign mass px py pz energy z := by + have hsq := v32_continuum_hamiltonian_square mass px py pz z + funext component + have hsqc := congrFun hsq component + have hlinear : + v32ContinuumHamiltonian mass px py pz + (v32SpectralProjector sign mass px py pz energy z) component = + (1 / 2 : ℂ) * + (v32ContinuumHamiltonian mass px py pz z component + + (sign / energy : ℝ) * + v32ContinuumHamiltonian mass px py pz + (v32ContinuumHamiltonian mass px py pz z) component) := by + fin_cases component <;> + simp [v32SpectralProjector, v32ContinuumHamiltonian, + cubicalStandardHamiltonian, cubicalStandardSpatial, + cubicalStandardBeta, cubicalStandardAlphaX, + cubicalStandardAlphaY, cubicalStandardAlphaZ] <;> ring + simp only [v32SpectralProjector] + rw [hlinear, hsqc] + have hsignC : (sign : ℂ) ^ 2 = 1 := by exact_mod_cast hsign + have henergyC : (energy : ℂ) ^ 2 = (v32ContinuumEnergySq mass px py pz : ℂ) := by + exact_mod_cast henergy + have hneC : (energy : ℂ) ≠ 0 := by exact_mod_cast hne + have hdiv : ((sign / energy : ℝ) : ℂ) = (sign : ℂ) / (energy : ℂ) := by + norm_num + rw [hdiv] + field_simp [hneC] + ring_nf at hsignC henergyC ⊢ + rw [hsignC, henergyC] + ring + +theorem v32_positive_projector_idempotent + (mass px py pz energy : ℝ) + (henergy : energy ^ 2 = v32ContinuumEnergySq mass px py pz) + (hne : energy ≠ 0) (z : CubicalCell4) : + v32PositiveProjector mass px py pz energy + (v32PositiveProjector mass px py pz energy z) = + v32PositiveProjector mass px py pz energy z := by + exact v32_spectral_projector_idempotent 1 mass px py pz energy (by norm_num) + henergy hne z + +theorem v32_negative_projector_idempotent + (mass px py pz energy : ℝ) + (henergy : energy ^ 2 = v32ContinuumEnergySq mass px py pz) + (hne : energy ≠ 0) (z : CubicalCell4) : + v32NegativeProjector mass px py pz energy + (v32NegativeProjector mass px py pz energy z) = + v32NegativeProjector mass px py pz energy z := by + exact v32_spectral_projector_idempotent (-1) mass px py pz energy (by norm_num) + henergy hne z + +theorem v32_projectors_orthogonal + (mass px py pz energy : ℝ) + (henergy : energy ^ 2 = v32ContinuumEnergySq mass px py pz) + (hne : energy ≠ 0) (z : CubicalCell4) : + v32PositiveProjector mass px py pz energy + (v32NegativeProjector mass px py pz energy z) = 0 := by + have hsq := v32_continuum_hamiltonian_square mass px py pz z + funext component + have hsqc := congrFun hsq component + have hlinear : + v32ContinuumHamiltonian mass px py pz + (v32NegativeProjector mass px py pz energy z) component = + (1 / 2 : ℂ) * + (v32ContinuumHamiltonian mass px py pz z component - + (1 / energy : ℝ) * + v32ContinuumHamiltonian mass px py pz + (v32ContinuumHamiltonian mass px py pz z) component) := by + fin_cases component <;> + simp [v32NegativeProjector, v32SpectralProjector, + v32ContinuumHamiltonian, cubicalStandardHamiltonian, + cubicalStandardSpatial, cubicalStandardBeta, + cubicalStandardAlphaX, cubicalStandardAlphaY, + cubicalStandardAlphaZ] <;> ring + simp only [v32PositiveProjector, v32NegativeProjector, + v32SpectralProjector] + have hlinear' := hlinear + simp only [v32NegativeProjector] at hlinear' + rw [hlinear', hsqc] + simp only [Pi.zero_apply] + have henergyC : (energy : ℂ) ^ 2 = (v32ContinuumEnergySq mass px py pz : ℂ) := by + exact_mod_cast henergy + have hneC : (energy : ℂ) ≠ 0 := by exact_mod_cast hne + have honeDiv : ((1 / energy : ℝ) : ℂ) = (1 : ℂ) / (energy : ℂ) := by + norm_num + have hnegDiv : (((-1) / energy : ℝ) : ℂ) = (-1 : ℂ) / (energy : ℂ) := by + norm_num + rw [honeDiv, hnegDiv] + field_simp [hneC] + ring_nf at henergyC ⊢ + rw [henergyC] + ring + +theorem v32_spectral_projector_is_eigenbranch + (sign mass px py pz energy : ℝ) + (hsign : sign ^ 2 = 1) + (henergy : energy ^ 2 = v32ContinuumEnergySq mass px py pz) + (hne : energy ≠ 0) (z : CubicalCell4) : + v32ContinuumHamiltonian mass px py pz + (v32SpectralProjector sign mass px py pz energy z) = + fun component => + ((sign * energy : ℝ) : ℂ) * + v32SpectralProjector sign mass px py pz energy z component := by + have hsq := v32_continuum_hamiltonian_square mass px py pz z + funext component + have hsqc := congrFun hsq component + have hlinear : + v32ContinuumHamiltonian mass px py pz + (v32SpectralProjector sign mass px py pz energy z) component = + (1 / 2 : ℂ) * + (v32ContinuumHamiltonian mass px py pz z component + + (sign / energy : ℝ) * + v32ContinuumHamiltonian mass px py pz + (v32ContinuumHamiltonian mass px py pz z) component) := by + fin_cases component <;> + simp [v32SpectralProjector, v32ContinuumHamiltonian, + cubicalStandardHamiltonian, cubicalStandardSpatial, + cubicalStandardBeta, cubicalStandardAlphaX, + cubicalStandardAlphaY, cubicalStandardAlphaZ] <;> ring + rw [hlinear, hsqc] + simp only [v32SpectralProjector] + have hsignC : (sign : ℂ) ^ 2 = 1 := by exact_mod_cast hsign + have henergyC : (energy : ℂ) ^ 2 = + (v32ContinuumEnergySq mass px py pz : ℂ) := by + exact_mod_cast henergy + have hneC : (energy : ℂ) ≠ 0 := by exact_mod_cast hne + have hdiv : ((sign / energy : ℝ) : ℂ) = + (sign : ℂ) / (energy : ℂ) := by norm_num + rw [hdiv] + push_cast + field_simp [hneC] + have hsignMul : (sign : ℂ) * (sign : ℂ) = 1 := by + simpa [pow_two] using hsignC + have henergyMul : (energy : ℂ) * (energy : ℂ) = + (v32ContinuumEnergySq mass px py pz : ℂ) := by + simpa [pow_two] using henergyC + rw [← henergyMul] + ring_nf + rw [hsignC] + ring + +theorem v32_positive_projector_is_positive_branch + (mass px py pz energy : ℝ) + (henergy : energy ^ 2 = v32ContinuumEnergySq mass px py pz) + (hne : energy ≠ 0) (z : CubicalCell4) : + v32ContinuumHamiltonian mass px py pz + (v32PositiveProjector mass px py pz energy z) = + fun component => + (energy : ℂ) * + v32PositiveProjector mass px py pz energy z component := by + simpa [v32PositiveProjector] using + v32_spectral_projector_is_eigenbranch + 1 mass px py pz energy (by norm_num) henergy hne z + +theorem v32_negative_projector_is_negative_branch + (mass px py pz energy : ℝ) + (henergy : energy ^ 2 = v32ContinuumEnergySq mass px py pz) + (hne : energy ≠ 0) (z : CubicalCell4) : + v32ContinuumHamiltonian mass px py pz + (v32NegativeProjector mass px py pz energy z) = + fun component => + (-energy : ℂ) * + v32NegativeProjector mass px py pz energy z component := by + simpa [v32NegativeProjector] using + v32_spectral_projector_is_eigenbranch + (-1) mass px py pz energy (by norm_num) henergy hne z + +/-- The V3.2 U ni tP ha se definition used by this stage. -/ +def v32UnitPhase (angle : ℝ) : ℂ := + (Real.cos angle : ℂ) - Complex.I * (Real.sin angle : ℂ) + +theorem v32_unit_phase_norm_sq (angle : ℝ) : + Complex.normSq (v32UnitPhase angle) = 1 := by + simp [v32UnitPhase, Complex.normSq, Complex.mul_re, Complex.mul_im, + Complex.cos_ofReal_re, Complex.sin_ofReal_re] + simpa [pow_two] using Real.cos_sq_add_sin_sq angle + +/-- The V3.2 B ra nc hE vo lu ti on definition used by this stage. -/ +def v32BranchEvolution + (sign mass px py pz energy time : ℝ) (z : CubicalCell4) : CubicalCell4 := + fun component => + v32UnitPhase (sign * energy * time) * + v32SpectralProjector sign mass px py pz energy z component + +theorem v32_branch_evolution_preserves_projected_density + (sign mass px py pz energy time : ℝ) (z : CubicalCell4) : + cubicalCell4Density + (v32BranchEvolution sign mass px py pz energy time z) = + cubicalCell4Density + (v32SpectralProjector sign mass px py pz energy z) := by + simp [cubicalCell4Density, v32BranchEvolution, + Complex.normSq_mul, v32_unit_phase_norm_sq] + +theorem v32_projected_density_nonnegative + (sign mass px py pz energy : ℝ) (z : CubicalCell4) : + 0 ≤ cubicalCell4Density + (v32SpectralProjector sign mass px py pz energy z) := by + unfold cubicalCell4Density + exact Finset.sum_nonneg (fun component _ => Complex.normSq_nonneg _) + +/-- The bundled V3.2 S pe ct ra lP ro je ct or Ce rt if ic at e. -/ +structure V32SpectralProjectorCertificate : Prop where + complete : ∀ mass px py pz energy z, + (fun component => + v32PositiveProjector mass px py pz energy z component + + v32NegativeProjector mass px py pz energy z component) = z + positiveIdempotent : ∀ mass px py pz energy, + energy ^ 2 = v32ContinuumEnergySq mass px py pz → energy ≠ 0 → ∀ z, + v32PositiveProjector mass px py pz energy + (v32PositiveProjector mass px py pz energy z) = + v32PositiveProjector mass px py pz energy z + negativeIdempotent : ∀ mass px py pz energy, + energy ^ 2 = v32ContinuumEnergySq mass px py pz → energy ≠ 0 → ∀ z, + v32NegativeProjector mass px py pz energy + (v32NegativeProjector mass px py pz energy z) = + v32NegativeProjector mass px py pz energy z + orthogonal : ∀ mass px py pz energy, + energy ^ 2 = v32ContinuumEnergySq mass px py pz → energy ≠ 0 → ∀ z, + v32PositiveProjector mass px py pz energy + (v32NegativeProjector mass px py pz energy z) = 0 + positiveInvariant : ∀ mass px py pz energy, + energy ^ 2 = v32ContinuumEnergySq mass px py pz → energy ≠ 0 → ∀ z, + v32ContinuumHamiltonian mass px py pz + (v32PositiveProjector mass px py pz energy z) = + fun component => (energy : ℂ) * + v32PositiveProjector mass px py pz energy z component + negativeInvariant : ∀ mass px py pz energy, + energy ^ 2 = v32ContinuumEnergySq mass px py pz → energy ≠ 0 → ∀ z, + v32ContinuumHamiltonian mass px py pz + (v32NegativeProjector mass px py pz energy z) = + fun component => (-energy : ℂ) * + v32NegativeProjector mass px py pz energy z component + projectedDensityNonnegative : ∀ sign mass px py pz energy z, + 0 ≤ cubicalCell4Density + (v32SpectralProjector sign mass px py pz energy z) + branchEvolutionPreservesDensity : ∀ sign mass px py pz energy time z, + cubicalCell4Density + (v32BranchEvolution sign mass px py pz energy time z) = + cubicalCell4Density + (v32SpectralProjector sign mass px py pz energy z) + +theorem v32_spectral_projectors : V32SpectralProjectorCertificate where + complete := v32_projectors_complete + positiveIdempotent := v32_positive_projector_idempotent + negativeIdempotent := v32_negative_projector_idempotent + orthogonal := v32_projectors_orthogonal + positiveInvariant := v32_positive_projector_is_positive_branch + negativeInvariant := v32_negative_projector_is_negative_branch + projectedDensityNonnegative := v32_projected_density_nonnegative + branchEvolutionPreservesDensity := + v32_branch_evolution_preserves_projected_density + + +end + +end LeanDirac.V2 diff --git a/LeanPool/LatticeDiracDerivation/V32TransportObservables.lean b/LeanPool/LatticeDiracDerivation/V32TransportObservables.lean new file mode 100644 index 0000000000..e980e63cd9 --- /dev/null +++ b/LeanPool/LatticeDiracDerivation/V32TransportObservables.lean @@ -0,0 +1,126 @@ +/- +Copyright (c) 2026 G. D. Partin. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: G. D. Partin +-/ + +/- +Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502. +Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT. +-/ + +module + +public import LeanPool.LatticeDiracDerivation.V32Robustness + +/-! # V3.2 Stage 14: theorem-backed transport observables for V4 -/ + +@[expose] public section + + + +namespace LeanDirac.V2 + +noncomputable section + +/-- The V3.2 M om en tu mC om po ne nt definition used by this stage. -/ +def v32MomentumComponent (px py pz : ℝ) (axis : Fin 3) : ℝ := + if axis = 0 then px else if axis = 1 then py else pz + +/-- The V3.2 P os it iv eG ro up Ve lo ci ty definition used by this stage. -/ +def v32PositiveGroupVelocity + (energy px py pz : ℝ) (axis : Fin 3) : ℝ := + c19ContinuumSpeed * v32MomentumComponent px py pz axis / energy + +/-- The V3.2 N eg at iv eG ro up Ve lo ci ty definition used by this stage. -/ +def v32NegativeGroupVelocity + (energy px py pz : ℝ) (axis : Fin 3) : ℝ := + -v32PositiveGroupVelocity energy px py pz axis + +/-- The V3.2 G ro up Sp ee dS q definition used by this stage. -/ +def v32GroupSpeedSq (energy px py pz : ℝ) : ℝ := + ∑ axis, v32PositiveGroupVelocity energy px py pz axis ^ 2 + +theorem v32_group_velocity_is_current_over_density + (mass energy px py pz : ℝ) + (hpositive : 0 < energy + mass) (henergy : energy ≠ 0) + (hshell : energy ^ 2 = mass ^ 2 + px ^ 2 + py ^ 2 + pz ^ 2) + (q : UniformCell2) (axis : Fin 3) : + cubicalDiracCurrent axis + (normalizedPositiveFrequencyEmbedding mass energy px py pz q) = + v32PositiveGroupVelocity energy px py pz axis * + cubicalCell4Density + (normalizedPositiveFrequencyEmbedding mass energy px py pz q) := by + rw [normalized_positive_frequency_current mass energy px py pz + hpositive hshell q axis] + rw [normalized_positive_frequency_density mass energy px py pz + hpositive hshell q] + fin_cases axis <;> + simp [v32PositiveGroupVelocity, v32MomentumComponent] <;> + field_simp [henergy] + +theorem v32_energy_branch_reverses_group_velocity + (energy px py pz : ℝ) (axis : Fin 3) : + v32NegativeGroupVelocity energy px py pz axis = + -v32PositiveGroupVelocity energy px py pz axis := rfl + +theorem v32_group_speed_sq_formula + (energy px py pz : ℝ) (henergy : energy ≠ 0) : + v32GroupSpeedSq energy px py pz = + c19ContinuumSpeed ^ 2 * (px ^ 2 + py ^ 2 + pz ^ 2) / energy ^ 2 := by + simp [v32GroupSpeedSq, v32PositiveGroupVelocity, + v32MomentumComponent, Fin.sum_univ_succ] + field_simp [henergy] + ring + +theorem v32_group_speed_bounded_by_lattice_speed_sq + (mass energy px py pz : ℝ) (henergy : energy ≠ 0) + (hshell : energy ^ 2 = mass ^ 2 + px ^ 2 + py ^ 2 + pz ^ 2) : + v32GroupSpeedSq energy px py pz ≤ c19ContinuumSpeed ^ 2 := by + rw [v32_group_speed_sq_formula energy px py pz henergy] + have he2 : 0 < energy ^ 2 := sq_pos_of_ne_zero henergy + have hc2 : 0 ≤ c19ContinuumSpeed ^ 2 := sq_nonneg _ + have hp : px ^ 2 + py ^ 2 + pz ^ 2 ≤ energy ^ 2 := by + nlinarith [sq_nonneg mass] + apply (div_le_iff₀ he2).2 + nlinarith + +/-- The bundled V3.2 T ra ns po rt Ob se rv ab le Ce rt if ic at e. -/ +structure V32TransportObservableCertificate : Prop where + currentIsMomentumResponse : UniformVacuumCurrentCertificate + exactFreeChain : CompleteFreeDiracCertificate + restCurrentZero : ∀ axis r, r ≠ 0 → ∀ position, + uniformPhaseSpaceCurrent axis r (fun _ => 0) + (uniformRestPositivePhase r position) = 0 + finiteC19CurrentError : ∀ momentum axis q radius, + 0 ≤ radius → (∀ coordinate, |momentum coordinate| ≤ radius) → + |finiteC19CurrentRemainder momentum axis q| ≤ + 16 * radius ^ 3 * uniformCell2Density q + currentOverDensityVelocity : ∀ mass energy px py pz, + 0 < energy + mass → energy ≠ 0 → + energy ^ 2 = mass ^ 2 + px ^ 2 + py ^ 2 + pz ^ 2 → + ∀ q axis, + cubicalDiracCurrent axis + (normalizedPositiveFrequencyEmbedding mass energy px py pz q) = + v32PositiveGroupVelocity energy px py pz axis * + cubicalCell4Density + (normalizedPositiveFrequencyEmbedding mass energy px py pz q) + branchVelocitySign : ∀ energy px py pz axis, + v32NegativeGroupVelocity energy px py pz axis = + -v32PositiveGroupVelocity energy px py pz axis + speedBoundSq : ∀ mass energy px py pz, + energy ≠ 0 → energy ^ 2 = mass ^ 2 + px ^ 2 + py ^ 2 + pz ^ 2 → + v32GroupSpeedSq energy px py pz ≤ c19ContinuumSpeed ^ 2 + +theorem v32_transport_observables : V32TransportObservableCertificate where + currentIsMomentumResponse := uniform_vacuum_current_bridge + exactFreeChain := complete_first_principles_free_dirac + restCurrentZero := uniform_positive_rest_dirac_current_zero + finiteC19CurrentError := finite_c19_current_remainder_bound + currentOverDensityVelocity := v32_group_velocity_is_current_over_density + branchVelocitySign := v32_energy_branch_reverses_group_velocity + speedBoundSq := v32_group_speed_bounded_by_lattice_speed_sq + + +end +end LeanDirac.V2 diff --git a/LeanPool/projects/lattice-dirac-derivation.yaml b/LeanPool/projects/lattice-dirac-derivation.yaml index d480d7513c..48c588b7aa 100644 --- a/LeanPool/projects/lattice-dirac-derivation.yaml +++ b/LeanPool/projects/lattice-dirac-derivation.yaml @@ -2,30 +2,33 @@ slug: lattice-dirac-derivation title: Free Dirac dynamics and cubical spin from a reciprocal C19 lattice action summary: >- Derives the linearized free Dirac equation for a reciprocal two-field action - on the C19 cubic stencil, at an exact zero-energy vacuum of the action. - The oriented cubical Clifford representation decomposes into two invariant - four-component sectors carrying the same free generator. The development - gives finite-periodic Fourier completeness, a bijective spectral readout, - spatial and centered-time defect estimates, and the integrated - positive-frequency charge and current identities. Downstream cubical plane - bivectors determine the half-spin normalization within the declared local - class and provide the finite rotations, Lorentz Lie algebra, Dirac-symbol - covariance, and Pauli--Lubanski identities recorded by the V3.1 certificate. - The conventional chi-field kinetic coefficient is 1197. The transverse result - holds for every value of that coefficient. + on the C19 cubic stencil at an exact zero-energy vacuum. V3.2 keeps that + action unchanged and adds the exact scalar C19 spectrum, continuum spectral + projectors, a unique-zero theorem for the scalar transport symbol, the + classification of the two cubical + four-component copies, a scoped irreducibility result for the massive rest + spin sector, axial finite-boost group laws, discrete symmetries, the + nonrelativistic reduction, and explicit finite-lattice artifacts. Its + cumulative certificate collects the spatial and centered-time continuum + defect bounds and transport results. In the native normalization the rest + mass is 19. The physical rest-energy formula takes the conversion factor + as an explicit input. + It explicitly distinguishes the exact finite-C19 scalar spectrum from the + continuum Clifford factorization instead of promoting the latter to a global + exact finite-lattice root. branch: mathematical physics entry_module: LeanPool.LatticeDiracDerivation authors: - G. D. Partin source: - title: Lean LFM-to-Dirac Derivation V3.1 + title: Lean LFM-to-Dirac Derivation V3.2 authors: - G. D. Partin - url: https://github.com/gpartin/LeanDiracDerivation/tree/61a4798b8b3ebfcffd24065079dc4db9d7b43f75 + url: https://github.com/gpartin/LeanDiracDerivation/tree/e2161e0936f181d4a5a9d49963a666f7cea42502 github_repo: gpartin/LeanDiracDerivation - commit: 61a4798b8b3ebfcffd24065079dc4db9d7b43f75 - announcement_url: https://github.com/gpartin/LeanDiracDerivation/pull/72 - announcement_date: '2026-11-25' + commit: e2161e0936f181d4a5a9d49963a666f7cea42502 + announcement_url: https://github.com/gpartin/LeanDiracDerivation/commit/e2161e0936f181d4a5a9d49963a666f7cea42502 + announcement_date: '2026-11-26' license: MIT status: verified provenance: mix @@ -34,47 +37,47 @@ provenance_evidence: >- which were implemented and audited with AI assistance. The code is distributed under the MIT option in the upstream dual license. main_declarations: -- LeanDirac.V2.complete_first_principles_free_dirac -- LeanDirac.V2.cubical_flavor_classification -- LeanDirac.V2.periodic_quantized_add_char_bijective -- LeanDirac.V2.periodic_integrated_positive_packet_current_bridge -- LeanDirac.V2.positive_packet_pointwise_bridge_is_false -- LeanDirac.V2.lorentz_spin_half_from_native_action +- LeanDirac.V2.v32_complete_free_fermion +- LeanDirac.V2.v32_no_global_exact_local_oriented_root +- LeanDirac.V2.c19_no_momentum_doublers +- LeanDirac.V2.v32_rest_spin_commutant_is_scalar +- LeanDirac.V2.v32_free_schrodinger_multiplier_with_exact_remainder +- LeanDirac.V2.v32_native_rest_mass +- LeanDirac.V2.v32_absolute_energy_scale_not_selected main_results: -- declaration: LeanDirac.V2.complete_first_principles_free_dirac +- declaration: LeanDirac.V2.v32_complete_free_fermion informal: >- - The declared lattice action has an exact critical zero-energy vacuum. - Its transverse periodic tangent dynamics admit lossless four-component - spectral coordinates. The certificate assembles the cubical Clifford - generator, exact lattice evolution, controlled defects in the free - continuum equation, and the positive-frequency current identities. -- declaration: LeanDirac.V2.cubical_flavor_classification + The cumulative V3.2 certificate assembles the unchanged action and V3.1 + free-Dirac and Lorentz-spin results with the spectrum, projector, + Brillouin-zone, copy, rest-sector, symmetry, nonrelativistic, convergence, + lattice-artifact, rest-mass, robustness, and transport certificates. +- declaration: LeanDirac.V2.v32_no_global_exact_local_oriented_root informal: >- - The oriented cube decomposes into two flavor eigenspaces. Each is - parametrized injectively by four complex coordinates, and their - intersection is zero. -- declaration: LeanDirac.V2.periodic_quantized_add_char_bijective + The continuum-oriented Clifford root cannot be relabeled as an exact + global local root of the finite C19 scalar symbol; an explicit + Brillouin-zone witness separates the two. +- declaration: LeanDirac.V2.c19_no_momentum_doublers informal: >- - The quantized modes on a finite periodic cubic lattice enumerate all its - additive characters bijectively. -- declaration: LeanDirac.V2.periodic_integrated_positive_packet_current_bridge + Inside the fundamental Brillouin box, the positive C19 bond sum has no + transport-symbol zero away from the origin. +- declaration: LeanDirac.V2.v32_rest_spin_commutant_is_scalar informal: >- - For on-shell positive-frequency packets on a finite torus, the averaged - native flux equals the averaged current of the same Dirac packet plus - the sum of the explicit C19 remainders. -- declaration: LeanDirac.V2.positive_packet_pointwise_bridge_is_false + Within the declared two-coordinate rest-spin matrix class, every operator + commuting with all three derived spin generators is scalar. +- declaration: LeanDirac.V2.v32_free_schrodinger_multiplier_with_exact_remainder informal: >- - A two-mode interference example disproves extending the separate-mode - charge identity pointwise to all positive-frequency superpositions. -- declaration: LeanDirac.V2.lorentz_spin_half_from_native_action + After subtracting the rest oscillation, the positive branch has the usual + free nonrelativistic kinetic multiplier plus an exact relativistic + remainder. +- declaration: LeanDirac.V2.v32_native_rest_mass informal: >- - From the already-derived cubical Clifford root, the certificate constructs - the local plane-bivector spin generators, proves the scoped operational - half-spin normalization and its action on both four-component sectors, - establishes the finite two-pi sign and four-pi return, and collects the - Lorentz commutators, Dirac-symbol covariance, and Pauli--Lubanski - orthogonality and rest-frame Casimir identities. It changes no native - action term, vacuum, or continuum readout. + The unchanged native normalization fixes rest mass 19, rest-branch gap 38, + the native inertial coefficient, and the unit density of two explicit + positive-energy rest spinors. +- declaration: LeanDirac.V2.v32_absolute_energy_scale_not_selected + informal: >- + The modeled physical rest energy is 19 times the supplied conversion + factor. The theorem exhibits two choices of factor yielding different values. tags: - mathematical-physics - dirac-operator