FieldStatistic.exchangeSign
defimported Lean
The exchange sign, exchangeSign, is defined as the group homomorphism FieldStatistic →* FieldStatistic →* ℂ, for which exchangeSign a b is -1 if both a and b are fermionic and 1 otherwise. The exchange sign is the sign one picks up on exchanging an operator or field φ₁ of statistic a with an operator or field φ₂ of statistic b, i.e. φ₁φ₂ → φ₂φ₁. The notation 𝓢(a, b) is used for the exchange sign of a and b.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open FieldStatistic in variable {𝓕 : Type} in def FieldStatistic.exchangeSign : FieldStatistic →* FieldStatistic →* ℂ
- Defined in
- Physlib, `FieldStatistic.exchangeSign`
- 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.FieldStatistic.exchangeSign← FieldStatistic.exchangeSign (Physlib/QFT/PerturbationTheory/FieldStatistics/ExchangeSign.lean:41): verbatim
- Verified
- 10 Oct 2026
- Axioms
- none listed
- Built on 21
- FieldStatistic.fermionic_not_eq_bonsicFieldStatistic.fermionic_not_eq_bonsic
- FieldStatistic.ofList_emptyFieldStatistic.ofList_empty
- FieldStatistic.neq_fermionic_iff_eq_bosonicFieldStatistic.neq_fermionic_iff_eq_bosonic
- FieldStatistic.instCommGroupThe type
FieldStatisticcarries an instance of a commutative group in which -bosonic * bosonic = bosonic-… - FieldStatistic.ofList_freeMonoidFieldStatistic.ofList_freeMonoid
- FieldStatistic.instFintypeField statics form a finite type.
- FieldStatistic.fermionic_ne_iff_bosonic_eqFieldStatistic.fermionic_ne_iff_bosonic_eq
- FieldStatistic.ofList_appendFieldStatistic.ofList_append
- FieldStatistic.fermionic_mul_bosonicFieldStatistic.fermionic_mul_bosonic
- FieldStatisticThe type
FieldStatisticis the type containing two elementsbosonicandfermionic. This type is used to specify if a field or… - FieldStatistic.mul_bosonicFieldStatistic.mul_bosonic
- FieldStatistic.bosonic_ne_iff_fermionic_eqFieldStatistic.bosonic_ne_iff_fermionic_eq
- FieldStatistic.neq_bosonic_iff_eq_fermionicFieldStatistic.neq_bosonic_iff_eq_fermionic
- FieldStatistic.fermionic_mul_fermionicFieldStatistic.fermionic_mul_fermionic
- FieldStatistic.mul_selfFieldStatistic.mul_self
- FieldStatistic.instAddMonoidThe instance of an additive monoid on
FieldStatistic. - FieldStatistic.ofList_singletonFieldStatistic.ofList_singleton
- FieldStatistic.ofList_insertionSortFieldStatistic.ofList_insertionSort
- FieldStatistic.add_eq_mulFieldStatistic.add_eq_mul
- FieldStatistic.bosonic_mul_bosonicFieldStatistic.bosonic_mul_bosonic
- FieldStatistic.bosonic_mul_fermionicFieldStatistic.bosonic_mul_fermionic
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open FieldStatistic in variable {𝓕 : Type} in /-- The exchange sign, `exchangeSign`, is defined as the group homomorphism `FieldStatistic →* FieldStatistic →* ℂ`, for which `exchangeSign a b` is `-1` if both `a` and `b` are `fermionic` and `1` otherwise. The exchange sign is the sign one picks up on exchanging an operator or field `φ₁` of statistic `a` with an operator or field `φ₂` of statistic `b`, i.e. `φ₁φ₂ → φ₂φ₁`. The notation `𝓢(a, b)` is used for the exchange sign of `a` and `b`. -/ def FieldStatistic.exchangeSign : FieldStatistic →* FieldStatistic →* ℂ where toFun a := { toFun := fun b => match a, b with | bosonic, _ => 1 | _, bosonic => 1 | fermionic, fermionic => -1 map_one' := by fin_cases a <;> simp map_mul' := fun c b => by fin_cases a <;> fin_cases b <;> fin_cases c <;> simp } map_one' := by ext b fin_cases b <;> simp map_mul' c b := by ext a fin_cases a <;> fin_cases b <;> fin_cases c <;> simp