Module

UniversalProperty.lean

Nyll.SchemeTheory.RingTheory.Dilatation.UniversalProperty
28 declarations indexed from sourceView source ↗

Universal properties and localization of affine dilatations

Imports8
  • Mathlib.Algebra.Algebra.Subalgebra.Lattice
  • Mathlib.Algebra.Regular.SMul
  • Mathlib.RingTheory.Ideal.Maps
  • Mathlib.RingTheory.Localization.Away.Basic
  • Mathlib.RingTheory.Localization.Basic
  • Mathlib.RingTheory.Localization.Ideal
  • Mathlib.Tactic.Ring
  • Nyll.SchemeTheory.RingTheory.Dilatation.Basic
Imported by4

Declarations

theorem

q_a

L57 ↗
AbelianVarieties.NOSProofs.DilatationSurjections.DilatationQuotient.q_a
Source context 14 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_AffineDilatation_exists_algHom_surjective_ker_iff_of_surjective.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationSurjections
universe u
namespace DilatationQuotient
open AffineDilatation
variable {R : Type u} [CommRing R] (π : R)
  {C : Type u} (A : Type u) [CommRing C] [CommRing A] [Algebra R C] [Algebra R A] [Algebra C A]
      [IsScalarTower R C A]
local notation "a" => algebraMap R C π
local notation "a'" => algebraMap R A π
local notation "q" => algebraMap C A
local notation "LC" => Localization.Away (algebraMap R C π)
local notation "LA" => Localization.Away (algebraMap R A π)
theorem q_a : q a = a'
AbelianVarieties.NOSProofs.DilatationSurjections.DilatationQuotient.Φ

The map between localizations induced by the quotient homomorphism.

Source context 14 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_AffineDilatation_exists_algHom_surjective_ker_iff_of_surjective.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationSurjections
universe u
namespace DilatationQuotient
open AffineDilatation
variable {R : Type u} [CommRing R] (π : R)
  {C : Type u} (A : Type u) [CommRing C] [CommRing A] [Algebra R C] [Algebra R A] [Algebra C A]
      [IsScalarTower R C A]
local notation "a" => algebraMap R C π
local notation "a'" => algebraMap R A π
local notation "q" => algebraMap C A
local notation "LC" => Localization.Away (algebraMap R C π)
local notation "LA" => Localization.Away (algebraMap R A π)
def Φ : LC →ₐ[C] LA
AbelianVarieties.NOSProofs.DilatationSurjections.DilatationQuotient.Φ_algebraMap
Source context 14 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_AffineDilatation_exists_algHom_surjective_ker_iff_of_surjective.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationSurjections
universe u
namespace DilatationQuotient
open AffineDilatation
variable {R : Type u} [CommRing R] (π : R)
  {C : Type u} (A : Type u) [CommRing C] [CommRing A] [Algebra R C] [Algebra R A] [Algebra C A]
      [IsScalarTower R C A]
local notation "a" => algebraMap R C π
local notation "a'" => algebraMap R A π
local notation "q" => algebraMap C A
local notation "LC" => Localization.Away (algebraMap R C π)
local notation "LA" => Localization.Away (algebraMap R A π)
theorem Φ_algebraMap (c : C) : Φ π A (algebraMap C LC c) = algebraMap A LA (q c)
AbelianVarieties.NOSProofs.DilatationSurjections.DilatationQuotient.Φ_mk'
Source context 14 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_AffineDilatation_exists_algHom_surjective_ker_iff_of_surjective.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationSurjections
universe u
namespace DilatationQuotient
open AffineDilatation
variable {R : Type u} [CommRing R] (π : R)
  {C : Type u} (A : Type u) [CommRing C] [CommRing A] [Algebra R C] [Algebra R A] [Algebra C A]
      [IsScalarTower R C A]
local notation "a" => algebraMap R C π
local notation "a'" => algebraMap R A π
local notation "q" => algebraMap C A
local notation "LC" => Localization.Away (algebraMap R C π)
local notation "LA" => Localization.Away (algebraMap R A π)
theorem Φ_mk' (c : C) (n : ℕ) :
    Φ π A (IsLocalization.mk' LC c (⟨a ^ n, pow_mem (Submonoid.mem_powers _) n⟩ : Submonoid.powers
        a)) =
      IsLocalization.mk' LA (q c) (⟨a' ^ n, pow_mem (Submonoid.mem_powers _) n⟩ : Submonoid.powers
          a')
AbelianVarieties.NOSProofs.DilatationSurjections.DilatationQuotient.Φ_mem_subalgebra
Source context 14 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_AffineDilatation_exists_algHom_surjective_ker_iff_of_surjective.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationSurjections
universe u
namespace DilatationQuotient
open AffineDilatation
variable {R : Type u} [CommRing R] (π : R)
  {C : Type u} (A : Type u) [CommRing C] [CommRing A] [Algebra R C] [Algebra R A] [Algebra C A]
      [IsScalarTower R C A]
local notation "a" => algebraMap R C π
local notation "a'" => algebraMap R A π
local notation "q" => algebraMap C A
local notation "LC" => Localization.Away (algebraMap R C π)
local notation "LA" => Localization.Away (algebraMap R A π)
theorem Φ_mem_subalgebra (J : Ideal C) (x : LC) (hx : x ∈ subalgebra J a) :
    Φ π A x ∈ subalgebra (J.map q) a'
AbelianVarieties.NOSProofs.DilatationSurjections.DilatationQuotient.θ

The induced homomorphism of affine dilatation algebras.

Source context 14 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_AffineDilatation_exists_algHom_surjective_ker_iff_of_surjective.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationSurjections
universe u
namespace DilatationQuotient
open AffineDilatation
variable {R : Type u} [CommRing R] (π : R)
  {C : Type u} (A : Type u) [CommRing C] [CommRing A] [Algebra R C] [Algebra R A] [Algebra C A]
      [IsScalarTower R C A]
local notation "a" => algebraMap R C π
local notation "a'" => algebraMap R A π
local notation "q" => algebraMap C A
local notation "LC" => Localization.Away (algebraMap R C π)
local notation "LA" => Localization.Away (algebraMap R A π)
def θ (J : Ideal C) :
    AffineDilatation.Ring J a →ₐ[C] AffineDilatation.Ring (J.map q) a' where
  toFun x := ⟨Φ π A x.1, Φ_mem_subalgebra π A J x.1 x.2⟩
  map_one' := Subtype.ext (by change Φ π A 1 = 1; exact map_one _)
  map_mul' x y := Subtype.ext (by
    change Φ π A (x.1 * y.1) = Φ π A x.1 * Φ π A y.1
    exact map_mul _ _ _)
  map_zero' := Subtype.ext (by change Φ π A 0 = 0; exact map_zero _)
  map_add' x y := Subtype.ext (by
    change Φ π A (x.1 + y.1) = Φ π A x.1 + Φ π A y.1
    exact map_add _ _ _)
  commutes' c := Subtype.ext (by
    change Φ π A (algebraMap C LC c) = algebraMap C LA c
    exact AlgHom.commutes _ _)
AbelianVarieties.NOSProofs.DilatationSurjections.DilatationQuotient.coe_θ
Source context 14 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_AffineDilatation_exists_algHom_surjective_ker_iff_of_surjective.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationSurjections
universe u
namespace DilatationQuotient
open AffineDilatation
variable {R : Type u} [CommRing R] (π : R)
  {C : Type u} (A : Type u) [CommRing C] [CommRing A] [Algebra R C] [Algebra R A] [Algebra C A]
      [IsScalarTower R C A]
local notation "a" => algebraMap R C π
local notation "a'" => algebraMap R A π
local notation "q" => algebraMap C A
local notation "LC" => Localization.Away (algebraMap R C π)
local notation "LA" => Localization.Away (algebraMap R A π)
theorem coe_θ (J : Ideal C) (x : AffineDilatation.Ring J a) : ((θ π A J x : AffineDilatation.Ring
    (J.map q) a') : LA) = Φ π A x.1
AbelianVarieties.NOSProofs.DilatationSurjections.DilatationQuotient.θ_surjective
Source context 14 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_AffineDilatation_exists_algHom_surjective_ker_iff_of_surjective.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationSurjections
universe u
namespace DilatationQuotient
open AffineDilatation
variable {R : Type u} [CommRing R] (π : R)
  {C : Type u} (A : Type u) [CommRing C] [CommRing A] [Algebra R C] [Algebra R A] [Algebra C A]
      [IsScalarTower R C A]
local notation "a" => algebraMap R C π
local notation "a'" => algebraMap R A π
local notation "q" => algebraMap C A
local notation "LC" => Localization.Away (algebraMap R C π)
local notation "LA" => Localization.Away (algebraMap R A π)
theorem θ_surjective (J : Ideal C) (hsurj : Function.Surjective q) : Function.Surjective (θ π A J)
AbelianVarieties.NOSProofs.DilatationSurjections.DilatationQuotient.θ_eq_zero_iff
Source context 14 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_AffineDilatation_exists_algHom_surjective_ker_iff_of_surjective.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationSurjections
universe u
namespace DilatationQuotient
open AffineDilatation
variable {R : Type u} [CommRing R] (π : R)
  {C : Type u} (A : Type u) [CommRing C] [CommRing A] [Algebra R C] [Algebra R A] [Algebra C A]
      [IsScalarTower R C A]
local notation "a" => algebraMap R C π
local notation "a'" => algebraMap R A π
local notation "q" => algebraMap C A
local notation "LC" => Localization.Away (algebraMap R C π)
local notation "LA" => Localization.Away (algebraMap R A π)
theorem θ_eq_zero_iff (J : Ideal C) (x : AffineDilatation.Ring J a) :
    θ π A J x = 0 ↔ ∃ ν : ℕ, (algebraMap R _ π) ^ ν * x ∈
      (RingHom.ker q).map (algebraMap C (AffineDilatation.Ring J a))
AbelianVarieties.NOSProofs.DilatationSurjections.DilatationQuotient.main
Source context 14 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_AffineDilatation_exists_algHom_surjective_ker_iff_of_surjective.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationSurjections
universe u
namespace DilatationQuotient
open AffineDilatation
variable {R : Type u} [CommRing R] (π : R)
  {C : Type u} (A : Type u) [CommRing C] [CommRing A] [Algebra R C] [Algebra R A] [Algebra C A]
      [IsScalarTower R C A]
local notation "a" => algebraMap R C π
local notation "a'" => algebraMap R A π
local notation "q" => algebraMap C A
local notation "LC" => Localization.Away (algebraMap R C π)
local notation "LA" => Localization.Away (algebraMap R A π)
theorem main (hsurj : Function.Surjective q) (J : Ideal C) :
    ∃ θ' : AffineDilatation.Ring J a →ₐ[C] AffineDilatation.Ring (J.map q) a',
      Function.Surjective θ' ∧
      ∀ x : AffineDilatation.Ring J a,
        θ' x = 0 ↔ ∃ ν : ℕ, (algebraMap R _ π) ^ ν * x ∈
          (RingHom.ker q).map (algebraMap C (AffineDilatation.Ring J a))
AffineDilatation.exists_algHom_surjective_ker_iff_of_surjective
Source context 6 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_AffineDilatation_exists_algHom_surjective_ker_iff_of_surjective.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationSurjections
universe u
theorem _root_.AffineDilatation.exists_algHom_surjective_ker_iff_of_surjective
    {R : Type u} [CommRing R] (π : R)
    {C A : Type u} [CommRing C] [CommRing A] [Algebra R C] [Algebra R A] [Algebra C A]
        [IsScalarTower R C A]
    (hsurj : Function.Surjective (algebraMap C A)) (J : Ideal C) :
    ∃ θ' : AffineDilatation.Ring J (algebraMap R C π) →ₐ[C]
        AffineDilatation.Ring (J.map (algebraMap C A)) (algebraMap R A π),
      Function.Surjective θ' ∧
      ∀ x : AffineDilatation.Ring J (algebraMap R C π),
        θ' x = 0 ↔ ∃ ν : ℕ, (algebraMap R _ π) ^ ν * x ∈
          (RingHom.ker (algebraMap C A)).map (algebraMap C (AffineDilatation.Ring J (algebraMap R C
              π)))
AbelianVarieties.NOSProofs.DilatationUniversal.AffineDilatation.UniversalProperty.algHom_ext
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_AffineDilatation_nonempty_algHom_and_subsingleton_of_isSMulRegular.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationUniversal
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace UniversalProperty
open _root_.AffineDilatation
open scoped nonZeroDivisors
variable {A : Type u} [CommRing A]
variable {C : Type v} [CommRing C] [Algebra A C]
theorem algHom_ext (I : Ideal A) (a : A) (hreg : IsSMulRegular C a)
    (φ ψ : Ring I a →ₐ[A] C) : φ = ψ
AbelianVarieties.NOSProofs.DilatationUniversal.AffineDilatation.UniversalProperty.subsingleton_algHom
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_AffineDilatation_nonempty_algHom_and_subsingleton_of_isSMulRegular.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationUniversal
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace UniversalProperty
open _root_.AffineDilatation
open scoped nonZeroDivisors
variable {A : Type u} [CommRing A]
variable {C : Type v} [CommRing C] [Algebra A C]
theorem subsingleton_algHom (I : Ideal A) (a : A) (hreg : IsSMulRegular C a) :
    Subsingleton (Ring I a →ₐ[A] C)
AbelianVarieties.NOSProofs.DilatationUniversal.AffineDilatation.UniversalProperty.nonempty_algHom
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_AffineDilatation_nonempty_algHom_and_subsingleton_of_isSMulRegular.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationUniversal
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace UniversalProperty
open _root_.AffineDilatation
open scoped nonZeroDivisors
variable {A : Type u} [CommRing A]
variable {C : Type v} [CommRing C] [Algebra A C]
theorem nonempty_algHom (I : Ideal A) (a : A) (hreg : IsSMulRegular C a)
    (hI : I.map (algebraMap A C) ≤ Ideal.span {algebraMap A C a}) :
    Nonempty (Ring I a →ₐ[A] C)
AffineDilatation.nonempty_algHom_and_subsingleton_of_isSMulRegular
Source context 6 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_AffineDilatation_nonempty_algHom_and_subsingleton_of_isSMulRegular.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationUniversal
universe u v
theorem _root_.AffineDilatation.nonempty_algHom_and_subsingleton_of_isSMulRegular
    {A : Type u} [CommRing A] (I : Ideal A) (a : A)
    {C : Type v} [CommRing C] [Algebra A C] (hreg : IsSMulRegular C a)
    (hI : I.map (algebraMap A C) ≤ Ideal.span {algebraMap A C a}) :
    Nonempty (AffineDilatation.Ring I a →ₐ[A] C) ∧
      Subsingleton (AffineDilatation.Ring I a →ₐ[A] C)
AbelianVarieties.NOSProofs.DilatationLocalization.AffineDilatation.LocalizationCompat.mem_map
Source context 18 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_AffineDilatation_exists_algHom_isLocalization_map.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationLocalization
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace LocalizationCompat
open _root_.AffineDilatation
open _root_.AffineDilatation
variable {A : Type u} [CommRing A] (I : Ideal A) (a : A)
variable (M : Submonoid A) (A' : Type v) [CommRing A'] [Algebra A A'] [IsLocalization M A']
local notation "I'" => Ideal.map (algebraMap A A') I
local notation "a'" => algebraMap A A' a
local notation "D" => AffineDilatation.Ring I a
local notation "D'" => AffineDilatation.Ring (Ideal.map (algebraMap A A') I) (algebraMap A A' a)
omit [IsLocalization M A'] in
theorem mem_map (ha : a ∈ I) : a' ∈ I'
AbelianVarieties.NOSProofs.DilatationLocalization.AffineDilatation.LocalizationCompat.isSMulRegular_target
Source context 18 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_AffineDilatation_exists_algHom_isLocalization_map.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationLocalization
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace LocalizationCompat
open _root_.AffineDilatation
open _root_.AffineDilatation
variable {A : Type u} [CommRing A] (I : Ideal A) (a : A)
variable (M : Submonoid A) (A' : Type v) [CommRing A'] [Algebra A A'] [IsLocalization M A']
local notation "I'" => Ideal.map (algebraMap A A') I
local notation "a'" => algebraMap A A' a
local notation "D" => AffineDilatation.Ring I a
local notation "D'" => AffineDilatation.Ring (Ideal.map (algebraMap A A') I) (algebraMap A A' a)
omit [IsLocalization M A'] in
theorem isSMulRegular_target (ha : a ∈ I) : IsSMulRegular D' a
AbelianVarieties.NOSProofs.DilatationLocalization.AffineDilatation.LocalizationCompat.algebraMap_eq_comp
Source context 18 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_AffineDilatation_exists_algHom_isLocalization_map.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationLocalization
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace LocalizationCompat
open _root_.AffineDilatation
open _root_.AffineDilatation
variable {A : Type u} [CommRing A] (I : Ideal A) (a : A)
variable (M : Submonoid A) (A' : Type v) [CommRing A'] [Algebra A A'] [IsLocalization M A']
local notation "I'" => Ideal.map (algebraMap A A') I
local notation "a'" => algebraMap A A' a
local notation "D" => AffineDilatation.Ring I a
local notation "D'" => AffineDilatation.Ring (Ideal.map (algebraMap A A') I) (algebraMap A A' a)
omit [IsLocalization M A'] in
theorem algebraMap_eq_comp : algebraMap A D' = (algebraMap A' D').comp (algebraMap A A')
AbelianVarieties.NOSProofs.DilatationLocalization.AffineDilatation.LocalizationCompat.map_le_span
Source context 18 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_AffineDilatation_exists_algHom_isLocalization_map.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationLocalization
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace LocalizationCompat
open _root_.AffineDilatation
open _root_.AffineDilatation
variable {A : Type u} [CommRing A] (I : Ideal A) (a : A)
variable (M : Submonoid A) (A' : Type v) [CommRing A'] [Algebra A A'] [IsLocalization M A']
local notation "I'" => Ideal.map (algebraMap A A') I
local notation "a'" => algebraMap A A' a
local notation "D" => AffineDilatation.Ring I a
local notation "D'" => AffineDilatation.Ring (Ideal.map (algebraMap A A') I) (algebraMap A A' a)
omit [IsLocalization M A'] in
theorem map_le_span (ha : a ∈ I) :
    I.map (algebraMap A D') ≤ Ideal.span {algebraMap A D' a}
AbelianVarieties.NOSProofs.DilatationLocalization.AffineDilatation.LocalizationCompat.nonempty_algHom
Source context 18 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_AffineDilatation_exists_algHom_isLocalization_map.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationLocalization
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace LocalizationCompat
open _root_.AffineDilatation
open _root_.AffineDilatation
variable {A : Type u} [CommRing A] (I : Ideal A) (a : A)
variable (M : Submonoid A) (A' : Type v) [CommRing A'] [Algebra A A'] [IsLocalization M A']
local notation "I'" => Ideal.map (algebraMap A A') I
local notation "a'" => algebraMap A A' a
local notation "D" => AffineDilatation.Ring I a
local notation "D'" => AffineDilatation.Ring (Ideal.map (algebraMap A A') I) (algebraMap A A' a)
omit [IsLocalization M A'] in
theorem nonempty_algHom (ha : a ∈ I) : Nonempty (D →ₐ[A] D')
AbelianVarieties.NOSProofs.DilatationLocalization.AffineDilatation.LocalizationCompat.pow_smul_eq_of_coe_eq
Source context 18 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_AffineDilatation_exists_algHom_isLocalization_map.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationLocalization
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace LocalizationCompat
open _root_.AffineDilatation
open _root_.AffineDilatation
variable {A : Type u} [CommRing A] (I : Ideal A) (a : A)
variable (M : Submonoid A) (A' : Type v) [CommRing A'] [Algebra A A'] [IsLocalization M A']
local notation "I'" => Ideal.map (algebraMap A A') I
local notation "a'" => algebraMap A A' a
local notation "D" => AffineDilatation.Ring I a
local notation "D'" => AffineDilatation.Ring (Ideal.map (algebraMap A A') I) (algebraMap A A' a)
omit [IsLocalization M A'] in
theorem pow_smul_eq_of_coe_eq {B : Type v} [CommRing B] (J : Ideal B) (b : B) (n : ℕ) (g : B)
    (x : AffineDilatation.Ring J b)
    (hx : (x : Localization.Away b) =
      IsLocalization.mk' (Localization.Away b) g (⟨b ^ n, n, rfl⟩ : Submonoid.powers b)) :
    b ^ n • x = algebraMap B (AffineDilatation.Ring J b) g
AbelianVarieties.NOSProofs.DilatationLocalization.AffineDilatation.LocalizationCompat.pow_smul_map_eq
Source context 18 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_AffineDilatation_exists_algHom_isLocalization_map.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationLocalization
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace LocalizationCompat
open _root_.AffineDilatation
open _root_.AffineDilatation
variable {A : Type u} [CommRing A] (I : Ideal A) (a : A)
variable (M : Submonoid A) (A' : Type v) [CommRing A'] [Algebra A A'] [IsLocalization M A']
local notation "I'" => Ideal.map (algebraMap A A') I
local notation "a'" => algebraMap A A' a
local notation "D" => AffineDilatation.Ring I a
local notation "D'" => AffineDilatation.Ring (Ideal.map (algebraMap A A') I) (algebraMap A A' a)
omit [IsLocalization M A'] in
theorem pow_smul_map_eq (φ : D →ₐ[A] D') (n : ℕ) (g : A) (x : D)
    (hx : (x : Localization.Away a) =
      IsLocalization.mk' (Localization.Away a) g (⟨a ^ n, n, rfl⟩ : Submonoid.powers a)) :
    a ^ n • φ x = algebraMap A D' g
AbelianVarieties.NOSProofs.DilatationLocalization.AffineDilatation.LocalizationCompat.isSMulRegular_pow
Source context 18 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_AffineDilatation_exists_algHom_isLocalization_map.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationLocalization
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace LocalizationCompat
open _root_.AffineDilatation
open _root_.AffineDilatation
variable {A : Type u} [CommRing A] (I : Ideal A) (a : A)
variable (M : Submonoid A) (A' : Type v) [CommRing A'] [Algebra A A'] [IsLocalization M A']
local notation "I'" => Ideal.map (algebraMap A A') I
local notation "a'" => algebraMap A A' a
local notation "D" => AffineDilatation.Ring I a
local notation "D'" => AffineDilatation.Ring (Ideal.map (algebraMap A A') I) (algebraMap A A' a)
omit [IsLocalization M A'] in
theorem isSMulRegular_pow (ha : a ∈ I) (n : ℕ) : IsSMulRegular D' (a ^ n)
AbelianVarieties.NOSProofs.DilatationLocalization.AffineDilatation.LocalizationCompat.map_units
Source context 17 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_AffineDilatation_exists_algHom_isLocalization_map.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationLocalization
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace LocalizationCompat
open _root_.AffineDilatation
open _root_.AffineDilatation
variable {A : Type u} [CommRing A] (I : Ideal A) (a : A)
variable (M : Submonoid A) (A' : Type v) [CommRing A'] [Algebra A A'] [IsLocalization M A']
local notation "I'" => Ideal.map (algebraMap A A') I
local notation "a'" => algebraMap A A' a
local notation "D" => AffineDilatation.Ring I a
local notation "D'" => AffineDilatation.Ring (Ideal.map (algebraMap A A') I) (algebraMap A A' a)
theorem map_units (φ : D →ₐ[A] D') (m : M) :
    IsUnit (φ (algebraMap A D (m : A)))
AbelianVarieties.NOSProofs.DilatationLocalization.AffineDilatation.LocalizationCompat.surj
Source context 17 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_AffineDilatation_exists_algHom_isLocalization_map.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationLocalization
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace LocalizationCompat
open _root_.AffineDilatation
open _root_.AffineDilatation
variable {A : Type u} [CommRing A] (I : Ideal A) (a : A)
variable (M : Submonoid A) (A' : Type v) [CommRing A'] [Algebra A A'] [IsLocalization M A']
local notation "I'" => Ideal.map (algebraMap A A') I
local notation "a'" => algebraMap A A' a
local notation "D" => AffineDilatation.Ring I a
local notation "D'" => AffineDilatation.Ring (Ideal.map (algebraMap A A') I) (algebraMap A A' a)
theorem surj (ha : a ∈ I) (φ : D →ₐ[A] D') (y : D') :
    ∃ (x : D) (m : M), y * φ (algebraMap A D (m : A)) = φ x
AbelianVarieties.NOSProofs.DilatationLocalization.AffineDilatation.LocalizationCompat.exists_of_eq
Source context 17 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_AffineDilatation_exists_algHom_isLocalization_map.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationLocalization
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace LocalizationCompat
open _root_.AffineDilatation
open _root_.AffineDilatation
variable {A : Type u} [CommRing A] (I : Ideal A) (a : A)
variable (M : Submonoid A) (A' : Type v) [CommRing A'] [Algebra A A'] [IsLocalization M A']
local notation "I'" => Ideal.map (algebraMap A A') I
local notation "a'" => algebraMap A A' a
local notation "D" => AffineDilatation.Ring I a
local notation "D'" => AffineDilatation.Ring (Ideal.map (algebraMap A A') I) (algebraMap A A' a)
theorem exists_of_eq (ha : a ∈ I) (φ : D →ₐ[A] D') (x₁ x₂ : D) (h : φ x₁ = φ x₂) :
    ∃ c : Algebra.algebraMapSubmonoid D M, (c : D) * x₁ = (c : D) * x₂
AbelianVarieties.NOSProofs.DilatationLocalization.AffineDilatation.LocalizationCompat.isLocalization
Source context 17 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_AffineDilatation_exists_algHom_isLocalization_map.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationLocalization
universe u v
namespace AffineDilatation
open _root_.AffineDilatation
namespace LocalizationCompat
open _root_.AffineDilatation
open _root_.AffineDilatation
variable {A : Type u} [CommRing A] (I : Ideal A) (a : A)
variable (M : Submonoid A) (A' : Type v) [CommRing A'] [Algebra A A'] [IsLocalization M A']
local notation "I'" => Ideal.map (algebraMap A A') I
local notation "a'" => algebraMap A A' a
local notation "D" => AffineDilatation.Ring I a
local notation "D'" => AffineDilatation.Ring (Ideal.map (algebraMap A A') I) (algebraMap A A' a)
theorem isLocalization (ha : a ∈ I) (φ : D →ₐ[A] D') :
    @IsLocalization _ _ (Algebra.algebraMapSubmonoid D M) D' _ φ.toRingHom.toAlgebra
AffineDilatation.exists_algHom_isLocalization_map
Source context 6 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_AffineDilatation_exists_algHom_isLocalization_map.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace DilatationLocalization
universe u v
theorem _root_.AffineDilatation.exists_algHom_isLocalization_map
    {A : Type u} [CommRing A] (I : Ideal A) (a : A) (ha : a ∈ I)
    (M : Submonoid A) (A' : Type v) [CommRing A'] [Algebra A A'] [IsLocalization M A'] :
    ∃ φ : AffineDilatation.Ring I a →ₐ[A]
        AffineDilatation.Ring (I.map (algebraMap A A')) (algebraMap A A' a),
      @IsLocalization _ _ (Algebra.algebraMapSubmonoid (AffineDilatation.Ring I a) M)
        (AffineDilatation.Ring (I.map (algebraMap A A')) (algebraMap A A' a)) _
        φ.toRingHom.toAlgebra