Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions LeanPool/LatticeDiracDerivation.lean
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,21 @@ Authors: G. D. Partin

module

public import LeanPool.LatticeDiracDerivation.V32CompleteFreeFermion
public import LeanPool.LatticeDiracDerivation.V34CompleteCovariantFreeSpinor

/-!
# Free Dirac dynamics and cubical spin from a reciprocal C19 lattice action
# Free Dirac dynamics and covariant spinors from a reciprocal C19 lattice action

Source: url:https://github.com/gpartin/LeanDiracDerivation/tree/e2161e0936f181d4a5a9d49963a666f7cea42502
Source: url:https://github.com/gpartin/LeanDiracDerivation/tree/7b2a51cf933798eeb931731609fda0ffa81123fe
Authors: G. D. Partin
Status: verified
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`
Main declarations: `LeanDirac.V2.v34_complete_covariant_free_spinor`,
`LeanDirac.V2.v34_every_spinor_has_unique_two_plus_two_coordinates`,
`LeanDirac.V2.v34_positive_covariant_spin_sum`, `LeanDirac.V2.v34_momentum_helicity`,
`LeanDirac.V2.v34_nonforward_gordon_for_native_spinors`,
`LeanDirac.V2.v34_resolvent_spectral_decomposition`,
`LeanDirac.V2.v32_no_global_exact_local_oriented_root`,
`LeanDirac.V2.v32_absolute_energy_scale_not_selected`
Tags: mathematical-physics, dirac-operator, clifford-algebra, lattice, fourier-analysis
MSC: 81Q05, 15A66, 65M06, 81R20
-/
Expand Down
17 changes: 17 additions & 0 deletions LeanPool/LatticeDiracDerivation/Imports.lean
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,20 @@ public import LeanPool.LatticeDiracDerivation.V32Robustness
public import LeanPool.LatticeDiracDerivation.V32ScaleIdentifiability
public import LeanPool.LatticeDiracDerivation.V32SpectralProjectors
public import LeanPool.LatticeDiracDerivation.V32TransportObservables
public import LeanPool.LatticeDiracDerivation.V33BilinearObservables
public import LeanPool.LatticeDiracDerivation.V33CompleteFreeSpinor
public import LeanPool.LatticeDiracDerivation.V33FrameworkLock
public import LeanPool.LatticeDiracDerivation.V33FreePropagator
public import LeanPool.LatticeDiracDerivation.V33GordonIdentity
public import LeanPool.LatticeDiracDerivation.V33Helicity
public import LeanPool.LatticeDiracDerivation.V33ProjectedSpinors
public import LeanPool.LatticeDiracDerivation.V33ScopeAudit
public import LeanPool.LatticeDiracDerivation.V33SpinSums
public import LeanPool.LatticeDiracDerivation.V33SpinorBasis
public import LeanPool.LatticeDiracDerivation.V34CompleteCovariantFreeSpinor
public import LeanPool.LatticeDiracDerivation.V34CovariantSpinSums
public import LeanPool.LatticeDiracDerivation.V34CovariantSpinors
public import LeanPool.LatticeDiracDerivation.V34MomentumHelicity
public import LeanPool.LatticeDiracDerivation.V34NonforwardGordon
public import LeanPool.LatticeDiracDerivation.V34PropagatorResidues
public import LeanPool.LatticeDiracDerivation.V34SpinorSectorBasis
92 changes: 43 additions & 49 deletions LeanPool/LatticeDiracDerivation/V32SpectralProjectors.lean
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Authors: G. D. Partin
-/

/-
Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502.
Adapted from gpartin/LeanDiracDerivation at commit 7b2a51cf933798eeb931731609fda0ffa81123fe.
Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT.
-/

Expand All @@ -24,23 +24,21 @@ 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. -/
/-- The signed spectral projector built from the continuum Hamiltonian and on-shell energy. -/
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. -/
/-- The positive-energy spectral projector. -/
def v32PositiveProjector := v32SpectralProjector 1
/-- The V3.2 N eg at iv eP ro je ct or definition used by this stage. -/
/-- The negative-energy spectral projector. -/
def v32NegativeProjector := v32SpectralProjector (-1)

theorem v32_projectors_complete
Expand All @@ -52,6 +50,23 @@ theorem v32_projectors_complete
simp [v32PositiveProjector, v32NegativeProjector, v32SpectralProjector]
ring

private theorem v32_hamiltonian_of_spectral_projector
(sign mass px py pz energy : ℝ) (z : CubicalCell4) :
v32ContinuumHamiltonian mass px py pz
(v32SpectralProjector sign mass px py pz energy z) =
fun 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
funext component
fin_cases component <;>
simp [v32SpectralProjector, v32ContinuumHamiltonian,
cubicalStandardHamiltonian, cubicalStandardSpatial,
cubicalStandardBeta, cubicalStandardAlphaX,
cubicalStandardAlphaY, cubicalStandardAlphaZ] <;> ring

theorem v32_spectral_projector_idempotent
(sign mass px py pz energy : ℝ)
(hsign : sign ^ 2 = 1)
Expand All @@ -63,19 +78,9 @@ theorem v32_spectral_projector_idempotent
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
have hlinear := congrFun
(v32_hamiltonian_of_spectral_projector
sign mass px py pz energy z) component
simp only [v32SpectralProjector]
rw [hlinear, hsqc]
have hsignC : (sign : ℂ) ^ 2 = 1 := by exact_mod_cast hsign
Expand Down Expand Up @@ -127,12 +132,12 @@ theorem v32_projectors_orthogonal
(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
change v32ContinuumHamiltonian mass px py pz
(v32SpectralProjector (-1) mass px py pz energy z) component = _
rw [congrFun (v32_hamiltonian_of_spectral_projector
(-1) mass px py pz energy z) component]
push_cast
ring
simp only [v32PositiveProjector, v32NegativeProjector,
v32SpectralProjector]
have hlinear' := hlinear
Expand Down Expand Up @@ -165,23 +170,13 @@ theorem v32_spectral_projector_is_eigenbranch
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
have hlinear := congrFun
(v32_hamiltonian_of_spectral_projector
sign mass px py pz energy z) component
rw [hlinear, hsqc]
simp only [v32SpectralProjector]
have hsignC : (sign : ℂ) ^ 2 = 1 := by exact_mod_cast hsign
have henergyC : (energy : ℂ) ^ 2 =
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
Expand Down Expand Up @@ -226,7 +221,7 @@ theorem v32_negative_projector_is_negative_branch
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. -/
/-- The unit complex phase associated with a real angle. -/
def v32UnitPhase (angle : ℝ) : ℂ :=
(Real.cos angle : ℂ) - Complex.I * (Real.sin angle : ℂ)

Expand All @@ -236,7 +231,7 @@ theorem v32_unit_phase_norm_sq (angle : ℝ) :
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. -/
/-- Time evolution restricted to a chosen signed energy branch. -/
def v32BranchEvolution
(sign mass px py pz energy time : ℝ) (z : CubicalCell4) : CubicalCell4 :=
fun component =>
Expand All @@ -259,34 +254,34 @@ theorem v32_projected_density_nonnegative
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. -/
/-- Certificate collecting the spectral-projector and branch-evolution laws. -/
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,
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,
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,
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,
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,
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 : ℂ) *
Expand All @@ -311,7 +306,6 @@ theorem v32_spectral_projectors : V32SpectralProjectorCertificate where
branchEvolutionPreservesDensity :=
v32_branch_evolution_preserves_projected_density


end

end LeanDirac.V2
112 changes: 112 additions & 0 deletions LeanPool/LatticeDiracDerivation/V33BilinearObservables.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
/-
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 7b2a51cf933798eeb931731609fda0ffa81123fe.
Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT.
-/

module

public import LeanPool.LatticeDiracDerivation.V33SpinSums
public import LeanPool.LatticeDiracDerivation.V2.PositiveFrequencyCurrentBridge

/-!
# V3.3 Stage 5: normalized free-spinor observables
-/

@[expose] public section

namespace LeanDirac.V2

noncomputable section

/-- The real scalar Dirac bilinear of a four-component cubical spinor. -/
def v33ScalarBilinear (z : CubicalCell4) : ℝ :=
Complex.normSq (z 0) + Complex.normSq (z 1) -
Complex.normSq (z 2) - Complex.normSq (z 3)

theorem v33_normalized_scalar_bilinear_formula
(mass energy px py pz : ℝ) (q : UniformCell2) :
v33ScalarBilinear
(normalizedPositiveFrequencyEmbedding mass energy px py pz q) =
positiveFrequencyScale mass energy ^ 2 * uniformCell2Density q -
positiveFrequencyRatio mass energy ^ 2 *
uniformCell2Density (positivePauliSpatial px py pz q) := by
simp [v33ScalarBilinear, normalized_positive_frequency_embedding_apply,
uniformCell2Density, Complex.normSq, Fin.sum_univ_succ]
ring

theorem v33_normalized_scalar_bilinear
(mass energy px py pz : ℝ)
(hpositive : 0 < energy + mass)
(hshell : energy ^ 2 = mass ^ 2 + px ^ 2 + py ^ 2 + pz ^ 2)
(q : UniformCell2) :
v33ScalarBilinear
(normalizedPositiveFrequencyEmbedding mass energy px py pz q) =
mass * uniformCell2Density q := by
have hdenom : energy + mass ≠ 0 := ne_of_gt hpositive
have hscale := positive_frequency_scale_square mass energy (le_of_lt hpositive)
rw [v33_normalized_scalar_bilinear_formula]
rw [positive_pauli_spatial_density, positiveFrequencyRatio]
have hcoefficient :
positiveFrequencyScale mass energy ^ 2 -
(positiveFrequencyScale mass energy / (energy + mass)) ^ 2 *
(px ^ 2 + py ^ 2 + pz ^ 2) = mass := by
field_simp [hdenom]
rw [hscale]
nlinarith
calc
positiveFrequencyScale mass energy ^ 2 * uniformCell2Density q -
(positiveFrequencyScale mass energy / (energy + mass)) ^ 2 *
((px ^ 2 + py ^ 2 + pz ^ 2) * uniformCell2Density q) =
(positiveFrequencyScale mass energy ^ 2 -
(positiveFrequencyScale mass energy / (energy + mass)) ^ 2 *
(px ^ 2 + py ^ 2 + pz ^ 2)) * uniformCell2Density q := by ring
_ = mass * uniformCell2Density q := by rw [hcoefficient]

/-- Certificate for the normalized free-spinor bilinear observables. -/
structure V33BilinearObservableCertificate : Prop where
density : ∀ mass energy px py pz : ℝ,
0 < energy + mass →
energy ^ 2 = mass ^ 2 + px ^ 2 + py ^ 2 + pz ^ 2 → ∀ q : UniformCell2,
cubicalCell4Density
(normalizedPositiveFrequencyEmbedding mass energy px py pz q) =
energy * uniformCell2Density q
current : ∀ mass energy px py pz : ℝ,
0 < energy + mass →
energy ^ 2 = mass ^ 2 + px ^ 2 + py ^ 2 + pz ^ 2 →
∀ (q : UniformCell2) (axis : Fin 3),
cubicalDiracCurrent axis
(normalizedPositiveFrequencyEmbedding mass energy px py pz q) =
c19ContinuumSpeed *
(fun axis : Fin 3 =>
if axis = 0 then px else if axis = 1 then py else pz) axis *
uniformCell2Density q
scalar : ∀ mass energy px py pz : ℝ,
0 < energy + mass →
energy ^ 2 = mass ^ 2 + px ^ 2 + py ^ 2 + pz ^ 2 → ∀ q : UniformCell2,
v33ScalarBilinear
(normalizedPositiveFrequencyEmbedding mass energy px py pz q) =
mass * uniformCell2Density q
nativeOrigin : ∀ mass energy px py pz : ℝ,
mass ≠ 0 → energy + mass ≠ 0 →
energy ^ 2 = mass ^ 2 + px ^ 2 + py ^ 2 + pz ^ 2 → ∀ q : UniformCell2,
∃ phase : UniformTwoChannelPhase,
cubicalPhaseReadout (mass : ℂ) (px : ℂ) (py : ℂ) (pz : ℂ) phase =
normalizedPositiveFrequencyEmbedding mass energy px py pz q ∧
uniformTwoChannelKleinGordonVector
(mass : ℂ) (px : ℂ) (py : ℂ) (pz : ℂ) phase =
uniformTwoChannelScale (-Complex.I * (energy : ℂ)) phase

theorem v33_bilinear_observables : V33BilinearObservableCertificate where
density := normalized_positive_frequency_density
current := normalized_positive_frequency_current
scalar := v33_normalized_scalar_bilinear
nativeOrigin := normalized_embedding_has_action_positive_preimage

end
end LeanDirac.V2
Loading
Loading