Module

StableLocus.lean

Nyll.AbelianVarieties.Geometry.PartialActions.StableLocus
76 declarations indexed from sourceView source ↗

Stable boundary loci of partial group actions

Construct an invariant swept divisor with a rational point at which the identity acts. Normalize a proper model and transport codimension-one boundary points to obtain a compatible partial action with a stable boundary. Existing action calculus, normality, and smooth integrality results provide the underlying structures.

Declarations

A point of an open subscheme with its membership witness.

Source context 8 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
def openPoint {X : Scheme.{u}} (U : X.Opens) (x : X) (hx : x ∈ U) :
    ↥(U : Scheme.{u})
Source context 8 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
theorem openInclusion_apply {X : Scheme.{u}} (U : X.Opens)
    (z : ↥(U : Scheme.{u})) : U.ι z = z.1
Source context 8 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
theorem openPoint_ι {X : Scheme.{u}} (U : X.Opens) (x : X) (hx : x ∈ U) :
    U.ι (openPoint U x hx) = x
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.dim_closure_add_one_le
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section General
variable {k : Type u} [Field k]
theorem dim_closure_add_one_le {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
    [IsIntegral P] [LocallyOfFiniteType p] (w' : P)
    (hw'₁ : ringKrullDim (P.presheaf.stalk w') = 1) :
    topologicalKrullDim ↥(closure ({w'} : Set P)) + 1 ≤ topologicalKrullDim P
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.eq_of_closure_singleton_eq
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section General
variable {k : Type u} [Field k]
theorem eq_of_closure_singleton_eq {X : Type u} [TopologicalSpace X] [T0Space X] {x y : X}
    (h : closure ({x} : Set X) = closure {y}) : x = y
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.sweep

The set swept out by the closure of a point under the partial action.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Sweep
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
  (a : PartialAction k f p)
def sweep (w : P) : Set P
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.sweep_eq_image_closure
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Sweep
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
  (a : PartialAction k f p)
theorem sweep_eq_image_closure {w : P} {ζ : ↥(pullback f p)} (hζ : ζ ∈ a.dom)
    (hcl : closure ({ζ} : Set ↥(pullback f p)) = (pullback.snd f p).base ⁻¹' closure {w}) :
    sweep a w = a.hom.base '' closure {((openPoint a.dom ζ hζ) : ↥(a.dom : Scheme.{u}))}
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.hom_apply_eq_of_closure_sweep_eq
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Sweep
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
  (a : PartialAction k f p)
theorem hom_apply_eq_of_closure_sweep_eq {w w' : P} {ζ : ↥(pullback f p)} (hζ : ζ ∈ a.dom)
    (hcl : closure ({ζ} : Set ↥(pullback f p)) = (pullback.snd f p).base ⁻¹' closure {w})
    (hsw : closure (sweep a w) = closure {w'}) :
    a.hom.base (openPoint a.dom ζ hζ) = w'
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.sweep_subset
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Sweep
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
  (a : PartialAction k f p)
theorem sweep_subset {w w' : P} (hsw : closure (sweep a w) = closure {w'}) :
    sweep a w ⊆ closure {w'}
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.act_apply
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section API
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
  {T T' : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} {t' : T' ⟶ Spec (CommRingCat.of k)}
theorem act_apply {γ : SchemeHomOver t f} {x : SchemeHomOver t p} (hd : a.Defined γ x) (z : T)
    (d : ↥(a.dom : Scheme.{u})) (hdz : a.dom.ι d = pair γ x z) :
    (a.act γ x hd).1 z = a.hom d
abbrev

R

L196 ↗
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.R

The incidence scheme of a group element and a defined action.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
abbrev R : Scheme.{u}
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.tR

The structure morphism of the incidence scheme.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
abbrev tR : R a ⟶ Spec (CommRingCat.of k)
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.γR

The group coordinate of the second action.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
def γR : SchemeHomOver (tR a) f
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.δR

The group coordinate of the initially defined action.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
def δR : SchemeHomOver (tR a) f
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.xR

The initial model coordinate in the incidence scheme.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
def xR : SchemeHomOver (tR a) p
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.pair_δR_xR
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
theorem pair_δR_xR : pair (δR a) (xR a) = pullback.snd (pullback.snd f p) a.hom ≫ a.dom.ι
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.defined_δR_xR
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
theorem defined_δR_xR : a.Defined (δR a) (xR a)
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.liftDom_δR_xR
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
theorem liftDom_δR_xR : a.liftDom (δR a) (xR a) (defined_δR_xR a) =
    pullback.snd (pullback.snd f p) a.hom
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.act_δR_xR_coe
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
theorem act_δR_xR_coe : (a.act (δR a) (xR a) (defined_δR_xR a)).1 =
    pullback.fst (pullback.snd f p) a.hom ≫ pullback.snd f p
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.pair_γR_act
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
theorem pair_γR_act : pair (γR a) (a.act (δR a) (xR a) (defined_δR_xR a)) =
    pullback.fst (pullback.snd f p) a.hom
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.T₁

The open incidence locus on which the second action is defined.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
abbrev T₁ : (R a).Opens
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.t₁

The structure morphism of the locus with two defined actions.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
abbrev t₁ : (T₁ a : Scheme.{u}) ⟶ Spec (CommRingCat.of k)
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.γ₁

The second group coordinate restricted to the incidence open.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
abbrev γ₁ : SchemeHomOver (t₁ a) f
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.δ₁

The first group coordinate restricted to the incidence open.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
abbrev δ₁ : SchemeHomOver (t₁ a) f
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.x₁

The model coordinate restricted to the incidence open.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
abbrev x₁ : SchemeHomOver (t₁ a) p
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.defined₁
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
theorem defined₁ : a.Defined (δ₁ a) (x₁ a)
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.act₁_eq
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
theorem act₁_eq : a.act (δ₁ a) (x₁ a) (defined₁ a) =
    GoodReductionJacobian.schemeHomOverComp (T₁ a).ι rfl (a.act (δR a) (xR a) (defined_δR_xR a))
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.pair_γ₁_act₁
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
theorem pair_γ₁_act₁ : pair (γ₁ a) (a.act (δ₁ a) (x₁ a) (defined₁ a)) =
    (T₁ a).ι ≫ pullback.fst (pullback.snd f p) a.hom
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.defined₂
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
theorem defined₂ : a.Defined (γ₁ a) (a.act (δ₁ a) (x₁ a) (defined₁ a))
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.assoc₁
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
theorem assoc₁ (ha : a.Assoc L) :
    ∃ hd₃ : a.Defined (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a),
      a.act (γ₁ a) (a.act (δ₁ a) (x₁ a) (defined₁ a)) (defined₂ a) =
        a.act (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a) hd₃
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.hom_apply_mem_of_sweep_subset
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Incidence
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)} (a : PartialAction k f p)
theorem hom_apply_mem_of_sweep_subset (ha : a.Assoc L) {w : P} {ζ ζ' : ↥(pullback f p)}
    (hζ : ζ ∈ a.dom) (hζw : pullback.snd f p ζ = w) (hζ' : ζ' ∈ a.dom)
    (hζ'w' : pullback.snd f p ζ' = a.hom ((openPoint a.dom ζ hζ) : ↥(a.dom : Scheme.{u})))
    {W : Set P} (hW : sweep a w ⊆ W) :
    a.hom.base ((openPoint a.dom ζ' hζ') : ↥(a.dom : Scheme.{u})) ∈ W
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.inv_inv
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
  {T T' : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} {t' : T' ⟶ Spec (CommRingCat.of k)}
theorem inv_inv (x : SchemeHomOver t f) : L.inv t (L.inv t x) = x
abbrev

Q

L329 ↗
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.Q

The product containing two group coordinates and one model coordinate.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
abbrev Q : Scheme.{u}
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.tQ

The structure morphism of the triple product.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
abbrev tQ : Q f p ⟶ Spec (CommRingCat.of k)
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.γQ

The first group coordinate of the triple product.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
def γQ : SchemeHomOver (tQ f p) f
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.δQ

The second group coordinate of the triple product.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
def δQ : SchemeHomOver (tQ f p) f
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.xQ

The model coordinate of the triple product.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
def xQ : SchemeHomOver (tQ f p) p
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.pair_δQ_xQ
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
theorem pair_δQ_xQ : pair (δQ f p) (xQ f p) = pullback.snd f (pullback.snd f p ≫ p)
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.ν

The involution sending the group pair to its inverse and product.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
def ν : Q f p ⟶ Q f p
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.ν_fst
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
theorem ν_fst : ν f L p ≫ pullback.fst f _ = (L.inv (tQ f p) (γQ f p)).1
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.ν_snd
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
theorem ν_snd : ν f L p ≫ pullback.snd f _ = pair (L.mul (tQ f p) (γQ f p) (δQ f p)) (xQ f p)
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.ν_snd_snd
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
theorem ν_snd_snd : ν f L p ≫ pullback.snd f _ ≫ pullback.snd f p =
    pullback.snd f _ ≫ pullback.snd f p
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.ν_tQ
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
theorem ν_tQ : ν f L p ≫ tQ f p = tQ f p
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.comp_ν_γQ
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
theorem comp_ν_γQ : GoodReductionJacobian.schemeHomOverComp (ν f L p) (ν_tQ f L p) (γQ f p) =
    L.inv (tQ f p) (γQ f p)
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.comp_ν_δQ
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
theorem comp_ν_δQ : GoodReductionJacobian.schemeHomOverComp (ν f L p) (ν_tQ f L p) (δQ f p) =
    L.mul (tQ f p) (γQ f p) (δQ f p)
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.comp_ν_xQ
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
theorem comp_ν_xQ : GoodReductionJacobian.schemeHomOverComp (ν f L p) (ν_tQ f L p) (xQ f p) =
    xQ f p
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.ν_ν
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
theorem ν_ν : ν f L p ≫ ν f L p = 𝟙 _
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
instance : IsIso (ν f L p)
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.ν_apply_eq_of_closure_eq
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Involution
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
theorem ν_apply_eq_of_closure_eq {Ξ : ↥(Q f p)} {Z : Set P}
    (hΞ : closure ({Ξ} : Set ↥(Q f p)) =
      (pullback.snd f (pullback.snd f p ≫ p) ≫ pullback.snd f p).base ⁻¹' Z) :
    ν f L p Ξ = Ξ
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.j

The open embedding from the incidence scheme into the triple product.

Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
def j : R a ⟶ Q f p
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
instance : IsOpenImmersion (j f p a)
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.j_fst
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
theorem j_fst : j f p a ≫ pullback.fst f _ = pullback.fst _ _ ≫ pullback.fst f p
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.j_snd
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
theorem j_snd : j f p a ≫ pullback.snd f _ = pullback.snd _ _ ≫ a.dom.ι
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.j_tQ
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
theorem j_tQ : j f p a ≫ tQ f p = tR a
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.range_j
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
theorem range_j : Set.range (j f p a).base = (pullback.snd f (pullback.snd f p ≫ p)).base ⁻¹'
    a.dom
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.comp_j_γQ
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
theorem comp_j_γQ : GoodReductionJacobian.schemeHomOverComp (j f p a) (j_tQ f p a) (γQ f p) = γR a
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.comp_j_δQ
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
theorem comp_j_δQ : GoodReductionJacobian.schemeHomOverComp (j f p a) (j_tQ f p a) (δQ f p) = δR a
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.comp_j_xQ
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
theorem comp_j_xQ : GoodReductionJacobian.schemeHomOverComp (j f p a) (j_tQ f p a) (xQ f p) = xR a
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.Ψ

The inverse group element paired with the composed action.

Source context 26 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
variable {hd₃ : a.Defined (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a)}
def Ψ (hd₃ : a.Defined (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a)) : (T₁ a : Scheme.{u}) ⟶ pullback f p
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.ω

The incidence morphism induced by applying the inverse group element.

Source context 26 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
variable {hd₃ : a.Defined (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a)}
def ω (hd₃ : a.Defined (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a)) : (T₁ a : Scheme.{u}) ⟶ R a
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.ω_fst
Source context 26 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
variable {hd₃ : a.Defined (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a)}
theorem ω_fst (hd₃ : a.Defined (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a)) :
    ω f L p a hd₃ ≫ pullback.fst _ _ = Ψ f L p a hd₃
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.ω_snd
Source context 26 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
variable {hd₃ : a.Defined (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a)}
theorem ω_snd (hd₃ : a.Defined (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a)) :
    ω f L p a hd₃ ≫ pullback.snd _ _ = a.liftDom _ _ hd₃
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.ι_j_tQ
Source context 26 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
variable {hd₃ : a.Defined (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a)}
theorem ι_j_tQ : ((T₁ a).ι ≫ j f p a) ≫ tQ f p = t₁ a
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.ω_j
Source context 26 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Transport
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
variable {hd₃ : a.Defined (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a)}
theorem ω_j (hd₃ : a.Defined (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a)) :
    ω f L p a hd₃ ≫ j f p a = ((T₁ a).ι ≫ j f p a) ≫ ν f L p
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.eq_of_mem_closure_of_mem_closure
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Generic
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
theorem eq_of_mem_closure_of_mem_closure {X : Type u} [TopologicalSpace X] [T0Space X] {x y : X}
    (h₁ : x ∈ closure ({y} : Set X)) (h₂ : y ∈ closure ({x} : Set X)) : x = y
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.exists_mem_T₁_Ψ_eq
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Generic
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
theorem exists_mem_T₁_Ψ_eq [GeometricallyIrreducible f] [LocallyOfFiniteType f]
    [LocallyOfFiniteType p]
    (hd₃ : a.Defined (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a))
    {w : P} {ζ ζ' : ↥(pullback f p)} (hζ : ζ ∈ a.dom)
    (hζcl : closure ({ζ} : Set ↥(pullback f p)) = (pullback.snd f p).base ⁻¹' closure {w})
    (hζ' : ζ' ∈ a.dom)
    (hζ'cl : closure ({ζ'} : Set ↥(pullback f p)) =
      (pullback.snd f p).base ⁻¹' closure {a.hom ((openPoint a.dom ζ hζ) : ↥(a.dom : Scheme.{u}))})
    (hζ'snd : pullback.snd f p ζ' = a.hom ((openPoint a.dom ζ hζ) : ↥(a.dom : Scheme.{u}))) :
    ∃ (r : ↥(R a)) (hr : r ∈ T₁ a), Ψ f L p a hd₃ (openPoint (T₁ a) r hr) = ζ' ∧
      pullback.snd (pullback.snd f p) a.hom r = (openPoint a.dom ζ hζ)
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.stable_of_closure_eq
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Final
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
theorem stable_of_closure_eq {W : Set P} (hWc : IsClosed W) {ζ' : ↥(pullback f p)} (hζ' : ζ' ∈
    a.dom)
    (hcl : closure ({ζ'} : Set ↥(pullback f p)) = (pullback.snd f p).base ⁻¹' W)
    (hmem : a.hom ((openPoint a.dom ζ' hζ') : ↥(a.dom : Scheme.{u})) ∈ W) : a.Stable W
AbelianVarieties.NOSProofs.StableLocus.SweptDivisor.exists_rational_defined_one
Source context 25 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
noncomputable section
namespace SweptDivisor
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (pair_comp defined_comp liftDom_eq act_comp comp_comp act_congr)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Final
variable {k : Type u} [Field k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
  (L : RelativeGroupLaw k f) {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
  (a : PartialAction k f p)
theorem exists_rational_defined_one [IsAlgClosed k] [LocallyOfFiniteType (tR a)] (ha : a.Assoc L)
    (hd₃ : a.Defined (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a))
    (heq : a.act (γ₁ a) (a.act (δ₁ a) (x₁ a) (defined₁ a)) (defined₂ a) =
      a.act (L.mul (t₁ a) (γ₁ a) (δ₁ a)) (x₁ a) hd₃)
    {r : ↥(R a)} (hr : r ∈ T₁ a) (hΨr : Ψ f L p a hd₃ (openPoint (T₁ a) r hr) ∈ a.dom) {w : P}
    (hrw : (pullback.snd (pullback.snd f p) a.hom ≫ a.dom.ι ≫ pullback.snd f p) r ∈ closure {w})
    {W : Set P} (hW : sweep a w ⊆ W) :
    ∃ P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p,
      P₀.1 (fieldPoint k) ∈ W ∧
      a.Defined (L.one (𝟙 (Spec (CommRingCat.of k)))) P₀
GoodReductionJacobian.PartialAction.exists_stable_defined_one_of_closure_image_eq_closure_singleton
Source context 11 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_stable_defined_one_of_closure_image_eq_closure_singleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace GoodReductionJacobian.PartialAction
open AbelianVarieties.NOSProofs.StableLocus.SweptDivisor
theorem
    exists_stable_defined_one_of_closure_image_eq_closure_singleton
    (k : Type u) [Field k] [IsAlgClosed k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
    [IsSeparated f] [QuasiCompact f] [ConnectedSpace G] [Smooth f]
    (L : RelativeGroupLaw k f)
    {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k)) [IsProper p] [IsIntegral P]
    (a : PartialAction k f p) (_hu : a.UnitActs L) (ha : a.Assoc L)
    (hcod : ∀ z : ↥(pullback f p), ringKrullDim ((pullback f p).presheaf.stalk z) ≤ 1 → z ∈ a.dom)
    (w w' : P) (hw₁ : ringKrullDim (P.presheaf.stalk w) = 1)
    (hw'₁ : ringKrullDim (P.presheaf.stalk w') = 1)
    (hsw : closure (a.hom.base '' ((a.dom.ι ≫ pullback.snd f p).base ⁻¹' closure {w})) =
      closure {w'}) :
    ∃ P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p,
      topologicalKrullDim ↥(closure {w'}) + 1 ≤ topologicalKrullDim ↥P ∧
      a.Stable (closure {w'}) ∧
      P₀.1 (IsLocalRing.closedPoint k) ∈ closure {w'} ∧
      a.Defined (L.one (𝟙 (Spec (CommRingCat.of k)))) P₀
AbelianVarieties.NOSProofs.StableLocus.BoundaryModel.isProper_of_comp_eq
Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_closure_image_eq_closure_singleton_of_ringKrullDim_eq_one.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
namespace BoundaryModel
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
theorem isProper_of_comp_eq {k : Type u} [Field k] {X Y : Scheme.{u}} (fX : X ⟶ Spec (.of k)) (fY
    : Y ⟶ Spec (.of k))
    [IsProper fX] [IsSeparated fY] (g : X ⟶ Y) (hg : g ≫ fY = fX) : IsProper g
AbelianVarieties.NOSProofs.StableLocus.BoundaryModel.eq_genericPoint_of_ringKrullDim_stalk_eq_zero
Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_closure_image_eq_closure_singleton_of_ringKrullDim_eq_one.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
namespace BoundaryModel
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
theorem eq_genericPoint_of_ringKrullDim_stalk_eq_zero
    {k : Type u} [Field k] {X : Scheme.{u}} (f : X ⟶ Spec (.of k)) [LocallyOfFiniteType f]
      [IsIntegral X]
    (x : X) (hx : ringKrullDim (X.presheaf.stalk x) = 0) : x = genericPoint X
AbelianVarieties.NOSProofs.StableLocus.BoundaryModel.isIntegral_pullback_of_geometricallyIrreducible_of_smooth
Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_closure_image_eq_closure_singleton_of_ringKrullDim_eq_one.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
namespace BoundaryModel
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
theorem isIntegral_pullback_of_geometricallyIrreducible_of_smooth
    {k : Type u} [Field k] {G P : Scheme.{u}} (f : G ⟶ Spec (.of k)) (p : P ⟶ Spec (.of k))
    [GeometricallyIrreducible f] [Smooth f] [LocallyOfFiniteType p] [IsIntegral P] :
    IsIntegral (pullback f p)
AbelianVarieties.NOSProofs.StableLocus.BoundaryModel.denseRange_hom_of_compatible
Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_closure_image_eq_closure_singleton_of_ringKrullDim_eq_one.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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.StableLocus
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
namespace BoundaryModel
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
theorem denseRange_hom_of_compatible
    (k : Type u) [Field k] [IsAlgClosed k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
    [IsSeparated f] [QuasiCompact f] [ConnectedSpace G] [Smooth f] (L :
      GoodReductionJacobian.RelativeGroupLaw k f)
    {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k)) [LocallyOfFiniteType p] [IsIntegral P]
    (V : G.Opens) [Nonempty (V : Scheme.{u})] (ι₀ : (V : Scheme.{u}) ⟶ P) [IsOpenImmersion ι₀]
      (hι₀ : ι₀ ≫ p = V.ι ≫ f)
    (a : GoodReductionJacobian.PartialAction k f p) (hc : a.Compatible L V ι₀ hι₀) : DenseRange
      a.hom.base
GoodReductionJacobian.PartialAction.exists_closure_image_eq_closure_singleton_of_ringKrullDim_eq_one
Source context 11 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_closure_image_eq_closure_singleton_of_ringKrullDim_eq_one.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace GoodReductionJacobian.PartialAction
open AbelianVarieties.NOSProofs.StableLocus.BoundaryModel
theorem
    exists_closure_image_eq_closure_singleton_of_ringKrullDim_eq_one
    (k : Type u) [Field k] [IsAlgClosed k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
    [IsSeparated f] [QuasiCompact f] [ConnectedSpace G] [Smooth f]
    (L : RelativeGroupLaw k f)
    {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k)) [IsProper p] [IsIntegral P]
    (hn : ∀ y : P, IsIntegrallyClosed (P.presheaf.stalk y))
    (D : P.Opens) (τ : (D : Scheme.{u}) ⟶ G) [IsProper τ] (hτ : τ ≫ f = D.ι ≫ p)
    (V : G.Opens) [Nonempty (V : Scheme.{u})] (ι : (V : Scheme.{u}) ⟶ (D : Scheme.{u}))
    [IsOpenImmersion ι] (hτι : ι ≫ τ = V.ι)
    (w : P) (hw : w ∉ (D : Set P)) (hw₁ : ringKrullDim (P.presheaf.stalk w) = 1) :
    ∃ (P' : Scheme.{u}) (π : P' ⟶ P) (V' : G.Opens)
      (ι' : (V' : Scheme.{u}) ⟶ P') (hι' : ι' ≫ π ≫ p = V'.ι ≫ f) (a' : PartialAction k f (π ≫ p))
      (w' w'' : P'),
      IsIntegral P' ∧ (∀ y : P', IsIntegrallyClosed (P'.presheaf.stalk y)) ∧ IsProper π ∧
      topologicalKrullDim ↥P' = topologicalKrullDim ↥G ∧
      Nonempty (V' : Scheme.{u}) ∧ IsOpenImmersion ι' ∧
      a'.Compatible L V' ι' hι' ∧ a'.Maximal ∧
      (∀ z : ↥(pullback f (π ≫ p)),
        ringKrullDim ((pullback f (π ≫ p)).presheaf.stalk z) ≤ 1 → z ∈ a'.dom) ∧
      π.base w' = w ∧
      ringKrullDim (P'.presheaf.stalk w') = 1 ∧ ringKrullDim (P'.presheaf.stalk w'') = 1 ∧
      closure (a'.hom.base '' ((a'.dom.ι ≫ pullback.snd f (π ≫ p)).base ⁻¹' closure {w'})) =
        closure {w''}
AbelianVarieties.NOSProofs.StableLocus.GoodModel.exists_model
Source context 20 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_compatible_stable_defined_one_of_not_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.StableLocus
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open Topology
namespace GoodModel
open _root_.GoodReductionJacobian.PartialAction
open _root_.GoodReductionJacobian
section Assembly
theorem exists_model (k : Type u) [Field k] [IsAlgClosed k] {G : Scheme.{u}}
    (f : G ⟶ Spec (CommRingCat.of k)) [IsSeparated f] [QuasiCompact f] [ConnectedSpace G]
    (L : RelativeGroupLaw k f) (g : ℕ) [SmoothOfRelativeDimension g f] (hG : ¬ IsProper f) :
    ∃ (P : Scheme.{u}) (p : P ⟶ Spec (CommRingCat.of k)) (V : G.Opens)
      (ι : (V : Scheme.{u}) ⟶ P) (hι : ι ≫ p = V.ι ≫ f) (a : PartialAction k f p)
      (W : Set ↥P) (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p),
      IsProper p ∧ IsIntegral P ∧ (∀ x : P, IsIntegrallyClosed (P.presheaf.stalk x)) ∧
      Nonempty (V : Scheme.{u}) ∧ IsOpenImmersion ι ∧
      a.Compatible L V ι hι ∧ a.Maximal ∧
      (∀ z : ↥(pullback f p), ringKrullDim ((pullback f p).presheaf.stalk z) ≤ 1 → z ∈ a.dom) ∧
      IsClosed W ∧ topologicalKrullDim ↥W + 1 ≤ (g : WithBot ℕ∞) ∧ a.Stable W ∧
      P₀.1 (fieldPoint k) ∈ W ∧
      a.Defined (L.one (𝟙 (Spec (CommRingCat.of k)))) P₀
GoodReductionJacobian.PartialAction.exists_compatible_stable_defined_one_of_not_isProper
Source context 10 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra GoodReductionJacobian TopologicalSpace
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian.PartialAction Topology
open SchemeTheory.ValuativeProperness.NormalCompactification
  (isIso_stalkMap_of_isIso_morphismRestrict)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.PartialActionExistence.GoodReductionJacobian.PartialAction
universe u
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_PartialAction_exists_compatible_stable_defined_one_of_not_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 GoodReductionJacobian.PartialAction
theorem
    exists_compatible_stable_defined_one_of_not_isProper
    (k : Type u) [Field k] [IsAlgClosed k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
    [IsSeparated f] [QuasiCompact f] [ConnectedSpace G]
    (L : RelativeGroupLaw k f) (g : ℕ) [SmoothOfRelativeDimension g f] (hG : ¬ IsProper f) :
    ∃ (V : G.Opens) (_ : Nonempty (V : Scheme.{u})) (P : Scheme.{u}) (p : P ⟶ Spec (CommRingCat.of
      k))
      (_ : IsSeparated p) (_ : LocallyOfFiniteType p) (_ : IsIntegral P)
      (ι : (V : Scheme.{u}) ⟶ P) (_ : IsOpenImmersion ι) (hι : ι ≫ p = V.ι ≫ f)
      (a : PartialAction k f p), a.Compatible L V ι hι ∧ a.UnitActs L ∧ a.Assoc L ∧
      ∃ (W : Set ↥P), IsClosed W ∧ a.Stable W ∧ topologicalKrullDim ↥W + 1 ≤ (g : WithBot ℕ∞) ∧
        ∃ P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p,
          P₀.1 (IsLocalRing.closedPoint k) ∈ W ∧ a.Defined (L.one (𝟙 (Spec (CommRingCat.of k))))
            P₀