Module

ModelFamilies.lean

Nyll.AbelianVarieties.NeronModels.ModelFamilies
71 declarations indexed from sourceView source ↗

Finite families of models with prescribed generic fiber

Open generic-fiber charts are completed by gluing. Bounded coordinate subalgebras then give a finite family of flat models catching all ramification-index-one points.

Imports17
Imported by3

Declarations

AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.F

The span gluing the original chart to the prescribed generic fiber.

Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
def F : WidePushoutShape Bool ⥤ Scheme.{u}
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.F_map_isOpenImmersion
Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
instance F_map_isOpenImmersion : ∀ {i j : WidePushoutShape Bool} (a : i ⟶ j),
    IsOpenImmersion ((F K gK f q).map a)
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.Y'

The model obtained by attaching the full generic fiber.

Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
def Y' : Scheme.{u}
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.j

The original chart embedded in the completed model.

Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
def j : Y ⟶ Y' K gK f q
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.jX

The prescribed generic fiber embedded in the completed model.

Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
def jX : XK ⟶ Y' K gK f q
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.j0

The common generic chart embedded in the completed model.

Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
def j0 : pullback f (specGenericFibreInclusion R K) ⟶ Y' K gK f q
Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
instance : IsOpenImmersion (j K gK f q)
Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
instance : IsOpenImmersion (jX K gK f q)
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.fst_j
Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
theorem fst_j : pullback.fst f (specGenericFibreInclusion R K) ≫ j K gK f q = j0 K gK f q
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.q_jX
Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
theorem q_jX : q.1 ≫ jX K gK f q = j0 K gK f q
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.f'

The structure morphism of the completed model.

Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
def f' : Y' K gK f q ⟶ Spec (CommRingCat.of R)
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.j_f'
Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
theorem j_f' : j K gK f q ≫ f' K gK f q = f
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.jX_f'
Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
theorem jX_f' : jX K gK f q ≫ f' K gK f q = gK ≫ specGenericFibreInclusion R K
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.cover
Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
theorem cover (y : ↥(Y' K gK f q)) :
    y ∈ Set.range (j K gK f q).base ∨ y ∈ Set.range (jX K gK f q).base
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.j0_f'
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
theorem j0_f' : j0 K gK f q ≫ f' K gK f q = pullback.fst f ιK ≫ f
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.closedPoint_not_mem_range
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
theorem closedPoint_not_mem_range : IsLocalRing.closedPoint R ∉ Set.range
    (specGenericFibreInclusion R K).base
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.lft
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
theorem lft [LocallyOfFiniteType gK] [LocallyOfFiniteType f] : LocallyOfFiniteType
    (f' K gK f q)
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.smooth
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
theorem smooth (hgK : Smooth gK) (hf : Smooth f) : Smooth (f' K gK f q)
theorem

qc

L181 ↗
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.qc
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
theorem qc [QuasiCompact gK] [QuasiCompact f] : QuasiCompact (f' K gK f q)
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.special
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
theorem special (y : ↥(Y' K gK f q)) (hy : (f' K gK f q).base y = IsLocalRing.closedPoint R) :
    y ∈ Set.range (j K gK f q).base
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.eInv

The generic-fiber map induced by the attached generic chart.

Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
def eInv : XK ⟶ pullback (f' K gK f q) ιK
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.eInv_fst
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
theorem eInv_fst : eInv K gK f q ≫ pullback.fst (f' K gK f q) ιK = jX K gK f q
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.eInv_snd
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
theorem eInv_snd : eInv K gK f q ≫ pullback.snd (f' K gK f q) ιK = gK
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
instance : IsOpenImmersion (eInv K gK f q)
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.eInv_surjective
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
theorem eInv_surjective : Function.Surjective (eInv K gK f q).base
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
instance : IsIso (eInv K gK f q)
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.e

The identification of the completed generic fiber with the prescribed one.

Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
def e : SchemeHomOver (pullback.snd (f' K gK f q) ιK) gK
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
instance : IsIso (e K gK f q).1
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.comp_e
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
theorem comp_e :
    schemeHomOverComp (genericFibreRestrict R K (f' K gK f q) f ⟨j K gK f q,
        j_f' K gK f q⟩) (e K gK f q) = q
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.isPullback
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
theorem isPullback : IsPullback (pullback.fst f ιK) q.1 (j K gK f q) (jX K gK f q)
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.graph_isClosedImmersion
Source context 10 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
omit [IsDomain R] [IsDiscreteValuationRing R] [IsFractionRing R K] [IsOpenImmersion q.1] in
theorem graph_isClosedImmersion [IsSeparated gK] (w : pullback.fst f ιK ≫ f = q.1 ≫ gK ≫ ιK) :
    IsClosedImmersion (pullback.lift (pullback.fst f ιK) q.1 w : pullback f ιK ⟶ pullback f (gK ≫
        ιK))
AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion.sep
Source context 9 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GenericFibreCompletion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
universe u
namespace ChartCompletion
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1]
local notation "ιK" => specGenericFibreInclusion R K
theorem sep [IsSeparated gK] [IsSeparated f] : IsSeparated (f' K gK f q)
NeronModelInfra.exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart
Source context 6 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace NeronModelInfra
universe u
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
open AbelianVarieties.NOSProofs.GenericFibreCompletion.ChartCompletion
theorem exists_isOpenImmersion_model_isIso_genericFibre_of_isOpenImmersion_chart
    {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {XK : Scheme.{u}} (gK : XK ⟶ Spec (CommRingCat.of K))
    [IsSeparated gK] [LocallyOfFiniteType gK] [QuasiCompact gK]
    {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of R))
    [IsSeparated f] [LocallyOfFiniteType f] [QuasiCompact f]
    (q : SchemeHomOver (pullback.snd f (specGenericFibreInclusion R K)) gK) [IsOpenImmersion q.1] :
    ∃ (Y' : Scheme.{u}) (f' : Y' ⟶ Spec (CommRingCat.of R)) (j : Y ⟶ Y') (hj : j ≫ f' = f)
      (e : SchemeHomOver (pullback.snd f' (specGenericFibreInclusion R K)) gK),
      IsOpenImmersion j ∧ IsSeparated f' ∧ LocallyOfFiniteType f' ∧ QuasiCompact f' ∧ IsIso e.1 ∧
      (∀ y' : Y', f'.base y' = IsLocalRing.closedPoint R → y' ∈ Set.range j.base) ∧
      schemeHomOverComp (genericFibreRestrict R K f' f ⟨j, hj⟩) e = q ∧
      (Smooth gK → Smooth f → Smooth f')
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.model

The coordinate subalgebra generated by uniformly scaled generators.

Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Algebra
variable {R : Type u} [CommRing R] [IsDomain R]
variable {K : Type u} [Field K] [Algebra R K] [IsFractionRing R K]
variable {A : Type u} [CommRing A] [Algebra K A] [Algebra R A] [IsScalarTower R K A]
def model (s : Set A) (c : R) : Subalgebra R A
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.model_fg
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_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Algebra
variable {R : Type u} [CommRing R] [IsDomain R]
variable {K : Type u} [Field K] [Algebra R K] [IsFractionRing R K]
variable {A : Type u} [CommRing A] [Algebra K A] [Algebra R A] [IsScalarTower R K A]
omit [IsDomain R] in
theorem model_fg {s : Set A} (hs : s.Finite) (c : R) : (model s c).FG
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.finiteType_model
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_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Algebra
variable {R : Type u} [CommRing R] [IsDomain R]
variable {K : Type u} [Field K] [Algebra R K] [IsFractionRing R K]
variable {A : Type u} [CommRing A] [Algebra K A] [Algebra R A] [IsScalarTower R K A]
omit [IsDomain R] in
theorem finiteType_model {s : Set A} (hs : s.Finite) (c : R) : Algebra.FiniteType R (model s c)
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.mul_mem_model
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_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Algebra
variable {R : Type u} [CommRing R] [IsDomain R]
variable {K : Type u} [Field K] [Algebra R K] [IsFractionRing R K]
variable {A : Type u} [CommRing A] [Algebra K A] [Algebra R A] [IsScalarTower R K A]
omit [IsDomain R] in
theorem mul_mem_model {s : Set A} (c : R) {g : A} (hg : g ∈ s) : algebraMap R A c * g ∈ model s c
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.algebraMap_isUnit_of_ne_zero
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_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Algebra
variable {R : Type u} [CommRing R] [IsDomain R]
variable {K : Type u} [Field K] [Algebra R K] [IsFractionRing R K]
variable {A : Type u} [CommRing A] [Algebra K A] [Algebra R A] [IsScalarTower R K A]
omit [IsDomain R] [IsFractionRing R K] in
theorem algebraMap_isUnit_of_ne_zero [FaithfulSMul R K] {r : R} (hr : r ≠ 0) : IsUnit
    (algebraMap R A r)
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.exists_mul_mem_model
Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Algebra
variable {R : Type u} [CommRing R] [IsDomain R]
variable {K : Type u} [Field K] [Algebra R K] [IsFractionRing R K]
variable {A : Type u} [CommRing A] [Algebra K A] [Algebra R A] [IsScalarTower R K A]
theorem exists_mul_mem_model {s : Set A} (hs : Algebra.adjoin K s = ⊤) {c : R} (hc : c ≠ 0)
    (z : A) :
    ∃ r : R, r ≠ 0 ∧ algebraMap R A r * z ∈ model s c
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.isLocalization_model
Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Algebra
variable {R : Type u} [CommRing R] [IsDomain R]
variable {K : Type u} [Field K] [Algebra R K] [IsFractionRing R K]
variable {A : Type u} [CommRing A] [Algebra K A] [Algebra R A] [IsScalarTower R K A]
theorem isLocalization_model {s : Set A} (hs : Algebra.adjoin K s = ⊤) {c : R} (hc : c ≠ 0) :
    IsLocalization ((nonZeroDivisors R).map (algebraMap R (model s c))) A where
  map_units := by
    rintro ⟨_, r, hr, rfl⟩
    change IsUnit (algebraMap (model s c) A (algebraMap R (model s c) r))
    rw [← IsScalarTower.algebraMap_apply]
    exact algebraMap_isUnit_of_ne_zero (K := K) (nonZeroDivisors.ne_zero hr)
  surj := by
    intro z
    obtain ⟨r, hr, hz⟩ := exists_mul_mem_model (K := K) hs hc z
    refine ⟨⟨⟨_, hz⟩, ⟨algebraMap R (model s c) r, r, mem_nonZeroDivisors_of_ne_zero hr, rfl⟩⟩, ?_⟩
    change z * algebraMap (model s c) A (algebraMap R (model s c) r) = algebraMap R A r * z
    rw [← IsScalarTower.algebraMap_apply, mul_comm]
  exists_of_eq := by
    intro x y h
    exact ⟨1, by rw [Subtype.ext (show (x : A) = y from h)]⟩
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.isTorsionFree_model
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_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Algebra
variable {R : Type u} [CommRing R] [IsDomain R]
variable {K : Type u} [Field K] [Algebra R K] [IsFractionRing R K]
variable {A : Type u} [CommRing A] [Algebra K A] [Algebra R A] [IsScalarTower R K A]
include K in
theorem isTorsionFree_model (s : Set A) (c : R) : Module.IsTorsionFree R (model s c)
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.flat_model
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_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Algebra
variable {R : Type u} [CommRing R] [IsDomain R]
variable {K : Type u} [Field K] [Algebra R K] [IsFractionRing R K]
variable {A : Type u} [CommRing A] [Algebra K A] [Algebra R A] [IsScalarTower R K A]
include K in
omit [IsDomain R] in
theorem flat_model [IsDedekindDomain R] (s : Set A) (c : R) : Module.Flat R (model s c)
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.exists_lift_model
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_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Algebra
variable {R : Type u} [CommRing R] [IsDomain R]
variable {K : Type u} [Field K] [Algebra R K] [IsFractionRing R K]
variable {A : Type u} [CommRing A] [Algebra K A] [Algebra R A] [IsScalarTower R K A]
omit [IsDomain R] in
theorem exists_lift_model {s : Set A} (c : R)
    {R' K' : Type u} [CommRing R'] [CommRing K'] [Algebra R R'] [Algebra R' K'] [Algebra R K']
    [IsScalarTower R R' K'] (hinj : Function.Injective (algebraMap R' K'))
    (ψ : A →ₐ[R] K') (hψ : ∀ g ∈ s, ψ (algebraMap R A c * g) ∈ Set.range (algebraMap R' K')) :
    ∃ χ : model s c →ₐ[R] R', ∀ b : model s c, algebraMap R' K' (χ b) = ψ b
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.algK

The scalar map on sections induced by the structure morphism.

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Coordinates
variable {R : Type u} [CommRing R] (K : Type u) [Field K] [Algebra R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
def algK (V : AK.Opens) : K →+* Γ(AK, V)
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.ofHom_algK
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_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Coordinates
variable {R : Type u} [CommRing R] (K : Type u) [Field K] [Algebra R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
theorem ofHom_algK (V : AK.Opens) :
    CommRingCat.ofHom (algK K gK V) = (Scheme.ΓSpecIso (CommRingCat.of K)).inv ≫
        gK.appLE ⊤ V le_top
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.Coord

The coordinate ring indexed by its base fields and structure morphism.

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Coordinates
variable {R : Type u} [CommRing R] (K : Type u) [Field K] [Algebra R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
def Coord (_R K : Type u) [Field K] {AK : Scheme.{u}} (_gK : AK ⟶ Spec (CommRingCat.of K))
    (V : AK.Opens) : Type u
Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Coordinates
variable {R : Type u} [CommRing R] (K : Type u) [Field K] [Algebra R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable (V : AK.Opens)
instance : CommRing (Coord R K gK V)
Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Coordinates
variable {R : Type u} [CommRing R] (K : Type u) [Field K] [Algebra R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable (V : AK.Opens)
instance : Algebra K (Coord R K gK V)
Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Coordinates
variable {R : Type u} [CommRing R] (K : Type u) [Field K] [Algebra R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable (V : AK.Opens)
instance : Algebra R (Coord R K gK V)
Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Coordinates
variable {R : Type u} [CommRing R] (K : Type u) [Field K] [Algebra R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable (V : AK.Opens)
instance : IsScalarTower R K (Coord R K gK V)
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.fromSpec_comp_eq
Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Coordinates
variable {R : Type u} [CommRing R] (K : Type u) [Field K] [Algebra R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable (V : AK.Opens)
theorem fromSpec_comp_eq {V : AK.Opens} (hV : IsAffineOpen V) :
    hV.fromSpec ≫ gK = Spec.map (CommRingCat.ofHom (algK K gK V))
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.finiteType_algK
Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Coordinates
variable {R : Type u} [CommRing R] (K : Type u) [Field K] [Algebra R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable (V : AK.Opens)
theorem finiteType_algK [LocallyOfFiniteType gK] {V : AK.Opens} (hV : IsAffineOpen V) :
    (algK K gK V).FiniteType
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.evalHom_comp_algK
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_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Coordinates
variable {R : Type u} [CommRing R] (K : Type u) [Field K] [Algebra R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable (V : AK.Opens)
variable {K gK}
theorem evalHom_comp_algK {L : Type u} [CommRing L] [Algebra K L] (a : Spec (CommRingCat.of L) ⟶ AK)
    (ha : a ≫ gK = Spec.map (CommRingCat.ofHom (algebraMap K L))) (V : AK.Opens) (h : ⊤ ≤ a ⁻¹ᵁ V) :
    (evalHom a V h).comp (algK K gK V) = algebraMap K L
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.gens

The chosen finite generators viewed in the indexed coordinate ring.

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
def gens (i : ι) : Set (Coord R K gK (U i))
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.mem_gens_iff
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_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
theorem mem_gens_iff (i : ι) (g : Γ(AK, U i)) : (g : Coord R K gK
    (U i)) ∈ gens R K gK U s i ↔ g ∈ s i
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.modelRing

The scaled coordinate subalgebra for a member of the family.

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
def modelRing (i : ι) : Subalgebra R (Coord R K gK (U i))
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.memberX

The affine model defined by a scaled coordinate subalgebra.

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
def memberX (i : ι) : Scheme.{u}
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.memberStr

The structure morphism of an affine model in the family.

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
def memberStr (i : ι) : memberX K gK U s c i ⟶ Spec (CommRingCat.of R)
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.coordToMember

The generic coordinate scheme mapped to its affine model.

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
def coordToMember (i : ι) : Spec Γ(AK, U i) ⟶ memberX K gK U s c i
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.coordStr

The coordinate-scheme structure morphism over the fraction field.

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
def coordStr (i : ι) : Spec Γ(AK, U i) ⟶ Spec (CommRingCat.of K)
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.isPullback_member
Source context 21 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
variable {K gK U s c}
theorem isPullback_member (hs : ∀ i, Algebra.adjoin K (gens R K gK U s i) = ⊤)
    (hc : c ≠ 0) (i : ι) :
    IsPullback (coordToMember K gK U s c i) (coordStr K gK U i)
      (memberStr K gK U s c i) (specGenericFibreInclusion R K)
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.mono_coordToMember
Source context 21 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
variable {K gK U s c}
theorem mono_coordToMember (hs : ∀ i, Algebra.adjoin K (gens R K gK U s i) = ⊤)
    (hc : c ≠ 0) (i : ι) : Mono (coordToMember K gK U s c i)
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.memberChart

The open generic-fiber chart of a member of the family.

Source context 23 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
variable {K gK U s c}
variable (hU : ∀ i, IsAffineOpen (U i))
variable (hs : ∀ i, Algebra.adjoin K (gens R K gK U s i) = ⊤) (hc : c ≠ 0)
def memberChart (i : ι) :
    SchemeHomOver (pullback.snd (memberStr K gK U s c i) (specGenericFibreInclusion R K)) gK
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.coordStr_eq
Source context 24 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
variable {K gK U s c}
variable (hU : ∀ i, IsAffineOpen (U i))
variable (hs : ∀ i, Algebra.adjoin K (gens R K gK U s i) = ⊤) (hc : c ≠ 0)
omit [IsDomain R] [IsFractionRing R K] in
theorem coordStr_eq (i : ι) : Spec.map (CommRingCat.ofHom (algK K gK (U i))) =
    coordStr K gK U i
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.isOpenImmersion_memberChart
Source context 23 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
variable {K gK U s c}
variable (hU : ∀ i, IsAffineOpen (U i))
variable (hs : ∀ i, Algebra.adjoin K (gens R K gK U s i) = ⊤) (hc : c ≠ 0)
instance isOpenImmersion_memberChart (i : ι) : IsOpenImmersion
    (memberChart hU hs hc i).1
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.family

The finite family of affine models supplied by the chosen coordinate data.

Source context 23 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
variable {K gK U s c}
variable (hU : ∀ i, IsAffineOpen (U i))
variable (hs : ∀ i, Algebra.adjoin K (gens R K gK U s i) = ⊤) (hc : c ≠ 0)
def family : ModelFamily R K gK where
  ι := ι
  X := memberX K gK U s c
  str := memberStr K gK U s c
  chart := memberChart hU hs hc
  isOpenImmersion_chart := isOpenImmersion_memberChart hU hs hc
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.isAffine_memberX
Source context 24 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
variable {K gK U s c}
variable (hU : ∀ i, IsAffineOpen (U i))
variable (hs : ∀ i, Algebra.adjoin K (gens R K gK U s i) = ⊤) (hc : c ≠ 0)
omit [IsDomain R] [IsFractionRing R K] in
theorem isAffine_memberX (i : ι) : IsAffine (memberX K gK U s c i)
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.flat_memberStr
Source context 24 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
variable {K gK U s c}
variable (hU : ∀ i, IsAffineOpen (U i))
variable (hs : ∀ i, Algebra.adjoin K (gens R K gK U s i) = ⊤) (hc : c ≠ 0)
omit [IsDomain R] in
theorem flat_memberStr [IsDedekindDomain R] (i : ι) : Flat (memberStr K gK U s c i)
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.locallyOfFiniteType_memberStr
Source context 24 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
variable {K gK U s c}
variable (hU : ∀ i, IsAffineOpen (U i))
variable (hs : ∀ i, Algebra.adjoin K (gens R K gK U s i) = ⊤) (hc : c ≠ 0)
omit [IsDomain R] [IsFractionRing R K] in
theorem locallyOfFiniteType_memberStr (i : ι) : LocallyOfFiniteType (memberStr K gK U s c i)
AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels.catchesIndexOnePoints_family
Source context 23 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.BoundedModelFamilies
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
universe u
namespace BoundedModels
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry
open SchemeTheory.Properness.ValuativeBounds.AlgebraicGeometry.ProperBounded
  (evalHom ofHom_evalHom evalHom_apply eq_specMap_evalHom_comp_fromSpec top_le_preimage_of_mem)
open scoped nonZeroDivisors
section Family
variable {R : Type u} [CommRing R] [IsDomain R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K))
variable {ι : Type u} (U : ι → AK.Opens) (s : ∀ i, Finset Γ(AK, U i)) (c : R)
variable (R) in
variable (R) in
variable {K gK U s c}
variable (hU : ∀ i, IsAffineOpen (U i))
variable (hs : ∀ i, Algebra.adjoin K (gens R K gK U s i) = ⊤) (hc : c ≠ 0)
theorem catchesIndexOnePoints_family [IsLocalRing R]
    (hbd : ∀ (V : Type u) [CommRing V] [IsDomain V] [ValuationRing V] [Algebra R V]
        (L : Type u) [Field L] [Algebra V L] [IsFractionRing V L] [Algebra R L]
            [IsScalarTower R V L]
        [Algebra K L] [IsScalarTower R K L]
        (a : Spec (CommRingCat.of L) ⟶ AK), a ≫ gK = Spec.map (CommRingCat.ofHom (algebraMap K L)) →
        ∃ (i : ι) (h : ⊤ ≤ a ⁻¹ᵁ U i), ∀ g ∈ s i,
          algebraMap R L c * (Scheme.ΓSpecIso (CommRingCat.of L)).hom (a.appLE (U i) ⊤ h g) ∈
            Set.range (algebraMap V L)) :
    (family hU hs hc).CatchesIndexOnePoints
NeronModelInfra.exists_modelFamily_finite_catchesIndexOnePoints_of_isProper
Source context 7 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_exists_modelFamily_finite_catchesIndexOnePoints_of_isProper.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace NeronModelInfra
noncomputable section
universe u
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
open AbelianVarieties.NOSProofs.BoundedModelFamilies.BoundedModels
theorem exists_modelFamily_finite_catchesIndexOnePoints_of_isProper
    {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {AK : Scheme.{u}} (gK : AK ⟶ Spec (CommRingCat.of K)) [IsProper gK] :
    ∃ M : ModelFamily R K gK, Finite M.ι ∧
      (∀ i, IsAffine (M.X i) ∧ IsSeparated (M.str i) ∧ Flat (M.str i) ∧
        LocallyOfFiniteType (M.str i) ∧ QuasiCompact (M.str i)) ∧
      M.CatchesIndexOnePoints