AFTD Auto-Formalizing Theoretical Domains

ConjModule.starFinsupp

defimported Lean

Coordinate-wise conjugation on ι →₀ k, a conjugate-linear self-equivalence.

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 ConjModule.starFinsupp : (ι →₀ k) ≃ₛₗ[starRingEnd k] (ι →₀ k)
Defined in
Physlib, `ConjModule.starFinsupp`
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 4
  • 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.
  • 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 1
  • Basis.conjA basis of M transported to a basis of ConjModule M: the same basis vectors, with coordinates conjugated (…

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
/-- Coordinate-wise conjugation on `ι →₀ k`, a conjugate-linear self-equivalence. -/
noncomputable def ConjModule.starFinsupp : (ι →₀ k) ≃ₛₗ[starRingEnd k] (ι →₀ k) where
  toFun f := f.mapRange star (star_zero k)
  invFun f := f.mapRange star (star_zero k)
  map_add' f g := by ext i; simp [Finsupp.mapRange_apply, star_add]
  map_smul' r f := by
    ext i
    simp only [Finsupp.mapRange_apply, Finsupp.coe_smul, Pi.smul_apply, smul_eq_mul,
      starRingEnd_apply, star_mul']
  left_inv f := by ext i; simp [Finsupp.mapRange_apply]
  right_inv f := by ext i; simp [Finsupp.mapRange_apply]
See it in the graphDiscuss this resultChallenge it