All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

To Complex contr P basis Vector

realLorentzTensor.toComplex_contrP_basisVector

Plain-language statement

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

Exact Lean statement

lemma toComplex_contrP_basisVector {n : ℕ} {c : Fin (n + 1 + 1) → realLorentzTensor.Color}
    {i j : Fin (n + 1 + 1)} (h : i ≠ j ∧ (realLorentzTensor).τ (c i) = c j)
    (b : ComponentIdx (S := realLorentzTensor) c) :
    toComplex (c := c ∘ Fin.succSuccAbove i j)
      (Pure.contrP (S := realLorentzTensor) i j h (Pure.basisVector c b))
      =
    Pure.contrP (S := complexLorentzTensor) i j
      (by
        simpa [Function.comp_apply] using And.intro h.1
          (by simpa [tau_colorToComplex] using congrArg colorToComplex h.2))
      (Pure.basisVector (colorToComplex ∘ c) (ComponentIdx.complexify b))

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma toComplex_contrP_basisVector {n : } {c : Fin (n + 1 + 1)  realLorentzTensor.Color}    {i j : Fin (n + 1 + 1)} (h : i  j  (realLorentzTensor).τ (c i) = c j)    (b : ComponentIdx (S := realLorentzTensor) c) :    toComplex (c := c ∘ Fin.succSuccAbove i j)      (Pure.contrP (S := realLorentzTensor) i j h (Pure.basisVector c b))      =    Pure.contrP (S := complexLorentzTensor) i j      (by        simpa [Function.comp_apply] using And.intro h.1          (by simpa [tau_colorToComplex] using congrArg colorToComplex h.2))      (Pure.basisVector (colorToComplex ∘ c) (ComponentIdx.complexify b)) := by  let c' := c ∘ Fin.succSuccAbove i j  simp only [Pure.contrP]  rw [toComplex_map_smul c' (Pure.contrPCoeff i j h (Pure.basisVector c b))    ((Pure.dropPair i j h.1 (Pure.basisVector c b)).toTensor),    Pure.dropPair_basisVector (c := c),     Tensor.basis_apply (S := realLorentzTensor) c' (fun k => b (Fin.succSuccAbove i j k)),    toComplex_basis (c := c') (i := fun k => b (Fin.succSuccAbove i j k))]  congr 1  · -- contrPCoeff: real and complex both equal 0 or 1 with same condition    rw [contrPCoeff_basis, complexLorentzTensor.contrPCoeff_basis]    simp only [Function.comp_apply, ComponentIdx.complexify_apply, Nat.reduceAdd, Fin.cast_cast,      Fin.cast_inj, EmbeddingLike.apply_eq_iff_eq]    split <;> simp_all  · -- complexify(fun k => b (succSuccAbove k)) = (complexify b) ∘ succSuccAbove    rw [Pure.dropPair_basisVector,  Tensor.basis_apply]    exact congr_arg _ (funext fun m => ComponentIdx.complexify_comp_succSuccAbove b m)
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Relativity/Tensors/RealTensor/ToComplex.lean:606-632

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