Module

TableAlgebra.lean

Nyll.SchemeTheory.RingTheory.LinearAlgebra.TableAlgebra
52 declarations indexed from sourceView source ↗

Coordinate algebras of commutative multiplication tables

The carrier, ring operations, scalar action and coordinate basis share one implementation. Coordinate composition permits distinct inner and outer multiplication tables.

Imports9
  • Mathlib.Algebra.Algebra.Defs
  • Mathlib.Algebra.Group.Pi.Basic
  • Mathlib.Algebra.Group.TransferInstance
  • Mathlib.Algebra.Module.Pi
  • Mathlib.Algebra.Module.TransferInstance
  • Mathlib.Algebra.BigOperators.Ring.Finset
  • Mathlib.LinearAlgebra.Basis.Defs
  • Mathlib.Tactic.Ext
  • Mathlib.Tactic.Ring.RingNF
Imported by5

Declarations

structure

Table

L42 ↗
TableAlgebra.Table

Structure constants of a commutative unital multiplication table.

Source context 3 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
structure Table (R : Type*) [CommRing R] (N : ℕ) where
  /-- The structure constants of multiplication. -/
  γ : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R
  /-- The first basis vector acts as the multiplicative unit. -/
  unit : ∀ j k, γ 0 j k = if j = k then 1 else 0
  /-- The structure constants are symmetric in the two factors. -/
  comm : ∀ i j k, γ i j k = γ j i k
  /-- The structure constants satisfy associativity. -/
  assoc : ∀ i j l m, ∑ k, γ i j k * γ k l m = ∑ k, γ j l k * γ i k m
TableAlgebra.cst

The product of coordinate vectors determined by structure constants.

Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
def cst (γ : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R) (x y : Fin (N + 1) → R) :
    Fin (N + 1) → R
TableAlgebra.cst_apply
Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
theorem cst_apply (γ : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R) (x y : Fin (N + 1) → R)
    (m : Fin (N + 1)) : cst γ x y m = ∑ i, ∑ j, x i * y j * γ i j m
TableAlgebra.sum3_rot
Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
theorem sum3_rot (f : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R) :
    ∑ q, ∑ l, ∑ t, f q l t = ∑ l, ∑ t, ∑ q, f q l t
TableAlgebra.sum4_rot
Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
theorem sum4_rot (f : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R) :
    ∑ q, ∑ t, ∑ k, ∑ l, f q t k l = ∑ k, ∑ l, ∑ t, ∑ q, f q t k l
TableAlgebra.cst_cst_left
Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
theorem cst_cst_left (γo γi : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R)
    (a b c : Fin (N + 1) → R) (s : Fin (N + 1)) :
    cst γo (cst γi a b) c s = ∑ k, ∑ l, ∑ t, a k * b l * c t * ∑ q, γi k l q * γo q t s
TableAlgebra.cst_cst_right
Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
theorem cst_cst_right (γo γi : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R)
    (a b c : Fin (N + 1) → R) (s : Fin (N + 1)) :
    cst γo a (cst γi b c) s = ∑ k, ∑ l, ∑ t, a k * b l * c t * ∑ q, γi l t q * γo k q s
TableAlgebra.cst_comm_of
Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
theorem cst_comm_of (γ : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R)
    (hc : ∀ i j k, γ i j k = γ j i k) (a b : Fin (N + 1) → R) : cst γ a b = cst γ b a
TableAlgebra.cst_add_left
Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
theorem cst_add_left (γ : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R) (a a' b : Fin (N + 1) → R) :
    cst γ (a + a') b = cst γ a b + cst γ a' b
TableAlgebra.cst_add_right
Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
theorem cst_add_right (γ : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R) (a b b' : Fin (N + 1) → R) :
    cst γ a (b + b') = cst γ a b + cst γ a b'
TableAlgebra.cst_smul_left
Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
theorem cst_smul_left (γ : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R) (z : R)
    (a b : Fin (N + 1) → R) : cst γ (z • a) b = z • cst γ a b
TableAlgebra.cst_zero_left
Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
theorem cst_zero_left (γ : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R) (b : Fin (N + 1) → R) :
    cst γ 0 b = 0
TableAlgebra.cst_single_left
Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
theorem cst_single_left (γ : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R) (i : Fin (N + 1))
    (y : Fin (N + 1) → R) (m : Fin (N + 1)) :
    cst γ (Pi.single i 1) y m = ∑ q, y q * γ i q m
TableAlgebra.cst_single_single
Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
theorem cst_single_single (γ : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R) (i j : Fin (N + 1)) :
    cst γ (Pi.single i 1) (Pi.single j 1) = fun m => γ i j m := by
  funext m
  rw [cst_apply, Finset.sum_eq_single i, Finset.sum_eq_single j]
  · simp only [Pi.single_eq_same, one_mul]
  · intro b _ hb; rw [Pi.single_eq_of_ne hb, mul_zero, zero_mul]
  · intro h; exact absurd (Finset.mem_univ j) h
  · intro b _ hb; simp only [Pi.single_eq_of_ne hb, zero_mul, Finset.sum_const_zero]
  · intro h; exact absurd (Finset.mem_univ i) h
TableAlgebra.cst_unit_left
Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
theorem cst_unit_left (γ : Fin (N + 1) → Fin (N + 1) → Fin (N + 1) → R)
    (h1 : ∀ j k, γ 0 j k = if j = k then 1 else 0) (b : Fin (N + 1) → R) :
    cst γ (Pi.single 0 1) b = b := by
  funext m
  rw [cst_apply, Finset.sum_eq_single 0]
  · simp only [Pi.single_eq_same, one_mul, h1]
    rw [Finset.sum_eq_single m]
    · simp only [ite_true, mul_one]
    · intro j _ hj; rw [ite_eq_right hj, mul_zero]
    · intro h; exact absurd (Finset.mem_univ m) h
  · intro i _ hi; simp only [Pi.single_eq_of_ne hi, zero_mul, Finset.sum_const_zero]
  · intro h; exact absurd (Finset.mem_univ (0 : Fin (N + 1))) h
structure

TAlg

L156 ↗
TableAlgebra.TAlg

The algebra with the given multiplication table.

Source context 4 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
structure TAlg (T : Table R N) where
  /-- The coordinate vector of an element. -/
  coord : Fin (N + 1) → R
TableAlgebra.TAlg.ext
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem ext {x y : TAlg T} (h : x.coord = y.coord) : x = y
TableAlgebra.TAlg.equiv

The coordinate equivalence of the table algebra.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
def equiv : TAlg T ≃ (Fin (N + 1) → R) where
  toFun := coord
  invFun := TAlg.mk
  left_inv _ := rfl
  right_inv _ := rfl
TableAlgebra.TAlg.instAddCommGroup
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
instance instAddCommGroup : AddCommGroup (TAlg T)
TableAlgebra.TAlg.addEquiv

The additive coordinate equivalence of the table algebra.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
def addEquiv : TAlg T ≃+ (Fin (N + 1) → R) where
  toEquiv := equiv T
  map_add' _ _ := rfl
TableAlgebra.TAlg.instModule
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
instance instModule : Module R (TAlg T)
TableAlgebra.TAlg.coord_add
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem coord_add (x y : TAlg T) : (x + y).coord = x.coord + y.coord
TableAlgebra.TAlg.coord_zero
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem coord_zero : (0 : TAlg T).coord = 0
TableAlgebra.TAlg.coord_neg
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem coord_neg (x : TAlg T) : (-x).coord = -x.coord
TableAlgebra.TAlg.coord_sub
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem coord_sub (x y : TAlg T) : (x - y).coord = x.coord - y.coord
TableAlgebra.TAlg.coord_smul
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem coord_smul (z : R) (x : TAlg T) : (z • x).coord = z • x.coord
TableAlgebra.TAlg.coord_mk
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem coord_mk (v : Fin (N + 1) → R) : (TAlg.mk v : TAlg T).coord = v
TableAlgebra.TAlg.linearEquiv

The linear coordinate equivalence of the table algebra.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
def linearEquiv : TAlg T ≃ₗ[R] (Fin (N + 1) → R)
TableAlgebra.TAlg.linearEquiv_apply
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem linearEquiv_apply (x : TAlg T) : linearEquiv T x = x.coord
TableAlgebra.TAlg.linearEquiv_symm_apply
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem linearEquiv_symm_apply (v : Fin (N + 1) → R) : (linearEquiv T).symm v =
  TAlg.mk v
TableAlgebra.TAlg.coord_sum
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem coord_sum {ι : Type*} (s : Finset ι) (f : ι → TAlg T) :
    (∑ i ∈ s, f i).coord = ∑ i ∈ s, (f i).coord
TableAlgebra.TAlg.instMul
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
instance instMul : Mul (TAlg T)
TableAlgebra.TAlg.instOne
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
instance instOne : One (TAlg T)
TableAlgebra.TAlg.coord_mul
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem coord_mul (x y : TAlg T) : (x * y).coord = cst T.γ x.coord y.coord
TableAlgebra.TAlg.coord_one
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem coord_one : (1 : TAlg T).coord = Pi.single 0 1
TableAlgebra.TAlg.mul_comm'
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem mul_comm' (x y : TAlg T) : x * y = y * x
TableAlgebra.TAlg.mul_assoc'
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem mul_assoc' (x y z : TAlg T) : x * y * z = x * (y * z)
TableAlgebra.TAlg.one_mul'
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem one_mul' (x : TAlg T) : 1 * x = x
TableAlgebra.TAlg.instCommRing
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
instance instCommRing : CommRing (TAlg T) where
  __ := (inferInstance : AddCommGroup (TAlg T))
  mul := (· * ·)
  one := 1
  mul_assoc := mul_assoc' T
  one_mul := one_mul' T
  mul_one x := by rw [mul_comm']; exact one_mul' T x
  zero_mul x := by ext1; simp only [coord_mul, coord_zero]; exact cst_zero_left _ _
  mul_zero x := by rw [mul_comm']; ext1; simp only [coord_mul, coord_zero]; exact cst_zero_left _ _
  left_distrib x y z := by ext1; simp only [coord_mul, coord_add]; exact cst_add_right _ _ _ _
  right_distrib x y z := by ext1; simp only [coord_mul, coord_add]; exact cst_add_left _ _ _ _
  mul_comm := mul_comm' T
TableAlgebra.TAlg.smul_mul_assoc'
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem smul_mul_assoc' (z : R) (x y : TAlg T) : (z • x) * y = z • (x * y)
TableAlgebra.TAlg.instAlgebra
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
instance instAlgebra : Algebra R (TAlg T)
TableAlgebra.TAlg.basis

The coordinate basis of the table algebra.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
def basis : Module.Basis (Fin (N + 1)) R (TAlg T)
TableAlgebra.TAlg.basis_apply
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem basis_apply (i : Fin (N + 1)) : basis T i = TAlg.mk (Pi.single i 1)
TableAlgebra.TAlg.coord_basis
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem coord_basis (i : Fin (N + 1)) : (basis T i).coord = Pi.single i 1
TableAlgebra.TAlg.basis_repr_apply
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem basis_repr_apply (x : TAlg T) (k : Fin (N + 1)) : (basis T).repr x k = x.coord k
TableAlgebra.TAlg.basis_zero
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem basis_zero : basis T 0 = 1
TableAlgebra.TAlg.basis_mul_basis_coord
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem basis_mul_basis_coord (i j : Fin (N + 1)) :
    (basis T i * basis T j).coord = fun m => T.γ i j m := by
  rw [coord_mul, coord_basis, coord_basis, cst_single_single]
TableAlgebra.TAlg.repr_basis_mul_basis
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem repr_basis_mul_basis (i j k : Fin (N + 1)) :
    (basis T).repr (basis T i * basis T j) k = T.γ i j k
TableAlgebra.TAlg.algebraMap_coord
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem algebraMap_coord (f : R) : (algebraMap R (TAlg T) f).coord = Pi.single 0 f
TableAlgebra.TAlg.eq_sum_coord_smul_basis
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem eq_sum_coord_smul_basis (x : TAlg T) : x = ∑ i, x.coord i • basis T i
TableAlgebra.TAlg.e

The coordinate basis vector with the specified index.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
def e (i : Fin (N + 1)) : TAlg T
TableAlgebra.TAlg.coord_e
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
namespace TableAlgebra
noncomputable section
variable {R : Type*} [CommRing R] {N : ℕ}
namespace TAlg
variable (T : Table R N)
theorem coord_e (i : Fin (N + 1)) : (e T i).coord = Pi.single i 1