Module

Coalgebras.lean

Nyll.SchemeTheory.RingTheory.Coalgebras
14 declarations indexed from sourceView source ↗

Finite-dimensional subcoalgebras detected by tensor spans

Imports5
  • Mathlib.RingTheory.Coalgebra.Basic
  • Mathlib.LinearAlgebra.Basis.VectorSpace
  • Mathlib.LinearAlgebra.FiniteDimensional.Defs
  • Mathlib.LinearAlgebra.LinearIndependent.Lemmas
  • Mathlib.Tactic.Choose
Imported by2

Declarations

AbelianVarieties.NOSProofs.Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan.S17Tb0.cR

Contraction of the right tensor factor by a linear functional.

Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Coalgebra_exists_finiteDimensional_le_comul_mem_span.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan
open scoped TensorProduct
universe u v
namespace S17Tb0
variable {k : Type u} [Field k] {C : Type v} [AddCommGroup C] [Module k C]
def cR (ψ : Module.Dual k C) : C ⊗[k] C →ₗ[k] C
AbelianVarieties.NOSProofs.Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan.S17Tb0.cR_tmul
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Coalgebra_exists_finiteDimensional_le_comul_mem_span.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan
open scoped TensorProduct
universe u v
namespace S17Tb0
variable {k : Type u} [Field k] {C : Type v} [AddCommGroup C] [Module k C]
theorem cR_tmul (ψ : Module.Dual k C) (a b : C) : cR ψ (a ⊗ₜ[k] b) = ψ b • a
AbelianVarieties.NOSProofs.Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan.S17Tb0.cL

Contraction of the left tensor factor by a linear functional.

Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Coalgebra_exists_finiteDimensional_le_comul_mem_span.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan
open scoped TensorProduct
universe u v
namespace S17Tb0
variable {k : Type u} [Field k] {C : Type v} [AddCommGroup C] [Module k C]
def cL (φ : Module.Dual k C) : C ⊗[k] C →ₗ[k] C
AbelianVarieties.NOSProofs.Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan.S17Tb0.cL_tmul
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Coalgebra_exists_finiteDimensional_le_comul_mem_span.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan
open scoped TensorProduct
universe u v
namespace S17Tb0
variable {k : Type u} [Field k] {C : Type v} [AddCommGroup C] [Module k C]
theorem cL_tmul (φ : Module.Dual k C) (a b : C) : cL φ (a ⊗ₜ[k] b) = φ a • b
AbelianVarieties.NOSProofs.Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan.S17Tb0.lTensor_cR_assoc
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Coalgebra_exists_finiteDimensional_le_comul_mem_span.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan
open scoped TensorProduct
universe u v
namespace S17Tb0
variable {k : Type u} [Field k] {C : Type v} [AddCommGroup C] [Module k C]
theorem lTensor_cR_assoc (ψ : Module.Dual k C) (z : C ⊗[k] C) (r : C) :
    LinearMap.lTensor C (cR ψ) (TensorProduct.assoc k C C C (z ⊗ₜ[k] r)) = ψ r • z
AbelianVarieties.NOSProofs.Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan.S17Tb0.rTensor_cL_assoc_symm
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Coalgebra_exists_finiteDimensional_le_comul_mem_span.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan
open scoped TensorProduct
universe u v
namespace S17Tb0
variable {k : Type u} [Field k] {C : Type v} [AddCommGroup C] [Module k C]
theorem rTensor_cL_assoc_symm (φ : Module.Dual k C) (p : C) (z : C ⊗[k] C) :
    LinearMap.rTensor C (cL φ) ((TensorProduct.assoc k C C C).symm (p ⊗ₜ[k] z)) = φ p • z
AbelianVarieties.NOSProofs.Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan.S17Tb0.exists_dual_family
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Coalgebra_exists_finiteDimensional_le_comul_mem_span.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan
open scoped TensorProduct
universe u v
namespace S17Tb0
variable {k : Type u} [Field k] {C : Type v} [AddCommGroup C] [Module k C]
theorem exists_dual_family {ι : Type*} [DecidableEq ι]
    (e : ι → C) (he : LinearIndependent k e) :
    ∃ ψ : ι → Module.Dual k C, ∀ i j, ψ i (e j) = if i = j then 1 else 0 := by
  classical
  let b := Module.Basis.span he
  have hb : ∀ j, (b j : C) = e j := fun j => congrArg Subtype.val (Module.Basis.span_apply he j)
  have hext : ∀ i, ∃ g : C →ₗ[k] k,
      g ∘ₗ (Submodule.span k (Set.range e)).subtype = b.coord i :=
    fun i => LinearMap.exists_extend (b.coord i)
  choose ψ hψ using hext
  refine ⟨ψ, fun i j => ?_⟩
  have : ψ i (b j : C) = b.coord i (b j) := by
    rw [← hψ i]; rfl
  rw [← hb, this, Module.Basis.coord_apply, Module.Basis.repr_self, Finsupp.single_apply]
  simp only [eq_comm]
AbelianVarieties.NOSProofs.Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan.S17Tb0.eq_sum_cR_tmul
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Coalgebra_exists_finiteDimensional_le_comul_mem_span.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan
open scoped TensorProduct
universe u v
namespace S17Tb0
variable {k : Type u} [Field k] {C : Type v} [AddCommGroup C] [Module k C]
theorem eq_sum_cR_tmul {ι : Type*} [Fintype ι] [DecidableEq ι] (e : ι → C) (ψ : ι → Module.Dual k C)
    (hψ : ∀ i j, ψ i (e j) = if i = j then 1 else 0)
    (A : Submodule k C) (t : C ⊗[k] C)
    (ht : t ∈ Submodule.span k
      {s : C ⊗[k] C | ∃ a ∈ A, ∃ b ∈ Submodule.span k (Set.range e), s = a ⊗ₜ[k] b}) :
    t = ∑ l, cR (ψ l) t ⊗ₜ[k] e l := by
  induction ht using Submodule.span_induction with
  | mem s hs =>
      obtain ⟨a, -, b, hb, rfl⟩ := hs
      have hbexp : b = ∑ l, ψ l b • e l := by
        induction hb using Submodule.span_induction with
        | mem c hc =>
            obtain ⟨j, rfl⟩ := hc
            rw [Finset.sum_eq_single j]
            · rw [hψ, ite_eq_left rfl, one_smul]
            · intro l _ hlj; rw [hψ, ite_eq_right hlj, zero_smul]
            · intro h; exact absurd (Finset.mem_univ j) h
        | zero => simp only [map_zero, zero_smul, Finset.sum_const_zero]
        | add c d _ _ hc hd =>
            conv_lhs => rw [hc, hd]
            rw [← Finset.sum_add_distrib]
            refine Finset.sum_congr rfl fun l _ => ?_
            rw [map_add, add_smul]
        | smul r c _ hc =>
            conv_lhs => rw [hc]
            rw [Finset.smul_sum]
            refine Finset.sum_congr rfl fun l _ => ?_
            rw [map_smul, smul_eq_mul, mul_smul]
      conv_lhs => rw [hbexp]
      rw [TensorProduct.tmul_sum]
      refine Finset.sum_congr rfl fun l _ => ?_
      rw [cR_tmul, TensorProduct.tmul_smul, TensorProduct.smul_tmul']
  | zero => simp only [map_zero, TensorProduct.zero_tmul, Finset.sum_const_zero]
  | add s t _ _ hs ht =>
      conv_lhs => rw [hs, ht]
      rw [← Finset.sum_add_distrib]
      refine Finset.sum_congr rfl fun l _ => ?_
      rw [map_add, TensorProduct.add_tmul]
  | smul r s _ hs =>
      conv_lhs => rw [hs]
      rw [Finset.smul_sum]
      refine Finset.sum_congr rfl fun l _ => ?_
      rw [map_smul, TensorProduct.smul_tmul']
AbelianVarieties.NOSProofs.Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan.S17Tb0.eq_sum_tmul_cL
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Coalgebra_exists_finiteDimensional_le_comul_mem_span.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan
open scoped TensorProduct
universe u v
namespace S17Tb0
variable {k : Type u} [Field k] {C : Type v} [AddCommGroup C] [Module k C]
theorem eq_sum_tmul_cL {ι : Type*} [Fintype ι] [DecidableEq ι] (u : ι → C) (φ : ι → Module.Dual k C)
    (hφ : ∀ i j, φ i (u j) = if i = j then 1 else 0)
    (B : Submodule k C) (t : C ⊗[k] C)
    (ht : t ∈ Submodule.span k
      {s : C ⊗[k] C | ∃ a ∈ Submodule.span k (Set.range u), ∃ b ∈ B, s = a ⊗ₜ[k] b}) :
    t = ∑ j, u j ⊗ₜ[k] cL (φ j) t := by
  induction ht using Submodule.span_induction with
  | mem s hs =>
      obtain ⟨a, ha, b, -, rfl⟩ := hs
      have haexp : a = ∑ j, φ j a • u j := by
        induction ha using Submodule.span_induction with
        | mem c hc =>
            obtain ⟨j, rfl⟩ := hc
            rw [Finset.sum_eq_single j]
            · rw [hφ, ite_eq_left rfl, one_smul]
            · intro l _ hlj; rw [hφ, ite_eq_right hlj, zero_smul]
            · intro h; exact absurd (Finset.mem_univ j) h
        | zero => simp only [map_zero, zero_smul, Finset.sum_const_zero]
        | add c d _ _ hc hd =>
            conv_lhs => rw [hc, hd]
            rw [← Finset.sum_add_distrib]
            refine Finset.sum_congr rfl fun l _ => ?_
            rw [map_add, add_smul]
        | smul r c _ hc =>
            conv_lhs => rw [hc]
            rw [Finset.smul_sum]
            refine Finset.sum_congr rfl fun l _ => ?_
            rw [map_smul, smul_eq_mul, mul_smul]
      conv_lhs => rw [haexp]
      rw [TensorProduct.sum_tmul]
      refine Finset.sum_congr rfl fun j _ => ?_
      rw [cL_tmul, TensorProduct.tmul_smul, TensorProduct.smul_tmul']
  | zero => simp only [map_zero, TensorProduct.tmul_zero, Finset.sum_const_zero]
  | add s t _ _ hs ht =>
      conv_lhs => rw [hs, ht]
      rw [← Finset.sum_add_distrib]
      refine Finset.sum_congr rfl fun l _ => ?_
      rw [map_add, TensorProduct.tmul_add]
  | smul r s _ hs =>
      conv_lhs => rw [hs]
      rw [Finset.smul_sum]
      refine Finset.sum_congr rfl fun l _ => ?_
      rw [map_smul, TensorProduct.tmul_smul]
AbelianVarieties.NOSProofs.Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan.S17Tb0.cR_mem
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Coalgebra_exists_finiteDimensional_le_comul_mem_span.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan
open scoped TensorProduct
universe u v
namespace S17Tb0
variable {k : Type u} [Field k] {C : Type v} [AddCommGroup C] [Module k C]
theorem cR_mem (ψ : Module.Dual k C) (A B : Submodule k C) (t : C ⊗[k] C)
    (ht : t ∈ Submodule.span k {s : C ⊗[k] C | ∃ a ∈ A, ∃ b ∈ B, s = a ⊗ₜ[k] b}) : cR ψ t ∈ A
AbelianVarieties.NOSProofs.Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan.S17Tb0.cL_mem
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Coalgebra_exists_finiteDimensional_le_comul_mem_span.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan
open scoped TensorProduct
universe u v
namespace S17Tb0
variable {k : Type u} [Field k] {C : Type v} [AddCommGroup C] [Module k C]
theorem cL_mem (φ : Module.Dual k C) (A B : Submodule k C) (t : C ⊗[k] C)
    (ht : t ∈ Submodule.span k {s : C ⊗[k] C | ∃ a ∈ A, ∃ b ∈ B, s = a ⊗ₜ[k] b}) : cL φ t ∈ B
AbelianVarieties.NOSProofs.Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan.S17Tb0.span_tmul_mono
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Coalgebra_exists_finiteDimensional_le_comul_mem_span.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan
open scoped TensorProduct
universe u v
namespace S17Tb0
variable {k : Type u} [Field k] {C : Type v} [AddCommGroup C] [Module k C]
theorem span_tmul_mono {A A' B B' : Submodule k C} (hA : A ≤ A') (hB : B ≤ B') :
    Submodule.span k {s : C ⊗[k] C | ∃ a ∈ A, ∃ b ∈ B, s = a ⊗ₜ[k] b}
      ≤ Submodule.span k {s : C ⊗[k] C | ∃ a ∈ A', ∃ b ∈ B', s = a ⊗ₜ[k] b}
AbelianVarieties.NOSProofs.Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan.S17Tb0.tmul_mem_span
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Coalgebra_exists_finiteDimensional_le_comul_mem_span.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan
open scoped TensorProduct
universe u v
namespace S17Tb0
variable {k : Type u} [Field k] {C : Type v} [AddCommGroup C] [Module k C]
theorem tmul_mem_span {A B : Submodule k C} {a b : C} (ha : a ∈ A) (hb : b ∈ B) :
    a ⊗ₜ[k] b ∈ Submodule.span k {s : C ⊗[k] C | ∃ a ∈ A, ∃ b ∈ B, s = a ⊗ₜ[k] b}
Coalgebra.exists_finiteDimensional_le_comul_mem_span
Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Coalgebra_exists_finiteDimensional_le_comul_mem_span.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_CommutativeAlgebra_CoalgebraExistsFiniteDimensionalLeComulMemSpan
open scoped TensorProduct
universe u v
open S17Tb0 in
theorem _root_.Coalgebra.exists_finiteDimensional_le_comul_mem_span
    {k : Type u} [Field k] {C : Type v} [AddCommGroup C] [Module k C] [Coalgebra k C]
    (K : Submodule k C)
    (hK : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
      Submodule.span k {t : C ⊗[k] C | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
    (x : C) (hx : x ∈ K) :
    ∃ D : Submodule k C, D ≤ K ∧ FiniteDimensional k ↥D ∧ x ∈ D ∧
      ∀ y ∈ D, Coalgebra.comul (R := k) y ∈
        Submodule.span k {t : C ⊗[k] C | ∃ a ∈ D, ∃ b ∈ D, t = a ⊗ₜ[k] b}