Module

MappingProperty.lean

Nyll.AbelianVarieties.NeronModels.MappingProperty
22 declarations indexed from sourceView source ↗

The Néron mapping property from local extensions

Declarations

NeronModelInfra.MappingProperty.QuasiCompactTests.Gluing.fibreShift

The generic-fibre map induced by a morphism over the base.

Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronUniqueExtension_of_forall_quasiCompact.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.QuasiCompactTests
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
namespace Gluing
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] (K : Type u) [Field K] [Algebra R K]
def fibreShift {Y Y' : Scheme.{u}} (r : Y ⟶ Y')
    {tY' : Y' ⟶ Spec (CommRingCat.of R)} {tY : Y ⟶ Spec (CommRingCat.of R)} (hr : r ≫ tY' = tY) :
    pullback tY (specGenericFibreInclusion R K) ⟶ pullback tY' (specGenericFibreInclusion R K)
NeronModelInfra.MappingProperty.QuasiCompactTests.Gluing.fibreShift_fst
Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronUniqueExtension_of_forall_quasiCompact.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.QuasiCompactTests
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
namespace Gluing
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] (K : Type u) [Field K] [Algebra R K]
theorem fibreShift_fst {Y Y' : Scheme.{u}} (r : Y ⟶ Y')
    {tY' : Y' ⟶ Spec (CommRingCat.of R)} {tY : Y ⟶ Spec (CommRingCat.of R)} (hr : r ≫ tY' = tY) :
    fibreShift R K r hr ≫ pullback.fst tY' (specGenericFibreInclusion R K) =
      pullback.fst tY (specGenericFibreInclusion R K) ≫ r
NeronModelInfra.MappingProperty.QuasiCompactTests.Gluing.fibreShift_snd
Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronUniqueExtension_of_forall_quasiCompact.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.QuasiCompactTests
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
namespace Gluing
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] (K : Type u) [Field K] [Algebra R K]
theorem fibreShift_snd {Y Y' : Scheme.{u}} (r : Y ⟶ Y')
    {tY' : Y' ⟶ Spec (CommRingCat.of R)} {tY : Y ⟶ Spec (CommRingCat.of R)} (hr : r ≫ tY' = tY) :
    fibreShift R K r hr ≫ pullback.snd tY' (specGenericFibreInclusion R K) =
      pullback.snd tY (specGenericFibreInclusion R K)
NeronModelInfra.MappingProperty.QuasiCompactTests.Gluing.fibreShift_comp
Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronUniqueExtension_of_forall_quasiCompact.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.QuasiCompactTests
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
namespace Gluing
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] (K : Type u) [Field K] [Algebra R K]
theorem fibreShift_comp {Y Y' Y'' : Scheme.{u}} (r : Y ⟶ Y') (r' : Y' ⟶ Y'')
    {tY'' : Y'' ⟶ Spec (CommRingCat.of R)} {tY' : Y' ⟶ Spec (CommRingCat.of R)}
    {tY : Y ⟶ Spec (CommRingCat.of R)} (hr : r ≫ tY' = tY) (hr' : r' ≫ tY'' = tY') :
    fibreShift R K r hr ≫ fibreShift R K r' hr' =
      fibreShift R K (r ≫ r') (by rw [Category.assoc, hr', hr]) := by
  apply pullback.hom_ext
  · simp only [Category.assoc, fibreShift_fst, fibreShift_fst_assoc]
  · simp only [Category.assoc, fibreShift_snd]
NeronModelInfra.MappingProperty.QuasiCompactTests.Gluing.fibreShift_congr
Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronUniqueExtension_of_forall_quasiCompact.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.QuasiCompactTests
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
namespace Gluing
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] (K : Type u) [Field K] [Algebra R K]
theorem fibreShift_congr {Y Y' : Scheme.{u}} {r r' : Y ⟶ Y'}
    {tY' : Y' ⟶ Spec (CommRingCat.of R)} {tY : Y ⟶ Spec (CommRingCat.of R)}
    (hrr : r = r') (hr : r ≫ tY' = tY) :
    fibreShift R K r hr = fibreShift R K r' (hrr ▸ hr)
NeronModelInfra.MappingProperty.QuasiCompactTests.Gluing.chartRestrict

Restriction of a model morphism to a chart over the base.

Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronUniqueExtension_of_forall_quasiCompact.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.QuasiCompactTests
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
namespace Gluing
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] (K : Type u) [Field K] [Algebra R K]
def chartRestrict {X T T' : Scheme.{u}} (fX : X ⟶ Spec (CommRingCat.of R))
    {t : T ⟶ Spec (CommRingCat.of R)} {s : T' ⟶ Spec (CommRingCat.of R)}
    (w : T' ⟶ T) (hs : w ≫ t = s) (φ : SchemeHomOver t fX) : SchemeHomOver s fX
NeronModelInfra.MappingProperty.QuasiCompactTests.Gluing.chartRestrict_coe
Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronUniqueExtension_of_forall_quasiCompact.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.QuasiCompactTests
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
namespace Gluing
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] (K : Type u) [Field K] [Algebra R K]
theorem chartRestrict_coe {X T T' : Scheme.{u}} (fX : X ⟶ Spec (CommRingCat.of R))
    {t : T ⟶ Spec (CommRingCat.of R)} {s : T' ⟶ Spec (CommRingCat.of R)} (w : T' ⟶ T) (hs : w ≫
      t = s)
    (φ : SchemeHomOver t fX) : (chartRestrict R fX w hs φ).1 = w ≫ φ.1
NeronModelInfra.MappingProperty.QuasiCompactTests.Gluing.genericFibreRestrict_chartRestrict
Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronUniqueExtension_of_forall_quasiCompact.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.QuasiCompactTests
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
namespace Gluing
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] (K : Type u) [Field K] [Algebra R K]
theorem genericFibreRestrict_chartRestrict {X T T' : Scheme.{u}} (fX : X ⟶ Spec (CommRingCat.of R))
    {t : T ⟶ Spec (CommRingCat.of R)} {s : T' ⟶ Spec (CommRingCat.of R)} (w : T' ⟶ T) (hs : w ≫
      t = s)
    (φ : SchemeHomOver t fX) :
    (genericFibreRestrict R K fX s (chartRestrict R fX w hs φ)).1 =
      fibreShift R K w hs ≫ (genericFibreRestrict R K fX t φ).1
NeronModelInfra.MappingProperty.QuasiCompactTests.Gluing.chartSolution_restrict_eq
Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronUniqueExtension_of_forall_quasiCompact.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.QuasiCompactTests
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
namespace Gluing
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] (K : Type u) [Field K] [Algebra R K]
theorem chartSolution_restrict_eq {X T Y Z : Scheme.{u}} (fX : X ⟶ Spec (CommRingCat.of R))
    {t : T ⟶ Spec (CommRingCat.of R)} (w : Y ⟶ T)
    (ψ : SchemeHomOver (pullback.snd t (specGenericFibreInclusion R K))
      (pullback.snd fX (specGenericFibreInclusion R K)))
    (φw : SchemeHomOver (w ≫ t) fX)
    (hφw : (genericFibreRestrict R K fX (w ≫ t) φw).1 = fibreShift R K w rfl ≫ ψ.1)
    (r : Z ⟶ Y) (n : Z ⟶ T) (hn : r ≫ w = n) :
    (genericFibreRestrict R K fX (n ≫ t) (chartRestrict R fX r (by rw [← Category.assoc, hn])
      φw)).1 =
      fibreShift R K n rfl ≫ ψ.1 := by
  rw [genericFibreRestrict_chartRestrict, hφw, ← Category.assoc, fibreShift_comp,
    fibreShift_congr R K hn]
NeronModelInfra.MappingProperty.QuasiCompactTests.Gluing.exists_pulledChart_compare
Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronUniqueExtension_of_forall_quasiCompact.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.QuasiCompactTests
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
namespace Gluing
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] (K : Type u) [Field K] [Algebra R K]
theorem exists_pulledChart_compare {T Y : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (w : Y ⟶
  T) :
    ∃ h : pullback (pullback.fst t (specGenericFibreInclusion R K)) w ⟶
        pullback (w ≫ t) (specGenericFibreInclusion R K),
      h ≫ pullback.fst (w ≫ t) (specGenericFibreInclusion R K) =
        pullback.snd (pullback.fst t (specGenericFibreInclusion R K)) w ∧
      h ≫ pullback.snd (w ≫ t) (specGenericFibreInclusion R K) =
        pullback.fst (pullback.fst t (specGenericFibreInclusion R K)) w ≫
          pullback.snd t (specGenericFibreInclusion R K)
NeronModelInfra.MappingProperty.QuasiCompactTests.Gluing.pulledChart_fst_glue_eq
Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronUniqueExtension_of_forall_quasiCompact.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.QuasiCompactTests
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
namespace Gluing
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] (K : Type u) [Field K] [Algebra R K]
theorem pulledChart_fst_glue_eq {X T Y : Scheme.{u}} (fX : X ⟶ Spec (CommRingCat.of R))
    (t : T ⟶ Spec (CommRingCat.of R)) (w : Y ⟶ T)
    (ψ : SchemeHomOver (pullback.snd t (specGenericFibreInclusion R K))
      (pullback.snd fX (specGenericFibreInclusion R K)))
    (φw : SchemeHomOver (w ≫ t) fX)
    (hφw : (genericFibreRestrict R K fX (w ≫ t) φw).1 = fibreShift R K w rfl ≫ ψ.1)
    (glue : T ⟶ X) (hglue : w ≫ glue = φw.1) :
    pullback.fst (pullback.fst t (specGenericFibreInclusion R K)) w ≫
        (pullback.fst t (specGenericFibreInclusion R K) ≫ glue) =
      pullback.fst (pullback.fst t (specGenericFibreInclusion R K)) w ≫
        (ψ.1 ≫ pullback.fst fX (specGenericFibreInclusion R K))
NeronModelInfra.neronUniqueExtension_of_forall_quasiCompact
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_neronUniqueExtension_of_forall_quasiCompact.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.QuasiCompactTests
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open Gluing in
theorem _root_.NeronModelInfra.neronUniqueExtension_of_forall_quasiCompact
    (R : Type u) [CommRing R] (K : Type u) [Field K] [Algebra R K]
    {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of R))
    (h : ∀ (T : Scheme.{u}) (t : T ⟶ Spec (CommRingCat.of R)), Smooth t → QuasiCompact t →
      Function.Bijective (genericFibreRestrict R K f t)) :
    NeronUniqueExtension R K f
NeronModelInfra.MappingProperty.TwistExtensions.Twists.genericFibreRestrict_one
Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronModelPropertyBundle_of_forall_nhds_twist_extension.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.TwistExtensions
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace Twists
open GoodReductionJacobian.AbelianSchemePropertyBundle.NGlue
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
omit [IsDomain R] [IsDiscreteValuationRing R] [IsFractionRing R K] in
theorem genericFibreRestrict_one (LB : RelativeGroupLaw R g) {Z : Scheme.{u}}
    (z : Z ⟶ Spec (CommRingCat.of R)) :
    genericFibreRestrict R K g z (LB.one z) =
      (LB.genericFibre K).one (pullback.snd z (specGenericFibreInclusion R K))
NeronModelInfra.MappingProperty.TwistExtensions.Twists.exists_extension
Source context 12 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronModelPropertyBundle_of_forall_nhds_twist_extension.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.TwistExtensions
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace Twists
open GoodReductionJacobian.AbelianSchemePropertyBundle.NGlue
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
variable [Smooth g] [IsSeparated g] [LocallyOfFiniteType g] [QuasiCompact g]
omit [LocallyOfFiniteType g] in
theorem exists_extension (LB : RelativeGroupLaw R g)
    (htw : ∀ (Z : Scheme.{u}) (z : Z ⟶ Spec (CommRingCat.of R)) [Smooth z] [QuasiCompact z]
      (uK : SchemeHomOver (pullback.snd z (specGenericFibreInclusion R K))
        (pullback.snd g (specGenericFibreInclusion R K)))
      (η : ↑(pullback z g)), (pullback.fst z g ≫ z).base η = IsLocalRing.closedPoint R →
      (∀ y : ↑(pullback z g), y ⤳ η → (pullback.fst z g ≫ z).base y = IsLocalRing.closedPoint R
        → y = η) →
      ∃ (U : (pullback z g).Opens) (_ : η ∈ U) (τ : SchemeHomOver (U.ι ≫ pullback.fst z g ≫ z) g),
        (genericFibreRestrict R K g (U.ι ≫ pullback.fst z g ≫ z) τ).1 =
          pullback.map (U.ι ≫ pullback.fst z g ≫ z) (specGenericFibreInclusion R K)
              (pullback.fst z g ≫ z) (specGenericFibreInclusion R K) U.ι (𝟙 _) (𝟙 _)
              (Category.comp_id _) ((Category.comp_id _).trans (Category.id_comp _).symm) ≫
            ((LB.genericFibre K).mul (pullback.snd (pullback.fst z g ≫ z)
              (specGenericFibreInclusion R K))
              (NeronModelInfra.schemeHomOverComp
                (genericFibreRestrict R K z (pullback.fst z g ≫ z) ⟨pullback.fst z g, rfl⟩) uK)
              (genericFibreRestrict R K g (pullback.fst z g ≫ z)
                ⟨pullback.snd z g, pullback.condition.symm⟩)).1)
    {Z : Scheme.{u}} (z : Z ⟶ Spec (CommRingCat.of R)) [Smooth z] [QuasiCompact z]
    (uK : SchemeHomOver (pullback.snd z (specGenericFibreInclusion R K))
      (pullback.snd g (specGenericFibreInclusion R K))) :
    ∃ u : SchemeHomOver z g, genericFibreRestrict R K g z u = uK
NeronModelInfra.MappingProperty.TwistExtensions.Twists.main
Source context 11 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronModelPropertyBundle_of_forall_nhds_twist_extension.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.TwistExtensions
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace Twists
open GoodReductionJacobian.AbelianSchemePropertyBundle.NGlue
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
variable (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
variable {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
variable [Smooth g] [IsSeparated g] [LocallyOfFiniteType g] [QuasiCompact g]
theorem main (LB : RelativeGroupLaw R g)
    (htw : ∀ (Z : Scheme.{u}) (z : Z ⟶ Spec (CommRingCat.of R)) [Smooth z] [QuasiCompact z]
      (uK : SchemeHomOver (pullback.snd z (specGenericFibreInclusion R K))
        (pullback.snd g (specGenericFibreInclusion R K)))
      (η : ↑(pullback z g)), (pullback.fst z g ≫ z).base η = IsLocalRing.closedPoint R →
      (∀ y : ↑(pullback z g), y ⤳ η → (pullback.fst z g ≫ z).base y = IsLocalRing.closedPoint R
        → y = η) →
      ∃ (U : (pullback z g).Opens) (_ : η ∈ U) (τ : SchemeHomOver (U.ι ≫ pullback.fst z g ≫ z) g),
        (genericFibreRestrict R K g (U.ι ≫ pullback.fst z g ≫ z) τ).1 =
          pullback.map (U.ι ≫ pullback.fst z g ≫ z) (specGenericFibreInclusion R K)
              (pullback.fst z g ≫ z) (specGenericFibreInclusion R K) U.ι (𝟙 _) (𝟙 _)
              (Category.comp_id _) ((Category.comp_id _).trans (Category.id_comp _).symm) ≫
            ((LB.genericFibre K).mul (pullback.snd (pullback.fst z g ≫ z)
              (specGenericFibreInclusion R K))
              (NeronModelInfra.schemeHomOverComp
                (genericFibreRestrict R K z (pullback.fst z g ≫ z) ⟨pullback.fst z g, rfl⟩) uK)
              (genericFibreRestrict R K g (pullback.fst z g ≫ z)
                ⟨pullback.snd z g, pullback.condition.symm⟩)).1) :
    NeronModelPropertyBundle R K g where
  smooth := inferInstance
  separated := inferInstance
  locallyOfFiniteType := inferInstance
  quasiCompact := inferInstance
  neronMapping := by
    apply NeronModelInfra.neronUniqueExtension_of_forall_quasiCompact R K g
    intro T t ht hqc
    have : Smooth t := ht
    have : QuasiCompact t := hqc
    refine ⟨NeronModelInfra.genericFibreRestrict_injective_of_flat_of_isSeparated R K g t, fun
      uK => ?_⟩
    exact exists_extension K LB htw t uK
NeronModelInfra.neronModelPropertyBundle_of_forall_nhds_twist_extension
Source context 5 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_neronModelPropertyBundle_of_forall_nhds_twist_extension.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.TwistExtensions
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
theorem _root_.NeronModelInfra.neronModelPropertyBundle_of_forall_nhds_twist_extension
    {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
    [Smooth g] [IsSeparated g] [LocallyOfFiniteType g] [QuasiCompact g]
    (LB : RelativeGroupLaw R g)
    (htw : ∀ (Z : Scheme.{u}) (z : Z ⟶ Spec (CommRingCat.of R)) [Smooth z] [QuasiCompact z]
      (uK : SchemeHomOver (pullback.snd z (specGenericFibreInclusion R K))
        (pullback.snd g (specGenericFibreInclusion R K)))
      (η : ↑(pullback z g)), (pullback.fst z g ≫ z).base η = IsLocalRing.closedPoint R →
      (∀ y : ↑(pullback z g), y ⤳ η → (pullback.fst z g ≫ z).base y = IsLocalRing.closedPoint R
        → y = η) →
      ∃ (U : (pullback z g).Opens) (_ : η ∈ U) (τ : SchemeHomOver (U.ι ≫ pullback.fst z g ≫ z) g),
        (genericFibreRestrict R K g (U.ι ≫ pullback.fst z g ≫ z) τ).1 =
          pullback.map (U.ι ≫ pullback.fst z g ≫ z) (specGenericFibreInclusion R K)
              (pullback.fst z g ≫ z) (specGenericFibreInclusion R K) U.ι (𝟙 _) (𝟙 _)
              (Category.comp_id _) ((Category.comp_id _).trans (Category.id_comp _).symm) ≫
            ((LB.genericFibre K).mul (pullback.snd (pullback.fst z g ≫ z)
              (specGenericFibreInclusion R K))
              (NeronModelInfra.schemeHomOverComp
                (genericFibreRestrict R K z (pullback.fst z g ≫ z) ⟨pullback.fst z g, rfl⟩) uK)
              (genericFibreRestrict R K g (pullback.fst z g ≫ z)
                ⟨pullback.snd z g, pullback.condition.symm⟩)).1) :
    NeronModelPropertyBundle R K g
NeronModelInfra.NeronModelPropertyBundle.of_abelianSchemePropertyBundle
Source context 5 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_NeronModelPropertyBundle_of_abelianSchemePropertyBundle.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.AbelianModels
universe u
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
theorem _root_.NeronModelInfra.NeronModelPropertyBundle.of_abelianSchemePropertyBundle
    (R : Type u) [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {A : Scheme.{u}} {f : A ⟶ Spec (CommRingCat.of R)}
    (hA : GoodReductionJacobian.AbelianSchemePropertyBundle R f) :
    NeronModelInfra.NeronModelPropertyBundle R K f
NeronModelInfra.MappingProperty.OpenAbelianModels.OpenModels.isOpenImmersion_genericFibreRestrict
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_NeronModelPropertyBundle_isIso_and_abelianSchemePropertyBundle_of_isOpenImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.OpenAbelianModels
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace OpenModels
section GenericFibre
variable {R : Type u} [CommRing R] (K : Type u) [Field K] [Algebra R K]
  {B U : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)} {gU : U ⟶ Spec (CommRingCat.of R)}
theorem isOpenImmersion_genericFibreRestrict (u : SchemeHomOver gU g) [IsOpenImmersion u.1] :
    IsOpenImmersion (genericFibreRestrict R K g gU u).1
NeronModelInfra.MappingProperty.OpenAbelianModels.OpenModels.isClosed_range_genericFibreRestrict
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_NeronModelPropertyBundle_isIso_and_abelianSchemePropertyBundle_of_isOpenImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.OpenAbelianModels
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace OpenModels
section GenericFibre
variable {R : Type u} [CommRing R] (K : Type u) [Field K] [Algebra R K]
  {B U : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)} {gU : U ⟶ Spec (CommRingCat.of R)}
theorem isClosed_range_genericFibreRestrict (u : SchemeHomOver gU g) [IsProper gU]
    [IsSeparated g] :
    IsClosed (Set.range (genericFibreRestrict R K g gU u).1.base)
NeronModelInfra.MappingProperty.OpenAbelianModels.OpenModels.nonempty_genericFibre
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_NeronModelPropertyBundle_isIso_and_abelianSchemePropertyBundle_of_isOpenImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.OpenAbelianModels
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace OpenModels
section GenericFibre
variable {R : Type u} [CommRing R] (K : Type u) [Field K] [Algebra R K]
  {B U : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)} {gU : U ⟶ Spec (CommRingCat.of R)}
theorem nonempty_genericFibre (L : RelativeGroupLaw R gU) :
    Nonempty ↥(pullback gU (specGenericFibreInclusion R K))
NeronModelInfra.MappingProperty.OpenAbelianModels.OpenModels.isIso_and_abelianSchemePropertyBundle_of_isOpenImmersion
Source context 8 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_NeronModelInfra_NeronModelPropertyBundle_isIso_and_abelianSchemePropertyBundle_of_isOpenImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.MappingProperty.OpenAbelianModels
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
universe u
namespace OpenModels
section Main
variable {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
  (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
  {B U : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)} {gU : U ⟶ Spec (CommRingCat.of R)}
theorem isIso_and_abelianSchemePropertyBundle_of_isOpenImmersion
    (hN : NeronModelPropertyBundle R K g)
    [PreconnectedSpace ↥(pullback g (specGenericFibreInclusion R K))]
    (i : U ⟶ B) [IsOpenImmersion i] (hi : i ≫ g = gU)
    (hU : AbelianSchemePropertyBundle R gU) :
    IsIso i ∧ AbelianSchemePropertyBundle R g
NeronModelInfra.NeronModelPropertyBundle.isIso_and_abelianSchemePropertyBundle_of_isOpenImmersion
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_NeronModelPropertyBundle_isIso_and_abelianSchemePropertyBundle_of_isOpenImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra GoodReductionJacobian
open NeronModelInfra.MappingProperty.OpenAbelianModels
namespace NeronModelInfra.NeronModelPropertyBundle
universe u
theorem isIso_and_abelianSchemePropertyBundle_of_isOpenImmersion
    {R : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
    (K : Type u) [Field K] [Algebra R K] [IsFractionRing R K]
    {B U : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)} {gU : U ⟶ Spec (CommRingCat.of R)}
    (hN : NeronModelPropertyBundle R K g)
    [PreconnectedSpace ↥(pullback g (specGenericFibreInclusion R K))]
    (i : U ⟶ B) [IsOpenImmersion i] (hi : i ≫ g = gU)
    (hU : AbelianSchemePropertyBundle R gU) :
    IsIso i ∧ AbelianSchemePropertyBundle R g