Module

QuasiFiniteGluing.lean

Nyll.AbelianVarieties.NeronModels.QuasiFiniteGluing
116 declarations indexed from sourceView source ↗

Quasi-finite charts for glued partial group laws

Glue the translated multiplication charts and use normality to upgrade quasi-finite charts with a dense inverse to open immersions. Reuse the existing translation and associativity frames.

Imports18
Imported by4

Declarations

AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.exists_lift_of_isClosedImmersion
Source context 12 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section General
theorem exists_lift_of_isClosedImmersion {D G Z : Scheme.{u}} [IsReduced D] (f : D ⟶ Z) (γ : G ⟶ Z)
    [IsClosedImmersion γ] (h : Set.range f.base ⊆ Set.range γ.base) : ∃ g : D ⟶ G, g ≫ γ = f
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.subset_closure_inter
Source context 12 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section General
theorem subset_closure_inter {X : Type*} [TopologicalSpace X] {O A A' : Set X} (hO : IsOpen O)
    (hA : IsOpen A) (h : O ⊆ closure A) (h' : O ⊆ closure A') : O ⊆ closure (A ∩ A')
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.inter_image_subset_closure
Source context 12 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section General
theorem inter_image_subset_closure {X Z : Type*} [TopologicalSpace X] [TopologicalSpace Z] {c : X →
    Z}
    (hc : Continuous c) {P : Set Z} (hP : IsOpen P) {V V' : Set X} (h : V ⊆ closure V') :
    P ∩ c '' V ⊆ closure (P ∩ c '' V')
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.denseRange_lift
Source context 12 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section GlueDense
theorem denseRange_lift {X : Scheme.{u}} (Vi Vj W : X.Opens) (hWi : W ≤ Vi) (hWj : W ≤ Vj)
    (hcl : ((Vi ⊓ Vj : X.Opens) : Set X) ⊆ closure (W : Set X)) :
    DenseRange (pullback.lift (f := Vi.ι) (g := Vj.ι) (X.homOfLE hWi) (X.homOfLE hWj)
      (by rw [Scheme.homOfLE_ι, Scheme.homOfLE_ι])).base := by
  set ℓ := pullback.lift (f := Vi.ι) (g := Vj.ι) (X.homOfLE hWi) (X.homOfLE hWj)
      (by rw [Scheme.homOfLE_ι, Scheme.homOfLE_ι]) with hℓ
  have hℓι : ℓ ≫ pullback.fst Vi.ι Vj.ι ≫ Vi.ι = W.ι := by
    rw [pullback.lift_fst_assoc, Scheme.homOfLE_ι]
  rw [DenseRange, dense_iff_inter_open]
  intro N hN ⟨n₀, hn₀⟩
  let e : ↑(pullback Vi.ι Vj.ι) → X := (pullback.fst Vi.ι Vj.ι ≫ Vi.ι).base
  have he : IsOpenEmbedding e := (pullback.fst Vi.ι Vj.ι ≫ Vi.ι).isOpenEmbedding
  have hmem : ∀ n : ↑(pullback Vi.ι Vj.ι), e n ∈ ((Vi ⊓ Vj : X.Opens) : Set X) := by
    intro n
    refine ⟨?_, ?_⟩
    · change (pullback.fst Vi.ι Vj.ι ≫ Vi.ι).base n ∈ (Vi : Set X)
      exact ((pullback.fst Vi.ι Vj.ι).base n).2
    · change (pullback.fst Vi.ι Vj.ι ≫ Vi.ι).base n ∈ (Vj : Set X)
      rw [pullback.condition]
      exact ((pullback.snd Vi.ι Vj.ι).base n).2
  have hopen : IsOpen (e '' N) := he.isOpenMap _ hN
  obtain ⟨x, ⟨n, hn, rfl⟩, hxW⟩ : (e '' N ∩ (W : Set X)).Nonempty :=
    mem_closure_iff.mp (hcl (hmem n₀)) (e '' N) hopen ⟨n₀, hn₀, rfl⟩
  let w : ↥(W : Scheme.{u}) := ⟨e n, hxW⟩
  refine ⟨n, hn, ⟨w, ?_⟩⟩
  apply he.injective
  exact congrArg (fun f : (W : Scheme.{u}) ⟶ X => f.base w) hℓι
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.exists_glue
Source context 12 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section GlueDense
theorem exists_glue {X Z S : Scheme.{u}} [IsReduced X] (p : X ⟶ S) (s : Z ⟶ S) [IsSeparated s]
    {I : Type*} (V : I → X.Opens) (hV : IsOpenCover V) (f : ∀ i, (V i : Scheme.{u}) ⟶ Z)
    (hf : ∀ i, f i ≫ s = (V i).ι ≫ p)
    (hagree : ∀ i j, ∃ (W : X.Opens) (hWi : W ≤ V i) (hWj : W ≤ V j),
      ((V i ⊓ V j : X.Opens) : Set X) ⊆ closure (W : Set X) ∧ X.homOfLE hWi ≫ f i = X.homOfLE hWj ≫
        f j) :
    ∃ F : X ⟶ Z, (∀ i, (V i).ι ≫ F = f i) ∧ F ≫ s = p
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.exists_sup_extension
Source context 12 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section GlueDense
theorem exists_sup_extension {B Z S : Scheme.{u}} [IsReduced B] (p : B ⟶ S) (s : Z ⟶ S) [IsSeparated
    s]
    (D₁ D₂ : B.Opens) (M₁ : (D₁ : Scheme.{u}) ⟶ Z) (M₂ : (D₂ : Scheme.{u}) ⟶ Z)
    (hM₁ : M₁ ≫ s = D₁.ι ≫ p) (hM₂ : M₂ ≫ s = D₂.ι ≫ p)
    (W : B.Opens) (hW₁ : W ≤ D₁) (hW₂ : W ≤ D₂) (hcl : ((D₁ ⊓ D₂ : B.Opens) : Set B) ⊆ closure (W :
      Set B))
    (hagree : B.homOfLE hW₁ ≫ M₁ = B.homOfLE hW₂ ≫ M₂) :
    ∃ M : ((D₁ ⊔ D₂ : B.Opens) : Scheme.{u}) ⟶ Z,
      B.homOfLE (le_sup_left : D₁ ≤ D₁ ⊔ D₂) ≫ M = M₁ ∧
      B.homOfLE (le_sup_right : D₂ ≤ D₁ ⊔ D₂) ≫ M = M₂ ∧ M ≫ s = (D₁ ⊔ D₂).ι ≫ p
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.dense_fibre_jA
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Translate
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
theorem dense_fibre_jA [IsSeparated y] (S : Set ↑(pullback y y)) (s : Spec (CommRingCat.of R))
    (hS : Dense ((Subtype.val : {q : ↑(pullback y y) // (pullback.fst y y).base q = a.base s} →
      ↑(pullback y y)) ⁻¹' S)) :
    Dense ((Subtype.val : {b : ↑Y // y.base b = s} → ↑Y) ⁻¹' ((jA y a ha).base ⁻¹' S))
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.dense_Ub
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Translate
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
theorem dense_Ub [IsSeparated 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)))) :
    Dense ((Ub y U a ha : Y.Opens) : Set Y)
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.sA

Insert the section into the first coordinate of the multiplication graph.

Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Translate
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
abbrev sA : pullback y y ⟶ pullback (pullback.fst y y ≫ y) y
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.mkΓa

Lift a section-compatible pair into the closed multiplication graph.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Translate
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (g₀ : (U : Scheme.{u}) ⟶ G) (hg₀ : g₀ ≫ γ = NeronModelInfra.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 ⟶ pullback γ (sA y a ha)
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.mkΓa_pτ
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Translate
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (g₀ : (U : Scheme.{u}) ⟶ G) (hg₀ : g₀ ≫ γ = NeronModelInfra.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 ≫ pullback.snd γ (sA y a ha) ≫ pullback.fst y y = x
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.mkΓa_pι
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Translate
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (g₀ : (U : Scheme.{u}) ⟶ G) (hg₀ : g₀ ≫ γ = NeronModelInfra.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 ≫ pullback.snd γ (sA y a ha) ≫ pullback.snd y y = w ≫ m.1
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.translate
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Translate
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
variable {G : Scheme.{u}} (γ : G ⟶ pullback (pullback.fst y y ≫ y) y)
variable (g₀ : (U : Scheme.{u}) ⟶ G) (hg₀ : g₀ ≫ γ = NeronModelInfra.multiplicationGraph y U m)
include hg₀ in
theorem translate {Y' : Scheme.{u}} {y' : Y' ⟶ Spec (CommRingCat.of R)} (ι τ : SchemeHomOver y y')
    (hΓa : pullback.snd γ (sA y a ha) ≫ pullback.fst y y ≫ τ.1 = pullback.snd γ (sA y a ha) ≫
      pullback.snd y y ≫ ι.1)
    {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x : T ⟶ Y) (hx : x ≫ y = t) (w : T ⟶ (U :
      Scheme.{u}))
    (hw₁ : w ≫ U.ι ≫ pullback.fst y y = t ≫ a) (hw₂ : w ≫ U.ι ≫ pullback.snd y y = x) :
    x ≫ τ.1 = w ≫ m.1 ≫ ι.1
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.core01
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Core
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} {y' : Y' ⟶ Spec (CommRingCat.of R)} (ι τ : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (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)
  (htr : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x : T ⟶ Y) (_ : x ≫ y = t)
      (w : T ⟶ (U : Scheme.{u})),
    w ≫ U.ι ≫ pullback.fst y y = t ≫ a → w ≫ U.ι ≫ pullback.snd y y = x → x ≫ τ.1 = w ≫ m.1 ≫ ι.1)
include hassoc htr in
theorem core01 {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (u₀ u₁ wa wq : T ⟶ (U :
    Scheme.{u}))
    (ht₁ : u₁ ≫ U.ι ≫ pullback.fst y y ≫ y = t)
    (h1 : u₀ ≫ U.ι ≫ pullback.fst y y ≫ ι.1 = u₁ ≫ U.ι ≫ pullback.fst y y ≫ τ.1)
    (h2 : u₀ ≫ U.ι ≫ pullback.snd y y = u₁ ≫ U.ι ≫ pullback.snd y y)
    (hwa : wa ≫ U.ι = (u₁ ≫ U.ι ≫ pullback.fst y y) ≫ jA y a ha)
    (hwq : wq ≫ U.ι = (u₁ ≫ m.1) ≫ jA y a ha) :
    u₀ ≫ m.1 ≫ ι.1 = u₁ ≫ m.1 ≫ τ.1
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.core02
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Core
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} {y' : Y' ⟶ Spec (CommRingCat.of R)} (ι τ : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (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)
  (htr : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x : T ⟶ Y) (_ : x ≫ y = t)
      (w : T ⟶ (U : Scheme.{u})),
    w ≫ U.ι ≫ pullback.fst y y = t ≫ a → w ≫ U.ι ≫ pullback.snd y y = x → x ≫ τ.1 = w ≫ m.1 ≫ ι.1)
include hassoc htr in
theorem core02 {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (u₀ ub v wd : T ⟶ (U :
    Scheme.{u}))
    (ht : ub ≫ U.ι ≫ pullback.fst y y ≫ y = t)
    (hub : ub ≫ U.ι ≫ pullback.snd y y = t ≫ a) (hv₁ : v ≫ U.ι ≫ pullback.fst y y = ub ≫ m.1)
    (h1 : u₀ ≫ U.ι ≫ pullback.fst y y = ub ≫ U.ι ≫ pullback.fst y y)
    (h2 : u₀ ≫ U.ι ≫ pullback.snd y y ≫ ι.1 = (v ≫ U.ι ≫ pullback.snd y y) ≫ τ.1)
    (hwd : wd ≫ U.ι = (v ≫ U.ι ≫ pullback.snd y y) ≫ jA y a ha) :
    u₀ ≫ m.1 = v ≫ m.1
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.P0

The original multiplication chart in the glued product.

Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
def P0 : (pullback y' y').Opens
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.P1

The chart translated in its first input.

Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
def P1 : (pullback y' y').Opens
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.P2

The chart translated in its second input.

Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
def P2 : (pullback y' y').Opens
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.e0

Identify the original domain with its open image in the glued product.

Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
def e0 : (U : Scheme.{u}) ≅ (P0 y U y' ι : Scheme.{u})
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.e1

Identify the first translated domain with its open image.

Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
def e1 : (U : Scheme.{u}) ≅ (P1 y U y' ι τ : Scheme.{u})
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.e2

Identify the second translated domain with its open image.

Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
def e2 : (U2 y U m a ha : Scheme.{u}) ≅ (P2 y U m a ha y' ι τ : Scheme.{u})
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.e0_inv_ι
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem e0_inv_ι : (e0 y U y' ι).inv ≫ U.ι ≫ ch y y' ι ι = (P0 y U y' ι).ι
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.e0_hom_ι
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem e0_hom_ι : (e0 y U y' ι).hom ≫ (P0 y U y' ι).ι = U.ι ≫ ch y y' ι ι
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.e1_inv_ι
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem e1_inv_ι : (e1 y U y' ι τ).inv ≫ U.ι ≫ ch y y' τ ι = (P1 y U y' ι τ).ι
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.e1_hom_ι
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem e1_hom_ι : (e1 y U y' ι τ).hom ≫ (P1 y U y' ι τ).ι = U.ι ≫ ch y y' τ ι
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.e2_inv_ι
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem e2_inv_ι :
    (e2 y U m a ha y' ι τ).inv ≫ (U2 y U m a ha).ι ≫ ch y y' ι τ = (P2 y U m a ha y' ι τ).ι
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.e2_hom_ι
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem e2_hom_ι :
    (e2 y U m a ha y' ι τ).hom ≫ (P2 y U m a ha y' ι τ).ι = (U2 y U m a ha).ι ≫ ch y y' ι τ
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.f0

The multiplication map transported to the original open chart.

Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
def f0 : (P0 y U y' ι : Scheme.{u}) ⟶ Y'
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.f1

The multiplication map transported to the first translated chart.

Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
def f1 : (P1 y U y' ι τ : Scheme.{u}) ⟶ Y'
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.f2

The multiplication map transported to the second translated chart.

Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
def f2 : (P2 y U m a ha y' ι τ : Scheme.{u}) ⟶ Y'
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.f0_y'
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem f0_y' : f0 y U m y' ι ≫ y' = (P0 y U y' ι).ι ≫ pullback.fst y' y' ≫ y'
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.f1_y'
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem f1_y' : f1 y U m y' ι τ ≫ y' = (P1 y U y' ι τ).ι ≫ pullback.fst y' y' ≫ y'
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.f2_y'
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Pieces
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem f2_y' : f2 y U m a ha y' ι τ ≫ y' = (P2 y U m a ha y' ι τ).ι ≫ pullback.fst y' y' ≫ y'
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.U01

The dense comparison domain for the original and first translated laws.

Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Agree
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
def U01 : (pullback y y).Opens
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.U2'

The translated domain with its second coordinate in the section chart.

Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Agree
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
def U2' : (pullback y y).Opens
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.W01

The overlap used to compare the original and first translated laws.

Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Agree
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
def W01 : (pullback y' y').Opens
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.W02

The overlap used to compare the original and second translated laws.

Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Agree
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
def W02 : (pullback y' y').Opens
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.W01_le_P0
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Agree
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem W01_le_P0 : W01 y U m a ha y' ι τ ≤ P0 y U y' ι
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.W01_le_P1
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Agree
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem W01_le_P1 : W01 y U m a ha y' ι τ ≤ P1 y U y' ι τ
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.W02_le_P0
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Agree
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem W02_le_P0 : W02 y U m a ha y' ι τ ≤ P0 y U y' ι
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.W02_le_P2
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Agree
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem W02_le_P2 : W02 y U m a ha y' ι τ ≤ P2 y U m a ha y' ι τ
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.subset_closure_U01
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Agree
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
variable (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))))
include hU₁ in
theorem subset_closure_U01 [Smooth y] [IsSeparated y]
    [IsOpenImmersion (firstMultiplicationChart y U m)] :
    (U : Set ↑(pullback y y)) ⊆ closure (U01 y U m a ha : Set ↑(pullback y y))
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.subset_closure_U2'
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Agree
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
variable (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))))
include hU₁ in
theorem subset_closure_U2' [Smooth y] [IsSeparated y] :
    (U2 y U m a ha : Set ↑(pullback y y)) ⊆ closure (U2' y U m a ha : Set ↑(pullback y y))
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.closure_W01
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Agree
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
variable (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))))
include hU₁ in
theorem closure_W01 [Smooth y] [IsSeparated y] [IsOpenImmersion (firstMultiplicationChart y U m)] :
    ((P0 y U y' ι ⊓ P1 y U y' ι τ : (pullback y' y').Opens) : Set ↑(pullback y' y')) ⊆
      closure (W01 y U m a ha y' ι τ : Set ↑(pullback y' y'))
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.closure_W02
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Agree
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
variable (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))))
include hU₁ in
theorem closure_W02 [Smooth y] [IsSeparated y] :
    ((P0 y U y' ι ⊓ P2 y U m a ha y' ι τ : (pullback y' y').Opens) : Set ↑(pullback y' y')) ⊆
      closure (W02 y U m a ha y' ι τ : Set ↑(pullback y' y'))
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.agree01
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Agree
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
variable (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))))
variable
  (hassoc : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
      (u v p q : SchemeHomOver t (U.ι ≫ pullback.fst y y ≫ y)),
    u.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫ pullback.fst y y →
    p.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ m.1 → p.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫
      pullback.snd y y →
    q.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ U.ι ≫ pullback.fst y y → q.1 ≫ U.ι ≫ pullback.snd y y = v.1
      ≫ m.1 →
    p.1 ≫ m.1 = q.1 ≫ m.1)
  (htr : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x : T ⟶ Y) (_ : x ≫ y = t)
      (w : T ⟶ (U : Scheme.{u})),
    w ≫ U.ι ≫ pullback.fst y y = t ≫ a → w ≫ U.ι ≫ pullback.snd y y = x → x ≫ τ.1 = w ≫ m.1 ≫ ι.1)
include hassoc htr in
theorem agree01 :
    (pullback y' y').homOfLE (W01_le_P0 y U m a ha y' ι τ) ≫ f0 y U m y' ι =
      (pullback y' y').homOfLE (W01_le_P1 y U m a ha y' ι τ) ≫ f1 y U m y' ι τ
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.agree02
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Agree
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι τ : SchemeHomOver y y')
  [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
variable (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))))
variable
  (hassoc : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
      (u v p q : SchemeHomOver t (U.ι ≫ pullback.fst y y ≫ y)),
    u.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫ pullback.fst y y →
    p.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ m.1 → p.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫
      pullback.snd y y →
    q.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ U.ι ≫ pullback.fst y y → q.1 ≫ U.ι ≫ pullback.snd y y = v.1
      ≫ m.1 →
    p.1 ≫ m.1 = q.1 ≫ m.1)
  (htr : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x : T ⟶ Y) (_ : x ≫ y = t)
      (w : T ⟶ (U : Scheme.{u})),
    w ≫ U.ι ≫ pullback.fst y y = t ≫ a → w ≫ U.ι ≫ pullback.snd y y = x → x ≫ τ.1 = w ≫ m.1 ≫ ι.1)
include hassoc htr in
theorem agree02 :
    (pullback y' y').homOfLE (W02_le_P0 y U m a ha y' ι τ) ≫ f0 y U m y' ι =
      (pullback y' y').homOfLE (W02_le_P2 y U m a ha y' ι τ) ≫ f2 y U m a ha y' ι τ
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.U'

The union of the three multiplication charts.

Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Law
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  (ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
abbrev U' : (pullback y' y').Opens
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.P0_le
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Law
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  (ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem P0_le : P0 y U y' ι ≤ U' y U m a ha y' ι τ
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.P1_le
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Law
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  (ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem P1_le : P1 y U y' ι τ ≤ U' y U m a ha y' ι τ
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.P2_le
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Law
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  (ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem P2_le : P2 y U m a ha y' ι τ ≤ U' y U m a ha y' ι τ
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.dense_image_ch
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Law
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  (ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
theorem dense_image_ch [Smooth y'] [LocallyOfFiniteType y'] [QuasiCompact y'] [IsNoetherianRing R]
    (hιd : ∀ p : Y', (∀ p' : Y', p' ⤳ p → y'.base p' = y'.base p → p' = p) → p ∈ Set.range ι.1.base)
    {S : Set ↑(pullback y y)} (hS : Dense S) : Dense ((ch y y' ι ι) '' S)
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.exists_law
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Law
variable {R : Type u} [CommRing R]
  {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  (ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
variable
  (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))))
  (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)
  (htr : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x : T ⟶ Y) (_ : x ≫ y = t)
      (w : T ⟶ (U : Scheme.{u})),
    w ≫ U.ι ≫ pullback.fst y y = t ≫ a → w ≫ U.ι ≫ pullback.snd y y = x → x ≫ τ.1 = w ≫ m.1 ≫ ι.1)
  (hιd : ∀ p : Y', (∀ p' : Y', p' ⤳ p → y'.base p' = y'.base p → p' = p) → p ∈ Set.range ι.1.base)
include hU₁ hassoc htr hιd in
theorem exists_law [IsDomain R] [IsNoetherianRing R] [Smooth y] [IsSeparated y]
    [Smooth y'] [IsSeparated y'] [LocallyOfFiniteType y'] [QuasiCompact y']
      [IsOpenImmersion (firstMultiplicationChart y
      U m)] :
    ∃ M : (U' y U m a ha y' ι τ : Scheme.{u}) ⟶ Y',
      (pullback y' y').homOfLE (P0_le y U m a ha y' ι τ) ≫ M = f0 y U m y' ι ∧
      (pullback y' y').homOfLE (P1_le y U m a ha y' ι τ) ≫ M = f1 y U m y' ι τ ∧
      (pullback y' y').homOfLE (P2_le y U m a ha y' ι τ) ≫ M = f2 y U m a ha y' ι τ ∧
      M ≫ y' = (U' y U m a ha y' ι τ).ι ≫ pullback.fst y' y' ≫ y'
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.clause0
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Clauses
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  (ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
  (M : (U' y U m a ha y' ι τ : Scheme.{u}) ⟶ Y')
  (hM0 : (pullback y' y').homOfLE (P0_le y U m a ha y' ι τ) ≫ M = f0 y U m y' ι)
  (hM1 : (pullback y' y').homOfLE (P1_le y U m a ha y' ι τ) ≫ M = f1 y U m y' ι τ)
  (hM2 : (pullback y' y').homOfLE (P2_le y U m a ha y' ι τ) ≫ M = f2 y U m a ha y' ι τ)
include hM0 in
theorem clause0 {T : Scheme.{u}} (w : T ⟶ (U : Scheme.{u})) :
    ∃ w' : T ⟶ (U' y U m a ha y' ι τ : Scheme.{u}), w' ≫ (U' y U m a ha y' ι τ).ι = w ≫ U.ι ≫ ch y
      y' ι ι ∧ w' ≫ M = w ≫ m.1 ≫ ι.1
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.clause1
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Clauses
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  (ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
  (M : (U' y U m a ha y' ι τ : Scheme.{u}) ⟶ Y')
  (hM0 : (pullback y' y').homOfLE (P0_le y U m a ha y' ι τ) ≫ M = f0 y U m y' ι)
  (hM1 : (pullback y' y').homOfLE (P1_le y U m a ha y' ι τ) ≫ M = f1 y U m y' ι τ)
  (hM2 : (pullback y' y').homOfLE (P2_le y U m a ha y' ι τ) ≫ M = f2 y U m a ha y' ι τ)
include hM1 in
theorem clause1 {T : Scheme.{u}} (w : T ⟶ (U : Scheme.{u})) :
    ∃ w' : T ⟶ (U' y U m a ha y' ι τ : Scheme.{u}), w' ≫ (U' y U m a ha y' ι τ).ι = w ≫ U.ι ≫ ch y
      y' τ ι ∧ w' ≫ M = w ≫ m.1 ≫ τ.1
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.clause2
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Clauses
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  (ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
  (M : (U' y U m a ha y' ι τ : Scheme.{u}) ⟶ Y')
  (hM0 : (pullback y' y').homOfLE (P0_le y U m a ha y' ι τ) ≫ M = f0 y U m y' ι)
  (hM1 : (pullback y' y').homOfLE (P1_le y U m a ha y' ι τ) ≫ M = f1 y U m y' ι τ)
  (hM2 : (pullback y' y').homOfLE (P2_le y U m a ha y' ι τ) ≫ M = f2 y U m a ha y' ι τ)
include hM2 in
theorem clause2 {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (d : T ⟶ Y) (hd : d ≫ y = t)
    (u v : T ⟶ (U : Scheme.{u})) (hut : u ≫ U.ι ≫ pullback.fst y y ≫ y = t)
    (hu : u ≫ U.ι ≫ pullback.snd y y = t ≫ a) (hv₁ : v ≫ U.ι ≫ pullback.fst y y = u ≫ m.1)
    (hv₂ : v ≫ U.ι ≫ pullback.snd y y = d) :
    ∃ w' : T ⟶ (U' y U m a ha y' ι τ : Scheme.{u}),
      w' ≫ (U' y U m a ha y' ι τ).ι = pullback.lift (u ≫ U.ι ≫ pullback.fst y y) d
        (by rw [Category.assoc, Category.assoc, hut, hd]) ≫ ch y y' ι τ ∧ w' ≫ M = v ≫ m.1 ≫ ι.1 :=
          by
  obtain ⟨b, hb⟩ : ∃ b : T ⟶ Y, b = u ≫ U.ι ≫ pullback.fst y y := ⟨_, rfl⟩
  have hbk : b ≫ kA y a ha = u ≫ U.ι := by
    apply pullback.hom_ext
    · rw [Category.assoc, kA_fst, Category.comp_id, hb, Category.assoc]
    · rw [Category.assoc, kA_snd, Category.assoc, hu, hb]
      simp only [Category.assoc]
      rw [reassoc_of% hut]
  have hbr : Set.range b.base ⊆ Set.range (Ua y U a ha).ι.base := by
    rw [Scheme.Opens.range_ι]
    rintro _ ⟨z, rfl⟩
    change (kA y a ha).base (b.base z) ∈ U
    rw [← Scheme.Hom.comp_apply, hbk, Scheme.Hom.comp_apply]
    exact (u.base z).2
  set b' : T ⟶ Ua y U a ha := IsOpenImmersion.lift (Ua y U a ha).ι b hbr
  have hb' : b' ≫ (Ua y U a ha).ι = b := IsOpenImmersion.lift_fac _ _ _
  have hbla : b' ≫ la y U a ha = u := by
    rw [← cancel_mono U.ι, Category.assoc, la_ι, reassoc_of% hb', hbk]
  set q : T ⟶ pullback y y := pullback.lift b d (by rw [hb, Category.assoc, Category.assoc, hut,
    hd])
  have hqr : Set.range q.base ⊆ Set.range (Ya y U a ha).ι.base := by
    rw [Scheme.Opens.range_ι]
    rintro _ ⟨z, rfl⟩
    change (pullback.fst y y).base (q.base z) ∈ Ua y U a ha
    rw [← Scheme.Hom.comp_apply, pullback.lift_fst, ← hb', Scheme.Hom.comp_apply]
    exact (b'.base z).2
  set qY : T ⟶ Ya y U a ha := IsOpenImmersion.lift (Ya y U a ha).ι q hqr
  have hqY : qY ≫ (Ya y U a ha).ι = q := IsOpenImmersion.lift_fac _ _ _
  have hqYb : qY ≫ bY y U a ha = b' := by
    rw [← cancel_mono (Ua y U a ha).ι, Category.assoc, bY_ι, reassoc_of% hqY, pullback.lift_fst,
      hb']
  have hqΘ : qY ≫ Θ y U m a ha = v ≫ U.ι := by
    apply pullback.hom_ext
    · rw [Category.assoc, Θ_fst, reassoc_of% hqYb, rho, reassoc_of% hbla, Category.assoc, hv₁]
    · rw [Category.assoc, Θ_snd, reassoc_of% hqY, pullback.lift_snd, Category.assoc, hv₂]
  have hqVr : Set.range qY.base ⊆ Set.range (V2 y U m a ha).ι.base := by
    rw [Scheme.Opens.range_ι]
    rintro _ ⟨z, rfl⟩
    change (Θ y U m a ha).base (qY.base z) ∈ U
    rw [← Scheme.Hom.comp_apply, hqΘ, Scheme.Hom.comp_apply]
    exact (v.base z).2
  set qV : T ⟶ V2 y U m a ha := IsOpenImmersion.lift (V2 y U m a ha).ι qY hqVr
  have hqV : qV ≫ (V2 y U m a ha).ι = qY := IsOpenImmersion.lift_fac _ _ _
  have hqθ : qV ≫ θ y U m a ha = v := by
    rw [← cancel_mono U.ι, Category.assoc, θ_ι, reassoc_of% hqV, hqΘ]
  refine ⟨qV ≫ (eV y U m a ha).hom ≫ (e2 y U m a ha y' ι τ).hom ≫ (pullback y' y').homOfLE (P2_le y
    U m a ha y' ι τ), ?_, ?_⟩
  · rw [Category.assoc, Category.assoc, Category.assoc, Scheme.homOfLE_ι, e2_hom_ι, eV_hom_ι_assoc,
      reassoc_of% hqV, reassoc_of% hqY]
    subst hb; rfl
  · rw [Category.assoc, Category.assoc, Category.assoc, hM2, f2, Iso.hom_inv_id_assoc,
    Iso.hom_inv_id_assoc,
      reassoc_of% hqθ]
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.res_fac
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Clauses
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  (ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
  (M : (U' y U m a ha y' ι τ : Scheme.{u}) ⟶ Y')
  (hM0 : (pullback y' y').homOfLE (P0_le y U m a ha y' ι τ) ≫ M = f0 y U m y' ι)
  (hM1 : (pullback y' y').homOfLE (P1_le y U m a ha y' ι τ) ≫ M = f1 y U m y' ι τ)
  (hM2 : (pullback y' y').homOfLE (P2_le y U m a ha y' ι τ) ≫ M = f2 y U m a ha y' ι τ)
variable (M' : SchemeHomOver ((U' y U m a ha y' ι τ).ι ≫ pullback.fst y' y' ≫ y') y') (hM' : M'.1 =
    M)
theorem res_fac (P : (pullback y' y').Opens) (hP : P ≤ U' y U m a ha y' ι τ) :
    ((U' y U m a ha y' ι τ).ι ⁻¹ᵁ P).ι = ((U' y U m a ha y' ι τ).ι ∣_ P) ≫ (pullback y' y').homOfLE
      hP
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.cov

The three-chart open cover of the glued multiplication domain.

Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Clauses
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  (ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
  (M : (U' y U m a ha y' ι τ : Scheme.{u}) ⟶ Y')
  (hM0 : (pullback y' y').homOfLE (P0_le y U m a ha y' ι τ) ≫ M = f0 y U m y' ι)
  (hM1 : (pullback y' y').homOfLE (P1_le y U m a ha y' ι τ) ≫ M = f1 y U m y' ι τ)
  (hM2 : (pullback y' y').homOfLE (P2_le y U m a ha y' ι τ) ≫ M = f2 y U m a ha y' ι τ)
variable (M' : SchemeHomOver ((U' y U m a ha y' ι τ).ι ≫ pullback.fst y' y' ≫ y') y') (hM' : M'.1 =
    M)
def cov : Option Bool → (U' y U m a ha y' ι τ : Scheme.{u}).Opens
  | some true => (U' y U m a ha y' ι τ).ι ⁻¹ᵁ P0 y U y' ι
  | some false => (U' y U m a ha y' ι τ).ι ⁻¹ᵁ P1 y U y' ι τ
  | none => (U' y U m a ha y' ι τ).ι ⁻¹ᵁ P2 y U m a ha y' ι τ
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.iSup_eq_top
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Clauses
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  (ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
  (M : (U' y U m a ha y' ι τ : Scheme.{u}) ⟶ Y')
  (hM0 : (pullback y' y').homOfLE (P0_le y U m a ha y' ι τ) ≫ M = f0 y U m y' ι)
  (hM1 : (pullback y' y').homOfLE (P1_le y U m a ha y' ι τ) ≫ M = f1 y U m y' ι τ)
  (hM2 : (pullback y' y').homOfLE (P2_le y U m a ha y' ι τ) ≫ M = f2 y U m a ha y' ι τ)
variable (M' : SchemeHomOver ((U' y U m a ha y' ι τ).ι ≫ pullback.fst y' y' ≫ y') y') (hM' : M'.1 =
    M)
theorem iSup_eq_top : (⨆ i, cov y U m a ha y' ι τ i) = ⊤
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.locallyQuasiFinite_Phi'
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Clauses
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  (ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
  (M : (U' y U m a ha y' ι τ : Scheme.{u}) ⟶ Y')
  (hM0 : (pullback y' y').homOfLE (P0_le y U m a ha y' ι τ) ≫ M = f0 y U m y' ι)
  (hM1 : (pullback y' y').homOfLE (P1_le y U m a ha y' ι τ) ≫ M = f1 y U m y' ι τ)
  (hM2 : (pullback y' y').homOfLE (P2_le y U m a ha y' ι τ) ≫ M = f2 y U m a ha y' ι τ)
variable (M' : SchemeHomOver ((U' y U m a ha y' ι τ).ι ≫ pullback.fst y' y' ≫ y') y') (hM' : M'.1 =
    M)
include hM0 hM1 hM2 hM' in
theorem locallyQuasiFinite_Phi' [IsOpenImmersion (firstMultiplicationChart y U m)]
    [IsOpenImmersion (secondMultiplicationChart y U m)] :
    LocallyQuasiFinite (pullback.lift (f := y') (g := y') ((U' y U m a ha y' ι τ).ι ≫ pullback.fst
      y' y') M'.1
      ((Category.assoc _ _ _).trans M'.2.symm))
AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing.locallyQuasiFinite_Psi'
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing
namespace TranslationGluing
section Clauses
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  (a : Spec (CommRingCat.of R) ⟶ Y) (ha : a ≫ y = 𝟙 _)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  (ι τ : SchemeHomOver y y') [IsOpenImmersion ι.1] [IsOpenImmersion τ.1]
  (M : (U' y U m a ha y' ι τ : Scheme.{u}) ⟶ Y')
  (hM0 : (pullback y' y').homOfLE (P0_le y U m a ha y' ι τ) ≫ M = f0 y U m y' ι)
  (hM1 : (pullback y' y').homOfLE (P1_le y U m a ha y' ι τ) ≫ M = f1 y U m y' ι τ)
  (hM2 : (pullback y' y').homOfLE (P2_le y U m a ha y' ι τ) ≫ M = f2 y U m a ha y' ι τ)
variable (M' : SchemeHomOver ((U' y U m a ha y' ι τ).ι ≫ pullback.fst y' y' ≫ y') y') (hM' : M'.1 =
    M)
include hM0 hM1 hM2 hM' in
theorem locallyQuasiFinite_Psi' [IsOpenImmersion (firstMultiplicationChart y U m)]
    [IsOpenImmersion (secondMultiplicationChart y U m)] :
    LocallyQuasiFinite (pullback.lift (f := y') (g := y') M'.1 ((U' y U m a ha y' ι τ).ι ≫
      pullback.snd y' y')
      (M'.2.trans (by rw [Category.assoc, pullback.condition]))) := by
  set Ψ' := pullback.lift (f := y') (g := y') M'.1 ((U' y U m a ha y' ι τ).ι ≫ pullback.snd y' y')
      (M'.2.trans (by rw [Category.assoc, pullback.condition]))
  have : IsZariskiLocalAtSource (@LocallyQuasiFinite.{u}) :=
    HasRingHomProperty.instIsZariskiLocalAtSource
      (P := @LocallyQuasiFinite.{u}) (Q := RingHom.QuasiFinite)
  refine IsZariskiLocalAtSource.of_iSup_eq_top
    (P := @LocallyQuasiFinite.{u}) _ (iSup_eq_top y U m a ha y' ι τ) ?_
  rintro (_ | _ | _)
  · change LocallyQuasiFinite (((U' y U m a ha y' ι τ).ι ⁻¹ᵁ P2 y U m a ha y' ι τ).ι ≫ Ψ')
    have : IsOpenImmersion (Θ y U m a ha) := isOpenImmersion_Θ y U m a ha
    have h : ((U' y U m a ha y' ι τ).ι ⁻¹ᵁ P2 y U m a ha y' ι τ).ι ≫ Ψ' =
        ((U' y U m a ha y' ι τ).ι ∣_ P2 y U m a ha y' ι τ) ≫ (e2 y U m a ha y' ι τ).inv ≫ (eV y U m
          a ha).inv ≫
          θ y U m a ha ≫ secondMultiplicationChart y U m ≫ ch y y' ι τ := by
      apply pullback.hom_ext
      · rw [Category.assoc, pullback.lift_fst, res_fac y U m a ha y' ι τ _ (P2_le y U m a ha y' ι
        τ), Category.assoc,
          hM', hM2, f2]
        simp only [Category.assoc, ch_fst, pullback.lift_fst_assoc]
      · rw [Category.assoc, pullback.lift_snd, reassoc_of% (res_fac y U m a ha y' ι τ _ (P2_le y U m
        a ha y' ι τ)),
          Scheme.homOfLE_ι_assoc]
        simp only [Category.assoc, ch_snd, pullback.lift_snd_assoc]
        rw [← e2_inv_ι_assoc, ch_snd, ← eV_inv_ι_assoc, θ_ι_assoc, Θ_snd_assoc]
    have hθ : IsOpenImmersion (θ y U m a ha) := inferInstanceAs (IsOpenImmersion (Θ y U m a ha ∣_
      U))
    rw [h]; infer_instance
  · change LocallyQuasiFinite (((U' y U m a ha y' ι τ).ι ⁻¹ᵁ P1 y U y' ι τ).ι ≫ Ψ')
    have h : ((U' y U m a ha y' ι τ).ι ⁻¹ᵁ P1 y U y' ι τ).ι ≫ Ψ' =
        ((U' y U m a ha y' ι τ).ι ∣_ P1 y U y' ι τ) ≫ (e1 y U y' ι τ).inv
          ≫ secondMultiplicationChart y U m ≫ ch y y' τ ι
          := by
      apply pullback.hom_ext
      · rw [Category.assoc, pullback.lift_fst, res_fac y U m a ha y' ι τ _ (P1_le y U m a ha y' ι
        τ), Category.assoc,
          hM', hM1, f1]
        simp only [Category.assoc, ch_fst, pullback.lift_fst_assoc]
      · rw [Category.assoc, pullback.lift_snd, reassoc_of% (res_fac y U m a ha y' ι τ _ (P1_le y U m
        a ha y' ι τ)),
          Scheme.homOfLE_ι_assoc]
        simp only [Category.assoc, ch_snd, pullback.lift_snd_assoc]
        rw [← e1_inv_ι_assoc, ch_snd]
    rw [h]; infer_instance
  · change LocallyQuasiFinite (((U' y U m a ha y' ι τ).ι ⁻¹ᵁ P0 y U y' ι).ι ≫ Ψ')
    have h : ((U' y U m a ha y' ι τ).ι ⁻¹ᵁ P0 y U y' ι).ι ≫ Ψ' =
        ((U' y U m a ha y' ι τ).ι ∣_ P0 y U y' ι) ≫ (e0 y U y' ι).inv
          ≫ secondMultiplicationChart y U m ≫ ch y y' ι ι :=
          by
      apply pullback.hom_ext
      · rw [Category.assoc, pullback.lift_fst, res_fac y U m a ha y' ι τ _ (P0_le y U m a ha y' ι
        τ), Category.assoc,
          hM', hM0, f0]
        simp only [Category.assoc, ch_fst, pullback.lift_fst_assoc]
      · rw [Category.assoc, pullback.lift_snd, reassoc_of% (res_fac y U m a ha y' ι τ _ (P0_le y U m
        a ha y' ι τ)),
          Scheme.homOfLE_ι_assoc]
        simp only [Category.assoc, ch_snd, pullback.lift_snd_assoc]
        rw [← e0_inv_ι_assoc, ch_snd]
    rw [h]; infer_instance
NeronModelInfra.exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_glue_translate_of_section
Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_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.GluingFibreDensity.TranslationCharts
  (U2 Ua Ub V2 Ya bY bY_ι bY_ι_assoc ch ch_fst ch_fst_assoc ch_fst_y' ch_snd eV eV_hom_ι
    eV_hom_ι_assoc eV_inv_ι eV_inv_ι_assoc fst_y isClosedImmersion_jA isClosedImmersion_kA
    isOpenImmersion_ch isOpenImmersion_rho isOpenImmersion_Θ isPullback_jA isPullback_kA
    isPullback_rho isPullback_Θ jA jA_fst jA_snd kA kA_fst kA_snd la la_ι m_eq_Phi_snd m_y range_ch
    rho rho_kA rho_y universallyOpen_m Θ Θ_fst Θ_fst_y Θ_snd Θ_snd_assoc θ θ_ι θ_ι_assoc)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
open AbelianVarieties.NOSProofs.QuasiFiniteTranslationGluing.TranslationGluing
namespace NeronModelInfra
theorem exists_opens_locallyQuasiFinite_forall_exists_comp_eq_of_glue_translate_of_section
    {R : Type u} [CommRing R] [IsDomain R] [IsNoetherianRing R]
    {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
    [Smooth y] [IsSeparated 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Φ : IsOpenImmersion
      (pullback.lift (f := y) (g := y) (U.ι ≫ pullback.fst y y) m.1
            ((Category.assoc _ _ _).trans m.2.symm)))
    (hΨ : IsOpenImmersion
      (pullback.lift (f := y) (g := y) m.1 (U.ι ≫ pullback.snd y y)
            (m.2.trans (by rw [Category.assoc, pullback.condition]))))
    (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))
    (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]
    (hιd : ∀ p : Y', (∀ p' : Y', p' ⤳ p → y'.base p' = y'.base p → p' = p) → p ∈ Set.range ι.1.base)
    (hΓa : 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 ≫ τ.1 =
          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) :
    ∃ (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y'),
      LocallyQuasiFinite
          (pullback.lift (f := y') (g := y') (U'.ι ≫ pullback.fst y' y') m'.1
            ((Category.assoc _ _ _).trans m'.2.symm)) ∧
      LocallyQuasiFinite
          (pullback.lift (f := y') (g := y') m'.1 (U'.ι ≫ pullback.snd y' y')
            (m'.2.trans (by rw [Category.assoc, pullback.condition]))) ∧
      (∀ {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) ∧
      (∀ {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) ∧
      (∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (d : SchemeHomOver t y)
          (u v : SchemeHomOver t (U.ι ≫ pullback.fst y y ≫ y)),
        u.1 ≫ U.ι ≫ pullback.snd y y = t ≫ a →
        v.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ m.1 → v.1 ≫ U.ι ≫ pullback.snd y y = d.1 →
        ∃ w' : SchemeHomOver t (U'.ι ≫ pullback.fst y' y' ≫ y'),
          w'.1 ≫ U'.ι ≫ pullback.fst y' y' = u.1 ≫ U.ι ≫ pullback.fst y y ≫ ι.1 ∧
          w'.1 ≫ U'.ι ≫ pullback.snd y' y' = d.1 ≫ τ.1 ∧
          w'.1 ≫ m'.1 = v.1 ≫ m.1 ≫ ι.1) := by
  have : IsOpenImmersion (firstMultiplicationChart y U m) := hΦ
  have : IsOpenImmersion (secondMultiplicationChart y U m) := hΨ
  have : IsReduced (U : Scheme.{u}) :=
    AlgebraicGeometry.Smooth.isReduced_of_isReduced_of_isLocallyNoetherian (U.ι ≫ pullback.fst y y ≫
      y)
  have hgr : Set.range (NeronModelInfra.multiplicationGraph y U m).base ⊆ Set.range γ.base :=
    hΓ ▸ subset_closure
  obtain ⟨g₀, hg₀⟩ := exists_lift_of_isClosedImmersion
    (NeronModelInfra.multiplicationGraph y U m) γ hgr
  have htr : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x : T ⟶ Y) (_ : x ≫ y = t)
      (w : T ⟶ (U : Scheme.{u})),
      w ≫ U.ι ≫ pullback.fst y y = t ≫ a → w ≫ U.ι ≫ pullback.snd y y = x → x ≫ τ.1 = w ≫ m.1 ≫ ι.1
        :=
    fun t x hx w hw₁ hw₂ => translate y U m a ha γ g₀ hg₀ ι τ hΓa t x hx w hw₁ hw₂
  obtain ⟨M, hM0, hM1, hM2, hMy⟩ := exists_law y U m a ha y' ι τ hU₁ hassoc htr hιd
  let m' : SchemeHomOver ((U' y U m a ha y' ι τ).ι ≫ pullback.fst y' y' ≫ y') y' := ⟨M, hMy⟩
  refine ⟨U' y U m a ha y' ι τ, m', locallyQuasiFinite_Phi' y U m a ha y' ι τ M hM0 hM1 hM2 m' rfl,
    locallyQuasiFinite_Psi' y U m a ha y' ι τ M hM0 hM1 hM2 m' rfl, ?_, ?_, ?_⟩
  · intro T t w
    obtain ⟨w', hw', hw'M⟩ := clause0 y U m a ha y' ι τ M hM0 w.1
    refine ⟨⟨w', ?_⟩, ?_, ?_, hw'M⟩
    · rw [reassoc_of% hw', ch_fst_assoc, ι.2, w.2]
    · change w' ≫ _ = _; rw [reassoc_of% hw', ch_fst]
    · change w' ≫ _ = _; rw [reassoc_of% hw', ch_snd]
  · intro T t w
    obtain ⟨w', hw', hw'M⟩ := clause1 y U m a ha y' ι τ M hM1 w.1
    refine ⟨⟨w', ?_⟩, ?_, ?_, hw'M⟩
    · rw [reassoc_of% hw', ch_fst_assoc, τ.2, w.2]
    · change w' ≫ _ = _; rw [reassoc_of% hw', ch_fst]
    · change w' ≫ _ = _; rw [reassoc_of% hw', ch_snd]
  · intro T t d u v hu hv₁ hv₂
    obtain ⟨w', hw', hw'M⟩ := clause2 y U m a ha y' ι τ M hM2 t d.1 d.2 u.1 v.1 u.2 hu hv₁ hv₂
    refine ⟨⟨w', ?_⟩, ?_, ?_, hw'M⟩
    · rw [reassoc_of% hw', ch_fst_assoc, ι.2, pullback.lift_fst_assoc, Category.assoc,
      Category.assoc, u.2]
    · change w' ≫ _ = _; rw [reassoc_of% hw', ch_fst, pullback.lift_fst_assoc, Category.assoc,
      Category.assoc]
    · change w' ≫ _ = _; rw [reassoc_of% hw', ch_snd, pullback.lift_snd_assoc]
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.dense_image_of_denseRange
Source context 13 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Topology
theorem dense_image_of_denseRange {X Z : Type*} [TopologicalSpace X] [TopologicalSpace Z] {f : X →
    Z}
    (hf : Continuous f) (hr : DenseRange f) {S : Set X} (hS : Dense S) : Dense (f '' S)
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.dense_range_ch
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Charts
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (i₁ i₂ : SchemeHomOver y y')
theorem dense_range_ch [Smooth y'] [LocallyOfFiniteType y'] [QuasiCompact y'] [IsNoetherianRing R]
    (ι : SchemeHomOver y y') [IsOpenImmersion ι.1]
    (hιd : ∀ p : Y', (∀ p' : Y', p' ⤳ p → y'.base p' = y'.base p → p' = p) → p ∈ Set.range ι.1.base)
      :
    Dense (Set.range (ch y y' ι ι))
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.dense_image_ch
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Charts
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (i₁ i₂ : SchemeHomOver y y')
theorem dense_image_ch [Smooth y'] [LocallyOfFiniteType y'] [QuasiCompact y'] [IsNoetherianRing R]
    (ι : SchemeHomOver y y') [IsOpenImmersion ι.1]
    (hιd : ∀ p : Y', (∀ p' : Y', p' ⤳ p → y'.base p' = y'.base p → p' = p) → p ∈ Set.range ι.1.base)
    {S : Set ↑(pullback y y)} (hS : Dense S) : Dense ((ch y y' ι ι) '' S)
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.A0

The auxiliary product with the first composable pair still unmultiplied.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
abbrev A0 : Scheme.{u}
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.B0

The auxiliary product after multiplying the first pair.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
abbrev B0 : Scheme.{u}
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.A0_cond
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
theorem A0_cond : pullback.fst (D.ι ≫ pullback.snd y y) (pullback.fst y y) ≫ D.ι ≫ pullback.snd y y
    =
    pullback.snd (D.ι ≫ pullback.snd y y) (pullback.fst y y) ≫ pullback.fst y y
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.B0_cond
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
theorem B0_cond : pullback.fst M.1 (pullback.fst y y) ≫ M.1 =
    pullback.snd M.1 (pullback.fst y y) ≫ pullback.fst y y
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.A0_cond_y
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
theorem A0_cond_y : pullback.fst (D.ι ≫ pullback.snd y y) (pullback.fst y y) ≫ M.1 ≫ y =
    pullback.snd (D.ι ≫ pullback.snd y y) (pullback.fst y y) ≫ pullback.snd y y ≫ y
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.B0_cond_y
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
theorem B0_cond_y : pullback.fst M.1 (pullback.fst y y) ≫ D.ι ≫ pullback.snd y y ≫ y =
    pullback.snd M.1 (pullback.fst y y) ≫ pullback.snd y y ≫ y
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.i0

Include the second composable pair into the auxiliary product.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
abbrev i0 : DD y D ⟶ A0 y D
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.kA

Multiply the first pair in the auxiliary product.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
def kA : A0 y D ⟶ B0 y D M
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.kB

Recover the auxiliary product coordinates after the first multiplication.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
def kB : B0 y D M ⟶ A0 y D
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.kA_kB
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
theorem kA_kB : kA y D M ≫ kB y D M = 𝟙 _
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.kB_kA
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
theorem kB_kA : kB y D M ≫ kA y D M = 𝟙 _
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
instance : IsIso (kA y D M)
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.mulFst_eq
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
theorem mulFst_eq : mulFst y D M = i0 y D ≫ kA y D M ≫ pullback.snd M.1 (pullback.fst y y)
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.universallyOpen_mulFst
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
theorem universallyOpen_mulFst [UniversallyOpen M.1] : UniversallyOpen (mulFst y D M)
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.A0'

The auxiliary product with the second composable pair still unmultiplied.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
abbrev A0' : Scheme.{u}
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.B0'

The auxiliary product after multiplying the second pair.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
abbrev B0' : Scheme.{u}
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.A0'_cond
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
theorem A0'_cond : pullback.fst (pullback.snd y y) (D.ι ≫ pullback.fst y y) ≫ pullback.snd y y =
    pullback.snd (pullback.snd y y) (D.ι ≫ pullback.fst y y) ≫ D.ι ≫ pullback.fst y y
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.B0'_cond
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
theorem B0'_cond : pullback.fst (pullback.snd y y) M.1 ≫ pullback.snd y y =
    pullback.snd (pullback.snd y y) M.1 ≫ M.1
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.i0'

Include the first composable pair into the auxiliary product.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
abbrev i0' : DD y D ⟶ A0' y D
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.kA'

Multiply the second pair in the auxiliary product.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
def kA' : A0' y D ⟶ B0' y D M
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.kB'

Recover the auxiliary product coordinates after the second multiplication.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
def kB' : B0' y D M ⟶ A0' y D
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.kA'_kB'
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
theorem kA'_kB' : kA' y D M ≫ kB' y D M = 𝟙 _
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.kB'_kA'
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
theorem kB'_kA' : kB' y D M ≫ kA' y D M = 𝟙 _
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
instance : IsIso (kA' y D M)
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.mulSnd_eq
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
theorem mulSnd_eq : mulSnd y D M = i0' y D ≫ kA' y D M ≫ pullback.fst (pullback.snd y y) M.1
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.universallyOpen_mulSnd
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
theorem universallyOpen_mulSnd [UniversallyOpen M.1] : UniversallyOpen (mulSnd y D M)
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.comp_m_eq
Source context 18 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (hUD : U ≤ D) (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
include hM in
theorem comp_m_eq {T : Scheme.{u}} (w : T ⟶ U) (d : T ⟶ D) (h : w ≫ U.ι = d ≫ D.ι) : w ≫ m.1 = d ≫
    M.1
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.L

The common dense subdomain on which all products lie in the original chart.

Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (hUD : U ≤ D) (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
def L : (A y D M : Scheme.{u}).Opens
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.mem_L
Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (hUD : U ≤ D) (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
theorem mem_L (x : ↑(A y D M)) :
    x ∈ L y D M U ↔
      D.ι.base ((Q12 y D).base (((A y D M).ι).base x)) ∈ U ∧
      D.ι.base ((Q23 y D).base (((A y D M).ι).base x)) ∈ U ∧
      (mulFst y D M).base (((A y D M).ι).base x) ∈ U ∧ (mulSnd y D M).base (((A y D M).ι).base x) ∈
        U
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.dense_L
Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (hUD : U ≤ D) (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
theorem dense_L [Smooth y] [UniversallyOpen M.1] (hU : Dense (U : Set ↑(pullback y y))) :
    Dense (L y D M U : Set ↑(A y D M))
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.FF_eq_GG
Source context 19 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (hUD : U ≤ D) (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
variable (hassoc : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
        (u v p q : SchemeHomOver t (U.ι ≫ pullback.fst y y ≫ y)),
      u.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫ pullback.fst y y →
      p.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ m.1 → p.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫
        pullback.snd y y →
      q.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ U.ι ≫ pullback.fst y y → q.1 ≫ U.ι ≫ pullback.snd y y =
        v.1 ≫ m.1 →
      p.1 ≫ m.1 = q.1 ≫ m.1)
include hM hassoc in
theorem FF_eq_GG [IsDomain R] [IsDiscreteValuationRing R] [Smooth y] [IsSeparated y]
    [UniversallyOpen M.1]
    (hU : Dense (U : Set ↑(pullback y y))) : FF y D M = GG y D M
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.assoc_ext
Source context 19 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Assoc
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
variable (D : (pullback y y).Opens) (M : SchemeHomOver (D.ι ≫ pullback.fst y y ≫ y) y)
variable (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
variable (hUD : U ≤ D) (hM : (pullback y y).homOfLE hUD ≫ M.1 = m.1)
variable (hassoc : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
        (u v p q : SchemeHomOver t (U.ι ≫ pullback.fst y y ≫ y)),
      u.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫ pullback.fst y y →
      p.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ m.1 → p.1 ≫ U.ι ≫ pullback.snd y y = v.1 ≫ U.ι ≫
        pullback.snd y y →
      q.1 ≫ U.ι ≫ pullback.fst y y = u.1 ≫ U.ι ≫ pullback.fst y y → q.1 ≫ U.ι ≫ pullback.snd y y =
        v.1 ≫ m.1 →
      p.1 ≫ m.1 = q.1 ≫ m.1)
include hM hassoc in
theorem assoc_ext [IsDomain R] [IsDiscreteValuationRing R] [Smooth y] [IsSeparated y]
    [UniversallyOpen M.1]
    (hU : Dense (U : Set ↑(pullback y y)))
    {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
    (u v p q : SchemeHomOver t (D.ι ≫ pullback.fst y y ≫ y))
    (h₁ : u.1 ≫ D.ι ≫ pullback.snd y y = v.1 ≫ D.ι ≫ pullback.fst y y)
    (h₂ : p.1 ≫ D.ι ≫ pullback.fst y y = u.1 ≫ M.1)
    (h₃ : p.1 ≫ D.ι ≫ pullback.snd y y = v.1 ≫ D.ι ≫ pullback.snd y y)
    (h₄ : q.1 ≫ D.ι ≫ pullback.fst y y = u.1 ≫ D.ι ≫ pullback.fst y y)
    (h₅ : q.1 ≫ D.ι ≫ pullback.snd y y = v.1 ≫ M.1) :
    p.1 ≫ M.1 = q.1 ≫ M.1
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.isOpenImmersion_of_zmt
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section ZMT
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
  [Smooth y'] [LocallyOfFiniteType y'] [QuasiCompact y']
  (U' : (pullback y' y').Opens)
theorem isOpenImmersion_of_zmt (f : (U' : Scheme.{u}) ⟶ pullback y' y') [LocallyQuasiFinite f]
    (pr : pullback y' y' ⟶ Y') [IsSeparated pr] [LocallyOfFiniteType pr] (hf : f ≫ pr = U'.ι ≫ pr)
    (V : (pullback y' y').Opens) (hV : Dense (V : Set ↑(pullback y' y')))
    (s : (V : Scheme.{u}) ⟶ U') (hs : s ≫ f = V.ι) (hsd : DenseRange s.base) : IsOpenImmersion f
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.U0

The image of the original multiplication domain inside the new product.

Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
def U0 : (pullback y' y').Opens
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.e0

Identify the original domain with its open image in the glued product.

Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
def e0 : (U : Scheme.{u}) ≅ (U0 y U y' ι : Scheme.{u})
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.e0_hom_ι
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
theorem e0_hom_ι : (e0 y U y' ι).hom ≫ (U0 y U y' ι).ι = U.ι ≫ ch y y' ι ι
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.e0_inv_ι
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
theorem e0_inv_ι : (e0 y U y' ι).inv ≫ U.ι ≫ ch y y' ι ι = (U0 y U y' ι).ι
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.m0

Transport the original partial multiplication to its open image.

Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
def m0 : SchemeHomOver ((U0 y U y' ι).ι ≫ pullback.fst y' y' ≫ y') y'
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.m0_val
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
theorem m0_val : (m0 y U m y' ι).1 = (e0 y U y' ι).inv ≫ m.1 ≫ ι.1
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.exists_w0
Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
variable (hext : ∀ {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)
omit [IsOpenImmersion ι.1] in
include hext in
theorem exists_w0 : ∃ w₀ : (U : Scheme.{u}) ⟶ U', w₀ ≫ U'.ι = U.ι ≫ ch y y' ι ι ∧ w₀ ≫ m'.1 = m.1 ≫
    ι.1
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.U0_le
Source context 19 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
variable (hext : ∀ {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)
variable {y U m y' ι U' m'}
section W0
variable (w₀ : (U : Scheme.{u}) ⟶ U') (hw₀ : w₀ ≫ U'.ι = U.ι ≫ ch y y' ι ι) (hw₀m : w₀ ≫ m'.1 = m.1
    ≫ ι.1)
include hw₀ in
theorem U0_le : U0 y U y' ι ≤ U'
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.e0_hom_homOfLE
Source context 19 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
variable (hext : ∀ {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)
variable {y U m y' ι U' m'}
section W0
variable (w₀ : (U : Scheme.{u}) ⟶ U') (hw₀ : w₀ ≫ U'.ι = U.ι ≫ ch y y' ι ι) (hw₀m : w₀ ≫ m'.1 = m.1
    ≫ ι.1)
include hw₀ in
theorem e0_hom_homOfLE (h : U0 y U y' ι ≤ U') : (e0 y U y' ι).hom ≫ (pullback y' y').homOfLE h = w₀
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.homOfLE_m'
Source context 19 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
variable (hext : ∀ {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)
variable {y U m y' ι U' m'}
section W0
variable (w₀ : (U : Scheme.{u}) ⟶ U') (hw₀ : w₀ ≫ U'.ι = U.ι ≫ ch y y' ι ι) (hw₀m : w₀ ≫ m'.1 = m.1
    ≫ ι.1)
include hw₀ hw₀m in
theorem homOfLE_m' (h : U0 y U y' ι ≤ U') : (pullback y' y').homOfLE h ≫ m'.1 = (m0 y U m y' ι).1
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.w0_Phi'
Source context 20 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
variable (hext : ∀ {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)
variable {y U m y' ι U' m'}
section W0
variable (w₀ : (U : Scheme.{u}) ⟶ U') (hw₀ : w₀ ≫ U'.ι = U.ι ≫ ch y y' ι ι) (hw₀m : w₀ ≫ m'.1 = m.1
    ≫ ι.1)
omit [IsOpenImmersion ι.1] in
include hw₀ hw₀m in
theorem w0_Phi' :
    w₀ ≫ pullback.lift (f := y') (g := y') (U'.ι ≫ pullback.fst y' y') m'.1
        ((Category.assoc _ _ _).trans m'.2.symm)
          = firstMultiplicationChart y U m ≫ ch y y' ι ι
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.w0_Psi'
Source context 20 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
variable (hext : ∀ {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)
variable {y U m y' ι U' m'}
section W0
variable (w₀ : (U : Scheme.{u}) ⟶ U') (hw₀ : w₀ ≫ U'.ι = U.ι ≫ ch y y' ι ι) (hw₀m : w₀ ≫ m'.1 = m.1
    ≫ ι.1)
omit [IsOpenImmersion ι.1] in
include hw₀ hw₀m in
theorem w0_Psi' :
    w₀ ≫ pullback.lift (f := y') (g := y') m'.1 (U'.ι ≫ pullback.snd y' y')
        (m'.2.trans (by rw [Category.assoc, pullback.condition]))
          = secondMultiplicationChart y U m ≫ ch y y' ι ι := by
  apply pullback.hom_ext
  · rw [Category.assoc, pullback.lift_fst, hw₀m, Category.assoc, ch_fst, pullback.lift_fst_assoc]
  · rw [Category.assoc, pullback.lift_snd, reassoc_of% hw₀, ch_snd, Category.assoc, ch_snd,
      pullback.lift_snd_assoc, Category.assoc]
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.isOpenImmersion_w0
Source context 19 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
variable (hext : ∀ {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)
variable {y U m y' ι U' m'}
section W0
variable (w₀ : (U : Scheme.{u}) ⟶ U') (hw₀ : w₀ ≫ U'.ι = U.ι ≫ ch y y' ι ι) (hw₀m : w₀ ≫ m'.1 = m.1
    ≫ ι.1)
include hw₀ in
theorem isOpenImmersion_w0 : IsOpenImmersion w₀
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.denseRange_w0
Source context 20 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
variable (hext : ∀ {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)
variable {y U m y' ι U' m'}
section W0
variable (w₀ : (U : Scheme.{u}) ⟶ U') (hw₀ : w₀ ≫ U'.ι = U.ι ≫ ch y y' ι ι) (hw₀m : w₀ ≫ m'.1 = m.1
    ≫ ι.1)
omit [IsOpenImmersion ι.1] in
include hw₀ in
theorem denseRange_w0 (hd : Dense ((ch y y' ι ι) '' (U : Set ↑(pullback y y)))) : DenseRange w₀.base
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.range_comp
Source context 18 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
variable (hext : ∀ {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)
variable {y U m y' ι U' m'}
section W0
variable (w₀ : (U : Scheme.{u}) ⟶ U') (hw₀ : w₀ ≫ U'.ι = U.ι ≫ ch y y' ι ι) (hw₀m : w₀ ≫ m'.1 = m.1
    ≫ ι.1)
theorem range_comp {A B C : Scheme.{u}} (f : A ⟶ B) (g : B ⟶ C) :
    Set.range (f ≫ g).base = g.base '' Set.range f.base
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.exists_section
Source context 18 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
variable (hext : ∀ {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)
variable {y U m y' ι U' m'}
section W0
variable (w₀ : (U : Scheme.{u}) ⟶ U') (hw₀ : w₀ ≫ U'.ι = U.ι ≫ ch y y' ι ι) (hw₀m : w₀ ≫ m'.1 = m.1
    ≫ ι.1)
theorem exists_section (F : (U' : Scheme.{u}) ⟶ pullback y' y') (g : (U : Scheme.{u}) ⟶ pullback y'
    y')
    [IsOpenImmersion g] (hF : w₀ ≫ F = g) :
    ∃ s : (g.opensRange : Scheme.{u}) ⟶ U', s ≫ F = g.opensRange.ι ∧ Set.range s.base = Set.range
      w₀.base
AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension.hassoc_m0
Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
namespace AbelianVarieties.NOSProofs.QuasiFiniteLawExtension
namespace LawExtension
open AbelianVarieties.NOSProofs.AssociativityRestriction.PartialMultiplication
  (A DD FF GG M_y Q12 Q12_snd Q12_snd_assoc Q23 dF dF_ι dF_ι_assoc dG dG_ι dG_ι_assoc fst_y mem_A
    mulFst mulFst_fst mulFst_fst_assoc mulFst_snd mulSnd mulSnd_fst mulSnd_fst_assoc mulSnd_snd
    range_A_mulFst range_A_mulSnd)
section Ext
variable {R : Type u} [CommRing R] {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
  (U : (pullback y y).Opens) (m : SchemeHomOver (U.ι ≫ pullback.fst y y ≫ y) y)
  {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R)) (ι : SchemeHomOver y y') [IsOpenImmersion
    ι.1]
  (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
variable (hext : ∀ {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)
variable {y U m y' ι U' m'}
variable (y U m y' ι) in
theorem hassoc_m0
    (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)
    {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
    (u v p q : SchemeHomOver t ((U0 y U y' ι).ι ≫ pullback.fst y' y' ≫ y'))
    (h₁ : u.1 ≫ (U0 y U y' ι).ι ≫ pullback.snd y' y' = v.1 ≫ (U0 y U y' ι).ι ≫ pullback.fst y' y')
    (h₂ : p.1 ≫ (U0 y U y' ι).ι ≫ pullback.fst y' y' = u.1 ≫ (m0 y U m y' ι).1)
    (h₃ : p.1 ≫ (U0 y U y' ι).ι ≫ pullback.snd y' y' = v.1 ≫ (U0 y U y' ι).ι ≫ pullback.snd y' y')
    (h₄ : q.1 ≫ (U0 y U y' ι).ι ≫ pullback.fst y' y' = u.1 ≫ (U0 y U y' ι).ι ≫ pullback.fst y' y')
    (h₅ : q.1 ≫ (U0 y U y' ι).ι ≫ pullback.snd y' y' = v.1 ≫ (m0 y U m y' ι).1) :
    p.1 ≫ (m0 y U m y' ι).1 = q.1 ≫ (m0 y U m y' ι).1
NeronModelInfra.isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq
Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.GluingFibreDensity.TranslationCharts
  (ch ch_fst ch_snd ch_fst_assoc ch_snd_assoc range_ch)
open scoped AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts
open AbelianVarieties.NOSProofs.GraphClosureRigidity.GraphClosure
  (dense_of_forall_dense_fibre)
open AbelianVarieties.NOSProofs.GluingFibreDensity.TranslationCharts (dense_of_forall_maximal_mem)
open AbelianVarieties.NOSProofs.QuasiFiniteLawExtension.LawExtension
namespace NeronModelInfra
theorem isOpenImmersion_lift_and_forall_comp_eq_of_locallyQuasiFinite_of_forall_exists_comp_eq
    {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    {Y : Scheme.{u}} (y : Y ⟶ Spec (CommRingCat.of R))
    (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Φ : 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Ψ : 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)))
    (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)
    {Y' : Scheme.{u}} (y' : Y' ⟶ Spec (CommRingCat.of R))
    [Smooth y'] [IsSeparated y'] [LocallyOfFiniteType y'] [QuasiCompact y']
    (ι : SchemeHomOver y y') [IsOpenImmersion ι.1]
    (hιd : ∀ p : Y', (∀ p' : Y', p' ⤳ p → y'.base p' = y'.base p → p' = p) → p ∈ Set.range ι.1.base)
    (U' : (pullback y' y').Opens) (m' : SchemeHomOver (U'.ι ≫ pullback.fst y' y' ≫ y') y')
    (hext : ∀ {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)
    [LocallyQuasiFinite
      (pullback.lift (f := y') (g := y') (U'.ι ≫ pullback.fst y' y') m'.1
        ((Category.assoc _ _ _).trans m'.2.symm))]
    [LocallyQuasiFinite
      (pullback.lift (f := y') (g := y') m'.1 (U'.ι ≫ pullback.snd y' y')
        (m'.2.trans (by rw [Category.assoc, pullback.condition])))] :
    IsOpenImmersion
        (pullback.lift (f := y') (g := y') (U'.ι ≫ pullback.fst y' y') m'.1
          ((Category.assoc _ _ _).trans m'.2.symm)) ∧
    IsOpenImmersion
        (pullback.lift (f := y') (g := y') m'.1 (U'.ι ≫ pullback.snd y' y')
          (m'.2.trans (by rw [Category.assoc, pullback.condition]))) ∧
    (∀ {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) := by
  have : IsOpenImmersion (firstMultiplicationChart y U m) := hΦ
  have : IsOpenImmersion (secondMultiplicationChart y U m) := hΨ
  obtain ⟨w₀, hw₀, hw₀m⟩ := exists_w0 y U m y' ι U' m' hext
  have hUD : U0 y U y' ι ≤ U' := U0_le w₀ hw₀
  have hM : (pullback y' y').homOfLE hUD ≫ m'.1 = (m0 y U m y' ι).1 := homOfLE_m' w₀ hw₀ hw₀m hUD
  have hU : Dense (U : Set ↑(pullback y y)) := dense_of_forall_dense_fibre (fun q => (pullback.fst y
    y).base q) _ hU₁
  have hΦU : Dense (Set.range (firstMultiplicationChart y U m).base) :=
    dense_of_forall_dense_fibre (fun q => (pullback.fst y y).base q) _ hΦ₁
  have hΨU : Dense (Set.range (secondMultiplicationChart y U m).base) :=
    dense_of_forall_dense_fibre (fun q => (pullback.fst y y).base q) _ hΨ₁
  have hU0 : Dense ((U0 y U y' ι : (pullback y' y').Opens) : Set ↑(pullback y' y')) := by
    rw [U0, Scheme.Hom.coe_image]; exact dense_image_ch y y' ι hιd hU
  have hdw₀ : DenseRange w₀.base := denseRange_w0 w₀ hw₀ (by rw [← Scheme.Hom.coe_image]; exact hU0)
  set Φ' := pullback.lift (f := y') (g := y') (U'.ι ≫ pullback.fst y' y') m'.1
    ((Category.assoc _ _ _).trans m'.2.symm) with hΦ'
  set Ψ' := pullback.lift (f := y') (g := y') m'.1 (U'.ι ≫ pullback.snd y' y')
    (m'.2.trans (by rw [Category.assoc, pullback.condition])) with hΨ'
  have hΦ'oi : IsOpenImmersion Φ' := by
    obtain ⟨s, hs, hsr⟩ := exists_section w₀ Φ'
      (firstMultiplicationChart y U m ≫ ch y y' ι ι) (w0_Phi' w₀ hw₀ hw₀m)
    refine isOpenImmersion_of_zmt y' U' Φ' (pullback.fst y' y') (pullback.lift_fst _ _ _) _ ?_ s hs
      ?_
    · rw [Scheme.Hom.coe_opensRange, range_comp]
      exact dense_image_ch y y' ι hιd hΦU
    · rw [DenseRange, hsr]; exact hdw₀
  have hΨ'oi : IsOpenImmersion Ψ' := by
    obtain ⟨s, hs, hsr⟩ := exists_section w₀ Ψ'
      (secondMultiplicationChart y U m ≫ ch y y' ι ι) (w0_Psi' w₀ hw₀ hw₀m)
    refine isOpenImmersion_of_zmt y' U' Ψ' (pullback.snd y' y') (pullback.lift_snd _ _ _) _ ?_ s hs
      ?_
    · rw [Scheme.Hom.coe_opensRange, range_comp]
      exact dense_image_ch y y' ι hιd hΨU
    · rw [DenseRange, hsr]; exact hdw₀
  refine ⟨hΦ'oi, hΨ'oi, ?_⟩
  have : UniversallyOpen m'.1 := by
    have h : m'.1 = Φ' ≫ pullback.snd y' y' := (pullback.lift_snd _ _ _).symm
    rw [h]; infer_instance
  intro T t u v p q h₁ h₂ h₃ h₄ h₅
  exact assoc_ext y' U' m' (U0 y U y' ι) (m0 y U m y' ι) hUD hM
    (fun t u v p q => hassoc_m0 y U m y' ι hassoc t u v p q) hU0 t u v p q h₁ h₂ h₃ h₄ h₅