Module

Multiplication.lean

Nyll.AbelianVarieties.NeronModels.Multiplication
170 declarations indexed from sourceView source ↗

Extending partial multiplication on a smooth model

Fiberwise dense domains extend multiplication and its translations. Associativity then constructs a relative group law, while graph closure controls enlargements of the domain.

Imports15
Imported by3

Declarations

AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.FibMax

A point maximal for specialization inside its fiber.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
section FibreMax
def FibMax {X Y : Scheme.{u}} (f : X ⟶ Y) (x : X) : Prop
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.fibMax_of_maximal
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
section FibreMax
theorem fibMax_of_maximal {X Y : Scheme.{u}} (f : X ⟶ Y) {x : X} (h : ∀ x' : X, x' ⤳ x → x' = x) :
    FibMax f x
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.maximal_of_generalizingMap
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
section FibreMax
theorem maximal_of_generalizingMap {X Y : Scheme.{u}} (f : X ⟶ Y) (hf : GeneralizingMap f.base)
    {x : X}
    (h : ∀ x' : X, x' ⤳ x → x' = x) : ∀ y' : Y, y' ⤳ f.base x → y' = f.base x
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.fibMax_comp_of_injective
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
section FibreMax
theorem fibMax_comp_of_injective {A B C : Scheme.{u}} (e : A ⟶ B) (β : B ⟶ C)
    (he : Function.Injective e.base)
    {q : A} (h : FibMax β (e.base q)) : FibMax (e ≫ β) q
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.fibMax_of_isOpenImmersion
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
section FibreMax
theorem fibMax_of_isOpenImmersion {A B C : Scheme.{u}} (e : A ⟶ B) [IsOpenImmersion e] (β : B ⟶ C)
    {q : A} (h : FibMax (e ≫ β) q) : FibMax β (e.base q)
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.maximal_of_dominated
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
section FibreMax
theorem maximal_of_dominated {A B B'' : Scheme.{u}} (G : A ⟶ B) (H : B'' ⟶ A) (π : B'' ⟶ B)
    (hπ : GeneralizingMap π.base) (hGH : H ≫ G = π) {b : B''} {x : A} (hx : H.base b = x)
    (h : ∀ x' : A, x' ⤳ x → x' = x) : ∀ y' : B, y' ⤳ G.base x → y' = G.base x
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.fibMax_fst_of_isPullback
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
section FibreMax
theorem fibMax_fst_of_isPullback {P X Y Z : Scheme.{u}} {fst : P ⟶ X} {snd : P ⟶ Y} {f : X ⟶ Z}
    {g : Y ⟶ Z}
    (h : IsPullback fst snd f g) {ω : P} (hω : FibMax snd ω) : FibMax f (fst.base ω)
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.exists_fibMax
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
section FibreMax
theorem exists_fibMax {X Y : Scheme.{u}} (f : X ⟶ Y) (t : Y) (ht : t ∈ Set.range f.base) :
    ∃ ω : X, f.base ω = t ∧ FibMax f ω
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.mem_of_dense_fibre_of_fibMax
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
section FibreMax
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
  (mem_of_dense_of_forall_specializes)
theorem mem_of_dense_fibre_of_fibMax {X Y : Scheme.{u}} (f : X ⟶ Y) [LocallyOfFiniteType f]
    (S : X.Opens)
    (x₀ : Y) (hd : Dense ((Subtype.val : {q : X // f.base q = x₀} → X) ⁻¹' (S : Set X)))
    {q : X} (hq : f.base q = x₀) (hmax : FibMax f q) : q ∈ S
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.dense_of_forall_dense_fibre
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
section FibreMax
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
  (mem_of_dense_of_forall_specializes)
theorem dense_of_forall_dense_fibre {X Y : Scheme.{u}} (f : X ⟶ Y) (S : Set X)
    (h : ∀ x : Y, Dense ((Subtype.val : {q : X // f.base q = x} → X) ⁻¹' S)) : Dense S
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.dense_of_forall_maximal_mem
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
section FibreMax
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
  (mem_of_dense_of_forall_specializes)
theorem dense_of_forall_maximal_mem {X : Scheme.{u}} {S : Set X}
    (h : ∀ x : X, (∀ x' : X, x' ⤳ x → x' = x) → x ∈ S) : Dense S
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.maximal_of_injective
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
section FibreMax
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
  (mem_of_dense_of_forall_specializes)
theorem maximal_of_injective {A B : Scheme.{u}} (e : A ⟶ B) (he : Function.Injective e.base) {q : A}
    (h : ∀ x' : B, x' ⤳ e.base q → x' = e.base q) (q' : A) (hq' : q' ⤳ q) : q' = q
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.exists_extension_of_descent
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
section Descent
theorem exists_extension_of_descent {S Z Z' Yt : Scheme.{u}} (s : Z ⟶ S) (yS : Yt ⟶ S)
    [IsSeparated yS]
    [IsReduced Z] (V : Z.Opens) (f : (V : Scheme.{u}) ⟶ Yt) (hf : f ≫ yS = V.ι ≫ s)
    (p : Z' ⟶ Z) [Flat p] [LocallyOfFinitePresentation p] [Surjective p] [IsReduced (pullback p p)]
    (f' : Z' ⟶ Yt) (hf' : f' ≫ yS = p ≫ s)
    (Ω : Z'.Opens) (hΩ : Dense (Ω : Set Z')) (hΩV : Ω ≤ p ⁻¹ᵁ V)
    (hagree : Ω.ι ≫ f' = p.resLE V Ω hΩV ≫ f) :
    ∃ F : Z ⟶ Yt, p ≫ F = f' ∧ V.ι ≫ F = f ∧ F ≫ yS = s
structure

Chunk

L313 ↗
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk

A partial multiplication with open left and right translations.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
structure Chunk (R : Type u) [CommRing R] where
  /-- The underlying smooth model. -/
  Y : Scheme.{u}
  /-- The product scheme. -/
  P : Scheme.{u}
  /-- The structure morphism. -/
  y : Y ⟶ Spec (CommRingCat.of R)
  /-- The first projection. -/
  π₁ : P ⟶ Y
  /-- The second projection. -/
  π₂ : P ⟶ Y
  /-- The product square. -/
  hP : IsPullback π₁ π₂ y y
  /-- The domain of the partial multiplication. -/
  U : P.Opens
  /-- The partial multiplication morphism. -/
  m : (U : Scheme.{u}) ⟶ Y
  /-- Multiplication is over the base. -/
  hm : m ≫ y = U.ι ≫ π₁ ≫ y
  /-- The left translation graph. -/
  Φ : (U : Scheme.{u}) ⟶ P
  /-- The right translation graph. -/
  Ψ : (U : Scheme.{u}) ⟶ P
  /-- The left graph preserves the first coordinate. -/
  Φ_fst : Φ ≫ π₁ = U.ι ≫ π₁
  /-- The left graph has multiplication as second coordinate. -/
  Φ_snd : Φ ≫ π₂ = m
  /-- The right graph has multiplication as first coordinate. -/
  Ψ_fst : Ψ ≫ π₁ = m
  /-- The right graph preserves the second coordinate. -/
  Ψ_snd : Ψ ≫ π₂ = U.ι ≫ π₂
  /-- The left translation graph is open. -/
  Φ_open : IsOpenImmersion Φ
  /-- The right translation graph is open. -/
  Ψ_open : IsOpenImmersion Ψ
  /-- The model is smooth over the base. -/
  y_smooth : Smooth y
  /-- The model is separated over the base. -/
  y_sep : IsSeparated y
  /-- The first projection is smooth. -/
  π₁_smooth : Smooth π₁
  /-- The second projection is smooth. -/
  π₂_smooth : Smooth π₂
  /-- The first projection is surjective. -/
  π₁_surj : Surjective π₁
  /-- The second projection is surjective. -/
  π₂_surj : Surjective π₂
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.flip

Exchange the two factors and the left and right translations.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
def flip : Chunk R where
  Y := D.Y
  P := D.P
  y := D.y
  π₁ := D.π₂
  π₂ := D.π₁
  hP := D.hP.flip
  U := D.U
  m := D.m
  hm := by rw [D.hm, D.hP.w]
  Φ := D.Ψ
  Ψ := D.Φ
  Φ_fst := D.Ψ_snd
  Φ_snd := D.Ψ_fst
  Ψ_fst := D.Φ_snd
  Ψ_snd := D.Φ_fst
  Φ_open := D.Ψ_open
  Ψ_open := D.Φ_open
  y_smooth := D.y_smooth
  y_sep := D.y_sep
  π₁_smooth := D.π₂_smooth
  π₂_smooth := D.π₁_smooth
  π₁_surj := D.π₂_surj
  π₂_surj := D.π₁_surj
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.Assoc

Associativity on every test scheme wherever both products are defined.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
def Assoc : Prop
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.FibDense

Density on every fiber of the given projection.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
def FibDense (π : D.P ⟶ D.Y) (S : Set D.P) : Prop
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.MaxMem

The open subset contains all fiberwise maximal points.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
def MaxMem (Y₀ : D.Y.Opens) : Prop
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.SqSub

Pairs from the chosen open subset lie in the multiplication domain.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
def SqSub (Y₀ : D.Y.Opens) : Prop
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.assoc_flip
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem assoc_flip (h : D.Assoc) : D.flip.Assoc
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.sqSub_flip
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem sqSub_flip {Y₀ : D.Y.Opens} (h : D.SqSub Y₀) : D.flip.SqSub Y₀
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.isReduced_P
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem isReduced_P [IsDomain R] [IsDiscreteValuationRing R] : IsReduced D.P
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.Y3

The scheme of composable pairs.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
abbrev Y3 : Scheme.{u}
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.P12

Projection to the first composable pair.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
abbrev P12 : D.Y3 ⟶ D.P
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.P23

Projection to the second composable pair.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
abbrev P23 : D.Y3 ⟶ D.P
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.outer

Projection to the two outer factors.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
def outer : D.Y3 ⟶ D.P
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.outer_fst
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem outer_fst : D.outer ≫ D.π₁ = D.P12 ≫ D.π₁
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.outer_snd
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem outer_snd : D.outer ≫ D.π₂ = D.P23 ≫ D.π₂
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.isPullback_P12_outer
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem isPullback_P12_outer : IsPullback D.P12 D.outer D.π₁ D.π₁
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.isPullback_P23_outer
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem isPullback_P23_outer : IsPullback D.P23 D.outer D.π₂ D.π₂
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.smooth_outer
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
instance smooth_outer : Smooth D.outer
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.surjective_outer
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
instance surjective_outer : Surjective D.outer
abbrev

V

L474 ↗
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.V

The open image of left translation.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
abbrev V : D.P.Opens
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.coe_V
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem coe_V : (D.V : Set D.P) = Set.range D.Φ.base
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.linv

The inverse of left translation onto its open image.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
abbrev linv : (D.V : Scheme.{u}) ⟶ D.U
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.linv_Φ
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem linv_Φ : D.linv ≫ D.Φ = D.V.ι
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.linv_fst
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem linv_fst : D.linv ≫ D.U.ι ≫ D.π₁ = D.V.ι ≫ D.π₁
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.linv_m
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem linv_m : D.linv ≫ D.m = D.V.ι ≫ D.π₂
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.divl

Left division on the translation image.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
def divl : (D.V : Scheme.{u}) ⟶ D.Y
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.ZM

The correspondence used to descend multiplication.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
abbrev ZM : Scheme.{u}
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.jM

The multiplication correspondence as an open part of the triple product.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
def jM : D.ZM ⟶ D.Y3
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
instance : IsOpenImmersion D.jM
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.jM_P12
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem jM_P12 : D.jM ≫ D.P12 = pullback.fst _ _ ≫ D.U.ι
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.jM_P23
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem jM_P23 : D.jM ≫ D.P23 = pullback.snd _ _ ≫ D.V.ι
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.FM

The pair to be multiplied in the descent correspondence.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
def FM : D.ZM ⟶ D.P
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.FM_fst
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem FM_fst : D.FM ≫ D.π₁ = pullback.fst _ _ ≫ D.m
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.FM_snd
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem FM_snd : D.FM ≫ D.π₂ = pullback.snd _ _ ≫ D.divl
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.ΩM

The open part where the auxiliary product is defined.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
def ΩM : D.ZM.Opens
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.pM

The smooth projection used for multiplication descent.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
def pM : (D.ΩM : Scheme.{u}) ⟶ D.P
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.ppM

The auxiliary product restricted to its domain.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
def ppM : (D.ΩM : Scheme.{u}) ⟶ D.U
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.ppM_ι
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem ppM_ι : D.ppM ≫ D.U.ι = D.ΩM.ι ≫ D.FM
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.fM

Multiplication on the auxiliary descent cover.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
def fM : (D.ΩM : Scheme.{u}) ⟶ D.Y
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.pM_fst
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem pM_fst : D.pM ≫ D.π₁ = D.ΩM.ι ≫ pullback.fst _ _ ≫ D.U.ι ≫ D.π₁
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.pM_snd
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem pM_snd : D.pM ≫ D.π₂ = D.ΩM.ι ≫ pullback.snd _ _ ≫ D.V.ι ≫ D.π₂
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.smooth_pM
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
instance smooth_pM : Smooth D.pM
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.surjective_pM
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem surjective_pM (hU₁ : D.FibDense D.π₁ D.U) (hV₂ : D.FibDense D.π₂ (Set.range D.Φ.base))
    (Y₀ : D.Y.Opens) (hY₀ : D.MaxMem Y₀) (hY₀U : D.SqSub Y₀) : Surjective D.pM
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.fM_agree
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem fM_agree (hassoc : D.Assoc) :
    (D.pM ⁻¹ᵁ D.U).ι ≫ D.fM = D.pM.resLE D.U _ le_rfl ≫ D.m
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.exists_M
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
theorem exists_M [IsDomain R] [IsDiscreteValuationRing R] (hassoc : D.Assoc)
    (hU₁ : D.FibDense D.π₁ D.U)
    (hV₂ : D.FibDense D.π₂ (Set.range D.Φ.base)) (Y₀ : D.Y.Opens) (hY₀ : D.MaxMem Y₀)
        (hY₀U : D.SqSub Y₀) :
    ∃ M : D.P ⟶ D.Y, D.U.ι ≫ M = D.m ∧ M ≫ D.y = D.π₁ ≫ D.y
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.ZD

The correspondence used to descend division.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
abbrev ZD : Scheme.{u}
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.jD

The division correspondence as an open part of the triple product.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
def jD : D.ZD ⟶ D.Y3
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
instance : IsOpenImmersion D.jD
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.jD_P12
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem jD_P12 : D.jD ≫ D.P12 = pullback.fst _ _ ≫ D.Φ
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.jD_P23
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem jD_P23 : D.jD ≫ D.P23 = pullback.snd _ _ ≫ D.Φ
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.FD

The pair to be multiplied in the division correspondence.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
def FD : D.ZD ⟶ D.P
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.FD_fst
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem FD_fst : D.FD ≫ D.π₁ = pullback.fst _ _ ≫ D.U.ι ≫ D.π₂
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.FD_snd
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem FD_snd : D.FD ≫ D.π₂ = pullback.snd _ _ ≫ D.U.ι ≫ D.π₂
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.ΩD

The open part where the division correspondence is defined.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
def ΩD : D.ZD.Opens
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.pD

The smooth projection used for division descent.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
def pD : (D.ΩD : Scheme.{u}) ⟶ D.P
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.ppD

The auxiliary division pair restricted to the multiplication domain.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
def ppD : (D.ΩD : Scheme.{u}) ⟶ D.U
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.ppD_ι
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem ppD_ι : D.ppD ≫ D.U.ι = D.ΩD.ι ≫ D.FD
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.fD

The division map on the auxiliary descent cover.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
def fD : (D.ΩD : Scheme.{u}) ⟶ D.Y
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.pD_fst
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem pD_fst : D.pD ≫ D.π₁ = D.ΩD.ι ≫ pullback.fst _ _ ≫ D.U.ι ≫ D.π₁
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.pD_snd
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem pD_snd : D.pD ≫ D.π₂ = D.ΩD.ι ≫ pullback.snd _ _ ≫ D.m
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.smooth_pD
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
instance smooth_pD : Smooth D.pD
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.fD_y
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem fD_y : D.fD ≫ D.y = D.pD ≫ D.π₁ ≫ D.y
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.GD

The pair formed from the base point and the auxiliary 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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
def GD : (D.ΩD : Scheme.{u}) ⟶ D.P
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.GD_fst
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem GD_fst : D.GD ≫ D.π₁ = D.pD ≫ D.π₁
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.GD_snd
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem GD_snd : D.GD ≫ D.π₂ = D.fD
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.ΩD'

The open locus where division agrees with the original partial law.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
def ΩD' : (D.ΩD : Scheme.{u}).Opens
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.ΩD'_le_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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem ΩD'_le_left : D.ΩD' ≤ D.pD ⁻¹ᵁ D.V
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.ΩD'_le_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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem ΩD'_le_right : D.ΩD' ≤ D.GD ⁻¹ᵁ D.U
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.surjective_pD
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem surjective_pD (hV₁ : D.FibDense D.π₁ (Set.range D.Φ.base))
    (hV₂ : D.FibDense D.π₂ (Set.range D.Φ.base))
    (Y₀ : D.Y.Opens) (hY₀ : D.MaxMem Y₀) (hY₀U : D.SqSub Y₀) : Surjective D.pD
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.fD_agree
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem fD_agree (hassoc : D.Assoc) :
    D.ΩD'.ι ≫ D.fD = D.pD.resLE D.V D.ΩD' D.ΩD'_le_left ≫ D.divl
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.BD

The base-changed multiplication correspondence.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
abbrev BD : Scheme.{u}
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.KD

The multiplication map on the base-changed correspondence.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
def KD : D.BD ⟶ D.P
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.KD_fst
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem KD_fst : D.KD ≫ D.π₁ = pullback.fst _ _ ≫ D.m
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.KD_snd
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem KD_snd : D.KD ≫ D.π₂ = pullback.snd _ _ ≫ D.π₂
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.BD'

The open part where the base-changed product is defined.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
def BD' : D.BD.Opens
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.BD'_le
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem BD'_le : D.BD' ≤ D.KD ⁻¹ᵁ D.U
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.HD

The map from the base-changed correspondence to the division correspondence.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
def HD : (D.BD' : Scheme.{u}) ⟶ D.ZD
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.HD_FD
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem HD_FD : D.HD ≫ D.FD = D.BD'.ι ≫ pullback.snd _ _
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.LD

The comparison map into the base-changed correspondence.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
def LD : D.ZD ⟶ D.BD
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.LD_KD
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem LD_KD : D.LD ≫ D.KD = pullback.snd _ _ ≫ D.U.ι
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.range_LD
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem range_LD : Set.range D.LD.base ⊆ Set.range D.BD'.ι.base
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.LD'

The comparison map restricted to the open multiplication domain.

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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
def LD' : D.ZD ⟶ D.BD'
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.LD'_HD
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem LD'_HD : D.LD' ≫ D.HD = 𝟙 _
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.maximal_FD
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem maximal_FD {ζ : D.ZD} (hζ : ∀ x', x' ⤳ ζ → x' = ζ) (q' : D.P) (hq' : q' ⤳ D.FD.base ζ) :
    q' = D.FD.base ζ
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.dense_ΩD'
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem dense_ΩD' (Y₀ : D.Y.Opens) (hY₀ : D.MaxMem Y₀) (hY₀U : D.SqSub Y₀)
    (hV₁ : D.FibDense D.π₁ (Set.range D.Φ.base)) : Dense (D.ΩD' : Set D.ΩD)
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.exists_Dv
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
theorem exists_Dv [IsDomain R] [IsDiscreteValuationRing R] (hassoc : D.Assoc)
    (hV₁ : D.FibDense D.π₁ (Set.range D.Φ.base)) (hV₂ : D.FibDense D.π₂ (Set.range D.Φ.base))
    (Y₀ : D.Y.Opens) (hY₀ : D.MaxMem Y₀) (hY₀U : D.SqSub Y₀) :
    ∃ Dv : D.P ⟶ D.Y, D.V.ι ≫ Dv = D.divl ∧ Dv ≫ D.y = D.π₁ ≫ D.y
AbelianVarieties.NOSProofs.MultiplicationExtension.Extension.Chunk.isIso_translation
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.MultiplicationExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry Topology
universe u
namespace Extension
attribute [local instance] Chunk.Φ_open Chunk.Ψ_open Chunk.y_smooth Chunk.y_sep
  Chunk.π₁_smooth Chunk.π₂_smooth Chunk.π₁_surj Chunk.π₂_surj
namespace Chunk
variable {R : Type u} [CommRing R] (D : Chunk R)
section Division
variable (M : D.P ⟶ D.Y) (hMm : D.U.ι ≫ M = D.m) (hMy : M ≫ D.y = D.π₁ ≫ D.y)
include hMm hMy in
theorem isIso_translation [IsDomain R] [IsDiscreteValuationRing R] (hassoc : D.Assoc)
    (hV₁ : D.FibDense D.π₁ (Set.range D.Φ.base)) (hV₂ : D.FibDense D.π₂ (Set.range D.Φ.base))
    (Y₀ : D.Y.Opens) (hY₀ : D.MaxMem Y₀) (hY₀U : D.SqSub Y₀) :
    IsIso (D.hP.lift D.π₁ M (by rw [hMy])) := by
  have : IsReduced D.P := D.isReduced_P
  have : IsSeparated D.π₁ := MorphismProperty.of_isPullback D.hP.flip inferInstance
  obtain ⟨Dv, hDv, hDy⟩ := D.exists_Dv hassoc hV₁ hV₂ Y₀ hY₀ hY₀U
  set ΦM := D.hP.lift D.π₁ M (by rw [hMy])
  let N : D.P ⟶ D.P := D.hP.lift D.π₁ Dv (by rw [hDy])
  have hUΦM : D.U.ι ≫ ΦM = D.Φ := by
    refine D.hP.hom_ext ?_ ?_
    · rw [Category.assoc, IsPullback.lift_fst, D.Φ_fst]
    · rw [Category.assoc, IsPullback.lift_snd, hMm, D.Φ_snd]
  have hVN : D.V.ι ≫ N = D.linv ≫ D.U.ι := by
    refine D.hP.hom_ext ?_ ?_
    · rw [Category.assoc, IsPullback.lift_fst, Category.assoc, D.linv_fst]
    · rw [Category.assoc, IsPullback.lift_snd, hDv, divl, Category.assoc]
  have hVd : Dense (D.V : Set D.P) := by rw [coe_V]; exact dense_of_forall_dense_fibre D.π₁ _ hV₁
  have hUd : Dense (D.U : Set D.P) := by
    refine dense_of_forall_maximal_mem fun q hq => hY₀U q ?_ ?_
    · exact hY₀ _ (fibMax_of_maximal _ (maximal_of_generalizingMap D.π₁
        (Flat.generalizingMap _) hq))
    · exact hY₀ _ (fibMax_of_maximal _ (maximal_of_generalizingMap D.π₂
        (Flat.generalizingMap _) hq))
  have : IsDominant D.U.ι := ⟨by rw [DenseRange, Scheme.Opens.range_ι]; exact hUd⟩
  have : IsDominant D.V.ι := ⟨by rw [DenseRange, Scheme.Opens.range_ι]; exact hVd⟩
  refine ⟨N, ?_, ?_⟩
  · refine ext_of_isDominant_of_isSeparated (D.π₁ ≫ D.y) ?_ D.U.ι ?_
    · rw [Category.assoc, IsPullback.lift_fst_assoc, IsPullback.lift_fst_assoc, Category.id_comp]
    · rw [Category.comp_id, reassoc_of% hUΦM, ← D.Φ.isoOpensRange_hom_ι, Category.assoc, hVN,
        Iso.hom_inv_id_assoc]
  · refine ext_of_isDominant_of_isSeparated (D.π₁ ≫ D.y) ?_ D.V.ι ?_
    · rw [Category.assoc, IsPullback.lift_fst_assoc, IsPullback.lift_fst_assoc, Category.id_comp]
    · rw [Category.comp_id, reassoc_of% hVN, hUΦM, D.linv_Φ]
NeronModelInfra.exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section
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_NeronModelInfra_exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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 NeronModelInfra
noncomputable section
universe u
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry GoodReductionJacobian Topology
open AbelianVarieties.NOSProofs.MultiplicationExtension
theorem
    exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section
    {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
    [Smooth y] [IsSeparated y] [LocallyOfFiniteType y] [QuasiCompact y]
    (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
    (hU₁ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (U : Set ↑(pullback y y))))
    (_hU₂ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.snd y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (U : Set ↑(pullback y y))))
    (hΦ : IsOpenImmersion
      (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
            ((Category.assoc _ _ _).trans m.2.symm)))
    (hΦ₁ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
            ((Category.assoc _ _ _).trans m.2.symm)).base)))
    (hΦ₂ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.snd y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
            ((Category.assoc _ _ _).trans m.2.symm)).base)))
    (hΨ : IsOpenImmersion
      (pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
            (m.2.trans (by rw [Category.assoc, pullback.condition]))))
    (hΨ₁ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
            (m.2.trans (by rw [Category.assoc, pullback.condition]))).base)))
    (hΨ₂ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.snd y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
            (m.2.trans (by rw [Category.assoc, pullback.condition]))).base)))
    (hassoc : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
        (u v p q : SchemeHomOver t (U.ι ≫ pullback.fst y y ≫ y)),
      u.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫ pullback.fst y y →
      p.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ m.1 →
          p.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫ pullback.snd y y →
      q.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ U.ι ≫ pullback.fst y y →
          q.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ m.1 →
      p.1 ≫ m.1 = q.1 ≫ m.1)
    (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
    (Y₀ : Y.Opens)
    (hY₀ : ∀ p : Y, (∀ p' : Y, p' ⤳ p → y.base p' = y.base p → p' = p) → p ∈ Y₀)
    (hY₀U : ∀ q : ↑(pullback y y), (pullback.fst y y).base q ∈ Y₀ →
        (pullback.snd y y).base q ∈ Y₀ → q ∈ U) :
    ∃ M : SchemeHomOver (pullback.fst y y ≫ y) y,
      U.ι ≫ M.1 = m.1 ∧
      IsIso (pullback.lift (f := y) (g := y) (pullback.fst y y) M.1 M.2.symm) ∧
      IsIso (pullback.lift (f := y) (g := y) M.1 (pullback.snd y y)
          (M.2.trans pullback.condition)) := by
  have : Surjective y := ⟨fun s => ⟨a.base s, by rw [← Scheme.Hom.comp_apply, ha]; rfl⟩⟩
  have := hΦ
  have := hΨ
  let D : Extension.Chunk R :=
    { Y := Y, P := pullback y y, y := y, π₁ := pullback.fst y y, π₂ := pullback.snd y y,
      hP := IsPullback.of_hasPullback y y, U := U, m := m.1, hm := m.2,
      Φ := pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
          ((Category.assoc _ _ _).trans m.2.symm),
      Ψ := pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
        (m.2.trans (by rw [Category.assoc, pullback.condition])),
      Φ_fst := pullback.lift_fst _ _ _, Φ_snd := pullback.lift_snd _ _ _,
      Ψ_fst := pullback.lift_fst _ _ _, Ψ_snd := pullback.lift_snd _ _ _,
      Φ_open := hΦ, Ψ_open := hΨ, y_smooth := inferInstance, y_sep := inferInstance,
      π₁_smooth := inferInstance, π₂_smooth := inferInstance, π₁_surj := inferInstance, π₂_surj :=
          inferInstance }
  have hassoc' : D.Assoc := fun t u v p q => hassoc t u v p q
  have hU₁' : D.FibDense D.π₁ D.U := hU₁
  have hV₁' : D.FibDense D.π₁ (Set.range D.Φ.base) := hΦ₁
  have hV₂' : D.FibDense D.π₂ (Set.range D.Φ.base) := hΦ₂
  have hW₁' : D.flip.FibDense D.flip.π₂ (Set.range D.flip.Φ.base) := hΨ₁
  have hW₂' : D.flip.FibDense D.flip.π₁ (Set.range D.flip.Φ.base) := hΨ₂
  have hY₀' : D.MaxMem Y₀ := hY₀
  have hY₀U' : D.SqSub Y₀ := hY₀U
  obtain ⟨M, hMm, hMy⟩ := D.exists_M hassoc' hU₁' hV₂' Y₀ hY₀' hY₀U'
  have h1 := D.isIso_translation M hMm hMy hassoc' hV₁' hV₂' Y₀ hY₀' hY₀U'
  have hMy' : M ≫ D.flip.y = D.flip.π₁ ≫ D.flip.y := hMy.trans pullback.condition
  have h2 := D.flip.isIso_translation M hMm hMy' (D.assoc_flip hassoc') hW₂' hW₁' Y₀ hY₀'
      (D.sqSub_flip hY₀U')
  refine ⟨⟨M, hMy⟩, hMm, ?_, ?_⟩
  · have e : pullback.lift (f := y) (g := y) (pullback.fst y y) M hMy.symm =
      D.hP.lift D.π₁ M hMy.symm := by
      apply pullback.hom_ext
      · rw [pullback.lift_fst]; exact (D.hP.lift_fst _ _ _).symm
      · rw [pullback.lift_snd]; exact (D.hP.lift_snd _ _ _).symm
    rw [e]; exact h1
  · have e : pullback.lift (f := y) (g := y) M (pullback.snd y y) (hMy.trans pullback.condition) =
        D.flip.hP.lift D.flip.π₁ M hMy'.symm := by
      apply pullback.hom_ext
      · rw [pullback.lift_fst]; exact (D.flip.hP.lift_snd _ _ _).symm
      · rw [pullback.lift_snd]; exact (D.flip.hP.lift_fst _ _ _).symm
    rw [e]; exact h2
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.pair

The pair of relative points viewed as a point of the fiber product.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
def pair {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)}
    (b c : SchemeHomOver t y) : T ⟶ pullback y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.pair_fst
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
theorem pair_fst {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (b c : SchemeHomOver t y) :
    pair y b c ≫ pullback.fst y y = b.1
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.pair_snd
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
theorem pair_snd {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (b c : SchemeHomOver t y) :
    pair y b c ≫ pullback.snd y y = c.1
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.comp_pair
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
theorem comp_pair {T T' : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} {t' : T' ⟶ Spec
    (CommRingCat.of R)}
    (ψ : T' ⟶ T) (hψ : ψ ≫ t = t') (b c : SchemeHomOver t y) :
    ψ ≫ pair y b c =
      pair y (GoodReductionJacobian.schemeHomOverComp ψ hψ b)
          (GoodReductionJacobian.schemeHomOverComp ψ hψ c)
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.eq_pair_of
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
theorem eq_pair_of {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (b c : SchemeHomOver t y)
    (q : T ⟶ pullback y y) (h₁ : q ≫ pullback.fst y y = b.1) (h₂ : q ≫ pullback.snd y y = c.1) :
    q = pair y b c
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulPt

Multiplication of relative points by the extended multiplication morphism.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
def mulPt {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)}
    (b c : SchemeHomOver t y) : SchemeHomOver t y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulPt_coe
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem mulPt_coe {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (b c : SchemeHomOver t y) :
    (mulPt y M b c).1 = pair y b c ≫ M.1
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulPt_natural
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem mulPt_natural {T T' : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)}
    {t' : T' ⟶ Spec (CommRingCat.of R)} (ψ : T' ⟶ T) (hψ : ψ ≫ t = t') (b c : SchemeHomOver t y) :
    GoodReductionJacobian.schemeHomOverComp ψ hψ (mulPt y M b c) =
      mulPt y M (GoodReductionJacobian.schemeHomOverComp ψ hψ b)
        (GoodReductionJacobian.schemeHomOverComp ψ hψ c)
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.PhiM

Left translation paired with its fixed first coordinate.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
abbrev PhiM : pullback y y ⟶ pullback y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.PsiM

Right translation paired with its fixed second coordinate.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
abbrev PsiM : pullback y y ⟶ pullback y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.pair_PhiM
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem pair_PhiM {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (b c : SchemeHomOver t y) :
    pair y b c ≫ PhiM y M = pair y b (mulPt y M b c)
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.pair_PsiM
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem pair_PsiM {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (b c : SchemeHomOver t y) :
    pair y b c ≫ PsiM y M = pair y (mulPt y M b c) c
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.inv_PhiM_fst
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section DivisionLeft
variable [IsIso (PhiM y M)]
theorem inv_PhiM_fst : inv (PhiM y M) ≫ pullback.fst y y = pullback.fst y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.inv_PhiM_M
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section DivisionLeft
variable [IsIso (PhiM y M)]
theorem inv_PhiM_M : inv (PhiM y M) ≫ M.1 = pullback.snd y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.divL

Left division obtained by inverting the left translation isomorphism.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section DivisionLeft
variable [IsIso (PhiM y M)]
def divL {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)}
    (b c : SchemeHomOver t y) : SchemeHomOver t y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.divL_coe
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section DivisionLeft
variable [IsIso (PhiM y M)]
theorem divL_coe {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (b c : SchemeHomOver t y) :
    (divL y M b c).1 = (pair y b c ≫ inv (PhiM y M)) ≫ pullback.snd y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulPt_divL
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section DivisionLeft
variable [IsIso (PhiM y M)]
theorem mulPt_divL {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (b c : SchemeHomOver t y) :
    mulPt y M b (divL y M b c) = c
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.divL_mulPt
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section DivisionLeft
variable [IsIso (PhiM y M)]
theorem divL_mulPt {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (b c : SchemeHomOver t y) :
    divL y M b (mulPt y M b c) = c
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.inv_PsiM_snd
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section DivisionRight
variable [IsIso (PsiM y M)]
theorem inv_PsiM_snd : inv (PsiM y M) ≫ pullback.snd y y = pullback.snd y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.inv_PsiM_M
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section DivisionRight
variable [IsIso (PsiM y M)]
theorem inv_PsiM_M : inv (PsiM y M) ≫ M.1 = pullback.fst y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.divR

Right division obtained by inverting the right translation isomorphism.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section DivisionRight
variable [IsIso (PsiM y M)]
def divR {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)}
    (c b : SchemeHomOver t y) : SchemeHomOver t y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.divR_coe
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section DivisionRight
variable [IsIso (PsiM y M)]
theorem divR_coe {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (c b : SchemeHomOver t y) :
    (divR y M c b).1 = (pair y c b ≫ inv (PsiM y M)) ≫ pullback.fst y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulPt_divR
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section DivisionRight
variable [IsIso (PsiM y M)]
theorem mulPt_divR {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (c b : SchemeHomOver t y) :
    mulPt y M (divR y M c b) b = c
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.divR_mulPt
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section DivisionRight
variable [IsIso (PsiM y M)]
theorem divR_mulPt {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (c b : SchemeHomOver t y) :
    divR y M (mulPt y M c b) b = c
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.basePt

The relative point induced by the chosen base section.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section Group
variable [IsIso (PhiM y M)] [IsIso (PsiM y M)]
variable (hM : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (b c d : SchemeHomOver t y),
  mulPt y M (mulPt y M b c) d = mulPt y M b (mulPt y M c d))
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
def basePt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) : SchemeHomOver t y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.onePt

The identity point recovered by dividing the base section by itself.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section Group
variable [IsIso (PhiM y M)] [IsIso (PsiM y M)]
variable (hM : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (b c d : SchemeHomOver t y),
  mulPt y M (mulPt y M b c) d = mulPt y M b (mulPt y M c d))
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
def onePt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) : SchemeHomOver t y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulPt_onePt
Source context 15 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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section Group
variable [IsIso (PhiM y M)] [IsIso (PsiM y M)]
variable (hM : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (b c d : SchemeHomOver t y),
  mulPt y M (mulPt y M b c) d = mulPt y M b (mulPt y M c d))
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
include hM in
theorem mulPt_onePt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (b : SchemeHomOver t y) :
    mulPt y M b (onePt y M a ha t) = b
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.divR_basePt_mulPt
Source context 15 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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section Group
variable [IsIso (PhiM y M)] [IsIso (PsiM y M)]
variable (hM : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (b c d : SchemeHomOver t y),
  mulPt y M (mulPt y M b c) d = mulPt y M b (mulPt y M c d))
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
include hM in
theorem divR_basePt_mulPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
    (b : SchemeHomOver t y) :
    mulPt y M (divR y M (basePt y a ha t) (basePt y a ha t)) b = b
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.onePt_eq
Source context 15 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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section Group
variable [IsIso (PhiM y M)] [IsIso (PsiM y M)]
variable (hM : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (b c d : SchemeHomOver t y),
  mulPt y M (mulPt y M b c) d = mulPt y M b (mulPt y M c d))
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
include hM in
theorem onePt_eq {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) :
    onePt y M a ha t = divR y M (basePt y a ha t) (basePt y a ha t)
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.onePt_mulPt
Source context 15 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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section Group
variable [IsIso (PhiM y M)] [IsIso (PsiM y M)]
variable (hM : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (b c d : SchemeHomOver t y),
  mulPt y M (mulPt y M b c) d = mulPt y M b (mulPt y M c d))
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
include hM in
theorem onePt_mulPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (b : SchemeHomOver t y) :
    mulPt y M (onePt y M a ha t) b = b
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.law

The relative group law determined by associative multiplication and division.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section Group
variable [IsIso (PhiM y M)] [IsIso (PsiM y M)]
variable (hM : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (b c d : SchemeHomOver t y),
  mulPt y M (mulPt y M b c) d = mulPt y M b (mulPt y M c d))
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
def law : RelativeGroupLaw R y where
  mul _ b c := mulPt y M b c
  one t := onePt y M a ha t
  inv t b := divR y M (onePt y M a ha t) b
  mul_assoc t b c d := hM t b c d
  one_mul t b := onePt_mulPt y M hM a ha t b
  mul_one t b := mulPt_onePt y M hM a ha t b
  inv_mul_cancel _ b := mulPt_divR y M _ b
  mul_natural _ _ ψ hψ b c := mulPt_natural y M ψ hψ b c
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.law_mul
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
section Algebra
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
section Group
variable [IsIso (PhiM y M)] [IsIso (PsiM y M)]
variable (hM : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (b c d : SchemeHomOver t y),
  mulPt y M (mulPt y M b c) d = mulPt y M b (mulPt y M c d))
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
theorem law_mul {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (b c : SchemeHomOver t y) :
    (law y M hM a ha).mul t b c = mulPt y M b c
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.Y3

The scheme of composable pairs.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
abbrev Y3 : Scheme.{u}
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.P12

Projection to the first composable pair.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
abbrev P12 : Y3 y ⟶ pullback y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.P23

Projection to the second composable pair.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
abbrev P23 : Y3 y ⟶ pullback y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.P12_snd
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem P12_snd : P12 y ≫ pullback.snd y y = P23 y ≫ pullback.fst y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.fst_y
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem fst_y : pullback.fst y y ≫ y = pullback.snd y y ≫ y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulFst

Multiply the first pair of a composable triple.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
def mulFst : Y3 y ⟶ pullback y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulSnd

Multiply the second pair of a composable triple.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
def mulSnd : Y3 y ⟶ pullback y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulFst_fst
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem mulFst_fst : mulFst y M ≫ pullback.fst y y = P12 y ≫ M.1
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulFst_snd
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem mulFst_snd : mulFst y M ≫ pullback.snd y y = P23 y ≫ pullback.snd y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulSnd_fst
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem mulSnd_fst : mulSnd y M ≫ pullback.fst y y = P12 y ≫ pullback.fst y y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulSnd_snd
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem mulSnd_snd : mulSnd y M ≫ pullback.snd y y = P23 y ≫ M.1
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.triple

The triple product point determined by three relative points.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
def triple {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)}
    (b c d : SchemeHomOver t y) : T ⟶ Y3 y
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.triple_mulFst
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem triple_mulFst {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)}
    (b c d : SchemeHomOver t y) :
    triple y b c d ≫ mulFst y M = pair y (mulPt y M b c) d
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.triple_mulSnd
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem triple_mulSnd {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)}
    (b c d : SchemeHomOver t y) :
    triple y b c d ≫ mulSnd y M = pair y b (mulPt y M c d)
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulPt_assoc_of
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem mulPt_assoc_of (hA : mulFst y M ≫ M.1 = mulSnd y M ≫ M.1)
    {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (b c d : SchemeHomOver t y) :
    mulPt y M (mulPt y M b c) d = mulPt y M b (mulPt y M c d)
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.assocLocus

The dense locus on which associativity reduces to the partial law.

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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
def assocLocus (Y₀ : Y.Opens) : (Y3 y).Opens
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mem_assocLocus
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem mem_assocLocus (Y₀ : Y.Opens) (x : Y3 y) :
    x ∈ assocLocus y M Y₀ ↔
      (pullback.fst y y).base ((P12 y).base x) ∈ Y₀ ∧
          (pullback.snd y y).base ((P12 y).base x) ∈ Y₀ ∧
      (pullback.snd y y).base ((P23 y).base x) ∈ Y₀ ∧ M.1.base ((P12 y).base x) ∈ Y₀ ∧
      M.1.base ((P23 y).base x) ∈ Y₀
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.universallyOpen_M
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem universallyOpen_M [Smooth y] [IsIso (PhiM y M)] : UniversallyOpen M.1
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.dense_assocLocus
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
theorem dense_assocLocus [Smooth y] [IsIso (PhiM y M)] (Y₀ : Y.Opens) (hd : Dense (Y₀ : Set Y)) :
    Dense (assocLocus y M Y₀ : Set (Y3 y))
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulFst_M_eq_mulSnd_M
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
variable [IsDomain R] [IsDiscreteValuationRing R] [Smooth y] [IsSeparated y]
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (hassoc : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
        (u v p q : SchemeHomOver t (U.ι ≫ pullback.fst y y ≫ y)),
      u.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫ pullback.fst y y →
      p.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ m.1 →
          p.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫ pullback.snd y y →
      q.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ U.ι ≫ pullback.fst y y →
          q.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ m.1 →
      p.1 ≫ m.1 = q.1 ≫ m.1)
variable (hMm : U.ι ≫ M.1 = m.1) [IsIso (PhiM y M)]
variable (Y₀ : Y.Opens)
    (hY₀ : ∀ p : Y, (∀ p' : Y, p' ⤳ p → y.base p' = y.base p → p' = p) → p ∈ Y₀)
    (hY₀U : ∀ q : ↑(pullback y y), (pullback.fst y y).base q ∈ Y₀ →
        (pullback.snd y y).base q ∈ Y₀ → q ∈ U)
include hassoc hMm hY₀ hY₀U in
theorem mulFst_M_eq_mulSnd_M : mulFst y M ≫ M.1 = mulSnd y M ≫ M.1
AbelianVarieties.NOSProofs.GroupLawExtension.PointGroupLaw.mulPt_assoc
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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.GroupLawExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace PointGroupLaw
open AbelianVarieties.NOSProofs.MultiplicationExtension.Extension
  (dense_of_forall_maximal_mem)
section Geometry
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (M : SchemeHomOver (pullback.fst y y ≫ y) y)
variable [IsDomain R] [IsDiscreteValuationRing R] [Smooth y] [IsSeparated y]
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (hassoc : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
        (u v p q : SchemeHomOver t (U.ι ≫ pullback.fst y y ≫ y)),
      u.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫ pullback.fst y y →
      p.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ m.1 →
          p.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫ pullback.snd y y →
      q.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ U.ι ≫ pullback.fst y y →
          q.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ m.1 →
      p.1 ≫ m.1 = q.1 ≫ m.1)
variable (hMm : U.ι ≫ M.1 = m.1) [IsIso (PhiM y M)]
variable (Y₀ : Y.Opens)
    (hY₀ : ∀ p : Y, (∀ p' : Y, p' ⤳ p → y.base p' = y.base p → p' = p) → p ∈ Y₀)
    (hY₀U : ∀ q : ↑(pullback y y), (pullback.fst y y).base q ∈ Y₀ →
        (pullback.snd y y).base q ∈ Y₀ → q ∈ U)
include hassoc hMm hY₀ hY₀U in
theorem mulPt_assoc {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (b c d : SchemeHomOver t y) :
    mulPt y M (mulPt y M b c) d = mulPt y M b (mulPt y M c d)
NeronModelInfra.exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section
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_NeronModelInfra_exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section.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 NeronModelInfra
noncomputable section
universe u
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry GoodReductionJacobian Topology
open AbelianVarieties.NOSProofs.GroupLawExtension
theorem exists_relativeGroupLaw_mul_eq_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section
    {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
    [Smooth y] [IsSeparated y] [LocallyOfFiniteType y] [QuasiCompact y]
    (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
    (hU₁ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (U : Set ↑(pullback y y))))
    (hU₂ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.snd y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (U : Set ↑(pullback y y))))
    (hΦ : IsOpenImmersion
      (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
            ((Category.assoc _ _ _).trans m.2.symm)))
    (hΦ₁ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
            ((Category.assoc _ _ _).trans m.2.symm)).base)))
    (hΦ₂ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.snd y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
            ((Category.assoc _ _ _).trans m.2.symm)).base)))
    (hΨ : IsOpenImmersion
      (pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
            (m.2.trans (by rw [Category.assoc, pullback.condition]))))
    (hΨ₁ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
            (m.2.trans (by rw [Category.assoc, pullback.condition]))).base)))
    (hΨ₂ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.snd y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
            (m.2.trans (by rw [Category.assoc, pullback.condition]))).base)))
    (hassoc : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
        (u v p q : SchemeHomOver t (U.ι ≫ pullback.fst y y ≫ y)),
      u.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫ pullback.fst y y →
      p.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ m.1 →
          p.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫ pullback.snd y y →
      q.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ U.ι ≫ pullback.fst y y →
          q.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ m.1 →
      p.1 ≫ m.1 = q.1 ≫ m.1)
    (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
    (Y₀ : Y.Opens)
    (hY₀ : ∀ p : Y, (∀ p' : Y, p' ⤳ p → y.base p' = y.base p → p' = p) → p ∈ Y₀)
    (hY₀U : ∀ q : ↑(pullback y y), (pullback.fst y y).base q ∈ Y₀ →
        (pullback.snd y y).base q ∈ Y₀ → q ∈ U) :
    ∃ L : RelativeGroupLaw R y,
      ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (w : SchemeHomOver t (U.ι ≫
          pullback.fst y y ≫ y))
        (b c d : SchemeHomOver t y),
        b.1 = w.1 ≫ U.ι ≫ pullback.fst y y → c.1 = w.1 ≫ U.ι ≫ pullback.snd y y → d.1 = w.1 ≫ m.1 →
        L.mul t b c = d := by
  obtain ⟨M, hMm, hΦM, hΨM⟩ :=
    exists_mul_extension_isIso_lift_of_forall_dense_preimage_fibre_of_forall_mem_opens_of_section
      y U m hU₁ hU₂ hΦ hΦ₁ hΦ₂ hΨ hΨ₁ hΨ₂ hassoc a ha Y₀ hY₀ hY₀U
  have : IsIso (PointGroupLaw.PhiM y M) := hΦM
  have : IsIso (PointGroupLaw.PsiM y M) := hΨM
  refine ⟨PointGroupLaw.law y M (PointGroupLaw.mulPt_assoc y M U m hassoc hMm Y₀ hY₀ hY₀U) a ha, ?_⟩
  intro T t w b c d hb hc hd
  apply Subtype.ext
  rw [PointGroupLaw.law_mul, PointGroupLaw.mulPt_coe, hd, ← hMm]
  have hw : PointGroupLaw.pair y b c = w.1 ≫ U.ι := by
    apply pullback.hom_ext
    · rw [PointGroupLaw.pair_fst, hb, Category.assoc]
    · rw [PointGroupLaw.pair_snd, hc, Category.assoc]
  rw [hw, Category.assoc]
AbelianVarieties.NOSProofs.MultiplicationDomainExtension.DomainExtension.dense_of_forall_dense_fibre
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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.MultiplicationDomainExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace DomainExtension
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
  (exists_lift_of_isClosedImmersion)
section General
theorem dense_of_forall_dense_fibre {X Y : Type*} [TopologicalSpace X] (p : X → Y)
    (S : Set X) (h : ∀ y : Y, Dense ((Subtype.val : {x : X // p x = y} → X) ⁻¹' S)) :
    Dense S
AbelianVarieties.NOSProofs.MultiplicationDomainExtension.DomainExtension.eq_univ_of_dense_subset
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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.MultiplicationDomainExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace DomainExtension
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
  (exists_lift_of_isClosedImmersion)
section General
theorem eq_univ_of_dense_subset {X : Type*} [TopologicalSpace X] {S C : Set X} (hS : Dense S)
    (hC : IsClosed C) (h : S ⊆ C) : C = Set.univ
AbelianVarieties.NOSProofs.MultiplicationDomainExtension.DomainExtension.homOfLE_grM
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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.MultiplicationDomainExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace DomainExtension
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
  (exists_lift_of_isClosedImmersion)
section Graph
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (D : (pullback y y).Opens) (hUD : U ≤ D) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
include hM in
theorem homOfLE_grM : (pullback y y).homOfLE hUD ≫ multiplicationGraph y D M
    = multiplicationGraph y U m
AbelianVarieties.NOSProofs.MultiplicationDomainExtension.DomainExtension.dense_range_homOfLE
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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.MultiplicationDomainExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace DomainExtension
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
  (exists_lift_of_isClosedImmersion)
section Graph
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (D : (pullback y y).Opens) (hUD : U ≤ D) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
theorem dense_range_homOfLE (hU : Dense (U : Set ↑(pullback y y))) :
    Dense (Set.range ((pullback y y).homOfLE hUD).base)
AbelianVarieties.NOSProofs.MultiplicationDomainExtension.DomainExtension.range_grM_subset
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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.MultiplicationDomainExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace DomainExtension
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
  (exists_lift_of_isClosedImmersion)
section Graph
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (D : (pullback y y).Opens) (hUD : U ≤ D) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
include hM in
theorem range_grM_subset (hU : Dense (U : Set ↑(pullback y y))) :
    Set.range (multiplicationGraph y D M).base
      ⊆ closure (Set.range (multiplicationGraph y U m).base)
AbelianVarieties.NOSProofs.MultiplicationDomainExtension.DomainExtension.grM_p13
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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.MultiplicationDomainExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace DomainExtension
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
  (exists_lift_of_isClosedImmersion)
section Graph
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (D : (pullback y y).Opens) (hUD : U ≤ D) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
theorem grM_p13 : multiplicationGraph y D M ≫ firstThirdProjection y
    = firstMultiplicationChart y D M
AbelianVarieties.NOSProofs.MultiplicationDomainExtension.DomainExtension.grM_p23
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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.MultiplicationDomainExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace DomainExtension
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
  (exists_lift_of_isClosedImmersion)
section Graph
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (D : (pullback y y).Opens) (hUD : U ≤ D) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
theorem grM_p23 : multiplicationGraph y D M ≫ secondThirdProjection y ≫ (pullbackSymmetry y y).hom
    = secondMultiplicationChart y D M
AbelianVarieties.NOSProofs.MultiplicationDomainExtension.DomainExtension.exists_isOpenImmersion_comp_eq_grM
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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.MultiplicationDomainExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace DomainExtension
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
  (exists_lift_of_isClosedImmersion)
section Graph
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (D : (pullback y y).Opens) (hUD : U ≤ D) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
theorem exists_isOpenImmersion_comp_eq_grM [IsReduced (D : Scheme.{u})] {G : Scheme.{u}}
    (γ : G ⟶ tripleFiberProduct y)
    [IsClosedImmersion γ] [IsOpenImmersion (γ ≫ pullback.fst (pullback.fst y y ≫ y) y)]
    (h : Set.range (multiplicationGraph y D M).base ⊆ Set.range γ.base) :
    ∃ g : (D : Scheme.{u}) ⟶ G, IsOpenImmersion g ∧ g ≫ γ = multiplicationGraph y D M
AbelianVarieties.NOSProofs.MultiplicationDomainExtension.DomainExtension.isOpenImmersion_PhiM_of
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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.MultiplicationDomainExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace DomainExtension
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
  (exists_lift_of_isClosedImmersion)
section Graph
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (D : (pullback y y).Opens) (hUD : U ≤ D) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
theorem isOpenImmersion_PhiM_of {G : Scheme.{u}} (γ : G ⟶ tripleFiberProduct y)
    (g : (D : Scheme.{u}) ⟶ G)
    [IsOpenImmersion g] (hg : g ≫ γ = multiplicationGraph y D M)
      [IsOpenImmersion (γ ≫ firstThirdProjection y)] :
    IsOpenImmersion (firstMultiplicationChart y D M)
AbelianVarieties.NOSProofs.MultiplicationDomainExtension.DomainExtension.isOpenImmersion_PsiM_of
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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.MultiplicationDomainExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace DomainExtension
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
  (exists_lift_of_isClosedImmersion)
section Graph
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (D : (pullback y y).Opens) (hUD : U ≤ D) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
theorem isOpenImmersion_PsiM_of {G : Scheme.{u}} (γ : G ⟶ tripleFiberProduct y)
    (g : (D : Scheme.{u}) ⟶ G)
    [IsOpenImmersion g] (hg : g ≫ γ = multiplicationGraph y D M)
      [IsOpenImmersion (γ ≫ secondThirdProjection y)] :
    IsOpenImmersion (secondMultiplicationChart y D M)
AbelianVarieties.NOSProofs.MultiplicationDomainExtension.DomainExtension.homOfLE_PhiM
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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.MultiplicationDomainExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace DomainExtension
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
  (exists_lift_of_isClosedImmersion)
section Graph
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (D : (pullback y y).Opens) (hUD : U ≤ D) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
theorem homOfLE_PhiM (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1) :
    (pullback y y).homOfLE hUD ≫ firstMultiplicationChart y D M =
      pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
          ((Category.assoc _ _ _).trans m.2.symm)
AbelianVarieties.NOSProofs.MultiplicationDomainExtension.DomainExtension.homOfLE_PsiM
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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.MultiplicationDomainExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace DomainExtension
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
  (exists_lift_of_isClosedImmersion)
section Graph
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (D : (pullback y y).Opens) (hUD : U ≤ D) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
theorem homOfLE_PsiM (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1) :
    (pullback y y).homOfLE hUD ≫ secondMultiplicationChart y D M =
      pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
        (m.2.trans (by rw [Category.assoc, pullback.condition])) := by
  apply pullback.hom_ext
  · rw [Category.assoc, pullback.lift_fst, pullback.lift_fst, hM]
  · rw [Category.assoc, pullback.lift_snd, pullback.lift_snd, Scheme.homOfLE_ι_assoc]
AbelianVarieties.NOSProofs.MultiplicationDomainExtension.DomainExtension.dense_fibre_mono
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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.MultiplicationDomainExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace DomainExtension
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
  (exists_lift_of_isClosedImmersion)
section Graph
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (D : (pullback y y).Opens) (hUD : U ≤ D) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
theorem dense_fibre_mono {X Z : Type*} [TopologicalSpace X] (p : X →
    Z) {S S' : Set X} (hSS' : S ⊆ S')
    (x : Z) (h : Dense ((Subtype.val : {q : X // p q = x} → X) ⁻¹' S)) :
    Dense ((Subtype.val : {q : X // p q = x} → X) ⁻¹' S')
AbelianVarieties.NOSProofs.MultiplicationDomainExtension.DomainExtension.range_comp_subset
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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.MultiplicationDomainExtension
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace DomainExtension
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
  (exists_lift_of_isClosedImmersion)
section Graph
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (D : (pullback y y).Opens) (hUD : U ≤ D) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
theorem range_comp_subset {A B C : Scheme.{u}} (f : A ⟶ B) (g : B ⟶ C) :
    Set.range (f ≫ g).base ⊆ Set.range g.base
NeronModelInfra.isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre
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_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre.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 NeronModelInfra
noncomputable section
universe u
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry GoodReductionJacobian Topology
open AbelianVarieties.NOSProofs.MultiplicationDomainExtension
theorem isOpenImmersion_lift_and_forall_comp_eq_of_homOfLE_comp_eq_of_forall_dense_preimage_fibre
    {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
    [Smooth y] [IsSeparated y] [LocallyOfFiniteType y] [QuasiCompact y]
    (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
    (hU₁ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (U : Set ↑(pullback y y))))
    (hU₂ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.snd y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (U : Set ↑(pullback y y))))
    (hΦ : IsOpenImmersion
      (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
            ((Category.assoc _ _ _).trans m.2.symm)))
    (hΦ₁ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
            ((Category.assoc _ _ _).trans m.2.symm)).base)))
    (hΦ₂ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.snd y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
            ((Category.assoc _ _ _).trans m.2.symm)).base)))
    (hΨ : IsOpenImmersion
      (pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
            (m.2.trans (by rw [Category.assoc, pullback.condition]))))
    (hΨ₁ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
            (m.2.trans (by rw [Category.assoc, pullback.condition]))).base)))
    (hΨ₂ : ∀ x : Y,
      Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.snd y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
            (m.2.trans (by rw [Category.assoc, pullback.condition]))).base)))
    (hassoc : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
        (u v p q : SchemeHomOver t (U.ι ≫ pullback.fst y y ≫ y)),
      u.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫ pullback.fst y y →
      p.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ m.1 →
          p.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫ pullback.snd y y →
      q.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ U.ι ≫ pullback.fst y y →
          q.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ m.1 →
      p.1 ≫ m.1 = q.1 ≫ m.1)
    (D : (pullback y y).Opens) (hUD : U ≤ D)
    (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
    (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1) :
      (∀ x, Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (D : Set ↑(pullback y y)))) ∧
      (∀ x, Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.snd y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (D : Set ↑(pullback y y)))) ∧
      IsOpenImmersion
          (pullback.lift (f := y) (g := y) (D.ι ≫ pullback.fst y y) M.1
            ((Category.assoc _ _ _).trans M.2.symm)) ∧
      (∀ x, Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) (D.ι ≫ pullback.fst y y) M.1
            ((Category.assoc _ _ _).trans M.2.symm)).base))) ∧
      (∀ x, Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.snd y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) (D.ι ≫ pullback.fst y y) M.1
            ((Category.assoc _ _ _).trans M.2.symm)).base))) ∧
      IsOpenImmersion
          (pullback.lift (f := y) (g := y) M.1 (D.ι ≫ pullback.snd y y)
            (M.2.trans (by rw [Category.assoc, pullback.condition]))) ∧
      (∀ x, Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) M.1 (D.ι ≫ pullback.snd y y)
            (M.2.trans (by rw [Category.assoc, pullback.condition]))).base))) ∧
      (∀ x, Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.snd y y).base q = x} →
          ↑(pullback y y)) ⁻¹'
          (Set.range (pullback.lift (f := y) (g := y) M.1 (D.ι ≫ pullback.snd y y)
            (M.2.trans (by rw [Category.assoc, pullback.condition]))).base))) ∧
      (∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
          (u v p q : SchemeHomOver t (D.ι ≫ pullback.fst y y ≫ y)),
        u.1 ≫ D.ι ≫ pullback.snd y y = v.1 ≫ D.ι ≫ pullback.fst y y →
        p.1 ≫ D.ι ≫ pullback.fst y y = u.1 ≫ M.1 →
        p.1 ≫ D.ι ≫ pullback.snd y y = v.1 ≫ D.ι ≫ pullback.snd y y →
        q.1 ≫ D.ι ≫ pullback.fst y y = u.1 ≫ D.ι ≫ pullback.fst y y →
        q.1 ≫ D.ι ≫ pullback.snd y y = v.1 ≫ M.1 →
        p.1 ≫ M.1 = q.1 ≫ M.1) := by
  obtain ⟨G, γ, hγ, -, hrange, hq12, hq13, hq23, -⟩ :=
    exists_isClosedImmersion_range_eq_closure_isOpenImmersion_of_forall_dense_preimage_fibre
      y U m hU₁ hU₂ hΦ hΦ₁ hΦ₂ hΨ hΨ₁ hΨ₂ hassoc
  have := hγ
  have := hq12
  have := hq13
  have := hq23
  have hU : Dense (U : Set ↑(pullback y y)) :=
    DomainExtension.dense_of_forall_dense_fibre (fun q => (pullback.fst y y).base q) _ hU₁
  have : IsReduced (D : Scheme.{u}) :=
    AlgebraicGeometry.Smooth.isReduced_of_isReduced_of_isLocallyNoetherian (D.ι ≫
        pullback.fst y y ≫ y)
  have hsub : Set.range (NeronModelInfra.multiplicationGraph y D M).base ⊆ Set.range γ.base := by
    rw [hrange]
    exact DomainExtension.range_grM_subset y U m D hUD M hM hU
  obtain ⟨g, hg, hgγ⟩ := DomainExtension.exists_isOpenImmersion_comp_eq_grM y D M γ hsub
  have := hg
  have hΦM : IsOpenImmersion (NeronModelInfra.firstMultiplicationChart y D M) :=
      DomainExtension.isOpenImmersion_PhiM_of y D M γ g hgγ
  have hΨM : IsOpenImmersion (NeronModelInfra.secondMultiplicationChart y D M) :=
      DomainExtension.isOpenImmersion_PsiM_of y D M γ g hgγ
  have : UniversallyOpen M.1 := by
    have h : M.1 = NeronModelInfra.firstMultiplicationChart y D M ≫ pullback.snd y y :=
      (pullback.lift_snd _ _ _).symm
    rw [h]
    infer_instance
  have hUD' : (U : Set ↑(pullback y y)) ⊆ (D : Set ↑(pullback y y)) := hUD
  have hΦr : Set.range (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
      ((Category.assoc _ _ _).trans m.2.symm)).base ⊆ Set.range
          (NeronModelInfra.firstMultiplicationChart y D M).base := by
    rw [← DomainExtension.homOfLE_PhiM y U m D hUD M hM]
    exact DomainExtension.range_comp_subset _ _
  have hΨr : Set.range (pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
      (m.2.trans (by rw [Category.assoc, pullback.condition]))).base ⊆
      Set.range (NeronModelInfra.secondMultiplicationChart y D M).base := by
    rw [← DomainExtension.homOfLE_PsiM y U m D hUD M hM]
    exact DomainExtension.range_comp_subset _ _
  refine ⟨fun x => DomainExtension.dense_fibre_mono _ hUD' x (hU₁ x),
    fun x => DomainExtension.dense_fibre_mono _ hUD' x (hU₂ x), hΦM,
    fun x => DomainExtension.dense_fibre_mono _ hΦr x (hΦ₁ x),
    fun x => DomainExtension.dense_fibre_mono _ hΦr x (hΦ₂ x), hΨM,
    fun x => DomainExtension.dense_fibre_mono _ hΨr x (hΨ₁ x),
    fun x => DomainExtension.dense_fibre_mono _ hΨr x (hΨ₂ x), ?_⟩
  intro T t u v p q h₁ h₂ h₃ h₄ h₅
  exact AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.assoc_ext
    y D M U m hUD hM hassoc hU t u v p q h₁ h₂ h₃ h₄ h₅