Module

Flatness.lean

Nyll.SchemeTheory.GroupSchemes.HopfAlgebra.Flatness
62 declarations indexed from sourceView source ↗

Flatness and freeness of Hopf subalgebras

Use the quotient torsor isomorphism to descend faithful flatness, prove surjectivity on spectra over an algebraically closed field, and lift quotient bases through nilpotent ideals.

Imports14
Imported by2

Declarations

AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.inclKH

The canonical inclusion of Hopf subalgebras.

Source context 12 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
abbrev inclKH : ↥K →ₐ[↥K'] H
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.idIncl

Tensor the subalgebra inclusion with the identity.

Source context 12 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
abbrev idIncl : H ⊗[↥K'] ↥K →ₐ[↥K'] H ⊗[↥K'] H
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.Kbar

The image of the subalgebra in the augmentation quotient.

Source context 12 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
abbrev Kbar : Subalgebra k (Q K')
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.ιbar

Include the quotient image after scalar extension.

Source context 12 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
abbrev ιbar : H ⊗[k] ↥(Kbar K' K) →ₐ[k] C K'
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.ιbar_injective
Source context 13 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
omit [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H] in
theorem ιbar_injective : Function.Injective (ιbar K' K)
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.c

The torsor map composed with the tensor inclusion.

Source context 12 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
def c : H ⊗[↥K'] ↥K →ₐ[k] C K'
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.c_tmul
Source context 12 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
theorem c_tmul (h : H) (a : ↥K) : c K' K hΔ' (h ⊗ₜ[↥K'] a) = (h ⊗ₜ[k] (1 : Q K')) * θ K'
    (Coalgebra.comul (R := k) (a : H))
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.θ_mem_range_of_mem_span
Source context 13 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
omit [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H] in
theorem θ_mem_range_of_mem_span (t : H ⊗[k] H)
    (ht : t ∈ Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b}) :
    θ K' t ∈ (ιbar K' K).range
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.range_c_le
Source context 13 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
include hΔ in
theorem range_c_le : (c K' K hΔ').range ≤ (ιbar K' K).range
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.le_range_c
Source context 13 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
include hΔ in
theorem le_range_c : (ιbar K' K).range ≤ (c K' K hΔ').range
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.range_c_eq
Source context 13 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
include hΔ in
theorem range_c_eq : (c K' K hΔ').range = (ιbar K' K).range
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.nontrivial_Q
Source context 12 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
theorem nontrivial_Q : Nontrivial (Q K')
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.e₂

The induced isomorphism onto the tensor product with the quotient image.

Source context 12 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
def e₂ [Module.Flat (↥K') H] : (H ⊗[↥K'] ↥K) ≃ₐ[k] (H ⊗[k] ↥(Kbar K' K))
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.ιbar_e₂
Source context 12 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
theorem ιbar_e₂ [Module.Flat (↥K') H] (s : H ⊗[↥K'] ↥K) :
    ιbar K' K (e₂ K' K hΔ' hΔ s) = c K' K hΔ' s
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.idIncl_eq
Source context 12 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
theorem idIncl_eq [Module.Flat (↥K') H] :
    (idIncl K' K).toRingHom = ((βEquiv K' hΔ').symm.toRingEquiv.toRingHom.comp (ιbar K'
      K).toRingHom).comp
      (e₂ K' K hΔ' hΔ).toRingEquiv.toRingHom
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.respectsIso_left
Source context 12 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
theorem respectsIso_left {R S T : Type v} [CommRing R] [CommRing S] [CommRing T] (f : R →+* S) (e :
    S ≃+* T)
    (hf : f.FaithfullyFlat) : (e.toRingHom.comp f).FaithfullyFlat
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.respectsIso_right
Source context 12 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
theorem respectsIso_right {R S T : Type v} [CommRing R] [CommRing S] [CommRing T] (f : S →+* T) (e :
    R ≃+* S)
    (hf : f.FaithfullyFlat) : (f.comp e.toRingHom).FaithfullyFlat
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.ff_map_val_id
Source context 12 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
theorem ff_map_val_id (L : Subalgebra k (Q K')) [Module.Free ↥L (Q K')] :
    (Algebra.TensorProduct.map L.val (AlgHom.id k H) : ↥L ⊗[k] H →ₐ[k] Q K' ⊗[k]
      H).toRingHom.FaithfullyFlat
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.ff_ιbar
Source context 13 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
omit [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H] in
theorem ff_ιbar [Module.Free ↥(Kbar K' K) (Q K')] : (ιbar K' K).toRingHom.FaithfullyFlat
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.ff_idIncl
Source context 13 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
include hΔ' hΔ in
theorem ff_idIncl [Module.Flat (↥K') H] [Module.Free ↥(Kbar K' K) (Q K')] :
    (idIncl K' K).toRingHom.FaithfullyFlat
AbelianVarieties.NOSProofs.HopfFaithfullyFlatBaseChange.TensorBaseChange.ff_inclId
Source context 13 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
namespace TensorBaseChange
open TensorTorsor
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
variable (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
variable (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
variable (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
  Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
include hΔ' hΔ in
theorem ff_inclId [Module.Flat (↥K') H] [Module.Free ↥(Kbar K' K) (Q K')] :
    (Algebra.TensorProduct.map (inclKH K' K) (AlgHom.id (↥K') H)).toRingHom.FaithfullyFlat
HopfAlgebra.faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_span
Source context 7 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_HopfAlgebra_faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_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.NOSProofs.HopfFaithfullyFlatBaseChange
open scoped TensorProduct
universe u v
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open TensorTorsor TensorBaseChange in
theorem _root_.HopfAlgebra.faithfullyFlat_map_toAlgHom_tensor_of_free_map_of_ker_eq_span
    {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
    (K' K : Subalgebra k H) [Algebra ↥K' ↥K] [IsScalarTower ↥K' ↥K H]
    (hΔ' : ∀ x ∈ K', Coalgebra.comul (R := k) x ∈
      Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K', ∃ b ∈ K', t = a ⊗ₜ[k] b})
    (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
      Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
    [Module.Flat ↥K' H]
    (Hb : Type v) [CommRing Hb] [Algebra k Hb] (π : H →ₐ[k] Hb) (hπ : Function.Surjective π)
    (hker : RingHom.ker π = Ideal.span {x : H | x ∈ K' ∧ Coalgebra.counit (R := k) x = 0})
    [Module.Free ↥(K.map π) Hb] :
    (Algebra.TensorProduct.map (IsScalarTower.toAlgHom ↥K' ↥K H) (AlgHom.id ↥K'
      H)).toRingHom.FaithfullyFlat
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.isOpen_range_comap
Source context 7 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
theorem isOpen_range_comap (K : Type v) [CommRing K] [Algebra k K] [Algebra.FiniteType k K]
    (H : Type w) [CommRing H] [Algebra k H] [Algebra.FiniteType k H] [Algebra K H] [IsScalarTower k
      K H]
    [Module.Flat K H] : IsOpen (Set.range (PrimeSpectrum.comap (algebraMap K H)))
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.algHom_eq_of_ker_eq
Source context 7 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
theorem algHom_eq_of_ker_eq {A : Type*} [CommRing A] [Algebra k A] (z z' : A →ₐ[k] k)
    (h : RingHom.ker z = RingHom.ker z') : z = z'
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.exists_algHom_of_finiteType
Source context 7 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
theorem exists_algHom_of_finiteType [IsAlgClosed k] {A : Type*} [CommRing A] [Algebra k A]
    [Algebra.FiniteType k A] [Nontrivial A] : Nonempty (A →ₐ[k] k)
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.mem_range_comap_iff_exists_lift
Source context 7 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
theorem mem_range_comap_iff_exists_lift [IsAlgClosed k] (K : Type v) [CommRing K] [Algebra k K]
    (H : Type w) [CommRing H] [Algebra k H] [Algebra.FiniteType k H] [Algebra K H] [IsScalarTower k
      K H]
    (z : K →ₐ[k] k) :
    (⟨RingHom.ker z.toRingHom, RingHom.ker_isPrime _⟩ : PrimeSpectrum K) ∈
        Set.range (PrimeSpectrum.comap (algebraMap K H)) ↔
      ∃ y : H →ₐ[k] k, y.comp (IsScalarTower.toAlgHom k K H) = z
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.faithfullyFlat_of_range_eq_univ
Source context 7 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
theorem faithfullyFlat_of_range_eq_univ (K : Type v) [CommRing K] (H : Type w) [CommRing H] [Algebra
    K H]
    [Module.Flat K H] (h : Set.range (PrimeSpectrum.comap (algebraMap K H)) = Set.univ) :
    Module.FaithfullyFlat K H
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.antipodeAlgHom

The canonical antipode as an algebra homomorphism.

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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
section Points
variable (K : Type v) [CommRing K] [HopfAlgebra k K]
abbrev antipodeAlgHom : K →ₐ[k] K
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.antipodeAlgHom_apply
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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
section Points
variable (K : Type v) [CommRing K] [HopfAlgebra k K]
theorem antipodeAlgHom_apply (a : K) : antipodeAlgHom (k := k) K a = HopfAlgebra.antipode k a
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.antipodeAlgHom_bijective
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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
section Points
variable (K : Type v) [CommRing K] [HopfAlgebra k K]
theorem antipodeAlgHom_bijective : Function.Bijective (antipodeAlgHom (k := k) K)
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.transl

Translation by an algebra-valued point.

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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
section Points
variable (K : Type v) [CommRing K] [HopfAlgebra k K]
def transl (g : K →ₐ[k] k) : K →ₐ[k] K
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.transl_spec
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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
section Points
variable (K : Type v) [CommRing K] [HopfAlgebra k K]
theorem transl_spec (g : K →ₐ[k] k) (h : K) :
    transl K g h = Algebra.TensorProduct.lid k K (Algebra.TensorProduct.map g (AlgHom.id k K)
      (Coalgebra.comul h))
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.comp_transl
Source context 11 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
section Points
variable (K : Type v) [CommRing K] [HopfAlgebra k K]
variable {K}
variable {A : Type w} [CommRing A] [Algebra k A]
theorem comp_transl (g : K →ₐ[k] k) (x : K →ₐ[k] A) :
    x.comp (transl K g) = WithConv.ofConv (WithConv.toConv ((Algebra.ofId k A).comp g) *
      WithConv.toConv x)
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.comp_antipode_mul_self
Source context 11 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
section Points
variable (K : Type v) [CommRing K] [HopfAlgebra k K]
variable {K}
variable {A : Type w} [CommRing A] [Algebra k A]
theorem comp_antipode_mul_self (x : K →ₐ[k] A) :
    WithConv.toConv (x.comp (antipodeAlgHom K)) * WithConv.toConv x = 1
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.mul_comp_antipode_self
Source context 11 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
section Points
variable (K : Type v) [CommRing K] [HopfAlgebra k K]
variable {K}
variable {A : Type w} [CommRing A] [Algebra k A]
theorem mul_comp_antipode_self (x : K →ₐ[k] A) :
    WithConv.toConv x * WithConv.toConv (x.comp (antipodeAlgHom K)) = 1
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.pt

The prime ideal defined by a rational point.

Source context 11 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
section Points
variable (K : Type v) [CommRing K] [HopfAlgebra k K]
variable {K}
variable {A : Type w} [CommRing A] [Algebra k A]
def pt (z : K →ₐ[k] k) : PrimeSpectrum K
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.pt_isMaximal
Source context 11 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
section Points
variable (K : Type v) [CommRing K] [HopfAlgebra k K]
variable {K}
variable {A : Type w} [CommRing A] [Algebra k A]
theorem pt_isMaximal (z : K →ₐ[k] k) : (pt z).asIdeal.IsMaximal
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.comap_pt
Source context 11 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
section Points
variable (K : Type v) [CommRing K] [HopfAlgebra k K]
variable {K}
variable {A : Type w} [CommRing A] [Algebra k A]
theorem comap_pt (β : K →ₐ[k] K) (z : K →ₐ[k] k) :
    PrimeSpectrum.comap β.toRingHom (pt z) = pt (z.comp β)
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.exists_pt_eq
Source context 7 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
theorem exists_pt_eq [IsAlgClosed k] (K : Type v) [CommRing K] [HopfAlgebra k K] [Algebra.FiniteType
    k K]
    (Q : PrimeSpectrum K) (hQ : Q.asIdeal.IsMaximal) : ∃ z : K →ₐ[k] k, pt z = Q
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.exists_isMaximal_mem
Source context 7 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
theorem exists_isMaximal_mem (K : Type v) [CommRing K] [IsJacobsonRing K] (W : Set (PrimeSpectrum
    K))
    (hW : IsOpen W) (hne : W.Nonempty) : ∃ P ∈ W, P.asIdeal.IsMaximal
AbelianVarieties.NOSProofs.HopfFaithfulFlatness.SpectrumSurjectivity.main
Source context 7 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
namespace SpectrumSurjectivity
variable {k : Type u} [Field k]
theorem main [IsAlgClosed k]
    (K : Type v) [CommRing K] [HopfAlgebra k K] [Algebra.FiniteType k K]
    (H : Type w) [CommRing H] [HopfAlgebra k H] [Algebra.FiniteType k H]
    [Algebra K H] [IsScalarTower k K H] (hinj : Function.Injective (algebraMap K H))
    (hcomul : ∀ x : K, Coalgebra.comul (R := k) (algebraMap K H x) =
      TensorProduct.map (IsScalarTower.toAlgHom k K H).toLinearMap (IsScalarTower.toAlgHom k K
        H).toLinearMap
        (Coalgebra.comul (R := k) x))
    (hcounit : ∀ x : K, Coalgebra.counit (R := k) (algebraMap K H x) = Coalgebra.counit (R := k) x)
    [Module.Flat K H] :
    Module.FaithfullyFlat K H
HopfAlgebra.faithfullyFlat_of_flat_of_injective_of_isAlgClosed
Source context 5 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_HopfAlgebra_faithfullyFlat_of_flat_of_injective_of_isAlgClosed.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.NOSProofs.HopfFaithfulFlatness
open scoped TensorProduct
universe u v w
theorem _root_.HopfAlgebra.faithfullyFlat_of_flat_of_injective_of_isAlgClosed
    {k : Type u} [Field k] [IsAlgClosed k]
    (K : Type v) [CommRing K] [HopfAlgebra k K] [Algebra.FiniteType k K]
    (H : Type w) [CommRing H] [HopfAlgebra k H] [Algebra.FiniteType k H]
    [Algebra K H] [IsScalarTower k K H] (hinj : Function.Injective (algebraMap K H))
    (hcomul : ∀ x : K, Coalgebra.comul (R := k) (algebraMap K H x) =
      TensorProduct.map (IsScalarTower.toAlgHom k K H).toLinearMap (IsScalarTower.toAlgHom k K
        H).toLinearMap
        (Coalgebra.comul (R := k) x))
    (hcounit : ∀ x : K, Coalgebra.counit (R := k) (algebraMap K H x) = Coalgebra.counit (R := k) x)
    [Module.Flat K H] :
    Module.FaithfullyFlat K H
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.augK

The augmentation ideal of the subalgebra.

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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
abbrev augK : Ideal ↥K
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.JH

The ideal generated by the subalgebra augmentation ideal.

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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
abbrev JH : Ideal H
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.mem_augK_iff
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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
theorem mem_augK_iff (x : ↥K) : x ∈ augK K ↔ Coalgebra.counit (R := k) (x : H) = 0
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.JH_eq_map
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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
theorem JH_eq_map : JH K = Ideal.map (algebraMap ↥K H) (augK K)
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.restrictScalars_JH
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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
theorem restrictScalars_JH : (JH K).restrictScalars ↥K = augK K • (⊤ : Submodule ↥K H)
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.JH_pow_eq_bot
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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
theorem JH_pow_eq_bot (hnil : IsNilpotent (augK K)) : ∃ n : ℕ, JH K ^ n = ⊥
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.mk_coe_eq
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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
theorem mk_coe_eq (x : ↥K) :
    Ideal.Quotient.mk (JH K) (x : H) = algebraMap k (H ⧸ JH K) (Coalgebra.counit (R := k) (x : H))
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.coe_smul_quot
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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
theorem coe_smul_quot (x : ↥K) (q : H ⧸ JH K) : x • q = Coalgebra.counit (R := k) (x : H) • q
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.eq_top_of_le_sup_smul
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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
theorem eq_top_of_le_sup_smul {I : Ideal ↥K} (hI : IsNilpotent I) (N : Submodule ↥K H)
    (h : (⊤ : Submodule ↥K H) ≤ N ⊔ I • ⊤) : N = ⊤
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.Λ

The linear combination map for the chosen lifts.

Source context 10 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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
section Core
variable {ι : Type*} (e : ι → H)
abbrev Λ : (ι →₀ ↥K) →ₗ[↥K] H
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.range_Λ_eq_top
Source context 10 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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
section Core
variable {ι : Type*} (e : ι → H)
theorem range_Λ_eq_top (hnil : IsNilpotent (augK K)) (b : Module.Basis ι k (H ⧸ JH K))
    (he : ∀ i, Ideal.Quotient.mk (JH K) (e i) = b i) : LinearMap.range (Λ K e) = ⊤
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.Λ'

The scalar extension of the linear combination map.

Source context 10 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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
section Core
variable {ι : Type*} (e : ι → H)
abbrev Λ' : (ι →₀ H) →ₗ[H] (H ⊗[↥K] H)
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.Λ'_surjective
Source context 10 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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
section Core
variable {ι : Type*} (e : ι → H)
theorem Λ'_surjective (hΛ : LinearMap.range (Λ K e) = ⊤) : Function.Surjective (Λ' K e)
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.mk_smul
Source context 10 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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
section Core
variable {ι : Type*} (e : ι → H)
theorem mk_smul (x : ↥K) (h : H) :
    Ideal.Quotient.mk (JH K) (x • h) = Coalgebra.counit (R := k) (x : H) • Ideal.Quotient.mk (JH K)
      h
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.θ

The tensor map induced by the augmentation quotient.

Source context 10 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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
section Core
variable {ι : Type*} (e : ι → H)
def θ : H ⊗[↥K] H →ₗ[↥K] (H ⧸ JH K) ⊗[k] (H ⧸ JH K)
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.θ_tmul
Source context 10 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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
section Core
variable {ι : Type*} (e : ι → H)
theorem θ_tmul (h h' : H) :
    θ K (h ⊗ₜ[↥K] h') = Ideal.Quotient.mk (JH K) h ⊗ₜ[k] Ideal.Quotient.mk (JH K) h'
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.apply_mem_JH_of_Λ'_eq_zero
Source context 10 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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
section Core
variable {ι : Type*} (e : ι → H)
theorem apply_mem_JH_of_Λ'_eq_zero (b : Module.Basis ι k (H ⧸ JH K))
    (he : ∀ i, Ideal.Quotient.mk (JH K) (e i) = b i) (m : ι →₀ H) (hm : Λ' K e m = 0) (i : ι) :
    m i ∈ JH K
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.ker_Λ'_eq_bot
Source context 10 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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
section Core
variable {ι : Type*} (e : ι → H)
theorem ker_Λ'_eq_bot
    (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
      Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
    (hnil : IsNilpotent (augK K)) (b : Module.Basis ι k (H ⧸ JH K))
    (he : ∀ i, Ideal.Quotient.mk (JH K) (e i) = b i) : LinearMap.ker (Λ' K e) = ⊥
AbelianVarieties.NOSProofs.NilpotentHopfFreeness.NilpotentAugmentation.Λ_injective
Source context 10 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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
namespace NilpotentAugmentation
variable {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H] (K : Subalgebra k H)
section Core
variable {ι : Type*} (e : ι → H)
theorem Λ_injective
    (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
      Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
    (hnil : IsNilpotent (augK K)) (b : Module.Basis ι k (H ⧸ JH K))
    (he : ∀ i, Ideal.Quotient.mk (JH K) (e i) = b i) : Function.Injective (Λ K e)
HopfAlgebra.free_subalgebra_of_isNilpotent_ker_counit
Source context 7 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_HopfAlgebra_free_subalgebra_of_isNilpotent_ker_counit.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.NOSProofs.NilpotentHopfFreeness
open AbelianVarieties.NOSProofs.SubalgebraTensorQuotients
open scoped TensorProduct
universe u v
open NilpotentAugmentation in
theorem _root_.HopfAlgebra.free_subalgebra_of_isNilpotent_ker_counit
    {k : Type u} [Field k] {H : Type v} [CommRing H] [HopfAlgebra k H]
    (K : Subalgebra k H)
    (hΔ : ∀ x ∈ K, Coalgebra.comul (R := k) x ∈
      Submodule.span k {t : H ⊗[k] H | ∃ a ∈ K, ∃ b ∈ K, t = a ⊗ₜ[k] b})
    (_hS : ∀ x ∈ K, HopfAlgebra.antipode k x ∈ K)
    (hnil : IsNilpotent (RingHom.ker ((Bialgebra.counitAlgHom k H).comp K.val))) :
    Module.Free ↥K H