Module

FinitePiCoefficients.lean

Nyll.SchemeTheory.RingTheory.AdicCompletion.FinitePiCoefficients
6 declarations indexed from sourceView source ↗

Finite coefficient vectors in completed free modules

An infinite direct sum commutes with a finite product before completion, and completion commutes with the finite product. The resulting concrete equivalence identifies a matrix acting on completed free modules with the same finite matrix acting on their coordinates.

These computation rules keep the coefficients of a finite relation unchanged when its direct sum is completed.

Imports2
  • Mathlib.LinearAlgebra.Finsupp.Pi
  • Mathlib.RingTheory.AdicCompletion.Functoriality
Imported by2

Declarations

AdicCompletion.finsuppPiCoefficients

Transposition of a finite coefficient vector and a finitely supported index.

Source context 5 commands

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

@[expose] public section
noncomputable section
universe u a b c
namespace AdicCompletion
variable (R : Type u) [CommRing R] (α : Type a) (ι : Type b) [Fintype ι]
def finsuppPiCoefficients : (α →₀ (ι → R)) ≃ₗ[R] (ι → α →₀ R)
AdicCompletion.finsuppPiCoefficients_apply

Transposition evaluates the original coefficient function.

Source context 5 commands

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

@[expose] public section
noncomputable section
universe u a b c
namespace AdicCompletion
variable (R : Type u) [CommRing R] (α : Type a) (ι : Type b) [Fintype ι]
theorem finsuppPiCoefficients_apply (x : α →₀ (ι → R)) (i : ι) (a : α) :
    finsuppPiCoefficients R α ι x i a = x a i
AdicCompletion.finsuppPiCompletion

The actual finite coefficient equivalence after adic completion.

Source context 6 commands

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

@[expose] public section
noncomputable section
universe u a b c
namespace AdicCompletion
variable (R : Type u) [CommRing R] (α : Type a) (ι : Type b) [Fintype ι]
variable {R} (I : Ideal R) [DecidableEq ι]
def finsuppPiCompletion :
    AdicCompletion I (α →₀ (ι → R)) ≃ₗ[AdicCompletion I R]
      (ι → AdicCompletion I (α →₀ R))
AdicCompletion.finsuppPiCompletion_apply

Each completed coefficient is induced by the original projection.

Source context 6 commands

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

@[expose] public section
noncomputable section
universe u a b c
namespace AdicCompletion
variable (R : Type u) [CommRing R] (α : Type a) (ι : Type b) [Fintype ι]
variable {R} (I : Ideal R) [DecidableEq ι]
theorem finsuppPiCompletion_apply (x : AdicCompletion I (α →₀ (ι → R))) (i : ι) :
    finsuppPiCompletion α ι I x i =
      map I (Finsupp.mapRange.linearMap (α := α) (LinearMap.proj i)) x
AdicCompletion.map_finsupp_functional

A finite linear functional acts on a completed free module using its original coefficients.

Source context 6 commands

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

@[expose] public section
noncomputable section
universe u a b c
namespace AdicCompletion
variable (R : Type u) [CommRing R] (α : Type a) (ι : Type b) [Fintype ι]
variable {R} (I : Ideal R) [DecidableEq ι]
theorem map_finsupp_functional (f : (ι → R) →ₗ[R] R)
    (x : AdicCompletion I (α →₀ (ι → R))) :
    map I (Finsupp.mapRange.linearMap (α := α) f) x =
      ∑ i : ι, f (fun j => if i = j then 1 else 0) •
        finsuppPiCompletion α ι I x i := by
  have hmap : Finsupp.mapRange.linearMap (α := α) f =
      ∑ i : ι, f (fun j => if i = j then 1 else 0) •
        Finsupp.mapRange.linearMap (α := α) (LinearMap.proj i) := by
    apply LinearMap.ext
    intro y
    apply Finsupp.ext
    intro a
    rw [LinearMap.sum_apply, Finsupp.finsetSum_apply]
    change f (y a) = ∑ i : ι, f (fun j => if i = j then 1 else 0) * y a i
    rw [LinearMap.pi_apply_eq_sum_univ]
    apply Finset.sum_congr rfl
    intro i _
    exact mul_comm _ _
  rw [hmap, _root_.map_sum, LinearMap.sum_apply]
  apply Finset.sum_congr rfl
  intro i _
  rw [_root_.map_smul, LinearMap.smul_apply, finsuppPiCompletion_apply]
AdicCompletion.finsuppPiCompletion_map

Matrix coefficients are preserved by the finite coefficient equivalence after completion.

Source context 6 commands

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

@[expose] public section
noncomputable section
universe u a b c
namespace AdicCompletion
variable (R : Type u) [CommRing R] (α : Type a) (ι : Type b) [Fintype ι]
variable {R} (I : Ideal R) [DecidableEq ι]
theorem finsuppPiCompletion_map (κ : Type c) [Fintype κ] [DecidableEq κ]
    (f : (ι → R) →ₗ[R] (κ → R))
    (x : AdicCompletion I (α →₀ (ι → R))) (k : κ) :
    finsuppPiCompletion α κ I
        (map I (Finsupp.mapRange.linearMap (α := α) f) x) k =
      ∑ i : ι, f (fun j => if i = j then 1 else 0) k •
        finsuppPiCompletion α ι I x i := by
  rw [finsuppPiCompletion_apply, map_comp_apply,
    ← Finsupp.mapRange.linearMap_comp]
  exact map_finsupp_functional α ι I ((LinearMap.proj k).comp f) x