Source context 1 command
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public sectiondef fieldPoint (k : Type*) [Field k] :
↥(AlgebraicGeometry.Spec (CommRingCat.of k))Glue two open charts, prove separation using their graph intersection, and retain dense partial multiplication after gluing. The reduced graph and fibre-density calculus are shared with the existing construction modules.
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public sectiondef fieldPoint (k : Type*) [Field k] :
↥(AlgebraicGeometry.Spec (CommRingCat.of k))Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section General
variable {A B C : Scheme.{u}} (f : A ⟶ B) (g : A ⟶ C) [IsOpenImmersion f] [IsOpenImmersion g]theorem isOpenImmersion_inl : IsOpenImmersion (pushout.inl f g)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section General
variable {A B C : Scheme.{u}} (f : A ⟶ B) (g : A ⟶ C) [IsOpenImmersion f] [IsOpenImmersion g]theorem isOpenImmersion_inr : IsOpenImmersion (pushout.inr f g)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section General
variable {A B C : Scheme.{u}} (f : A ⟶ B) (g : A ⟶ C) [IsOpenImmersion f] [IsOpenImmersion g]theorem inl_eq_inr_iff (b : B) (c : C) :
(pushout.inl f g).base b = (pushout.inr f g).base c ↔ ∃ x : A, f.base x = b ∧ g.base x = cSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section General
variable {A B C : Scheme.{u}} (f : A ⟶ B) (g : A ⟶ C) [IsOpenImmersion f] [IsOpenImmersion g]theorem inl_or_inr (p : ↑(pushout f g)) :
p ∈ Set.range (pushout.inl f g).base ∨ p ∈ Set.range (pushout.inr f g).baseSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section General
variable {A B C : Scheme.{u}} (f : A ⟶ B) (g : A ⟶ C) [IsOpenImmersion f] [IsOpenImmersion g]theorem isPullback_inl_inr : IsPullback f g (pushout.inl f g) (pushout.inr f g)Insert the chosen section as the first coordinate.
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)abbrev jA : Y ⟶ pullback y yInsert the section into the multiplication graph.
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)abbrev sA : pullback y y ⟶ tripleFiberProduct yThe graph restricted to multiplication by the chosen section.
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)abbrev Ga : Scheme.{u}The coordinate map of the restricted multiplication graph.
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)abbrev cA : Ga y γ a ha ⟶ pullback y yThe first chart projection of the restricted graph.
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)def pτ : Ga y γ a ha ⟶ YThe second chart projection of the restricted graph.
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)def pι : Ga y γ a ha ⟶ YSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)theorem pτ_def : pτ y γ a ha = cA y γ a ha ≫ pullback.fst y ySurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)theorem pι_def : pι y γ a ha = cA y γ a ha ≫ pullback.snd y ySurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)theorem sA_p12 : sA y a ha ≫ firstSecondProjection y = pullback.fst y y ≫ jA y a haSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)theorem sA_p13 : sA y a ha ≫ firstThirdProjection y = pullback.snd y y ≫ jA y a haSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)theorem sA_p23 : sA y a ha ≫ secondThirdProjection y = 𝟙 _Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)theorem isPullback_sA_fst : IsPullback (sA y a ha) (pullback.fst y y)
(firstSecondProjection y) (jA y a ha)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)theorem isPullback_sA_snd : IsPullback (sA y a ha) (pullback.snd y y)
(firstThirdProjection y) (jA y a ha)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)theorem isOpenImmersion_pτ [IsOpenImmersion (γ ≫ pullback.fst (pullback.fst y y ≫ y) y)] :
IsOpenImmersion (pτ y γ a ha)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Data
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)theorem isOpenImmersion_pι [IsOpenImmersion (γ ≫ pullback.lift (f := y) (g := y)
(pullback.fst (pullback.fst y y ≫ y) y ≫ pullback.fst y y) (pullback.snd (pullback.fst y y ≫ y)
y)
(by rw [Category.assoc]; exact pullback.condition))] : IsOpenImmersion (pι y γ a ha) := by
have h := (IsPullback.of_hasPullback γ (sA y a ha)).paste_vert (isPullback_sA_snd y a ha)
rw [pι_def, show cA y γ a ha ≫ pullback.snd y y = h.isoPullback.hom ≫ pullback.snd _ _ from
(h.isoPullback_hom_snd).symm]
infer_instanceSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]
omit [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)] intheorem pτ_y : pτ y γ a ha ≫ y = pι y γ a ha ≫ yThe scheme obtained by gluing two translation charts.
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]abbrev Yg : Scheme.{u}The structure morphism of the glued scheme.
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]abbrev yg : Yg y γ a ha ⟶ Spec (CommRingCat.of R)The first open chart in the glued scheme.
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]abbrev τg : Y ⟶ Yg y γ a haThe second open chart in the glued scheme.
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]abbrev ιg : Y ⟶ Yg y γ a haSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]theorem τg_yg : τg y γ a ha ≫ yg y γ a ha = ySurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]theorem ιg_yg : ιg y γ a ha ≫ yg y γ a ha = ySurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]instance : IsOpenImmersion (τg y γ a ha)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]instance : IsOpenImmersion (ιg y γ a ha)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]theorem isPullback_τg_ιg : IsPullback (pτ y γ a ha) (pι y γ a ha) (τg y γ a ha) (ιg y γ a ha)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]theorem cover (p : ↑(Yg y γ a ha)) :
p ∈ Set.range (ιg y γ a ha).base ∨ p ∈ Set.range (τg y γ a ha).baseSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]theorem of_openCover_yg (P : MorphismProperty Scheme.{u}) [IsZariskiLocalAtSource P]
(h0 : P (pτ y γ a ha ≫ y)) (h1 : P y) : P (yg y γ a ha)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]theorem locallyOfFiniteType_yg [LocallyOfFiniteType y] : LocallyOfFiniteType (yg y γ a ha)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]theorem smooth_yg [Smooth y] : Smooth (yg y γ a ha)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Glue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]theorem quasiCompact_yg [QuasiCompact y] : QuasiCompact (yg y γ a ha)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Separatedtheorem range_comp_of_surjective {X₁ X₂ X₃ : Scheme.{u}} (f : X₁ ⟶ X₂) (g : X₂ ⟶ X₃)
(hf : Function.Surjective f.base) : Set.range (f ≫ g).base = Set.range g.baseSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Separatedtheorem isClosed_preimage_range_diagonal {S Y' Y₁ Y₂ P : Scheme.{u}} (y' : Y' ⟶ S)
(i₁ : Y₁ ⟶ Y') (i₂ : Y₂ ⟶ Y') [IsOpenImmersion i₁] [IsOpenImmersion i₂]
(y₁ : Y₁ ⟶ S) (y₂ : Y₂ ⟶ S) (h₁ : y₁ = i₁ ≫ y') (h₂ : y₂ = i₂ ≫ y')
(u : P ⟶ Y₁) (v : P ⟶ Y₂) (hP : IsPullback u v i₁ i₂) (huv : u ≫ y₁ = v ≫ y₂)
(hc : IsClosed (Set.range (pullback.lift u v huv).base)) :
IsClosed ((pullback.map y₁ y₂ y' y' i₁ i₂ (𝟙 S) (by rw [Category.comp_id, h₁])
(by rw [Category.comp_id, h₂])).base ⁻¹' Set.range (pullback.diagonal y').base) := by
subst h₁ h₂
rw [← Scheme.Pullback.range_snd]
set e := pullbackDiagonalMapIdIso i₁ i₂ y'
have h1 : e.inv ≫ pullback.snd _ _ = pullback.lift (pullback.fst i₁ i₂) (pullback.snd i₁ i₂)
(by rw [← Category.assoc, pullback.condition, Category.assoc]) := by
apply pullback.hom_ext
· rw [Category.assoc, pullback.lift_fst, pullbackDiagonalMapIdIso_inv_snd_fst]
· rw [Category.assoc, pullback.lift_snd, pullbackDiagonalMapIdIso_inv_snd_snd]
have h2 : hP.isoPullback.hom ≫ pullback.lift (pullback.fst i₁ i₂) (pullback.snd i₁ i₂)
(by rw [← Category.assoc, pullback.condition, Category.assoc]) = pullback.lift u v huv := by
apply pullback.hom_ext
· rw [Category.assoc, pullback.lift_fst, pullback.lift_fst, IsPullback.isoPullback_hom_fst]
· rw [Category.assoc, pullback.lift_snd, pullback.lift_snd, IsPullback.isoPullback_hom_snd]
have h3 : Set.range (pullback.snd (pullback.diagonal y') (pullback.map (i₁ ≫ y') (i₂ ≫ y') y' y'
i₁ i₂
(𝟙 S) (by rw [Category.comp_id]) (by rw [Category.comp_id]))).base =
Set.range (pullback.lift u v huv).base := by
rw [← h2, ← h1, range_comp_of_surjective _ _ hP.isoPullback.hom.surjective,
range_comp_of_surjective _ _ e.inv.surjective]
rw [h3]
exact hcSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Separatedtheorem exists_open_subset_compl {A B : Type*} [TopologicalSpace A] [TopologicalSpace B] (φ : A → B)
(hφ : IsOpenMap φ) (D : Set B) (hD : IsClosed (φ ⁻¹' D)) (q : B) (hq : q ∈ Set.range φ)
(hqD : q ∉ D) : ∃ O : Set B, O ⊆ Dᶜ ∧ IsOpen O ∧ q ∈ OSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Separatedtheorem isClosed_range_diagonal_of_two_charts {S Y' Y₁ Y₂ : Scheme.{u}} (y' : Y' ⟶ S)
(i₁ : Y₁ ⟶ Y') (i₂ : Y₂ ⟶ Y') [IsOpenImmersion i₁] [IsOpenImmersion i₂]
(y₁ : Y₁ ⟶ S) (y₂ : Y₂ ⟶ S) (e₁ : y₁ = i₁ ≫ y') (e₂ : y₂ = i₂ ≫ y')
(hcov : ∀ p : Y', p ∈ Set.range i₁.base ∨ p ∈ Set.range i₂.base)
(H₁₁ : IsClosed ((pullback.map y₁ y₁ y' y' i₁ i₁ (𝟙 S) (by rw [Category.comp_id, e₁])
(by rw [Category.comp_id, e₁])).base ⁻¹' Set.range (pullback.diagonal y').base))
(H₁₂ : IsClosed ((pullback.map y₁ y₂ y' y' i₁ i₂ (𝟙 S) (by rw [Category.comp_id, e₁])
(by rw [Category.comp_id, e₂])).base ⁻¹' Set.range (pullback.diagonal y').base))
(H₂₁ : IsClosed ((pullback.map y₂ y₁ y' y' i₂ i₁ (𝟙 S) (by rw [Category.comp_id, e₂])
(by rw [Category.comp_id, e₁])).base ⁻¹' Set.range (pullback.diagonal y').base))
(H₂₂ : IsClosed ((pullback.map y₂ y₂ y' y' i₂ i₂ (𝟙 S) (by rw [Category.comp_id, e₂])
(by rw [Category.comp_id, e₂])).base ⁻¹' Set.range (pullback.diagonal y').base)) :
IsClosed (Set.range (pullback.diagonal y').base) := by
subst e₁ e₂
rw [← isOpen_compl_iff, isOpen_iff_forall_mem_open]
intro q hq
rw [Set.mem_compl_iff] at hq
have key : ∀ {Y₃ Y₄ : Scheme.{u}} (i₃ : Y₃ ⟶ Y') (i₄ : Y₄ ⟶ Y') [IsOpenImmersion i₃]
[IsOpenImmersion i₄],
IsClosed ((pullback.map (i₃ ≫ y') (i₄ ≫ y') y' y' i₃ i₄ (𝟙 S) (by rw [Category.comp_id])
(by rw [Category.comp_id])).base ⁻¹' Set.range (pullback.diagonal y').base) →
(pullback.fst y' y').base q ∈ Set.range i₃.base → (pullback.snd y' y').base q ∈ Set.range
i₄.base →
∃ O : Set ↑(pullback y' y'), O ⊆ (Set.range (pullback.diagonal y').base)ᶜ ∧ IsOpen O ∧ q ∈ O
:= by
intro Y₃ Y₄ i₃ i₄ _ _ H h₃ h₄
refine exists_open_subset_compl _ (Scheme.Hom.isOpenEmbedding _).isOpenMap _ H q ?_ hq
rw [Scheme.Pullback.range_map]
exact ⟨h₃, h₄⟩
rcases hcov ((pullback.fst y' y').base q) with h₃ | h₃ <;>
rcases hcov ((pullback.snd y' y').base q) with h₄ | h₄
· exact key i₁ i₁ H₁₁ h₃ h₄
· exact key i₁ i₂ H₁₂ h₃ h₄
· exact key i₂ i₁ H₂₁ h₃ h₄
· exact key i₂ i₂ H₂₂ h₃ h₄Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section SeparatedGlue
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]theorem isSeparated_yg [IsClosedImmersion γ] [IsSeparated y] : IsSeparated (yg y γ a ha)Lift a section-compatible pair into the restricted multiplication graph.
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Points
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 {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable (g₀ : (U : Scheme.{u}) ⟶ G) (hg₀ : g₀ ≫ γ = multiplicationGraph y U m)def mkΓa {T : Scheme.{u}} (x : T ⟶ Y) (w : T ⟶ (U : Scheme.{u}))
(h1 : w ≫ U.ι ≫ pullback.fst y y = x ≫ y ≫ a) (h2 : w ≫ U.ι ≫ pullback.snd y y = x) :
T ⟶ Ga y γ a haSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Points
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 {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable (g₀ : (U : Scheme.{u}) ⟶ G) (hg₀ : g₀ ≫ γ = multiplicationGraph y U m)theorem mkΓa_pτ {T : Scheme.{u}} (x : T ⟶ Y) (w : T ⟶ (U : Scheme.{u}))
(h1 : w ≫ U.ι ≫ pullback.fst y y = x ≫ y ≫ a) (h2 : w ≫ U.ι ≫ pullback.snd y y = x) :
mkΓa y U m γ a ha g₀ hg₀ x w h1 h2 ≫ pτ y γ a ha = xSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Points
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 {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable (g₀ : (U : Scheme.{u}) ⟶ G) (hg₀ : g₀ ≫ γ = multiplicationGraph y U m)theorem mkΓa_pι {T : Scheme.{u}} (x : T ⟶ Y) (w : T ⟶ (U : Scheme.{u}))
(h1 : w ≫ U.ι ≫ pullback.fst y y = x ≫ y ≫ a) (h2 : w ≫ U.ι ≫ pullback.snd y y = x) :
mkΓa y U m γ a ha g₀ hg₀ x w h1 h2 ≫ pι y γ a ha = w ≫ m.1Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Points
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 {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable (g₀ : (U : Scheme.{u}) ⟶ G) (hg₀ : g₀ ≫ γ = multiplicationGraph y U m)
include hg₀ intheorem translate [IsOpenImmersion (pτ y γ a ha)] [IsOpenImmersion (pι y γ a ha)]
{T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x : SchemeHomOver t y)
(w : SchemeHomOver t (U.ι ≫ pullback.fst y y ≫ y))
(hw₁ : w.1 ≫ U.ι ≫ pullback.fst y y = t ≫ a) (hw₂ : w.1 ≫ U.ι ≫ pullback.snd y y = x.1) :
x.1 ≫ τg y γ a ha = w.1 ≫ m.1 ≫ ιg y γ a haSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Points
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 {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable (g₀ : (U : Scheme.{u}) ⟶ G) (hg₀ : g₀ ≫ γ = multiplicationGraph y U m)
include hg₀ intheorem exists_pτ_eq_and_exists_pι_eq [IsSeparated y] (u : ↑(U : Scheme.{u}))
(hu : (U.ι ≫ pullback.fst y y).base u ∈ Set.range a.base) :
(∃ g : ↑(Ga y γ a ha), (pτ y γ a ha).base g = (U.ι ≫ pullback.snd y y).base u) ∧
(∃ g : ↑(Ga y γ a ha), (pι y γ a ha).base g = m.1.base u)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Points
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 {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable (g₀ : (U : Scheme.{u}) ⟶ G) (hg₀ : g₀ ≫ γ = multiplicationGraph y U m)
include hg₀ intheorem preimage_jA_subset_range_pτ [IsSeparated y] :
(jA y a ha).base ⁻¹' (U : Set ↑(pullback y y)) ⊆ Set.range (pτ y γ a ha).baseSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Points
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 {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable (g₀ : (U : Scheme.{u}) ⟶ G) (hg₀ : g₀ ≫ γ = multiplicationGraph y U m)
include hg₀ intheorem preimage_jA_range_subset_range_pι [IsSeparated y] :
(jA y a ha).base ⁻¹' Set.range (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
((Category.assoc _ _ _).trans m.2.symm)).base ⊆ Set.range (pι y γ a ha).baseSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
namespace AbelianVarieties.NOSProofs.SeparatedTranslationGluing
namespace SeparatedCharts
section Density
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))theorem mem_of_dense_fibre [TopologicalSpace.NoetherianSpace Y] (W : Set Y) (hW : IsOpen W)
(s : Spec (CommRingCat.of R)) (hd : Dense ((Subtype.val : {b : ↑Y // y.base b = s} → ↑Y) ⁻¹' W))
(x : Y) (hxs : y.base x = s) (hmax : ∀ x' : Y, x' ⤳ x → y.base x' = y.base x → x' = x) : x ∈ WSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(mem_of_dense_of_forall_specializes)
open AbelianVarieties.NOSProofs.SeparatedTranslationGluing.SeparatedCharts
namespace NeronModelInfratheorem exists_isSeparated_isOpenImmersion_isPullback_glue_translate_of_isClosedImmersion_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))))
(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)))
{G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y) [IsClosedImmersion γ]
(hγ : Set.range (pullback.lift (f := pullback.fst y y ≫ y) (g := y) U.ι m.1 m.2.symm).base ⊆
Set.range γ.base)
[IsOpenImmersion (γ ≫ pullback.fst (pullback.fst y y ≫ y) y)]
[IsOpenImmersion (γ ≫ pullback.lift (f := y) (g := y)
(pullback.fst (pullback.fst y y ≫ y) y ≫ pullback.fst y y) (pullback.snd (pullback.fst y y ≫
y) y)
(by rw [Category.assoc]; exact pullback.condition))]
(a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _) :
∃ (Y' : Scheme.{u}) (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y'),
Smooth y' ∧ IsSeparated y' ∧ LocallyOfFiniteType y' ∧ QuasiCompact y' ∧
IsOpenImmersion ι.1 ∧ IsOpenImmersion τ.1 ∧
(∀ p : Y', p ∈ Set.range ι.1.base ∨ p ∈ Set.range τ.1.base) ∧
(∀ p : Y', (∀ p' : Y', p' ⤳ p → y'.base p' = y'.base p → p' = p) → p ∈ Set.range ι.1.base) ∧
(∀ p : Y', (∀ p' : Y', p' ⤳ p → y'.base p' = y'.base p → p' = p) → p ∈ Set.range τ.1.base) ∧
IsPullback
(pullback.snd γ
(pullback.lift (f := pullback.fst y y ≫ y) (g := y)
(pullback.lift (f := y) (g := y) (pullback.fst y y ≫ y ≫ a) (pullback.fst y y)
(by rw [Category.assoc, Category.assoc, ha, Category.comp_id]))
(pullback.snd y y)
(by rw [pullback.lift_fst_assoc, Category.assoc, Category.assoc, ha, Category.comp_id,
pullback.condition])) ≫ pullback.fst y y)
(pullback.snd γ
(pullback.lift (f := pullback.fst y y ≫ y) (g := y)
(pullback.lift (f := y) (g := y) (pullback.fst y y ≫ y ≫ a) (pullback.fst y y)
(by rw [Category.assoc, Category.assoc, ha, Category.comp_id]))
(pullback.snd y y)
(by rw [pullback.lift_fst_assoc, Category.assoc, Category.assoc, ha, Category.comp_id,
pullback.condition])) ≫ pullback.snd y y)
τ.1 ι.1 ∧
(∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x : SchemeHomOver t y)
(w : SchemeHomOver t (U.ι ≫ pullback.fst y y ≫ y)),
w.1 ≫ U.ι ≫ pullback.fst y y = t ≫ a → w.1 ≫ U.ι ≫ pullback.snd y y = x.1 →
x.1 ≫ τ.1 = w.1 ≫ m.1 ≫ ι.1) := by
have : IsOpenImmersion (pτ y γ a ha) := isOpenImmersion_pτ y γ a ha
have : IsOpenImmersion (pι y γ a ha) := isOpenImmersion_pι y γ a ha
have : IsLocallyNoetherian Y := LocallyOfFiniteType.isLocallyNoetherian y
have : CompactSpace ↑Y := QuasiCompact.compactSpace_of_compactSpace y
have : IsNoetherian Y := {}
have : IsReduced (U : Scheme.{u}) :=
AlgebraicGeometry.Smooth.isReduced_of_isReduced_of_isLocallyNoetherian (U.ι ≫ pullback.fst y y ≫
y)
obtain ⟨g₀, hg₀⟩ := exists_lift_of_isClosedImmersion (multiplicationGraph y U m) γ hγ
refine ⟨Yg y γ a ha, yg y γ a ha, ⟨ιg y γ a ha, ιg_yg y γ a ha⟩, ⟨τg y γ a ha, τg_yg y γ a ha⟩,
smooth_yg y γ a ha, isSeparated_yg y γ a ha, locallyOfFiniteType_yg y γ a ha, quasiCompact_yg y
γ a ha,
inferInstance, inferInstance, cover y γ a ha, ?_, ?_, isPullback_τg_ιg y γ a ha,
fun t x w hw₁ hw₂ => translate y U m γ a ha g₀ hg₀ t x w hw₁ hw₂⟩
· intro p hp
rcases cover y γ a ha p with h | ⟨x, rfl⟩
· exact h
have hxmax : ∀ x' : Y, x' ⤳ x → y.base x' = y.base x → x' = x := by
intro x' h1 h2
apply (τg y γ a ha).isOpenEmbedding.injective
refine hp _ (h1.map (τg y γ a ha).base.hom.continuous) ?_
rw [← Scheme.Hom.comp_apply, ← Scheme.Hom.comp_apply, τg_yg]
exact h2
have hx : x ∈ Set.range (pτ y γ a ha).base :=
mem_of_dense_fibre y _ (pτ y γ a ha).isOpenEmbedding.isOpen_range (y.base x)
((dense_fibre_jA y a ha _ _ (hU₁ (a.base (y.base x)))).mono
(Set.preimage_mono (preimage_jA_subset_range_pτ y U m γ a ha g₀ hg₀))) x rfl hxmax
obtain ⟨g, rfl⟩ := hx
refine ⟨(pι y γ a ha).base g, ?_⟩
change (ιg y γ a ha).base ((pι y γ a ha).base g) = (τg y γ a ha).base ((pτ y γ a ha).base g)
rw [← Scheme.Hom.comp_apply, ← pushout.condition, Scheme.Hom.comp_apply]
· intro p hp
rcases cover y γ a ha p with ⟨z, rfl⟩ | h
swap
· exact h
have hzmax : ∀ z' : Y, z' ⤳ z → y.base z' = y.base z → z' = z := by
intro z' h1 h2
apply (ιg y γ a ha).isOpenEmbedding.injective
refine hp _ (h1.map (ιg y γ a ha).base.hom.continuous) ?_
rw [← Scheme.Hom.comp_apply, ← Scheme.Hom.comp_apply, ιg_yg]
exact h2
have hz : z ∈ Set.range (pι y γ a ha).base :=
mem_of_dense_fibre y _ (pι y γ a ha).isOpenEmbedding.isOpen_range (y.base z)
((dense_fibre_jA y a ha _ _ (hΦ₁ (a.base (y.base z)))).mono
(Set.preimage_mono (preimage_jA_range_subset_range_pι y U m γ a ha g₀ hg₀))) z rfl hzmax
obtain ⟨g, rfl⟩ := hz
refine ⟨(pτ y γ a ha).base g, ?_⟩
change (τg y γ a ha).base ((pτ y γ a ha).base g) = (ιg y γ a ha).base ((pι y γ a ha).base g)
rw [← Scheme.Hom.comp_apply, pushout.condition, Scheme.Hom.comp_apply]Exchange the coordinates of the second multiplication chart.
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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)abbrev Psi' : (U : Scheme.{u}) ⟶ pullback y ySurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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)theorem gr_P12 : multiplicationGraph y U m ≫ firstSecondProjection y = U.ιSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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)theorem gr_P13 : multiplicationGraph y U m ≫ firstThirdProjection y
= firstMultiplicationChart y U mSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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)theorem gr_P23 : multiplicationGraph y U m ≫ secondThirdProjection y = Psi' y U mSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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)theorem P13_comp : firstThirdProjection y ≫ pullback.fst y y ≫ y
= pullback.fst _ _ ≫ pullback.fst y y ≫ ySurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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)theorem P23_comp : secondThirdProjection y ≫ pullback.fst y y ≫ y
= pullback.fst _ _ ≫ pullback.fst y y ≫ ySurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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)instance [IsSeparated y] : IsSeparated (firstThirdProjection y)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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)instance [IsSeparated y] : IsSeparated (secondThirdProjection y)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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)instance [IsSeparated y] [QuasiCompact y] : QuasiCompact (firstThirdProjection y)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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)instance [IsSeparated y] [QuasiCompact y] : QuasiCompact (secondThirdProjection y)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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)instance [LocallyOfFiniteType y] : LocallyOfFiniteType (firstThirdProjection y)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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)instance [LocallyOfFiniteType y] : LocallyOfFiniteType (secondThirdProjection y)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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)theorem range_Psi' : Set.range (Psi' y U m).base =
(pullbackSymmetry y y).hom.base '' Set.range (secondMultiplicationChart y U m).baseSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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 {y U m} intheorem range_g0_comp_subset (g₀ : (U : Scheme.{u}) ⟶ Gc y U m) {W : Scheme.{u}} (q : Gc y U m ⟶ W)
:
Set.range (g₀ ≫ q).base ⊆ Set.range q.baseSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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 {y U m} in
variable {y U m} intheorem injective_γc_comp (q : tripleFiberProduct y ⟶ pullback y y)
(hq : ∀ (K : Type u) [Field K] (g g' : Spec (CommRingCat.of K) ⟶ tripleFiberProduct y),
Set.range g.base ⊆ closure (Set.range (multiplicationGraph y U m).base) →
Set.range g'.base ⊆ closure (Set.range (multiplicationGraph y U m).base) →
g ≫ q = g' ≫ q → g = g') :
Function.Injective (γc y U m ≫ q).baseSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
namespace AbelianVarieties.NOSProofs.ReducedGraphImmersions
namespace GraphImmersions
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 {y U m} in
variable {y U m} in
variable {y U m} intheorem isOpenImmersion_γc_comp [IsDomain R] [IsDiscreteValuationRing R]
[Smooth y] [IsSeparated y] [LocallyOfFiniteType y] [QuasiCompact y]
(q : tripleFiberProduct y ⟶ pullback y y) [IsSeparated q]
[LocallyOfFiniteType q] [QuasiCompact q]
(hinj : Function.Injective (γc y U m ≫ q).base)
(V : (pullback y y).Opens) (hV : Dense (V : Set ↑(pullback y y)))
(s : (V : Scheme.{u}) ⟶ Gc y U m) (hs : s ≫ (γc y U m ≫ q) = V.ι) (hsd : DenseRange s.base) :
IsOpenImmersion (γc y U m ≫ q)Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_eq_closure_isOpenImmersion_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
(dense_of_forall_dense_fibre Zc Gc γc range_γc denseRange_g0 exists_comp_γc_eq)
open scoped AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
open AbelianVarieties.NOSProofs.GluingFibreDensity (dense_fibre_mono)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
(dense_fibre_image_of_homeomorph)
open AbelianVarieties.NOSProofs.ReducedGraphImmersions.GraphImmersions
namespace NeronModelInfratheorem exists_isClosedImmersion_range_eq_closure_isOpenImmersion_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) :
∃ (G : Scheme.{u}) (γ : G ⟶ pullback (pullback.fst y y ≫ y) y),
IsClosedImmersion γ ∧ IsReduced G ∧
Set.range γ.base =
closure (Set.range (pullback.lift (f := pullback.fst y y ≫ y) (g := y) U.ι m.1
m.2.symm).base) ∧
IsOpenImmersion (γ ≫ pullback.fst (pullback.fst y y ≫ y) y) ∧
IsOpenImmersion (γ ≫ pullback.lift (f := y) (g := y)
(pullback.fst (pullback.fst y y ≫ y) y ≫ pullback.fst y y) (pullback.snd (pullback.fst y y ≫
y) y)
(by rw [Category.assoc]; exact pullback.condition)) ∧
IsOpenImmersion (γ ≫ pullback.lift (f := y) (g := y)
(pullback.fst (pullback.fst y y ≫ y) y ≫ pullback.snd y y) (pullback.snd (pullback.fst y y ≫
y) y)
(by rw [Category.assoc, ← pullback.condition (f := y) (g := y)]; exact pullback.condition))
∧
(∀ x : Y,
Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = x} → ↑(pullback y
y)) ⁻¹'
Set.range (γ ≫ pullback.fst (pullback.fst y y ≫ y) y).base) ∧
Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.snd y y).base q = x} → ↑(pullback y
y)) ⁻¹'
Set.range (γ ≫ pullback.fst (pullback.fst y y ≫ y) y).base) ∧
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)
(pullback.fst (pullback.fst y y ≫ y) y ≫ pullback.fst y y) (pullback.snd (pullback.fst y
y ≫ y) y)
(by rw [Category.assoc]; exact pullback.condition)).base) ∧
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)
(pullback.fst (pullback.fst y y ≫ y) y ≫ pullback.fst y y) (pullback.snd (pullback.fst y
y ≫ y) y)
(by rw [Category.assoc]; exact pullback.condition)).base) ∧
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)
(pullback.fst (pullback.fst y y ≫ y) y ≫ pullback.snd y y) (pullback.snd (pullback.fst y
y ≫ y) y)
(by rw [Category.assoc, ← pullback.condition (f := y) (g := y)]; exact
pullback.condition)).base) ∧
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)
(pullback.fst (pullback.fst y y ≫ y) y ≫ pullback.snd y y) (pullback.snd (pullback.fst y
y ≫ y) y)
(by rw [Category.assoc, ← pullback.condition (f := y) (g := y)]; exact
pullback.condition)).base)) := by
have : IsOpenImmersion (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
((Category.assoc _ _ _).trans m.2.symm)) := hΦ
have : IsOpenImmersion (pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
(m.2.trans (by rw [Category.assoc, pullback.condition]))) := hΨ
have : IsReduced (U : Scheme.{u}) :=
AlgebraicGeometry.Smooth.isReduced_of_isReduced_of_isLocallyNoetherian (U.ι ≫ pullback.fst y y ≫
y)
obtain ⟨g₀, hg₀⟩ := exists_comp_γc_eq y U m (multiplicationGraph y U m) subset_closure
have hg₀d : DenseRange g₀.base := denseRange_g0 g₀ hg₀
have hINJ := fun (K : Type u) [Field K] (g g' : Spec (CommRingCat.of K) ⟶ tripleFiberProduct y)
(hg : Set.range g.base ⊆ closure (Set.range (multiplicationGraph y U m).base))
(hg' : Set.range g'.base ⊆ closure (Set.range (multiplicationGraph y U m).base)) =>
NeronModelInfra.eq_of_comp_eq_of_range_subset_closure_range_lift_of_forall_dense_preimage_fibre
y U m hU₁ hΦ hΨ hassoc g g' hg hg'
have hinj12 : Function.Injective (γc y U m ≫ firstSecondProjection y).base :=
injective_γc_comp (firstSecondProjection y) (fun K _ g g' hg hg' h => (hINJ K g g' hg hg').1 h)
have hinj13 : Function.Injective (γc y U m ≫ firstThirdProjection y).base :=
injective_γc_comp (firstThirdProjection y) (fun K _ g g' hg hg' h => (hINJ K g g' hg hg').2.1 h)
have hinj23 : Function.Injective (γc y U m ≫ secondThirdProjection y).base :=
injective_γc_comp (secondThirdProjection y)
(fun K _ g g' hg hg' h => (hINJ K g g' hg hg').2.2 h)
have hUd : Dense (U : Set ↑(pullback y y)) :=
dense_of_forall_dense_fibre (fun q => (pullback.fst y y).base q) _ hU₁
have hΦd : Dense (Set.range (firstMultiplicationChart y U m).base) :=
dense_of_forall_dense_fibre (fun q => (pullback.fst y y).base q) _ hΦ₁
have hsym : ∀ q : ↑(pullback y y), (pullback.fst y y).base ((pullbackSymmetry y y).hom.base q) =
(pullback.snd y y).base q := by
intro q
rw [← Scheme.Hom.comp_apply, pullbackSymmetry_hom_comp_fst]
have hsym' : ∀ q : ↑(pullback y y), (pullback.snd y y).base ((pullbackSymmetry y y).hom.base q) =
(pullback.fst y y).base q := by
intro q
rw [← Scheme.Hom.comp_apply, pullbackSymmetry_hom_comp_snd]
let esym : ↑(pullback y y) ≃ₜ ↑(pullback y y) := Scheme.homeoOfIso (pullbackSymmetry y y)
have hΨ'₁ : ∀ x : Y, Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = x}
→
↑(pullback y y)) ⁻¹' Set.range (Psi' y U m).base) := by
intro x
rw [range_Psi']
exact dense_fibre_image_of_homeomorph esym _ _ hsym x (hΨ₂ x)
have hΨ'₂ : ∀ x : Y, Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.snd y y).base q = x}
→
↑(pullback y y)) ⁻¹' Set.range (Psi' y U m).base) := by
intro x
rw [range_Psi']
exact dense_fibre_image_of_homeomorph esym _ _ hsym' x (hΨ₁ x)
have hΨ'd : Dense (Set.range (Psi' y U m).base) :=
dense_of_forall_dense_fibre (fun q => (pullback.fst y y).base q) _ hΨ'₁
have h12 : IsOpenImmersion (γc y U m ≫ firstSecondProjection y) := by
refine isOpenImmersion_γc_comp (firstSecondProjection y) hinj12 U hUd g₀ ?_ hg₀d
rw [← Category.assoc, hg₀, gr_P12]
have h13 : IsOpenImmersion (γc y U m ≫ firstThirdProjection y) := by
have hV : ((firstMultiplicationChart y U m).opensRange : Set ↑(pullback y y))
= Set.range (firstMultiplicationChart y U m).base := rfl
refine isOpenImmersion_γc_comp (firstThirdProjection y) hinj13
(firstMultiplicationChart y U m).opensRange (by rw [hV]; exact hΦd)
((firstMultiplicationChart y U m).isoOpensRange.inv ≫ g₀) ?_ ?_
· rw [Category.assoc, ← Category.assoc g₀, hg₀, gr_P13, Scheme.Hom.isoOpensRange_inv_comp]
· rw [Scheme.Hom.comp_base, TopCat.coe_comp]
let e := Scheme.homeoOfIso (firstMultiplicationChart y U m).isoOpensRange.symm
exact hg₀d.comp e.surjective.denseRange
g₀.base.hom.continuous
have h23 : IsOpenImmersion (γc y U m ≫ secondThirdProjection y) := by
have hV : ((Psi' y U m).opensRange : Set ↑(pullback y y)) = Set.range (Psi' y U m).base := rfl
refine isOpenImmersion_γc_comp (secondThirdProjection y) hinj23 (Psi' y U m).opensRange
(by rw [hV]; exact hΨ'd)
((Psi' y U m).isoOpensRange.inv ≫ g₀) ?_ ?_
· rw [Category.assoc, ← Category.assoc g₀, hg₀, gr_P23, Scheme.Hom.isoOpensRange_inv_comp]
· rw [Scheme.Hom.comp_base, TopCat.coe_comp]
exact hg₀d.comp (Scheme.homeoOfIso (Psi' y U m).isoOpensRange.symm).surjective.denseRange
g₀.base.hom.continuous
have hr12 : (U : Set ↑(pullback y y)) ⊆ Set.range (γc y U m ≫ firstSecondProjection y).base := by
have : Set.range (g₀ ≫ γc y U m ≫ firstSecondProjection y).base
= (U : Set ↑(pullback y y)) := by
rw [← Category.assoc, hg₀, gr_P12]; exact Scheme.Opens.range_ι U
rw [← this]; exact range_g0_comp_subset g₀ _
have hr13 : Set.range (firstMultiplicationChart y U m).base
⊆ Set.range (γc y U m ≫ firstThirdProjection y).base := by
have : g₀ ≫ γc y U m ≫ firstThirdProjection y
= firstMultiplicationChart y U m := by rw [← Category.assoc, hg₀, gr_P13]
rw [← this]; exact range_g0_comp_subset g₀ _
have hr23 : Set.range (Psi' y U m).base
⊆ Set.range (γc y U m ≫ secondThirdProjection y).base := by
have : g₀ ≫ γc y U m ≫ secondThirdProjection y = Psi' y U m :=
by rw [← Category.assoc, hg₀, gr_P23]
rw [← this]; exact range_g0_comp_subset g₀ _
refine ⟨Gc y U m, γc y U m, inferInstance, inferInstance, range_γc y U m, h12, h13, h23, fun x =>
?_⟩
exact ⟨dense_fibre_mono _ hr12 x (hU₁ x), dense_fibre_mono _ hr12 x (hU₂ x),
dense_fibre_mono _ hr13 x (hΦ₁ x), dense_fibre_mono _ hr13 x (hΦ₂ x),
dense_fibre_mono _ hr23 x (hΨ'₁ x), dense_fibre_mono _ hr23 x (hΨ'₂ x)⟩Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_opens_forall_dense_preimage_fibre_of_isPullback_glue_translate_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
namespace AbelianVarieties.NOSProofs.TranslationGluingDensity
namespace DenseGluing
open AbelianVarieties.NOSProofs.SeparatedTranslationGluing.SeparatedCharts
(jA sA preimage_jA_subset_range_pτ preimage_jA_range_subset_range_pι
mem_of_dense_fibre)
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
section Density
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))theorem mem_range_of_maximal [NoetherianSpace Y] {Y' Γ' : Scheme.{u}} (y' : Y' ⟶ Spec
(CommRingCat.of R))
(i j : Y ⟶ Y') (hi : i ≫ y' = y) [IsOpenImmersion i]
(p₁ p₂ : Γ' ⟶ Y) (hp : p₁ ≫ i = p₂ ≫ j)
(W : Set Y) (hWo : IsOpen W) (hWd : ∀ s, Dense ((Subtype.val : {b : ↑Y // y.base b = s} → ↑Y)
⁻¹' W))
(hW : W ⊆ Set.range p₁.base)
(p : Y') (hp' : ∀ q : Y', q ⤳ p → y'.base q = y'.base p → q = p) (x : Y) (hx : i.base x = p) :
p ∈ Set.range j.baseSurrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_opens_forall_dense_preimage_fibre_of_isPullback_glue_translate_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.
-/
noncomputable section
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
TopologicalSpace Topology
universe u
open AbelianVarieties.NOSProofs.TranslationGluingDensity.DenseGluing
open AbelianVarieties.NOSProofs.SeparatedTranslationGluing.SeparatedCharts
(jA preimage_jA_subset_range_pτ preimage_jA_range_subset_range_pι)
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
(exists_lift_of_isClosedImmersion dense_fibre_jA)
namespace NeronModelInfratheorem exists_opens_forall_dense_preimage_fibre_of_isPullback_glue_translate_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)
{G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y) [IsClosedImmersion γ]
(hΓ : Set.range γ.base =
closure (Set.range (pullback.lift (f := pullback.fst y y ≫ y) (g := y) U.ι m.1
m.2.symm).base))
[IsOpenImmersion (γ ≫ pullback.fst (pullback.fst y y ≫ y) y)]
[IsOpenImmersion (γ ≫ pullback.lift (f := y) (g := y)
(pullback.fst (pullback.fst y y ≫ y) y ≫ pullback.fst y y) (pullback.snd (pullback.fst y y ≫
y) y)
(by rw [Category.assoc]; exact pullback.condition))]
[IsOpenImmersion (γ ≫ pullback.lift (f := y) (g := y)
(pullback.fst (pullback.fst y y ≫ y) y ≫ pullback.snd y y) (pullback.snd (pullback.fst y y ≫
y) y)
(by rw [Category.assoc, ← pullback.condition (f := y) (g := y)]; exact pullback.condition))]
(a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
{Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
[Smooth y'] [IsSeparated y'] [LocallyOfFiniteType y'] [QuasiCompact y']
(ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
(hcov : ∀ p : Y', p ∈ Set.range ι.1.base ∨ p ∈ Set.range τ.1.base)
(hΓa : IsPullback
(pullback.snd γ
(pullback.lift (f := pullback.fst y y ≫ y) (g := y)
(pullback.lift (f := y) (g := y) (pullback.fst y y ≫ y ≫ a) (pullback.fst y y)
(by rw [Category.assoc, Category.assoc, ha, Category.comp_id]))
(pullback.snd y y)
(by rw [pullback.lift_fst_assoc, Category.assoc, Category.assoc, ha, Category.comp_id,
pullback.condition])) ≫ pullback.fst y y)
(pullback.snd γ
(pullback.lift (f := pullback.fst y y ≫ y) (g := y)
(pullback.lift (f := y) (g := y) (pullback.fst y y ≫ y ≫ a) (pullback.fst y y)
(by rw [Category.assoc, Category.assoc, ha, Category.comp_id]))
(pullback.snd y y)
(by rw [pullback.lift_fst_assoc, Category.assoc, Category.assoc, ha, Category.comp_id,
pullback.condition])) ≫ pullback.snd y y)
τ.1 ι.1) :
∃ (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y'),
(∀ x, Dense ((Subtype.val : {q : ↑(pullback y' y') // (pullback.fst y' y').base q = x} →
↑(pullback y' y')) ⁻¹'
(U' : Set ↑(pullback y' y')))) ∧
(∀ x, Dense ((Subtype.val : {q : ↑(pullback y' y') // (pullback.snd y' y').base q = x} →
↑(pullback y' y')) ⁻¹'
(U' : Set ↑(pullback y' y')))) ∧
IsOpenImmersion
(pullback.lift (f := y') (g := y') (U'.ι ≫ 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') (U'.ι ≫ 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') (U'.ι ≫ pullback.fst y' y') m'.1
((Category.assoc _ _ _).trans m'.2.symm)).base))) ∧
IsOpenImmersion
(pullback.lift (f := y') (g := y') m'.1 (U'.ι ≫ 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 (U'.ι ≫ 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 (U'.ι ≫ 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 (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) ∧
(∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (w : SchemeHomOver t (U.ι ≫ pullback.fst
y y ≫ y)),
∃ w' : SchemeHomOver t (U'.ι ≫ pullback.fst y' y' ≫ y'),
w'.1 ≫ U'.ι ≫ pullback.fst y' y' = w.1 ≫ U.ι ≫ pullback.fst y y ≫ ι.1 ∧
w'.1 ≫ U'.ι ≫ pullback.snd y' y' = w.1 ≫ U.ι ≫ pullback.snd y y ≫ ι.1 ∧
w'.1 ≫ m'.1 = w.1 ≫ m.1 ≫ ι.1) := by
have : IsOpenImmersion (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
((Category.assoc _ _ _).trans m.2.symm)) := hΦ
have : IsOpenImmersion (pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
(m.2.trans (by rw [Category.assoc, pullback.condition]))) := hΨ
have : IsLocallyNoetherian Y := LocallyOfFiniteType.isLocallyNoetherian y
have : CompactSpace Y := QuasiCompact.compactSpace_of_compactSpace y
have : IsNoetherian Y := {}
have : IsReduced (U : Scheme.{u}) :=
AlgebraicGeometry.Smooth.isReduced_of_isReduced_of_isLocallyNoetherian (U.ι ≫ pullback.fst y y ≫
y)
have hgr : Set.range (multiplicationGraph y U m).base ⊆ Set.range γ.base := hΓ ▸ subset_closure
obtain ⟨g₀, hg₀⟩ := exists_lift_of_isClosedImmersion (multiplicationGraph y U m) γ hgr
have hUb : ∀ s, Dense ((Subtype.val : {b : ↑Y // y.base b = s} → ↑Y) ⁻¹'
((jA y a ha).base ⁻¹' (U : Set ↑(pullback y y)))) := fun s => dense_fibre_jA y a ha _ s (hU₁
_)
have hΦb : ∀ s, Dense ((Subtype.val : {b : ↑Y // y.base b = s} → ↑Y) ⁻¹'
((jA y a ha).base ⁻¹' Set.range (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
((Category.assoc _ _ _).trans m.2.symm)).base)) := fun s => dense_fibre_jA y a ha _ s (hΦ₁
_)
have hιd : ∀ p : Y', (∀ p' : Y', p' ⤳ p → y'.base p' = y'.base p → p' = p) → p ∈ Set.range
ι.1.base := by
intro p hp
rcases hcov p with h | ⟨x, hx⟩
· exact h
· exact mem_range_of_maximal y y' τ.1 ι.1 τ.2 _ _ hΓa.w _ ((jA y a
ha).continuous.isOpen_preimage _ U.isOpen)
hUb (preimage_jA_subset_range_pτ y U m γ a ha g₀ hg₀) p hp x hx
have hτd : ∀ p : Y', (∀ p' : Y', p' ⤳ p → y'.base p' = y'.base p → p' = p) → p ∈ Set.range
τ.1.base := by
intro p hp
rcases hcov p with ⟨x, hx⟩ | h
· exact mem_range_of_maximal y y' ι.1 τ.1 ι.2 _ _ hΓa.w.symm _
((jA y a ha).continuous.isOpen_preimage _
(pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
((Category.assoc _ _ _).trans m.2.symm)).isOpenEmbedding.isOpen_range)
hΦb (preimage_jA_range_subset_range_pι y U m γ a ha g₀ hg₀) p hp x hx
· exact h
obtain ⟨U', m', hqΦ, hqΨ, hext, hp1, hp2⟩ :=
exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_glue_translate_of_section
y U m hU₁ hΦ hΨ hassoc γ hΓ a ha y' ι τ hιd hΓa.w
have : LocallyQuasiFinite (pullback.lift (f := y') (g := y') (U'.ι ≫ pullback.fst y' y') m'.1
((Category.assoc _ _ _).trans m'.2.symm)) := hqΦ
have : LocallyQuasiFinite (pullback.lift (f := y') (g := y') m'.1 (U'.ι ≫ pullback.snd y' y')
(m'.2.trans (by rw [Category.assoc, pullback.condition]))) := hqΨ
obtain ⟨hΦ', hΨ', hassoc'⟩ :=
isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq
y U m hU₁ hΦ hΦ₁ hΨ hΨ₁ hassoc y' ι hιd U' m' hext
obtain ⟨d₁, d₂, d₃, d₄, d₅, d₆⟩ :=
NeronModelInfra.forall_dense_preimage_fibre_of_forall_exists_comp_eq_glue_translate
y U m hU₁ hU₂ hΦ₁ hΦ₂ hΨ hΨ₁ hΨ₂ a ha y' ι τ hcov hιd hτd U' m' hext hp1 hp2
exact ⟨U', m', d₁, d₂, hΦ', d₃, d₄, hΨ', d₅, d₆, hassoc', hext⟩