AFTD Auto-Formalizing Theoretical Domains

Basis.conj

defimported Lean

A basis of M transported to a basis of ConjModule M: the same basis vectors, with coordinates conjugated ((Basis.conj b).repr v = star ∘ b.repr v).

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open ConjModule in
open Module in
variable {k : Type*} [CommRing k] [StarRing k] in
variable {M : Type*} [AddCommGroup M] [Module k M] in
variable {ι : Type*} in
noncomputable def Basis.conj (b : Basis ι k M) : Basis ι k (ConjModule M)
Defined in
Physlib, `Basis.conj`
Lean proof
By Andrea Pari, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Andrea Pari. 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.
Verified
09 Oct 2026
Axioms
none listed
Built on 6
  • ConjModule.starFinsuppCoordinate-wise conjugation on ι →₀ k, a conjugate-linear self-equivalence.
  • ConjModule.instModuleThe twisted action r • v = star r • v, obtained by restricting scalars along the conjugation ring endomorphism starRingEnd k.
  • conjEquivThe canonical conjugate-linear equivalence M ≃ₛₗ[starRingEnd k] ConjModule M, the identity on the underlying additive group.
  • ConjModule.involutionConjugating twice returns the original module: the k-linear isomorphism ConjModule (ConjModule M) ≃ₗ[k] M. It is k-linear, not…
  • ConjModuleThe conjugate module of M: the same additive group with the scalar action twisted by conjugation, r • v = star r • v. A type synonym…
  • ConjModule.instAddCommGroupConjModule.instAddCommGroup
Used by 3
  • SUSY.N1.chiralBasisThe basis of each colour's carrier, all indexed by ι: piBasis on the holomorphic vectors, its dual piBasis.dualBasis on the…
  • Basis.conj_applyThe basis vectors of Basis.conj b are those of b, viewed through conjEquiv.
  • Basis.conj_repr_applyCoordinates in Basis.conj b are the star of the coordinates in b.

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open ConjModule in
open Module in
variable {k : Type*} [CommRing k] [StarRing k] in
variable {M : Type*} [AddCommGroup M] [Module k M] in
variable {ι : Type*} in
/-- A basis of `M` transported to a basis of `ConjModule M`: the same basis vectors, with coordinates conjugated (`(Basis.conj b).repr v = star ∘ b.repr v`). -/
noncomputable def Basis.conj (b : Basis ι k M) : Basis ι k (ConjModule M) :=
  Basis.ofRepr
    (((conjEquiv (k := k) (M := M)).symm.trans b.repr).trans starFinsupp)
See it in the graphDiscuss this resultChallenge it