All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

To Complex eval P basis Vector

realLorentzTensor.toComplex_evalP_basisVector

Plain-language statement

For a real basis vector, toComplex(evalP(basisVector c b)) equals evalP(basisVector (colorToComplex ∘ c) (complexify b)) (complex species).

Exact Lean statement

lemma toComplex_evalP_basisVector {n : ℕ} {c : Fin (n + 1) → realLorentzTensor.Color}
    (i : Fin (n + 1)) (b : Fin 1 ⊕ Fin 3)
    (b' : ComponentIdx (S := realLorentzTensor) c) :
    toComplex (c := c ∘ i.succAbove)
      (Pure.evalP (S := realLorentzTensor) i b (Pure.basisVector c b'))
      =
    permT (S := complexLorentzTensor) (σ := (id : Fin n → Fin n))
      (by simp [Function.comp_apply])
      (Pure.evalP (S := complexLorentzTensor) i (evalIdxToComplex (c := c) i b)
        (Pure.basisVector (colorToComplex ∘ c) (ComponentIdx.complexify b')))

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma toComplex_evalP_basisVector {n : } {c : Fin (n + 1)  realLorentzTensor.Color}    (i : Fin (n + 1)) (b : Fin 1Fin 3)    (b' : ComponentIdx (S := realLorentzTensor) c) :    toComplex (c := c ∘ i.succAbove)      (Pure.evalP (S := realLorentzTensor) i b (Pure.basisVector c b'))      =    permT (S := complexLorentzTensor) (σ := (id : Fin n  Fin n))      (by simp [Function.comp_apply])      (Pure.evalP (S := complexLorentzTensor) i (evalIdxToComplex (c := c) i b)        (Pure.basisVector (colorToComplex ∘ c) (ComponentIdx.complexify b'))) := by  simp only [Pure.evalP]  have hdrop : (Pure.basisVector c b').drop i =    Pure.basisVector (c ∘ i.succAbove) (fun k => b' (i.succAbove k)) := by    ext j; simp only [Pure.drop, Pure.basisVector, Function.comp_apply]  rw [hdrop, toComplex_map_smul (c ∘ i.succAbove) (Pure.evalPCoeff i b (Pure.basisVector c b'))    ((Pure.basisVector (c ∘ i.succAbove)) (fun k => b' (i.succAbove k)) |>.toTensor)]  · -- evalPCoeff: real and complex match; then tensor equality    simp only [Pure.evalPCoeff, Pure.basisVector, Basis.repr_self, Finsupp.single_apply,      ComponentIdx.complexify_apply, evalIdxToComplex]    · by_cases h : b' i = b      · simp [h]        have hdrop' : (Pure.basisVector (colorToComplex ∘ c) (ComponentIdx.complexify b')).drop i =          Pure.basisVector (colorToComplex ∘ (c ∘ i.succAbove))            (ComponentIdx.complexify (c := c ∘ i.succAbove) (fun k => b' (i.succAbove k))) := by          ext j; simp only [Pure.drop, Pure.basisVector, ComponentIdx.complexify_apply,            Function.comp_apply]        rw [hdrop']        exact (permT_id_self _).symm      · simp [h]
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Relativity/Tensors/RealTensor/ToComplex.lean:696-724

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.32.0

Adiabatic relation log

adiabatic_relation_log

Plain-language statement

Adiabatic relation in logarithmic form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then c * log (Ua/Ub) + log (Va/Vb) = 0.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Adiabatic relation Ua Ub Va Vb

adiabatic_relation_UaUbVaVb

Plain-language statement

Adiabatic relation in product form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then (Ua/Ub)^c * (Va/Vb) = 1.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record