Module

Subgroups.lean

Nyll.AbelianVarieties.Geometry.Subgroups
206 declarations indexed from sourceView source ↗

Closed subgroups, group-scheme images, and isotropy

Construct identity components and scheme-theoretic images of group homomorphisms, prove closedness of their images, and obtain positive-dimensional isotropy groups. Reduced subschemes and partial-action calculus use their existing owners.

Imports34
Imported by4

Declarations

AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.one_coe_eq
Source context 13 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Maps
theorem one_coe_eq {K : Type u} [Field K] {A : Scheme.{u}} {f : A ⟶ Spec (CommRingCat.of K)}
    (L : RelativeGroupLaw K f) {T : Scheme.{u}} (s : T ⟶ Spec (CommRingCat.of K)) :
    (L.one s).1 = s ≫ (L.one (𝟙 _)).1
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.range_one_coe_subset
Source context 13 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Maps
theorem range_one_coe_subset {K : Type u} [Field K] {A : Scheme.{u}}
    {f : A ⟶ Spec (CommRingCat.of K)} (L : RelativeGroupLaw K f) {T : Scheme.{u}}
    (s : T ⟶ Spec (CommRingCat.of K)) :
    Set.range (L.one s).1 ⊆ {(L.one (𝟙 _)).1 (fieldPoint K)}
abbrev

p

L114 ↗
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.p

Projection from the base-changed group to the original group.

Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
abbrev p : pullback g ι ⟶ B
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.Lι

The group law after base change to the residue field.

Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
abbrev Lι : RelativeGroupLaw K (pullback.snd g ι)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.eι

The identity point of the base-changed group.

Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
abbrev eι : ↥(pullback g ι)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.idC

The connected component of the identity in the base-changed group.

Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
def idC : Set ↥(pullback g ι)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.exists_idComp
Source context 16 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
omit [IsClosedImmersion ι] in
theorem exists_idComp :
    ∃ (G₀ : Scheme.{u}) (i₀ : G₀ ⟶ pullback g ι) (L₀ : RelativeGroupLaw K (i₀ ≫ pullback.snd g ι)),
      IsOpenImmersion i₀ ∧ Set.range i₀ = idC LB ι ∧
      (∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
        (x y : SchemeHomOver t (i₀ ≫ pullback.snd g ι)),
        NeronModelInfra.schemeHomOverComp (L₀.mul t x y)
            (⟨i₀, rfl⟩ : SchemeHomOver (i₀ ≫ pullback.snd g ι) (pullback.snd g ι)) =
          (Lι LB ι).mul t
            (NeronModelInfra.schemeHomOverComp x
              (⟨i₀, rfl⟩ : SchemeHomOver (i₀ ≫ pullback.snd g ι) (pullback.snd g ι)))
            (NeronModelInfra.schemeHomOverComp y
              (⟨i₀, rfl⟩ : SchemeHomOver (i₀ ≫ pullback.snd g ι) (pullback.snd g ι))))
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.isOpen_idC
Source context 16 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
omit [IsClosedImmersion ι] in
theorem isOpen_idC : IsOpen (idC LB ι)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.eι_mem_idC
Source context 16 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
omit [LocallyOfFiniteType g] [QuasiCompact g] [IsClosedImmersion ι] in
theorem eι_mem_idC : eι LB ι ∈ idC LB ι
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.W

The complement of the image of the nonidentity components of the closed fibre.

Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
def W : Set B
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.isOpen_W
Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
theorem isOpen_W : IsOpen (W LB ι)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.mem_W_iff
Source context 16 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
omit [LocallyOfFiniteType g] [QuasiCompact g] [IsClosedImmersion ι] in
theorem mem_W_iff (b : B) : b ∈ W LB ι ↔ ∀ c : ↥(pullback g ι), p ι c = b → c ∈ idC LB ι
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.preimage_W
Source context 16 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
omit [LocallyOfFiniteType g] [QuasiCompact g] in
theorem preimage_W : p ι ⁻¹' W LB ι = idC LB ι
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.compl_range_subset_W
Source context 16 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
omit [LocallyOfFiniteType g] [QuasiCompact g] [IsClosedImmersion ι] in
theorem compl_range_subset_W : (Set.range (p (g := g) ι))ᶜ ⊆ W LB ι
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.U₀

The open set retaining the identity component in the closed fibre.

Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
def U₀ : B.Opens
abbrev

U

L185 ↗
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.U

The open subgroup obtained from the selected closed-fibre component.

Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
abbrev U : Scheme.{u}
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.ιU

The inclusion of the open subgroup.

Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
abbrev ιU : U LB ι ⟶ B
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.gU

The structure morphism of the open subgroup.

Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
abbrev gU : U LB ι ⟶ Spec (CommRingCat.of R)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.range_ιU
Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section OpenSet
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
local notation "ptK" => 𝟙 (Spec (CommRingCat.of K))
theorem range_ιU : Set.range (ιU LB ι) = W LB ι
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.ψ

Projection from the base change of a test scheme.

Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Stable
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
variable {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
abbrev ψ : pullback t ι ⟶ T
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.tι

The residue-field structure morphism of the base-changed test scheme.

Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Stable
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
variable {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
abbrev tι : pullback t ι ⟶ Spec (CommRingCat.of K)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.ψ_t
Source context 16 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Stable
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
variable {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
omit [IsClosedImmersion ι] in
theorem ψ_t : ψ ι t ≫ t = tι ι t ≫ ι
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.res

Restrict a point of the original group to the base-changed test scheme.

Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Stable
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
variable {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
def res (x : SchemeHomOver t g) : SchemeHomOver (tι ι t) (pullback.snd g ι)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.res_coe_p
Source context 16 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Stable
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
variable {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
omit [LocallyOfFiniteType g] [QuasiCompact g] [IsClosedImmersion ι] in
theorem res_coe_p (x : SchemeHomOver t g) : (res ι t x).1 ≫ p ι = ψ ι t ≫ x.1
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.toBase_res
Source context 16 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Stable
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
variable {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
omit [LocallyOfFiniteType g] [QuasiCompact g] [IsClosedImmersion ι] in
theorem toBase_res (x : SchemeHomOver t g) :
    RelativeGroupLaw.baseChangePointToBase ι (res ι t x) =
      GoodReductionJacobian.schemeHomOverComp (ψ ι t) (ψ_t ι t) x
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.res_mul
Source context 16 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Stable
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
variable {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
omit [LocallyOfFiniteType g] [QuasiCompact g] [IsClosedImmersion ι] in
theorem res_mul (x y : SchemeHomOver t g) :
    res ι t (LB.mul t x y) = (Lι LB ι).mul (tι ι t) (res ι t x) (res ι t y)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.res_one
Source context 16 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Stable
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
variable {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
omit [LocallyOfFiniteType g] [QuasiCompact g] [IsClosedImmersion ι] in
theorem res_one : res ι t (LB.one t) = (Lι LB ι).one (tι ι t)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.res_inv
Source context 16 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Stable
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
variable {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
omit [LocallyOfFiniteType g] [QuasiCompact g] [IsClosedImmersion ι] in
theorem res_inv (x : SchemeHomOver t g) :
    res ι t (LB.inv t x) = (Lι LB ι).inv (tι ι t) (res ι t x)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.range_subset_W_iff
Source context 16 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Stable
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
variable {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
omit [LocallyOfFiniteType g] [QuasiCompact g] in
theorem range_subset_W_iff (x : SchemeHomOver t g) :
    Set.range x.1 ⊆ W LB ι ↔ Set.range (res ι t x).1 ⊆ idC LB ι
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.range_mul_subset_W
Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Stable
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
variable {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
theorem range_mul_subset_W (x y : SchemeHomOver t g) (hx : Set.range x.1 ⊆ W LB ι)
    (hy : Set.range y.1 ⊆ W LB ι) : Set.range (LB.mul t x y).1 ⊆ W LB ι
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.range_one_subset_W
Source context 16 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Stable
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
variable {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
omit [LocallyOfFiniteType g] [QuasiCompact g] in
theorem range_one_subset_W : Set.range (LB.one t).1 ⊆ W LB ι
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.range_inv_subset_W
Source context 15 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Stable
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
variable {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
theorem range_inv_subset_W (x : SchemeHomOver t g) (hx : Set.range x.1 ⊆ W LB ι) :
    Set.range (LB.inv t x).1 ⊆ W LB ι
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.toB

Forget the factorization of a point through the open subgroup.

Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
def toB {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (x : SchemeHomOver t (gU LB ι)) :
    SchemeHomOver t g
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.toB_coe
Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
theorem toB_coe {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)}
    (x : SchemeHomOver t (gU LB ι)) : (toB LB ι x).1 = x.1 ≫ ιU LB ι
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.toB_injective
Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
theorem toB_injective {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} :
    Function.Injective (toB LB ι (T := T) (t := t))
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.toB_transition
Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
theorem toB_transition {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
    (t' : T' ⟶ Spec (CommRingCat.of R)) (φ : T' ⟶ T) (hφ : φ ≫ t = t')
    (x : SchemeHomOver t (gU LB ι)) :
    toB LB ι (GoodReductionJacobian.schemeHomOverComp φ hφ x) =
      GoodReductionJacobian.schemeHomOverComp φ hφ (toB LB ι x)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.range_toB_subset
Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
theorem range_toB_subset {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)}
    (x : SchemeHomOver t (gU LB ι)) : Set.range (toB LB ι x).1 ⊆ W LB ι
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.liftPt

Lift a point into the subgroup constructed above.

Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
def liftPt {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (y : SchemeHomOver t g)
    (hy : Set.range y.1 ⊆ W LB ι) : SchemeHomOver t (gU LB ι)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.toB_liftPt
Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
theorem toB_liftPt {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of R)} (y : SchemeHomOver t g)
    (hy : Set.range y.1 ⊆ W LB ι) : toB LB ι (liftPt LB ι y hy) = y
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.mulPt

Multiply points of the constructed subgroup.

Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
def mulPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x y : SchemeHomOver t (gU LB ι)) :
    SchemeHomOver t (gU LB ι)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.onePt

The identity point of the constructed subgroup.

Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
def onePt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) : SchemeHomOver t (gU LB ι)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.invPt

Invert a point of the constructed subgroup.

Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
def invPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x : SchemeHomOver t (gU LB ι)) :
    SchemeHomOver t (gU LB ι)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.toB_mulPt
Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
theorem toB_mulPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
    (x y : SchemeHomOver t (gU LB ι)) :
    toB LB ι (mulPt LB ι t x y) = LB.mul t (toB LB ι x) (toB LB ι y)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.toB_onePt
Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
theorem toB_onePt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) :
    toB LB ι (onePt LB ι t) = LB.one t
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.toB_invPt
Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
theorem toB_invPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R))
    (x : SchemeHomOver t (gU LB ι)) : toB LB ι (invPt LB ι t x) = LB.inv t (toB LB ι x)
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.lawU

The relative group law on the selected open subgroup.

Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
def lawU : RelativeGroupLaw R (gU LB ι) where
  mul t x y := mulPt LB ι t x y
  one t := onePt LB ι t
  inv t x := invPt LB ι t x
  mul_assoc t x y z := by
    apply toB_injective LB ι
    simp only [toB_mulPt]
    exact LB.mul_assoc t _ _ _
  one_mul t x := by
    apply toB_injective LB ι
    simp only [toB_mulPt, toB_onePt]
    exact LB.one_mul t _
  mul_one t x := by
    apply toB_injective LB ι
    simp only [toB_mulPt, toB_onePt]
    exact LB.mul_one t _
  inv_mul_cancel t x := by
    apply toB_injective LB ι
    simp only [toB_mulPt, toB_invPt, toB_onePt]
    exact LB.inv_mul_cancel t _
  mul_natural t t' φ hφ x y := by
    apply toB_injective LB ι
    rw [toB_transition]
    simp only [toB_mulPt]
    rw [LB.mul_natural t t' φ hφ, toB_transition, toB_transition]
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.hom_ιU
Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
theorem hom_ιU {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x y : SchemeHomOver t (gU LB
    ι)) :
    NeronModelInfra.schemeHomOverComp ((lawU LB ι).mul t x y)
        (⟨ιU LB ι, rfl⟩ : SchemeHomOver (gU LB ι) g) =
      LB.mul t (NeronModelInfra.schemeHomOverComp x (⟨ιU LB ι, rfl⟩ : SchemeHomOver (gU LB ι) g))
        (NeronModelInfra.schemeHomOverComp y (⟨ιU LB ι, rfl⟩ : SchemeHomOver (gU LB ι) g))
AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity.isCommutative_lawU
Source context 14 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian TopologicalSpace
noncomputable section
namespace ClosedFibreIdentity
section Law
variable {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
  [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
  {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
  [IsClosedImmersion ι]
theorem isCommutative_lawU (hc : LB.IsCommutative) : (lawU LB ι).IsCommutative
GoodReductionJacobian.RelativeGroupLaw.exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion
Source context 8 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.RelativeGroupLaw
open AbelianVarieties.NOSProofs.Subgroups.ClosedFibreIdentity
theorem
    exists_isOpenImmersion_preimage_range_eq_connectedComponent_of_isClosedImmersion
    {R : Type u} [CommRing R] {B : Scheme.{u}} {g : B ⟶ Spec (CommRingCat.of R)}
    [LocallyOfFiniteType g] [QuasiCompact g] (LB : RelativeGroupLaw R g)
    {K : Type u} [Field K] (ι : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of R))
    [IsClosedImmersion ι] :
    ∃ (U : Scheme.{u}) (i : U ⟶ B) (LU : RelativeGroupLaw R (i ≫ g)),
      IsOpenImmersion i ∧
      Set.range i =
        (pullback.fst g ι ''
          (connectedComponent
            (((LB.baseChange ι).one (𝟙 (Spec (CommRingCat.of K)))).1
              (IsLocalRing.closedPoint K)))ᶜ)ᶜ ∧
      pullback.fst g ι ⁻¹' Set.range i =
        connectedComponent
          (((LB.baseChange ι).one (𝟙 (Spec (CommRingCat.of K)))).1 (IsLocalRing.closedPoint K)) ∧
      (Set.range (pullback.fst g ι))ᶜ ⊆ Set.range i ∧
      (∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x y : SchemeHomOver t (i ≫ g)),
        NeronModelInfra.schemeHomOverComp (LU.mul t x y) (⟨i, rfl⟩ : SchemeHomOver (i ≫ g) g) =
          LB.mul t (NeronModelInfra.schemeHomOverComp x (⟨i, rfl⟩ : SchemeHomOver (i ≫ g) g))
            (NeronModelInfra.schemeHomOverComp y (⟨i, rfl⟩ : SchemeHomOver (i ≫ g) g))) ∧
      (LB.IsCommutative → LU.IsCommutative)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.Gr

The reduced closed subscheme with the whole underlying space.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Reduced
open AlgebraicGeometry.Scheme.IdealSheafData
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (redSub redι redLift redLift_ι range_redι)
abbrev Gr (G : Scheme.{u}) : Scheme.{u}
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.ιr

The inclusion of the reduced subscheme.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Reduced
open AlgebraicGeometry.Scheme.IdealSheafData
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (redSub redι redLift redLift_ι range_redι)
abbrev ιr (G : Scheme.{u}) : Gr G ⟶ G
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.range_ιr
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Reduced
open AlgebraicGeometry.Scheme.IdealSheafData
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (redSub redι redLift redLift_ι range_redι)
theorem range_ιr (G : Scheme.{u}) : Set.range (ιr G) = Set.univ
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.surjective_ιr
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Reduced
open AlgebraicGeometry.Scheme.IdealSheafData
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (redSub redι redLift redLift_ι range_redι)
theorem surjective_ιr (G : Scheme.{u}) : Function.Surjective (ιr G)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.isHomeomorph_ιr
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Reduced
open AlgebraicGeometry.Scheme.IdealSheafData
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (redSub redι redLift redLift_ι range_redι)
theorem isHomeomorph_ιr (G : Scheme.{u}) : IsHomeomorph (ιr G)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.liftr

Factor a morphism from a reduced scheme through the reduction.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Reduced
open AlgebraicGeometry.Scheme.IdealSheafData
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (redSub redι redLift redLift_ι range_redι)
def liftr {G T : Scheme.{u}} [IsReduced T] (g : T ⟶ G) : T ⟶ Gr G
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.liftr_ι
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Reduced
open AlgebraicGeometry.Scheme.IdealSheafData
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (redSub redι redLift redLift_ι range_redι)
theorem liftr_ι {G T : Scheme.{u}} [IsReduced T] (g : T ⟶ G) : liftr g ≫ ιr G = g
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.fr

The structure morphism of the reduced group.

Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
abbrev fr (f : G ⟶ Spec (CommRingCat.of k)) : Gr G ⟶ Spec (CommRingCat.of k)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.toG

Forget the factorization of a point through the reduced subscheme.

Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
def toG {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} (x : SchemeHomOver t (fr f)) :
    SchemeHomOver t f
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.toG_coe
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
theorem toG_coe {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} (x : SchemeHomOver t (fr f)) :
    (toG x).1 = x.1 ≫ ιr G
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.toG_eq
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
theorem toG_eq {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} (x : SchemeHomOver t (fr f)) :
    toG x = NeronModelInfra.schemeHomOverComp x (⟨ιr G, rfl⟩ : SchemeHomOver (fr f) f)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.toG_injective
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
theorem toG_injective {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} :
    Function.Injective (toG (f := f) (T := T) (t := t))
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.toG_transition
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
theorem toG_transition {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k))
    (t' : T' ⟶ Spec (CommRingCat.of k)) (ψ : T' ⟶ T) (hψ : ψ ≫ t = t')
    (x : SchemeHomOver t (fr f)) :
    toG (GoodReductionJacobian.schemeHomOverComp ψ hψ x) =
      GoodReductionJacobian.schemeHomOverComp ψ hψ (toG x)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.liftPt

Lift a point into the subgroup constructed above.

Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
def liftPt {T : Scheme.{u}} [IsReduced T] {t : T ⟶ Spec (CommRingCat.of k)}
    (y : SchemeHomOver t f) : SchemeHomOver t (fr f)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.toG_liftPt
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
theorem toG_liftPt {T : Scheme.{u}} [IsReduced T] {t : T ⟶ Spec (CommRingCat.of k)}
    (y : SchemeHomOver t f) : toG (liftPt y) = y
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.toG_surjective
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
theorem toG_surjective {T : Scheme.{u}} [IsReduced T] {t : T ⟶ Spec (CommRingCat.of k)} :
    Function.Surjective (toG (f := f) (T := T) (t := t))
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.geometricallyReduced_fr
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
theorem geometricallyReduced_fr : GeometricallyReduced (fr f)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.isReduced_pullback_fr
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
theorem isReduced_pullback_fr : IsReduced (pullback (fr f) (fr f))
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.M

The multiplication morphism from the product of the reduced subscheme.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
def M : pullback (fr f) (fr f) ⟶ G
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.Mr

The multiplication morphism factored through the reduction.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
def Mr : pullback (fr f) (fr f) ⟶ Gr G
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.Mr_ι
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
theorem Mr_ι : Mr L ≫ ιr G = M L
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.mulPt

Multiply points of the constructed subgroup.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
def mulPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t (fr f)) :
    SchemeHomOver t (fr f)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.toG_mulPt
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
theorem toG_mulPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k))
    (x y : SchemeHomOver t (fr f)) :
    toG (mulPt L t x y) = L.mul t (toG x) (toG y)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.er

The identity section factored through the reduction.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
def er : Spec (CommRingCat.of k) ⟶ Gr G
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.er_ι
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
omit [PerfectField k] [LocallyOfFiniteType f] in
theorem er_ι : er L ≫ ιr G = (L.one (𝟙 _)).1
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.onePt

The identity point of the constructed subgroup.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
def onePt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) : SchemeHomOver t (fr f)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.toG_onePt
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
omit [PerfectField k] [LocallyOfFiniteType f] in
theorem toG_onePt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) :
    toG (onePt L t) = L.one t
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.jr

The inversion morphism factored through the reduction.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
def jr : Gr G ⟶ Gr G
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.jr_ι
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
omit [PerfectField k] [LocallyOfFiniteType f] in
theorem jr_ι : jr L ≫ ιr G = (L.inv (fr f) ⟨ιr G, rfl⟩).1
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.invPt

Invert a point of the constructed subgroup.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
def invPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x : SchemeHomOver t (fr f)) :
    SchemeHomOver t (fr f)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.toG_invPt
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
omit [PerfectField k] [LocallyOfFiniteType f] in
theorem toG_invPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k))
    (x : SchemeHomOver t (fr f)) : toG (invPt L t x) = L.inv t (toG x)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.lawr

The group law inherited by the reduced group.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
def lawr : RelativeGroupLaw k (fr f) where
  mul t x y := mulPt L t x y
  one t := onePt L t
  inv t x := invPt L t x
  mul_assoc t x y z := by
    apply toG_injective
    simp only [toG_mulPt]
    exact L.mul_assoc t _ _ _
  one_mul t x := by
    apply toG_injective
    simp only [toG_mulPt, toG_onePt]
    exact L.one_mul t _
  mul_one t x := by
    apply toG_injective
    simp only [toG_mulPt, toG_onePt]
    exact L.mul_one t _
  inv_mul_cancel t x := by
    apply toG_injective
    simp only [toG_mulPt, toG_invPt, toG_onePt]
    exact L.inv_mul_cancel t _
  mul_natural t t' ψ hψ x y := by
    apply toG_injective
    rw [toG_transition]
    simp only [toG_mulPt]
    rw [L.mul_natural t t' ψ hψ, toG_transition, toG_transition]
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.toG_lawr_mul
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
theorem toG_lawr_mul {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k))
    (x y : SchemeHomOver t (fr f)) :
    toG ((lawr L).mul t x y) = L.mul t (toG x) (toG y)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.toG_lawr_one
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
theorem toG_lawr_one {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) :
    toG ((lawr L).one t) = L.one t
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.hom_ιr
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
theorem hom_ιr {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t (fr f)) :
    NeronModelInfra.schemeHomOverComp ((lawr L).mul t x y) (⟨ιr G, rfl⟩ : SchemeHomOver (fr f) f) =
      L.mul t (NeronModelInfra.schemeHomOverComp x (⟨ιr G, rfl⟩ : SchemeHomOver (fr f) f))
        (NeronModelInfra.schemeHomOverComp y (⟨ιr G, rfl⟩ : SchemeHomOver (fr f) f))
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.isCommutative_lawr
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
theorem isCommutative_lawr (hc : L.IsCommutative) : (lawr L).IsCommutative
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.smooth_fr
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Law
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  (L : RelativeGroupLaw k f)
variable [PerfectField k] [LocallyOfFiniteType f]
theorem smooth_fr (L : RelativeGroupLaw k f) : Smooth (fr f)
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.castLaw

Transport a relative group law along equality of its structure morphism.

Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Cast
variable {k : Type u} [Field k]
def castLaw {X : Scheme.{u}} {f₁ f₂ : X ⟶ Spec (CommRingCat.of k)} (e : f₁ = f₂)
    (L : RelativeGroupLaw k f₁) : RelativeGroupLaw k f₂
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.castLaw_mul_val
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Cast
variable {k : Type u} [Field k]
theorem castLaw_mul_val {X : Scheme.{u}} {f₁ f₂ : X ⟶ Spec (CommRingCat.of k)} (e : f₁ = f₂)
    (L : RelativeGroupLaw k f₁) {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k))
    (x y : SchemeHomOver t f₂) :
    ((castLaw e L).mul t x y).1 =
      (L.mul t ⟨x.1, by rw [e]; exact x.2⟩ ⟨y.1, by rw [e]; exact y.2⟩).1 := by
  subst e
  rfl
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.isCommutative_castLaw
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Cast
variable {k : Type u} [Field k]
theorem isCommutative_castLaw {X : Scheme.{u}} {f₁ f₂ : X ⟶ Spec (CommRingCat.of k)} (e : f₁ = f₂)
    (L : RelativeGroupLaw k f₁) (hc : L.IsCommutative) : (castLaw e L).IsCommutative
AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent.image_connectedComponent_of_isHomeomorph
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ReducedIdentityComponent
open scoped
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Topo
variable {α β : Type*} [TopologicalSpace α] [TopologicalSpace β]
theorem image_connectedComponent_of_isHomeomorph {φ : α → β} (hφ : IsHomeomorph φ) (a : α) :
    φ '' connectedComponent a = connectedComponent (φ a)
GoodReductionJacobian.RelativeGroupLaw.exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField
Source context 8 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.RelativeGroupLaw
open AbelianVarieties.NOSProofs.Subgroups.ReducedIdentityComponent
theorem
    exists_isClosedImmersion_smoothOfRelativeDimension_range_eq_connectedComponent_of_perfectField
    (k : Type u) [Field k] [PerfectField k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
    [LocallyOfFiniteType f] [QuasiCompact f] (L : RelativeGroupLaw k f) :
    ∃ (G₀ : Scheme.{u}) (i : G₀ ⟶ G) (L₀ : RelativeGroupLaw k (i ≫ f)) (n : ℕ),
      IsClosedImmersion i ∧ IrreducibleSpace G₀ ∧ SmoothOfRelativeDimension n (i ≫ f) ∧
      GeometricallyIrreducible (i ≫ f) ∧
      IsOpen (Set.range i) ∧
      Set.range i =
        connectedComponent ((L.one (𝟙 (Spec (CommRingCat.of k)))).1 (IsLocalRing.closedPoint k)) ∧
      topologicalKrullDim G₀ = n ∧
      (∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t (i ≫ f)),
        NeronModelInfra.schemeHomOverComp (L₀.mul t x y) (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f) =
          L.mul t (NeronModelInfra.schemeHomOverComp x (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f))
            (NeronModelInfra.schemeHomOverComp y (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f))) ∧
      (L.IsCommutative → L₀.IsCommutative) ∧
      ∃ S : Set (SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f), S.Finite ∧
        ∀ x : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f,
          ∃ s ∈ S, ∃ a : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) (i ≫ f),
            x = L.mul (𝟙 (Spec (CommRingCat.of k))) s
              (NeronModelInfra.schemeHomOverComp a (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f))
AbelianVarieties.NOSProofs.Subgroups.FlatImage.pair

The pair of test-scheme points as a morphism into the fibre product.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Represent
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
def pair {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} (x y : SchemeHomOver t
    f) : T ⟶ pullback f f
AbelianVarieties.NOSProofs.Subgroups.FlatImage.pair_fst
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Represent
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
theorem pair_fst {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} (x y :
    SchemeHomOver t f) :
    pair x y ≫ pullback.fst f f = x.1
AbelianVarieties.NOSProofs.Subgroups.FlatImage.pair_snd
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Represent
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
theorem pair_snd {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} (x y :
    SchemeHomOver t f) :
    pair x y ≫ pullback.snd f f = y.1
AbelianVarieties.NOSProofs.Subgroups.FlatImage.invMor

The scheme morphism representing inversion of group points.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Represent
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
def invMor : J ⟶ J
AbelianVarieties.NOSProofs.Subgroups.FlatImage.invMor_over
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Represent
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
theorem invMor_over : invMor L ≫ f = f
AbelianVarieties.NOSProofs.Subgroups.FlatImage.inv_eq_comp_invMor
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Represent
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
theorem inv_eq_comp_invMor {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x : SchemeHomOver t
    f) :
    (L.inv t x).1 = x.1 ≫ invMor L
AbelianVarieties.NOSProofs.Subgroups.FlatImage.oneMor

The identity section of the group scheme.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Represent
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
def oneMor : Spec (CommRingCat.of k) ⟶ J
AbelianVarieties.NOSProofs.Subgroups.FlatImage.oneMor_over
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Represent
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
theorem oneMor_over : oneMor L ≫ f = 𝟙 _
AbelianVarieties.NOSProofs.Subgroups.FlatImage.one_eq_comp_oneMor
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Represent
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
theorem one_eq_comp_oneMor {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) :
    (L.one t).1 = t ≫ oneMor L
AbelianVarieties.NOSProofs.Subgroups.FlatImage.isSchemeTheoreticallyDominant_toImage
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Image
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)}
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} (σ : SchemeHomOver g f) [QuasiCompact σ.1]
theorem isSchemeTheoreticallyDominant_toImage : IsSchemeTheoreticallyDominant σ.1.toImage
AbelianVarieties.NOSProofs.Subgroups.FlatImage.imageιOver

The scheme-theoretic image inclusion as a morphism over the base.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
def imageιOver : SchemeHomOver (σ.1.imageι ≫ f) f
AbelianVarieties.NOSProofs.Subgroups.FlatImage.imageιOver_coe
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
omit [Flat g] [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)] in
theorem imageιOver_coe : (imageιOver σ).1 = σ.1.imageι
AbelianVarieties.NOSProofs.Subgroups.FlatImage.mulJB

Multiplication on the product of the scheme-theoretic image.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
def mulJB : pullback (σ.1.imageι ≫ f) (σ.1.imageι ≫ f) ⟶ J
AbelianVarieties.NOSProofs.Subgroups.FlatImage.mulJB_over
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
omit [Flat g] [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)] in
theorem mulJB_over : mulJB L σ ≫ f = pullback.fst (σ.1.imageι ≫ f) (σ.1.imageι ≫ f) ≫ σ.1.imageι ≫
    f
AbelianVarieties.NOSProofs.Subgroups.FlatImage.prodToImage

The product morphism induced by factorization through the image.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
def prodToImage : pullback g g ⟶ pullback (σ.1.imageι ≫ f) (σ.1.imageι ≫ f)
AbelianVarieties.NOSProofs.Subgroups.FlatImage.prodToImage_fst
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
omit [Flat g] [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)] in
theorem prodToImage_fst : prodToImage σ ≫ pullback.fst _ _ = pullback.fst g g ≫
    σ.1.toImage
AbelianVarieties.NOSProofs.Subgroups.FlatImage.prodToImage_snd
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
omit [Flat g] [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)] in
theorem prodToImage_snd : prodToImage σ ≫ pullback.snd _ _ = pullback.snd g g ≫
    σ.1.toImage
AbelianVarieties.NOSProofs.Subgroups.FlatImage.prodToImage_mulJB
Source context 24 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
include hσ in
omit [Flat g] [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)] in
theorem prodToImage_mulJB :
    prodToImage σ ≫ mulJB L σ = (LX.mul (pullback.fst g g ≫ g) ⟨pullback.fst g g, rfl⟩
      ⟨pullback.snd g g, pullback.condition.symm⟩).1 ≫ σ.1
AbelianVarieties.NOSProofs.Subgroups.FlatImage.isSchemeTheoreticallyDominant_prodToImage
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
theorem isSchemeTheoreticallyDominant_prodToImage : IsSchemeTheoreticallyDominant (prodToImage σ)
AbelianVarieties.NOSProofs.Subgroups.FlatImage.ker_le_ker_mulJB
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
include hσ in
theorem ker_le_ker_mulJB : σ.1.ker ≤ (mulJB L σ).ker
AbelianVarieties.NOSProofs.Subgroups.FlatImage.invJB

Inversion on the scheme-theoretic image followed by its inclusion.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
def invJB : σ.1.image ⟶ J
AbelianVarieties.NOSProofs.Subgroups.FlatImage.ker_le_ker_invJB
Source context 24 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
include hσ in
omit [Flat g] [Flat (σ.1.imageι ≫ f)] in
theorem ker_le_ker_invJB : σ.1.ker ≤ (invJB L σ).ker
AbelianVarieties.NOSProofs.Subgroups.FlatImage.mulB

Multiplication factored through the scheme-theoretic image.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
def mulB : pullback (σ.1.imageι ≫ f) (σ.1.imageι ≫ f) ⟶ σ.1.image
AbelianVarieties.NOSProofs.Subgroups.FlatImage.mulB_imageι
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
theorem mulB_imageι : mulB L LX σ hσ ≫ σ.1.imageι = mulJB L σ
AbelianVarieties.NOSProofs.Subgroups.FlatImage.invB

Inversion factored through the scheme-theoretic image.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
def invB : σ.1.image ⟶ σ.1.image
AbelianVarieties.NOSProofs.Subgroups.FlatImage.invB_imageι
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
omit [Flat g] [Flat (σ.1.imageι ≫ f)] in
theorem invB_imageι : invB L LX σ hσ ≫ σ.1.imageι = σ.1.imageι ≫ invMor L
AbelianVarieties.NOSProofs.Subgroups.FlatImage.oneB

The identity section factored through the scheme-theoretic image.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
def oneB : Spec (CommRingCat.of k) ⟶ σ.1.image
AbelianVarieties.NOSProofs.Subgroups.FlatImage.oneB_imageι
Source context 24 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Closure
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
include hσ in
omit [Flat g] [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)] in
theorem oneB_imageι : oneB LX σ ≫ σ.1.imageι = oneMor L
AbelianVarieties.NOSProofs.Subgroups.FlatImage.incl

Include a point of the scheme-theoretic image in the target group.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
def incl {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} (x : SchemeHomOver t
    (σ.1.imageι ≫ f)) :
    SchemeHomOver t f
AbelianVarieties.NOSProofs.Subgroups.FlatImage.incl_coe
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
omit [Flat g] [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)] in
theorem incl_coe {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} (x :
    SchemeHomOver t (σ.1.imageι ≫ f)) :
    (incl σ x).1 = x.1 ≫ σ.1.imageι
AbelianVarieties.NOSProofs.Subgroups.FlatImage.incl_injective
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
omit [Flat g] [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)] in
theorem incl_injective {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} :
    Function.Injective (incl σ (T := T) (t := t))
AbelianVarieties.NOSProofs.Subgroups.FlatImage.incl_comp
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
omit [Flat g] [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)] in
theorem incl_comp {T T' : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} {t' : T' ⟶ Spec
    (CommRingCat.of k)}
    (ψ : T' ⟶ T) (hψ : ψ ≫ t = t') (x : SchemeHomOver t (σ.1.imageι ≫ f)) :
    incl σ (GoodReductionJacobian.schemeHomOverComp ψ hψ x) =
      GoodReductionJacobian.schemeHomOverComp ψ hψ (incl σ x)
AbelianVarieties.NOSProofs.Subgroups.FlatImage.mulPt

Multiply points of the constructed subgroup.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
def mulPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t
    (σ.1.imageι ≫ f)) :
    SchemeHomOver t (σ.1.imageι ≫ f)
AbelianVarieties.NOSProofs.Subgroups.FlatImage.incl_mulPt
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
theorem incl_mulPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t
    (σ.1.imageι ≫ f)) :
    incl σ (mulPt L LX σ hσ t x y) = L.mul t (incl σ x) (incl σ y)
AbelianVarieties.NOSProofs.Subgroups.FlatImage.onePt

The identity point of the constructed subgroup.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
def onePt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) : SchemeHomOver t
    (σ.1.imageι ≫ f)
AbelianVarieties.NOSProofs.Subgroups.FlatImage.incl_onePt
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
omit [Flat g] [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)] in
theorem incl_onePt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) : incl σ (onePt L LX σ hσ t)
    = L.one t
AbelianVarieties.NOSProofs.Subgroups.FlatImage.invPt

Invert a point of the constructed subgroup.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
def invPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x : SchemeHomOver t
    (σ.1.imageι ≫ f)) :
    SchemeHomOver t (σ.1.imageι ≫ f)
AbelianVarieties.NOSProofs.Subgroups.FlatImage.incl_invPt
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
omit [Flat g] [Flat (σ.1.imageι ≫ f)] in
theorem incl_invPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x : SchemeHomOver t
    (σ.1.imageι ≫ f)) :
    incl σ (invPt L LX σ hσ t x) = L.inv t (incl σ x)
AbelianVarieties.NOSProofs.Subgroups.FlatImage.lawB

The group law induced on the scheme-theoretic image.

Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
def lawB : RelativeGroupLaw k (σ.1.imageι ≫ f) where
  mul t x y := mulPt L LX σ hσ t x y
  one t := onePt L LX σ hσ t
  inv t x := invPt L LX σ hσ t x
  mul_assoc t x y z := incl_injective σ (by rw [incl_mulPt, incl_mulPt, incl_mulPt, incl_mulPt,
    L.mul_assoc])
  one_mul t x := incl_injective σ (by rw [incl_mulPt, incl_onePt, L.one_mul])
  mul_one t x := incl_injective σ (by rw [incl_mulPt, incl_onePt, L.mul_one])
  inv_mul_cancel t x := incl_injective σ (by rw [incl_mulPt, incl_invPt, incl_onePt,
    L.inv_mul_cancel])
  mul_natural t t' ψ hψ x y := incl_injective σ (by
    rw [incl_comp, incl_mulPt, incl_mulPt, incl_comp, incl_comp, L.mul_natural])
AbelianVarieties.NOSProofs.Subgroups.FlatImage.lawB_mul
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
theorem lawB_mul {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t
    (σ.1.imageι ≫ f)) :
    (lawB L LX σ hσ).mul t x y = mulPt L LX σ hσ t x y
AbelianVarieties.NOSProofs.Subgroups.FlatImage.lawB_comm
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
include hσ in
theorem lawB_comm (hcomm : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y :
    SchemeHomOver t f),
      L.mul t x y = L.mul t y x)
    {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t (σ.1.imageι ≫ f)) :
    (lawB L LX σ hσ).mul t x y = (lawB L LX σ hσ).mul t y x
AbelianVarieties.NOSProofs.Subgroups.FlatImage.lawB_hom
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace FlatImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section GroupLaw
variable {k : Type u} [CommRing k] {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of k)} (L :
    RelativeGroupLaw k f)
  {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of k)} [Flat g] (LX : RelativeGroupLaw k g)
  (σ : SchemeHomOver g f) [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
  (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ))
theorem lawB_hom {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t
    (σ.1.imageι ≫ f)) :
    NeronModelInfra.schemeHomOverComp ((lawB L LX σ hσ).mul t x y) (imageιOver σ) =
      L.mul t (NeronModelInfra.schemeHomOverComp x (imageιOver σ))
        (NeronModelInfra.schemeHomOverComp y (imageιOver σ))
GoodReductionJacobian.RelativeGroupLaw.exists_relativeGroupLaw_image_of_homomorphism_of_flat
Source context 8 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_relativeGroupLaw_image_of_homomorphism_of_flat.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.RelativeGroupLaw
open AbelianVarieties.NOSProofs.Subgroups.FlatImage
theorem
    exists_relativeGroupLaw_image_of_homomorphism_of_flat
    {R : Type u} [CommRing R]
    {J : Scheme.{u}} {f : J ⟶ Spec (CommRingCat.of R)} (L : RelativeGroupLaw R f)
    {X : Scheme.{u}} {g : X ⟶ Spec (CommRingCat.of R)} [Flat g] (LX : RelativeGroupLaw R g) (σ :
      SchemeHomOver g f)
    [QuasiCompact σ.1] [Flat (σ.1.imageι ≫ f)]
    (hσ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x y : SchemeHomOver t g),
      NeronModelInfra.schemeHomOverComp (LX.mul t x y) σ =
        L.mul t (NeronModelInfra.schemeHomOverComp x σ) (NeronModelInfra.schemeHomOverComp y σ)) :
    ∃ LB : RelativeGroupLaw R (σ.1.imageι ≫ f),
      (∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x y : SchemeHomOver t (σ.1.imageι ≫
        f)),
        NeronModelInfra.schemeHomOverComp (LB.mul t x y) (⟨σ.1.imageι, rfl⟩ : SchemeHomOver
          (σ.1.imageι ≫ f) f) =
          L.mul t (NeronModelInfra.schemeHomOverComp x ⟨σ.1.imageι, rfl⟩)
            (NeronModelInfra.schemeHomOverComp y ⟨σ.1.imageι, rfl⟩)) ∧
      ((∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x y : SchemeHomOver t f), L.mul t x
        y = L.mul t y x) →
        ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (x y : SchemeHomOver t (σ.1.imageι ≫
          f)),
          LB.mul t x y = LB.mul t y x)
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.denseOpen_union
Source context 20 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Topology
variable {X : Type*} [TopologicalSpace X]
theorem denseOpen_union {s t U V : Set X} (hU : IsOpen U) (hV : IsOpen V)
    (hUs : U ∩ closure s ⊆ s) (hs : closure s ⊆ closure (U ∩ closure s))
    (hVt : V ∩ closure t ⊆ t) (ht : closure t ⊆ closure (V ∩ closure t)) :
    ∃ W : Set X, IsOpen W ∧ W ∩ closure (s ∪ t) ⊆ s ∪ t ∧
      closure (s ∪ t) ⊆ closure (W ∩ closure (s ∪ t))
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.exists_isOpen_inter_closure_subset_of_isConstructible
Source context 20 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Topology
variable {X : Type*} [TopologicalSpace X]
theorem exists_isOpen_inter_closure_subset_of_isConstructible [CompactSpace X]
    [QuasiSeparatedSpace X] {ι : Type*} [Nonempty ι] (b : ι → Set X)
    (hb : IsTopologicalBasis (Set.range b)) (hbc : ∀ i, IsCompact (b i))
    {s : Set X} (hs : IsConstructible s) :
    ∃ U : Set X, IsOpen U ∧ U ∩ closure s ⊆ s ∧ closure s ⊆ closure (U ∩ closure s)
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.image_eq_of_image_subset
Source context 20 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Topology
variable {X : Type*} [TopologicalSpace X]
theorem image_eq_of_image_subset [NoetherianSpace X] (r : X ≃ₜ X) {Z : Set X}
    (hZ : IsClosed Z) (h : r '' Z ⊆ Z) : r '' Z = Z
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.pt

The closed point determined by a rational group point.

Source context 20 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Points
variable {k : Type u} [Field k] [IsAlgClosed k] {X : Scheme.{u}}
  (p : X ⟶ Spec (CommRingCat.of k))
abbrev pt (x : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p) : X
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.isClosed_pt
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Points
variable {k : Type u} [Field k] [IsAlgClosed k] {X : Scheme.{u}}
  (p : X ⟶ Spec (CommRingCat.of k))
variable [LocallyOfFiniteType p]
theorem isClosed_pt (x : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p) : IsClosed {pt p x}
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.exists_pt_eq_of_isClosed
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Points
variable {k : Type u} [Field k] [IsAlgClosed k] {X : Scheme.{u}}
  (p : X ⟶ Spec (CommRingCat.of k))
variable [LocallyOfFiniteType p]
theorem exists_pt_eq_of_isClosed {c : X} (hc : IsClosed {c}) :
    ∃ x : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p, pt p x = c
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.exists_pt_mem_of_isLocallyClosed
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Points
variable {k : Type u} [Field k] [IsAlgClosed k] {X : Scheme.{u}}
  (p : X ⟶ Spec (CommRingCat.of k))
variable [LocallyOfFiniteType p]
theorem exists_pt_mem_of_isLocallyClosed {C : Set X} (hC : IsLocallyClosed C)
    (hne : C.Nonempty) :
    ∃ x : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p, pt p x ∈ C
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.dense_range_pt
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Points
variable {k : Type u} [Field k] [IsAlgClosed k] {X : Scheme.{u}}
  (p : X ⟶ Spec (CommRingCat.of k))
variable [LocallyOfFiniteType p]
theorem dense_range_pt :
    Dense (Set.range (pt p : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p → X))
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.opLaw

The opposite relative group law.

Source context 20 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Translations
variable {k : Type u} [Field k] {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)}
def opLaw (M : RelativeGroupLaw k g) : RelativeGroupLaw k g where
  mul t x y := M.mul t y x
  one t := M.one t
  inv t x := M.inv t x
  mul_assoc t x y z := (M.mul_assoc t z y x).symm
  one_mul t x := M.mul_one t x
  mul_one t x := M.one_mul t x
  inv_mul_cancel t x := M.mul_inv_cancel t x
  mul_natural t t' ψ hψ x y := M.mul_natural t t' ψ hψ y x
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.opLaw_mul
Source context 20 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Translations
variable {k : Type u} [Field k] {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)}
theorem opLaw_mul (M : RelativeGroupLaw k g) {T : Scheme.{u}}
    (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t g) :
    (opLaw M).mul t x y = M.mul t y x
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.transIso

The translation isomorphism determined by a rational group point.

Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Translations
variable {k : Type u} [Field k] {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)}
variable (M : RelativeGroupLaw k g) (d : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) g)
def transIso : H ≅ H
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.comp_transIso_hom
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Translations
variable {k : Type u} [Field k] {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)}
variable (M : RelativeGroupLaw k g) (d : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) g)
theorem comp_transIso_hom {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k))
    (x : SchemeHomOver t g) :
    x.1 ≫ (transIso M d).hom =
      (M.mul t x (GoodReductionJacobian.schemeHomOverComp t (Category.comp_id t) d)).1
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.schemeHomOverComp_id_eq
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Translations
variable {k : Type u} [Field k] {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)}
variable (M : RelativeGroupLaw k g) (d : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) g)
theorem schemeHomOverComp_id_eq :
    GoodReductionJacobian.schemeHomOverComp (𝟙 (Spec (CommRingCat.of k)))
      (Category.comp_id _) d = d
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.transIso_hom_pt
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Translations
variable {k : Type u} [Field k] {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)}
variable (M : RelativeGroupLaw k g) (d : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) g)
theorem transIso_hom_pt (x : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) g) :
    (transIso M d).hom (pt g x) = pt g (M.mul (𝟙 _) x d)
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.transIso_hom_eq
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Translations
variable {k : Type u} [Field k] {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)}
variable (M : RelativeGroupLaw k g) (d : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) g)
theorem transIso_hom_eq :
    (transIso M d).hom =
      (M.mul g (⟨𝟙 H, Category.id_comp g⟩ : SchemeHomOver g g)
        (GoodReductionJacobian.schemeHomOverComp g (Category.comp_id g) d)).1
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.hom_opLaw
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Translations
variable {k : Type u} [Field k] {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)}
variable (M : RelativeGroupLaw k g) (d : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) g)
variable {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} (L : RelativeGroupLaw k f)
  (φ : SchemeHomOver f g)
  (hφ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t f),
    NeronModelInfra.schemeHomOverComp (L.mul t x y) φ =
      M.mul t (NeronModelInfra.schemeHomOverComp x φ) (NeronModelInfra.schemeHomOverComp y φ))
include hφ in
theorem hom_opLaw {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t f) :
    NeronModelInfra.schemeHomOverComp ((opLaw L).mul t x y) φ =
      (opLaw M).mul t (NeronModelInfra.schemeHomOverComp x φ)
        (NeronModelInfra.schemeHomOverComp y φ)
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.transIso_hom_comp
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Translations
variable {k : Type u} [Field k] {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)}
variable (M : RelativeGroupLaw k g) (d : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) g)
variable {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} (L : RelativeGroupLaw k f)
  (φ : SchemeHomOver f g)
  (hφ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t f),
    NeronModelInfra.schemeHomOverComp (L.mul t x y) φ =
      M.mul t (NeronModelInfra.schemeHomOverComp x φ) (NeronModelInfra.schemeHomOverComp y φ))
include hφ in
theorem transIso_hom_comp (a : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) :
    (transIso L a).hom ≫ φ.1 = φ.1 ≫ (transIso M (NeronModelInfra.schemeHomOverComp a φ)).hom
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.apply_transIso_hom
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Translations
variable {k : Type u} [Field k] {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)}
variable (M : RelativeGroupLaw k g) (d : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) g)
variable {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} (L : RelativeGroupLaw k f)
  (φ : SchemeHomOver f g)
  (hφ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t f),
    NeronModelInfra.schemeHomOverComp (L.mul t x y) φ =
      M.mul t (NeronModelInfra.schemeHomOverComp x φ) (NeronModelInfra.schemeHomOverComp y φ))
include hφ in
theorem apply_transIso_hom (a : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) (z : G) :
    φ.1 ((transIso L a).hom z) = (transIso M (NeronModelInfra.schemeHomOverComp a φ)).hom (φ.1 z)
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.image_transIso_hom_range
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Translations
variable {k : Type u} [Field k] {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)}
variable (M : RelativeGroupLaw k g) (d : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) g)
variable {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} (L : RelativeGroupLaw k f)
  (φ : SchemeHomOver f g)
  (hφ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t f),
    NeronModelInfra.schemeHomOverComp (L.mul t x y) φ =
      M.mul t (NeronModelInfra.schemeHomOverComp x φ) (NeronModelInfra.schemeHomOverComp y φ))
include hφ in
theorem image_transIso_hom_range (a : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) :
    (transIso M (NeronModelInfra.schemeHomOverComp a φ)).hom '' Set.range φ.1 = Set.range φ.1
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.pt_schemeHomOverComp
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Translations
variable {k : Type u} [Field k] {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)}
variable (M : RelativeGroupLaw k g) (d : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) g)
variable {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} (L : RelativeGroupLaw k f)
  (φ : SchemeHomOver f g)
  (hφ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t f),
    NeronModelInfra.schemeHomOverComp (L.mul t x y) φ =
      M.mul t (NeronModelInfra.schemeHomOverComp x φ) (NeronModelInfra.schemeHomOverComp y φ))
theorem pt_schemeHomOverComp (a : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) :
    pt g (NeronModelInfra.schemeHomOverComp a φ) = φ.1 (pt f a)
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.iUnion_image_transIso_hom_eq_univ
Source context 20 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Homogeneity
variable {k : Type u} [Field k] [IsAlgClosed k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  [LocallyOfFiniteType f] (L : RelativeGroupLaw k f)
theorem iUnion_image_transIso_hom_eq_univ {V : Set G} (hV : IsOpen V) (hne : V.Nonempty) :
    ⋃ a : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f, (transIso L a).hom '' V = Set.univ
AbelianVarieties.NOSProofs.Subgroups.ClosedImage.isClosed_range
Source context 20 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace ClosedImage
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
section Main
variable {k : Type u} [Field k] [IsAlgClosed k]
  {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} [LocallyOfFiniteType f] [QuasiCompact f]
  {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)} [LocallyOfFiniteType g] [QuasiCompact g]
theorem isClosed_range (L : RelativeGroupLaw k f) (M : RelativeGroupLaw k g)
    (φ : SchemeHomOver f g)
    (hφ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t f),
      NeronModelInfra.schemeHomOverComp (L.mul t x y) φ =
        M.mul t (NeronModelInfra.schemeHomOverComp x φ)
          (NeronModelInfra.schemeHomOverComp y φ)) :
    IsClosed (Set.range φ.1)
GoodReductionJacobian.RelativeGroupLaw.isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed
Source context 7 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.RelativeGroupLaw
theorem
    isClosed_range_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed
    {k : Type u} [Field k] [IsAlgClosed k]
    {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} [LocallyOfFiniteType f] [QuasiCompact f]
    (L : RelativeGroupLaw k f)
    {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)} [LocallyOfFiniteType g] [QuasiCompact g]
    (M : RelativeGroupLaw k g)
    (φ : SchemeHomOver f g)
    (hφ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t f),
      NeronModelInfra.schemeHomOverComp (L.mul t x y) φ =
        M.mul t (NeronModelInfra.schemeHomOverComp x φ)
          (NeronModelInfra.schemeHomOverComp y φ)) :
    IsClosed (Set.range φ.1)
GoodReductionJacobian.RelativeGroupLaw.exists_isClosedImmersion_connectedSpace_lt_of_range_ne_univ
Source context 7 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_exists_isClosedImmersion_connectedSpace_lt_of_range_ne_univ.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.RelativeGroupLaw
theorem
    exists_isClosedImmersion_connectedSpace_lt_of_range_ne_univ
    (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]
    {H : Scheme.{u}} (i : H ⟶ G) [IsClosedImmersion i] (LH : RelativeGroupLaw k (i ≫ f))
    (hi : (∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t (i ≫ f)),
        NeronModelInfra.schemeHomOverComp (LH.mul t x y) (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f) =
          L.mul t (NeronModelInfra.schemeHomOverComp x (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f))
            (NeronModelInfra.schemeHomOverComp y (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f))))
    (hne : Set.range i ≠ Set.univ)
    (hdim : 1 ≤ topologicalKrullDim
      ↥(connectedComponent ((LH.one (𝟙 (Spec (CommRingCat.of k)))).1 (IsLocalRing.closedPoint
        k)))) :
    ∃ (H' : Scheme.{u}) (i' : H' ⟶ G) (LH' : RelativeGroupLaw k (i' ≫ f)) (h : ℕ),
      IsClosedImmersion i' ∧ ConnectedSpace H' ∧ SmoothOfRelativeDimension h (i' ≫ f) ∧
      (∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t (i' ≫ f)),
        NeronModelInfra.schemeHomOverComp (LH'.mul t x y) (⟨i', rfl⟩ : SchemeHomOver (i' ≫ f) f) =
          L.mul t (NeronModelInfra.schemeHomOverComp x (⟨i', rfl⟩ : SchemeHomOver (i' ≫ f) f))
            (NeronModelInfra.schemeHomOverComp y (⟨i', rfl⟩ : SchemeHomOver (i' ≫ f) f))) ∧
      1 ≤ h ∧ h < g
AbelianVarieties.NOSProofs.Subgroups.Isotropy.rtrans

Right translation by a rational group point.

Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Structure
variable (L : RelativeGroupLaw k f)
def rtrans (g : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) : G ⟶ G
AbelianVarieties.NOSProofs.Subgroups.Isotropy.kpt_rtrans
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Structure
variable (L : RelativeGroupLaw k f)
theorem kpt_rtrans (g x : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) :
    x.1 ≫ rtrans L g = (L.mul (𝟙 _) x g).1
AbelianVarieties.NOSProofs.Subgroups.Isotropy.idG

The identity morphism of the group as a point over the base.

Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
def idG (f : G ⟶ Spec (CommRingCat.of k)) : SchemeHomOver f f
AbelianVarieties.NOSProofs.Subgroups.Isotropy.sP

Pair the varying group point with the fixed point of the action space.

Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
def sP : G ⟶ pullback f p
AbelianVarieties.NOSProofs.Subgroups.Isotropy.pair_kpt
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem pair_kpt (γ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) :
    pair γ P₀ = γ.1 ≫ sP P₀
AbelianVarieties.NOSProofs.Subgroups.Isotropy.Ω

The open group locus where the fixed point can be acted on.

Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
def Ω : G.Opens
AbelianVarieties.NOSProofs.Subgroups.Isotropy.defined_iff_mem
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem defined_iff_mem (γ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) :
    a.Defined γ P₀ ↔ γ.1 (fieldPoint k) ∈ Ω a P₀
AbelianVarieties.NOSProofs.Subgroups.Isotropy.γΩ

The tautological group point on the action domain of the fixed point.

Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
def γΩ : SchemeHomOver ((Ω a P₀).ι ≫ f) f
AbelianVarieties.NOSProofs.Subgroups.Isotropy.PΩ

The constant point on the action domain of the fixed point.

Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
def PΩ : SchemeHomOver ((Ω a P₀).ι ≫ f) p
AbelianVarieties.NOSProofs.Subgroups.Isotropy.pair_Ω
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem pair_Ω : pair (γΩ a P₀) (PΩ a P₀) = (Ω a P₀).ι ≫ sP P₀
AbelianVarieties.NOSProofs.Subgroups.Isotropy.defined_Ω
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem defined_Ω : a.Defined (γΩ a P₀) (PΩ a P₀)
AbelianVarieties.NOSProofs.Subgroups.Isotropy.orb

The orbit morphism of the fixed point on its action domain.

Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
def orb : ((Ω a P₀ : G.Opens) : Scheme.{u}) ⟶ P
AbelianVarieties.NOSProofs.Subgroups.Isotropy.orb_p
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem orb_p : orb a P₀ ≫ p = (Ω a P₀).ι ≫ f
AbelianVarieties.NOSProofs.Subgroups.Isotropy.kΩ

Lift a rational group point to the open locus where its action is defined.

Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
def kΩ (γ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) (hγ : a.Defined γ P₀) :
    Spec (CommRingCat.of k) ⟶ (Ω a P₀ : G.Opens)
AbelianVarieties.NOSProofs.Subgroups.Isotropy.kΩ_ι
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem kΩ_ι (γ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) (hγ : a.Defined γ P₀) :
    kΩ a P₀ γ hγ ≫ (Ω a P₀).ι = γ.1
AbelianVarieties.NOSProofs.Subgroups.Isotropy.kΩ_t
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem kΩ_t (γ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) (hγ : a.Defined γ P₀) :
    kΩ a P₀ γ hγ ≫ (Ω a P₀).ι ≫ f = 𝟙 _
AbelianVarieties.NOSProofs.Subgroups.Isotropy.act_kpt
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem act_kpt (γ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) (hγ : a.Defined γ P₀) :
    a.act γ P₀ hγ = schemeHomOverComp (kΩ a P₀ γ hγ) (kΩ_t a P₀ γ hγ)
      (a.act (γΩ a P₀) (PΩ a P₀) (defined_Ω a P₀))
AbelianVarieties.NOSProofs.Subgroups.Isotropy.act_kpt_coe
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem act_kpt_coe (γ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) (hγ : a.Defined γ P₀) :
    (a.act γ P₀ hγ).1 = kΩ a P₀ γ hγ ≫ orb a P₀
AbelianVarieties.NOSProofs.Subgroups.Isotropy.Hset

The fibre of the orbit morphism over the fixed point.

Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
def Hset : Set ↥((Ω a P₀ : G.Opens) : Scheme.{u})
AbelianVarieties.NOSProofs.Subgroups.Isotropy.isClosed_Hset
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem isClosed_Hset [IsAlgClosed k] [LocallyOfFiniteType p] : IsClosed (Hset a P₀)
AbelianVarieties.NOSProofs.Subgroups.Isotropy.mem_Hset_iff
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem mem_Hset_iff [IsAlgClosed k] [LocallyOfFiniteType p]
    (γ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) (hγ : a.Defined γ P₀) :
    kΩ a P₀ γ hγ (fieldPoint k) ∈ Hset a P₀ ↔ a.act γ P₀ hγ = P₀
AbelianVarieties.NOSProofs.Subgroups.Isotropy.Himg

The image in the group of the fixed-point fibre.

Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
def Himg : Set ↥G
AbelianVarieties.NOSProofs.Subgroups.Isotropy.mem_Himg_iff
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem mem_Himg_iff [IsAlgClosed k] [LocallyOfFiniteType p]
    (γ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) :
    γ.1 (fieldPoint k) ∈ Himg a P₀ ↔ ∃ hγ : a.Defined γ P₀, a.act γ P₀ hγ = P₀
AbelianVarieties.NOSProofs.Subgroups.Isotropy.one_mem_Himg
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem one_mem_Himg [IsAlgClosed k] [LocallyOfFiniteType p] (hu : a.UnitActs L)
    (he : a.Defined (L.one (𝟙 _)) P₀) : (L.one (𝟙 _)).1 (fieldPoint k) ∈ Himg a P₀
AbelianVarieties.NOSProofs.Subgroups.Isotropy.mul_mem_Himg
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem mul_mem_Himg [IsAlgClosed k] [LocallyOfFiniteType p] (ha : a.Assoc L)
    (x y : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f)
    (hx : x.1 (fieldPoint k) ∈ Himg a P₀)
    (hy : y.1 (fieldPoint k) ∈ Himg a P₀) :
    (L.mul (𝟙 _) x y).1 (fieldPoint k) ∈ Himg a P₀
AbelianVarieties.NOSProofs.Subgroups.Isotropy.isLocallyClosed_Himg
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem isLocallyClosed_Himg [IsAlgClosed k] [LocallyOfFiniteType p] :
    IsLocallyClosed (Himg a P₀)
AbelianVarieties.NOSProofs.Subgroups.Isotropy.Zset

The closure of the fixed-point fibre in the group.

Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
def Zset : Set ↥G
AbelianVarieties.NOSProofs.Subgroups.Isotropy.Zset_eq
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem Zset_eq [IsAlgClosed k] [LocallyOfFiniteType p] [LocallyOfFiniteType f] :
    Zset a P₀ = closure (Himg a P₀ ∩ closedPoints G)
AbelianVarieties.NOSProofs.Subgroups.Isotropy.ltrans_image_Zset
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem ltrans_image_Zset [IsAlgClosed k] [LocallyOfFiniteType p] [LocallyOfFiniteType f]
    (ha : a.Assoc L) (x : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f)
    (hx : x.1 (fieldPoint k) ∈ Himg a P₀) :
    ltrans L x '' Zset a P₀ ⊆ Zset a P₀
AbelianVarieties.NOSProofs.Subgroups.Isotropy.rtrans_image_Zset
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem rtrans_image_Zset [IsAlgClosed k] [LocallyOfFiniteType p] [LocallyOfFiniteType f]
    (ha : a.Assoc L) (y : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f)
    (hy : y.1 (fieldPoint k) ∈ Himg a P₀) :
    rtrans L y '' Zset a P₀ ⊆ Zset a P₀
AbelianVarieties.NOSProofs.Subgroups.Isotropy.mul_mem_Zset
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem mul_mem_Zset [IsAlgClosed k] [LocallyOfFiniteType p] [LocallyOfFiniteType f]
    (ha : a.Assoc L) (x y : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f)
    (hx : x.1 (fieldPoint k) ∈ Zset a P₀)
    (hy : y.1 (fieldPoint k) ∈ Zset a P₀) :
    (L.mul (𝟙 _) x y).1 (fieldPoint k) ∈ Zset a P₀
AbelianVarieties.NOSProofs.Subgroups.Isotropy.not_mem_Zset
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Isotropy
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem not_mem_Zset [IsAlgClosed k] [LocallyOfFiniteType p]
    (γ₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) (hγ₀ : a.Defined γ₀ P₀)
    (hne : a.act γ₀ P₀ hγ₀ ≠ P₀) : γ₀.1 (fieldPoint k) ∉ Zset a P₀
AbelianVarieties.NOSProofs.Subgroups.Isotropy.one_le_of_bounds
Source context 18 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Assembly
theorem one_le_of_bounds {g : ℕ} {dZ dcl dW : WithBot ℕ∞} (h0 : 0 ≤ dZ)
    (hWg : dW + 1 ≤ (g : WithBot ℕ∞)) (hcl : dcl ≤ dW) (hdim : (g : WithBot ℕ∞) ≤ dZ + dcl) :
    1 ≤ dZ
AbelianVarieties.NOSProofs.Subgroups.Isotropy.range_orb_subset
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Assembly
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem range_orb_subset (W : Set ↥P) (hst : a.Stable W)
    (hP₀ : P₀.1 (fieldPoint k) ∈ W) : Set.range (orb a P₀) ⊆ W
AbelianVarieties.NOSProofs.Subgroups.Isotropy.apply_one_eq
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Assembly
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem apply_one_eq {H : Scheme.{u}} (i : H ⟶ G) (LH : RelativeGroupLaw k (i ≫ f))
    (hhom : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t (i ≫ f)),
      NeronModelInfra.schemeHomOverComp (LH.mul t x y) (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f) =
        L.mul t (NeronModelInfra.schemeHomOverComp x (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f))
          (NeronModelInfra.schemeHomOverComp y (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f))) :
    i ((LH.one (𝟙 _)).1 (fieldPoint k)) = (L.one (𝟙 _)).1 (fieldPoint k)
AbelianVarieties.NOSProofs.Subgroups.Isotropy.main
Source context 19 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
noncomputable section
open CategoryTheory AlgebraicGeometry Topology
open CategoryTheory.Limits hiding pair
open NeronModelInfra (SchemeHomOver)
namespace Isotropy
open GoodReductionJacobian.PartialAction
open
  AbelianVarieties.NOSProofs.PartialActionLaws.GoodReductionJacobian.PartialAction.ActionLaws
  (comp_comp comp_congr pair_comp defined_comp liftDom_eq liftDom_comp act_comp act_congr
    comp_mul const const_coe comp_const const_id range_kPoint kLift kLift_ι kLift_ι_assoc
    ltrans kpt_ltrans)
open
  AbelianVarieties.NOSProofs.PartialActionTransport.GoodReductionJacobian.PartialAction.OpTransport
  (geometricallyIrreducible)
open
  AbelianVarieties.NOSProofs.ClosedSubgroups.GoodReductionJacobian.RelativeGroupLaw.ClosedSubmonoid
  (exists_clpt_eq isClosed_clpt)
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
  {P : Scheme.{u}} {p : P ⟶ Spec (CommRingCat.of k)}
section Assembly
variable (L : RelativeGroupLaw k f) (a : PartialAction k f p)
  (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
theorem main (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]
    {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k)) [IsSeparated p] [LocallyOfFiniteType p]
    (a : PartialAction k f p) (hu : a.UnitActs L) (ha : a.Assoc L)
    (W : Set ↥P) (hW : IsClosed W) (hWg : topologicalKrullDim ↥W + 1 ≤ (g : WithBot ℕ∞))
    (hst : a.Stable W) (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
    (hP₀ : P₀.1 (fieldPoint k) ∈ W) (he : a.Defined (L.one (𝟙 _)) P₀)
    (γ₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) (hγ₀ : a.Defined γ₀ P₀)
    (hne : a.act γ₀ P₀ hγ₀ ≠ P₀) :
    ∃ (H : Scheme.{u}) (i : H ⟶ G) (LH : RelativeGroupLaw k (i ≫ f)),
      IsClosedImmersion i ∧
      (∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t (i ≫ f)),
        NeronModelInfra.schemeHomOverComp (LH.mul t x y) (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f) =
          L.mul t (NeronModelInfra.schemeHomOverComp x (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f))
            (NeronModelInfra.schemeHomOverComp y (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f))) ∧
      Set.range i ≠ Set.univ ∧
      1 ≤ topologicalKrullDim
        ↥(connectedComponent ((LH.one (𝟙 (Spec (CommRingCat.of k)))).1 (fieldPoint k)))
GoodReductionJacobian.PartialAction.exists_isClosedImmersion_range_ne_univ_of_act_ne
Source context 7 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_isClosedImmersion_range_ne_univ_of_act_ne.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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_isClosedImmersion_range_ne_univ_of_act_ne
    (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]
    {P : Scheme.{u}} (p : P ⟶ Spec (CommRingCat.of k))
    [IsSeparated p] [LocallyOfFiniteType p]
    (a : PartialAction k f p) (hu : a.UnitActs L) (ha : a.Assoc L)
    (W : Set ↥P) (hW : IsClosed W) (hWg : topologicalKrullDim ↥W + 1 ≤ (g : WithBot ℕ∞))
    (hst : a.Stable W)
    (P₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) p)
    (hP₀ : P₀.1 (IsLocalRing.closedPoint k) ∈ W)
    (he : a.Defined (L.one (𝟙 (Spec (CommRingCat.of k)))) P₀)
    (γ₀ : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) (hγ₀ : a.Defined γ₀ P₀)
    (hne : a.act γ₀ P₀ hγ₀ ≠ P₀) :
    ∃ (H : Scheme.{u}) (i : H ⟶ G) (LH : RelativeGroupLaw k (i ≫ f)),
      IsClosedImmersion i ∧
      (∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t (i ≫ f)),
        NeronModelInfra.schemeHomOverComp (LH.mul t x y) (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f) =
          L.mul t (NeronModelInfra.schemeHomOverComp x (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f))
            (NeronModelInfra.schemeHomOverComp y (⟨i, rfl⟩ : SchemeHomOver (i ≫ f) f))) ∧
      Set.range i ≠ Set.univ ∧
      1 ≤ topologicalKrullDim
        ↥(connectedComponent ((LH.one (𝟙 (Spec (CommRingCat.of k)))).1 (IsLocalRing.closedPoint
          k)))
AbelianVarieties.NOSProofs.Subgroups.MonoClosedImmersion.strC

The structure morphism of the scheme-theoretic image.

Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosedImmersion_of_mono_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace MonoClosedImmersion
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
open AbelianVarieties.NOSProofs.Subgroups.ClosedImage
  (pt exists_pt_eq_of_isClosed exists_pt_mem_of_isLocallyClosed transIso transIso_hom_comp
    iUnion_image_transIso_hom_eq_univ)
section Image
variable {k : Type u} [Field k]
  {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} (L : RelativeGroupLaw k f)
  {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)} (M : RelativeGroupLaw k g)
  (φ : SchemeHomOver f g)
abbrev strC : φ.1.image ⟶ Spec (CommRingCat.of k)
AbelianVarieties.NOSProofs.Subgroups.MonoClosedImmersion.ιPt

The image inclusion as a point over the base.

Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosedImmersion_of_mono_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace MonoClosedImmersion
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
open AbelianVarieties.NOSProofs.Subgroups.ClosedImage
  (pt exists_pt_eq_of_isClosed exists_pt_mem_of_isLocallyClosed transIso transIso_hom_comp
    iUnion_image_transIso_hom_eq_univ)
section Image
variable {k : Type u} [Field k]
  {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} (L : RelativeGroupLaw k f)
  {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)} (M : RelativeGroupLaw k g)
  (φ : SchemeHomOver f g)
def ιPt : SchemeHomOver (strC φ) g
AbelianVarieties.NOSProofs.Subgroups.MonoClosedImmersion.ψPt

The factorization to the image as a point over the base.

Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosedImmersion_of_mono_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace MonoClosedImmersion
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
open AbelianVarieties.NOSProofs.Subgroups.ClosedImage
  (pt exists_pt_eq_of_isClosed exists_pt_mem_of_isLocallyClosed transIso transIso_hom_comp
    iUnion_image_transIso_hom_eq_univ)
section Image
variable {k : Type u} [Field k]
  {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} (L : RelativeGroupLaw k f)
  {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)} (M : RelativeGroupLaw k g)
  (φ : SchemeHomOver f g)
def ψPt : SchemeHomOver f (strC φ)
AbelianVarieties.NOSProofs.Subgroups.MonoClosedImmersion.ιPt_coe
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosedImmersion_of_mono_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace MonoClosedImmersion
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
open AbelianVarieties.NOSProofs.Subgroups.ClosedImage
  (pt exists_pt_eq_of_isClosed exists_pt_mem_of_isLocallyClosed transIso transIso_hom_comp
    iUnion_image_transIso_hom_eq_univ)
section Image
variable {k : Type u} [Field k]
  {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} (L : RelativeGroupLaw k f)
  {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)} (M : RelativeGroupLaw k g)
  (φ : SchemeHomOver f g)
theorem ιPt_coe : (ιPt φ).1 = φ.1.imageι
AbelianVarieties.NOSProofs.Subgroups.MonoClosedImmersion.ψPt_coe
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosedImmersion_of_mono_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace MonoClosedImmersion
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
open AbelianVarieties.NOSProofs.Subgroups.ClosedImage
  (pt exists_pt_eq_of_isClosed exists_pt_mem_of_isLocallyClosed transIso transIso_hom_comp
    iUnion_image_transIso_hom_eq_univ)
section Image
variable {k : Type u} [Field k]
  {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} (L : RelativeGroupLaw k f)
  {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)} (M : RelativeGroupLaw k g)
  (φ : SchemeHomOver f g)
theorem ψPt_coe : (ψPt φ).1 = φ.1.toImage
AbelianVarieties.NOSProofs.Subgroups.MonoClosedImmersion.comp_ψPt_ιPt
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosedImmersion_of_mono_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace MonoClosedImmersion
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
open AbelianVarieties.NOSProofs.Subgroups.ClosedImage
  (pt exists_pt_eq_of_isClosed exists_pt_mem_of_isLocallyClosed transIso transIso_hom_comp
    iUnion_image_transIso_hom_eq_univ)
section Image
variable {k : Type u} [Field k]
  {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} (L : RelativeGroupLaw k f)
  {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)} (M : RelativeGroupLaw k g)
  (φ : SchemeHomOver f g)
theorem comp_ψPt_ιPt {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} (z : SchemeHomOver t f) :
    NeronModelInfra.schemeHomOverComp (NeronModelInfra.schemeHomOverComp z (ψPt φ)) (ιPt φ) =
      NeronModelInfra.schemeHomOverComp z φ
AbelianVarieties.NOSProofs.Subgroups.MonoClosedImmersion.injective_comp_ιPt
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosedImmersion_of_mono_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace MonoClosedImmersion
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
open AbelianVarieties.NOSProofs.Subgroups.ClosedImage
  (pt exists_pt_eq_of_isClosed exists_pt_mem_of_isLocallyClosed transIso transIso_hom_comp
    iUnion_image_transIso_hom_eq_univ)
section Image
variable {k : Type u} [Field k]
  {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} (L : RelativeGroupLaw k f)
  {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)} (M : RelativeGroupLaw k g)
  (φ : SchemeHomOver f g)
theorem injective_comp_ιPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) :
    Function.Injective
      (fun z : SchemeHomOver t (strC φ) => NeronModelInfra.schemeHomOverComp z (ιPt φ)) := by
  intro a b h
  apply Subtype.ext
  exact (cancel_mono φ.1.imageι).mp (congrArg Subtype.val h)
AbelianVarieties.NOSProofs.Subgroups.MonoClosedImmersion.exists_law_image
Source context 23 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosedImmersion_of_mono_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace MonoClosedImmersion
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
open AbelianVarieties.NOSProofs.Subgroups.ClosedImage
  (pt exists_pt_eq_of_isClosed exists_pt_mem_of_isLocallyClosed transIso transIso_hom_comp
    iUnion_image_transIso_hom_eq_univ)
section Image
variable {k : Type u} [Field k]
  {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} (L : RelativeGroupLaw k f)
  {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)} (M : RelativeGroupLaw k g)
  (φ : SchemeHomOver f g)
variable
  (hφ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t f),
    NeronModelInfra.schemeHomOverComp (L.mul t x y) φ =
      M.mul t (NeronModelInfra.schemeHomOverComp x φ) (NeronModelInfra.schemeHomOverComp y φ))
include hφ in
theorem exists_law_image [QuasiCompact φ.1] :
    ∃ LC : RelativeGroupLaw k (strC φ),
      (∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t (strC φ)),
        NeronModelInfra.schemeHomOverComp (LC.mul t x y) (ιPt φ) =
          M.mul t (NeronModelInfra.schemeHomOverComp x (ιPt φ))
            (NeronModelInfra.schemeHomOverComp y (ιPt φ))) ∧
      (∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t f),
        NeronModelInfra.schemeHomOverComp (L.mul t x y) (ψPt φ) =
          LC.mul t (NeronModelInfra.schemeHomOverComp x (ψPt φ))
            (NeronModelInfra.schemeHomOverComp y (ψPt φ)))
AbelianVarieties.NOSProofs.Subgroups.MonoClosedImmersion.isReduced_image
Source context 22 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosedImmersion_of_mono_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace MonoClosedImmersion
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
open AbelianVarieties.NOSProofs.Subgroups.ClosedImage
  (pt exists_pt_eq_of_isClosed exists_pt_mem_of_isLocallyClosed transIso transIso_hom_comp
    iUnion_image_transIso_hom_eq_univ)
section Image
variable {k : Type u} [Field k]
  {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} (L : RelativeGroupLaw k f)
  {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)} (M : RelativeGroupLaw k g)
  (φ : SchemeHomOver f g)
variable
  (hφ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t f),
    NeronModelInfra.schemeHomOverComp (L.mul t x y) φ =
      M.mul t (NeronModelInfra.schemeHomOverComp x φ) (NeronModelInfra.schemeHomOverComp y φ))
theorem isReduced_image [IsReduced G] [QuasiCompact φ.1] : IsReduced φ.1.image
AbelianVarieties.NOSProofs.Subgroups.MonoClosedImmersion.isClosedImmersion
Source context 21 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosedImmersion_of_mono_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.Subgroups
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits hiding pair
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
open _root_.TopologicalSpace
open _root_.Topology
noncomputable section
namespace MonoClosedImmersion
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
open AbelianVarieties.NOSProofs.Subgroups.ClosedImage
  (pt exists_pt_eq_of_isClosed exists_pt_mem_of_isLocallyClosed transIso transIso_hom_comp
    iUnion_image_transIso_hom_eq_univ)
section Main
variable {k : Type u} [Field k] [IsAlgClosed k]
  {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} [LocallyOfFiniteType f] [QuasiCompact f]
  {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)} [LocallyOfFiniteType g] [QuasiCompact g]
theorem isClosedImmersion [IsReduced G] (L : RelativeGroupLaw k f) (M : RelativeGroupLaw k g)
    (φ : SchemeHomOver f g) [Mono φ.1]
    (hφ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t f),
      NeronModelInfra.schemeHomOverComp (L.mul t x y) φ =
        M.mul t (NeronModelInfra.schemeHomOverComp x φ)
          (NeronModelInfra.schemeHomOverComp y φ)) :
    IsClosedImmersion φ.1
GoodReductionJacobian.RelativeGroupLaw.isClosedImmersion_of_mono_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed
Source context 7 commands

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

@[expose] public section
open CategoryTheory AlgebraicGeometry NeronModelInfra
open CategoryTheory.Limits hiding pair
open GoodReductionJacobian GoodReductionJacobian.RelativeGroupLaw TopologicalSpace Topology
universe u v w
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license 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_RelativeGroupLaw_isClosedImmersion_of_mono_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source 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.RelativeGroupLaw
theorem
    isClosedImmersion_of_mono_of_forall_schemeHomOverComp_mul_eq_of_isAlgClosed
    {k : Type u} [Field k] [IsAlgClosed k]
    {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)} [LocallyOfFiniteType f] [QuasiCompact f]
    [IsReduced G] (L : RelativeGroupLaw k f)
    {H : Scheme.{u}} {g : H ⟶ Spec (CommRingCat.of k)} [LocallyOfFiniteType g] [QuasiCompact g]
    (M : RelativeGroupLaw k g)
    (φ : SchemeHomOver f g) [Mono φ.1]
    (hφ : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t f),
      NeronModelInfra.schemeHomOverComp (L.mul t x y) φ =
        M.mul t (NeronModelInfra.schemeHomOverComp x φ)
          (NeronModelInfra.schemeHomOverComp y φ)) :
    IsClosedImmersion φ.1