Lorentz.contrCoContrBi
defimported Lean
The bi-linear map corresponding to contraction of a contravariant Lorentz vector with a covariant Lorentz vector.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Module Matrix in open MatrixGroups in open Complex in open TensorProduct in open CategoryTheory.MonoidalCategory in noncomputable def Lorentz.contrCoContrBi : ContrℂModule →ₗ[ℂ] CoℂModule →ₗ[ℂ] ℂ
- Defined in
- Physlib, `Lorentz.contrCoContrBi`
- Lean proof
- By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.Lorentz.contrCoContrBi← Lorentz.contrCoContrBi (Physlib/Relativity/Tensors/ComplexTensor/Vector/Pre/Contraction.lean:29): verbatim
- Verified
- 10 Oct 2026
- Axioms
- none listed
- Built on 15
- Lorentz.CoℂModule.instAddCommMonoidThe instance of
AddCommMonoidonCoℂModuledefined via its equivalence withFin 1 ⊕ Fin 3 → ℂ. - Lorentz.ContrℂModule.instModuleComplexThe instance of
ModuleonContrℂModuledefined via its equivalence withFin 1 ⊕ Fin 3 → ℂ. - Lorentz.CoℂModule.val_addLorentz.CoℂModule.val_add
- Lorentz.ContrℂModule.val_smulLorentz.ContrℂModule.val_smul
- Lorentz.CoℂModule.toFin13ℂEquivThe linear equivalence between
CoℂModuleand(Fin 1 ⊕ Fin 3 → ℂ). - Lorentz.CoℂModuleThe module for covariant (up-index) complex Lorentz vectors.
- Lorentz.CoℂModule.toFin13ℂThe underlying element of
Fin 1 ⊕ Fin 3 → ℂof a element inCoℂModuledefined through the linear equivalencetoFin13ℂEquiv. - Lorentz.ContrℂModule.toFin13ℂEquivThe linear equivalence between
ContrℂModuleand(Fin 1 ⊕ Fin 3 → ℂ). - SUSY.N1.instModuleChiralModuleSUSY.N1.instModuleChiralModule
- Lorentz.CoℂModule.instModuleComplexThe instance of
ModuleonCoℂModuledefined via its equivalence withFin 1 ⊕ Fin 3 → ℂ. - Lorentz.CoℂModule.val_smulLorentz.CoℂModule.val_smul
- Lorentz.ContrℂModule.val_addLorentz.ContrℂModule.val_add
- Lorentz.ContrℂModule.instAddCommMonoidThe instance of
AddCommMonoidonContrℂModuledefined via its equivalence withFin 1 ⊕ Fin 3 → ℂ. - Lorentz.ContrℂModuleThe module for contravariant (up-index) complex Lorentz vectors.
- Lorentz.ContrℂModule.toFin13ℂThe underlying element of
Fin 1 ⊕ Fin 3 → ℂof a element inContrℂModuledefined through the linear equivalencetoFin13ℂEquiv.
- Lorentz.CoℂModule.instAddCommMonoidThe instance of
- Used by 1
- Lorentz.contrContrCoBiThe bi-linear map corresponding to contraction of a covariant Lorentz vector with a contravariant Lorentz vector.
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Module Matrix in open MatrixGroups in open Complex in open TensorProduct in open CategoryTheory.MonoidalCategory in /-- The bi-linear map corresponding to contraction of a contravariant Lorentz vector with a covariant Lorentz vector. -/ noncomputable def Lorentz.contrCoContrBi : ContrℂModule →ₗ[ℂ] CoℂModule →ₗ[ℂ] ℂ where toFun ψ := { toFun := fun φ => ψ.toFin13ℂ ⬝ᵥ φ.toFin13ℂ, map_add' := by intro φ φ' simp only [map_add] rw [dotProduct_add] map_smul' := by intro r φ simp only [LinearEquiv.map_smul] rw [dotProduct_smul] rfl} map_add' ψ ψ':= by refine LinearMap.ext (fun φ => ?_) simp only [map_add, LinearMap.coe_mk, AddHom.coe_mk, LinearMap.add_apply] rw [add_dotProduct] map_smul' r ψ := by refine LinearMap.ext (fun φ => ?_) simp only [LinearEquiv.map_smul, LinearMap.coe_mk, AddHom.coe_mk] rw [smul_dotProduct] rfl