Module

Trace.lean

Nyll.AbelianVarieties.Geometry.Torsion.Trace
77 declarations indexed from sourceView source ↗

Galois traces and retractions onto proper subgroups

Descend the finite Galois trace of a torsor and use it to construct a retraction onto a proper commutative subgroup, up to multiplication by a positive integer.

Declarations

AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.bigProd

The finite product of points in the commutative relative group.

Source context 14 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
def bigProd (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative) {T : Scheme.{u}}
    (t : T ⟶ Spec (CommRingCat.of K)) {ι : Type*} (s : Finset ι) (F : ι → SchemeHomOver t fA) :
    SchemeHomOver t fA
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.nsmul_eq_pow
Source context 14 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
theorem nsmul_eq_pow (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative) {T : Scheme.{u}}
    (t : T ⟶ Spec (CommRingCat.of K)) (n : ℕ) (x : SchemeHomOver t fA) :
    LA.nsmul t n x = (let : CommGroup (SchemeHomOver t fA) := LA.pointCommGroup hc t; x ^ n) := by
  let : CommGroup (SchemeHomOver t fA) := LA.pointCommGroup hc t
  induction n with
  | zero => rfl
  | succ n ih => rw [LA.nsmul_succ, pow_succ, ih]; rfl
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.bigProd_natural
Source context 14 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
theorem bigProd_natural (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative) {T T' : Scheme.{u}}
    (t : T ⟶ Spec (CommRingCat.of K)) (t' : T' ⟶ Spec (CommRingCat.of K)) (ψ : T' ⟶ T)
    (hψ : ψ ≫ t = t') {ι : Type*} (s : Finset ι) (F : ι → SchemeHomOver t fA) :
    GoodReductionJacobian.schemeHomOverComp ψ hψ (bigProd LA hc t s F) =
      bigProd LA hc t' s (fun i => GoodReductionJacobian.schemeHomOverComp ψ hψ (F i)) := by
  let : CommGroup (SchemeHomOver t fA) := LA.pointCommGroup hc t
  let : CommGroup (SchemeHomOver t' fA) := LA.pointCommGroup hc t'
  let φ : SchemeHomOver t fA →* SchemeHomOver t' fA :=
    { toFun := GoodReductionJacobian.schemeHomOverComp ψ hψ
      map_one' := LA.one_natural t t' ψ hψ
      map_mul' := fun x y => LA.mul_natural t t' ψ hψ x y }
  exact map_prod φ F s
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.bigProd_mul_left
Source context 14 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
theorem bigProd_mul_left (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative) {T : Scheme.{u}}
    (t : T ⟶ Spec (CommRingCat.of K)) {ι : Type*} [Fintype ι] (a : SchemeHomOver t fA)
    (F : ι → SchemeHomOver t fA) :
    bigProd LA hc t Finset.univ (fun i => LA.mul t a (F i)) =
      LA.mul t (bigProd LA hc t Finset.univ F) (LA.nsmul t (Fintype.card ι) a) := by
  let : CommGroup (SchemeHomOver t fA) := LA.pointCommGroup hc t
  rw [nsmul_eq_pow LA hc]
  change (∏ i, a * F i) = (∏ i, F i) * a ^ (Fintype.card ι)
  rw [Finset.prod_mul_distrib, Finset.prod_const, Finset.card_univ, mul_comm]
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.bigProd_equiv
Source context 14 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
theorem bigProd_equiv (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative) {T : Scheme.{u}}
    (t : T ⟶ Spec (CommRingCat.of K)) {ι : Type*} [Fintype ι] (e : ι ≃ ι)
    (F G : ι → SchemeHomOver t fA) (h : ∀ i, F i = G (e i)) :
    bigProd LA hc t Finset.univ F = bigProd LA hc t Finset.univ G
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.bigProd_congr
Source context 14 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
theorem bigProd_congr (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative) {T : Scheme.{u}}
    (t : T ⟶ Spec (CommRingCat.of K)) {ι : Type*} (s : Finset ι)
    (F G : ι → SchemeHomOver t fA) (h : ∀ i, F i = G i) :
    bigProd LA hc t s F = bigProd LA hc t s G
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.TorsorData

A natural simply transitive action of the relative group.

Source context 14 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
structure TorsorData (LA : RelativeGroupLaw K fA) {V : Scheme.{u}}
    (g : V ⟶ Spec (CommRingCat.of K)) where
  /-- The action on points. -/
  act : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K)),
    SchemeHomOver t fA → SchemeHomOver t g → SchemeHomOver t g
  /-- Naturality under change of the test scheme. -/
  act_natural : ∀ {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (t' : T' ⟶ Spec (CommRingCat.of K)) (ψ : T' ⟶ T) (hψ : ψ ≫ t = t')
    (a : SchemeHomOver t fA) (v : SchemeHomOver t g),
    GoodReductionJacobian.schemeHomOverComp ψ hψ (act t a v) =
      act t' (GoodReductionJacobian.schemeHomOverComp ψ hψ a)
        (GoodReductionJacobian.schemeHomOverComp ψ hψ v)
  /-- Compatibility with multiplication. -/
  act_mul : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (a b : SchemeHomOver t fA) (v : SchemeHomOver t g),
    act t (LA.mul t a b) v = act t a (act t b v)
  /-- Existence and uniqueness of translating points. -/
  act_torsor : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K)) (v w : SchemeHomOver t g),
    ∃! a : SchemeHomOver t fA, act t a v = w
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.TorsorData.delta

The unique translating point carrying the second torsor point to the first.

Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
namespace TorsorData
variable {LA : RelativeGroupLaw K fA} {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)}
  (D : TorsorData LA g)
def delta {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K)) (v w : SchemeHomOver t g) :
    SchemeHomOver t fA
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.TorsorData.act_delta
Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
namespace TorsorData
variable {LA : RelativeGroupLaw K fA} {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)}
  (D : TorsorData LA g)
theorem act_delta {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K)) (v w : SchemeHomOver t g) :
    D.act t (D.delta t v w) w = v
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.TorsorData.delta_unique
Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
namespace TorsorData
variable {LA : RelativeGroupLaw K fA} {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)}
  (D : TorsorData LA g)
theorem delta_unique {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K)) (v w : SchemeHomOver t g)
    (a : SchemeHomOver t fA) (ha : D.act t a w = v) : a = D.delta t v w
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.TorsorData.delta_natural
Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
namespace TorsorData
variable {LA : RelativeGroupLaw K fA} {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)}
  (D : TorsorData LA g)
theorem delta_natural {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (t' : T' ⟶ Spec (CommRingCat.of K)) (ψ : T' ⟶ T) (hψ : ψ ≫ t = t') (v w : SchemeHomOver t g) :
    GoodReductionJacobian.schemeHomOverComp ψ hψ (D.delta t v w) =
      D.delta t' (GoodReductionJacobian.schemeHomOverComp ψ hψ v)
        (GoodReductionJacobian.schemeHomOverComp ψ hψ w)
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.TorsorData.delta_act
Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
namespace TorsorData
variable {LA : RelativeGroupLaw K fA} {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)}
  (D : TorsorData LA g)
theorem delta_act {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K)) (a : SchemeHomOver t fA)
    (v w : SchemeHomOver t g) :
    D.delta t (D.act t a v) w = LA.mul t a (D.delta t v w)
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.baseExt

The spectrum map for the base field extension.

Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Galois
variable (K' : Type u) [Field K'] [Algebra K K']
abbrev baseExt (K : Type u) [Field K] (K' : Type u) [Field K'] [Algebra K K'] :
    Spec (CommRingCat.of K') ⟶ Spec (CommRingCat.of K)
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.specAut

The spectrum automorphism induced by a field automorphism.

Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Galois
variable (K' : Type u) [Field K'] [Algebra K K']
abbrev specAut {K : Type u} [Field K] {K' : Type u} [Field K'] [Algebra K K'] (σ : K' ≃ₐ[K] K') :
    Spec (CommRingCat.of K') ⟶ Spec (CommRingCat.of K')
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.specAut_comp_baseExt
Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Galois
variable (K' : Type u) [Field K'] [Algebra K K']
theorem specAut_comp_baseExt (σ : K' ≃ₐ[K] K') : specAut σ ≫ baseExt K K' = baseExt K K'
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.specAut_mul
Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Galois
variable (K' : Type u) [Field K'] [Algebra K K']
theorem specAut_mul (σ τ : K' ≃ₐ[K] K') : specAut (τ * σ) = specAut τ ≫ specAut σ
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.conjPt

A conjugate of the chosen torsor point.

Source context 18 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Galois
variable (K' : Type u) [Field K'] [Algebra K K']
variable {K'}
variable {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)}
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
def conjPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K)) (t' : T ⟶ Spec (CommRingCat.of K'))
    (ht : t' ≫ baseExt K K' = t) (σ : K' ≃ₐ[K] K') : SchemeHomOver t g
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.conjPt_coe
Source context 18 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Galois
variable (K' : Type u) [Field K'] [Algebra K K']
variable {K'}
variable {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)}
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
theorem conjPt_coe {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K)) (t' : T ⟶ Spec
  (CommRingCat.of K'))
    (ht : t' ≫ baseExt K K' = t) (σ : K' ≃ₐ[K] K') :
    (conjPt P hP t t' ht σ).1 = t' ≫ specAut σ ≫ P
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.conjPt_natural
Source context 18 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Galois
variable (K' : Type u) [Field K'] [Algebra K K']
variable {K'}
variable {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)}
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
theorem conjPt_natural {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (t₂ : T' ⟶ Spec (CommRingCat.of K)) (ψ : T' ⟶ T) (hψ : ψ ≫ t = t₂)
    (t' : T ⟶ Spec (CommRingCat.of K')) (ht : t' ≫ baseExt K K' = t) (σ : K' ≃ₐ[K] K') :
    GoodReductionJacobian.schemeHomOverComp ψ hψ (conjPt P hP t t' ht σ) =
      conjPt P hP t₂ (ψ ≫ t') (by rw [Category.assoc, ht, hψ]) σ :=
  Subtype.ext (by
    simp only [GoodReductionJacobian.schemeHomOverComp_coe, conjPt_coe, Category.assoc])
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.conjPt_twist
Source context 18 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Galois
variable (K' : Type u) [Field K'] [Algebra K K']
variable {K'}
variable {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)}
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
theorem conjPt_twist {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (t' : T ⟶ Spec (CommRingCat.of K')) (τ : K' ≃ₐ[K] K')
    (ht : (t' ≫ specAut τ) ≫ baseExt K K' = t) (ht' : t' ≫ baseExt K K' = t) (σ : K' ≃ₐ[K] K') :
    conjPt P hP t (t' ≫ specAut τ) ht σ = conjPt P hP t t' ht' (τ * σ)
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.Psi

The product of all Galois conjugate displacement points.

Source context 19 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Galois
variable (K' : Type u) [Field K'] [Algebra K K']
variable {K'}
variable {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)}
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
variable (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative) (D : TorsorData LA g)
  [FiniteDimensional K K']
def Psi {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K)) (t' : T ⟶ Spec (CommRingCat.of K'))
    (ht : t' ≫ baseExt K K' = t) (v : SchemeHomOver t g) : SchemeHomOver t fA
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.Psi_natural
Source context 19 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Galois
variable (K' : Type u) [Field K'] [Algebra K K']
variable {K'}
variable {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)}
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
variable (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative) (D : TorsorData LA g)
  [FiniteDimensional K K']
theorem Psi_natural {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (t₂ : T' ⟶ Spec (CommRingCat.of K)) (ψ : T' ⟶ T) (hψ : ψ ≫ t = t₂)
    (t' : T ⟶ Spec (CommRingCat.of K')) (ht : t' ≫ baseExt K K' = t) (v : SchemeHomOver t g) :
    GoodReductionJacobian.schemeHomOverComp ψ hψ (Psi P hP LA hc D t t' ht v) =
      Psi P hP LA hc D t₂ (ψ ≫ t') (by rw [Category.assoc, ht, hψ])
        (GoodReductionJacobian.schemeHomOverComp ψ hψ v) := by
  unfold Psi
  rw [bigProd_natural]
  refine bigProd_congr LA hc t₂ _ _ _ fun σ => ?_
  rw [D.delta_natural, conjPt_natural]
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.Psi_congr
Source context 19 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Galois
variable (K' : Type u) [Field K'] [Algebra K K']
variable {K'}
variable {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)}
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
variable (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative) (D : TorsorData LA g)
  [FiniteDimensional K K']
theorem Psi_congr {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    {t'₁ t'₂ : T ⟶ Spec (CommRingCat.of K')} (e : t'₁ = t'₂)
    (h₁ : t'₁ ≫ baseExt K K' = t) (h₂ : t'₂ ≫ baseExt K K' = t)
    {v₁ v₂ : SchemeHomOver t g} (ev : v₁.1 = v₂.1) :
    Psi P hP LA hc D t t'₁ h₁ v₁ = Psi P hP LA hc D t t'₂ h₂ v₂
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.Psi_twist
Source context 19 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Galois
variable (K' : Type u) [Field K'] [Algebra K K']
variable {K'}
variable {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)}
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
variable (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative) (D : TorsorData LA g)
  [FiniteDimensional K K']
theorem Psi_twist {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (t' : T ⟶ Spec (CommRingCat.of K')) (τ : K' ≃ₐ[K] K')
    (ht : (t' ≫ specAut τ) ≫ baseExt K K' = t) (ht' : t' ≫ baseExt K K' = t) (v : SchemeHomOver t
      g) :
    Psi P hP LA hc D t (t' ≫ specAut τ) ht v = Psi P hP LA hc D t t' ht' v
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.Psi_act
Source context 19 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Galois
variable (K' : Type u) [Field K'] [Algebra K K']
variable {K'}
variable {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)}
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
variable (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative) (D : TorsorData LA g)
  [FiniteDimensional K K']
theorem Psi_act {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (t' : T ⟶ Spec (CommRingCat.of K')) (ht : t' ≫ baseExt K K' = t)
    (a : SchemeHomOver t fA) (v : SchemeHomOver t g) :
    Psi P hP LA hc D t t' ht (D.act t a v) =
      LA.mul t (Psi P hP LA hc D t t' ht v) (LA.nsmul t (Fintype.card (K' ≃ₐ[K] K')) a)
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.tV

The structural map of the base-changed torsor to the original field.

Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Descent
variable (K' : Type u) [Field K'] [Algebra K K'] [FiniteDimensional K K']
  (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative)
  {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)} (D : TorsorData LA g)
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
abbrev tV : pullback g (baseExt K K') ⟶ Spec (CommRingCat.of K)
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.vpt

The universal point of the torsor after field extension.

Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Descent
variable (K' : Type u) [Field K'] [Algebra K K'] [FiniteDimensional K K']
  (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative)
  {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)} (D : TorsorData LA g)
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
def vpt : SchemeHomOver (tV K' (g := g)) g
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.psiPt

The Galois trace point on the base-changed torsor.

Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Descent
variable (K' : Type u) [Field K'] [Algebra K K'] [FiniteDimensional K K']
  (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative)
  {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)} (D : TorsorData LA g)
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
def psiPt : SchemeHomOver (tV K' (g := g)) fA
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.fK

The morphism represented by the trace point after field extension.

Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Descent
variable (K' : Type u) [Field K'] [Algebra K K'] [FiniteDimensional K K']
  (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative)
  {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)} (D : TorsorData LA g)
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
def fK : pullback g (baseExt K K') ⟶ pullback fA (baseExt K K')
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.fK_fst
Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Descent
variable (K' : Type u) [Field K'] [Algebra K K'] [FiniteDimensional K K']
  (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative)
  {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)} (D : TorsorData LA g)
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
theorem fK_fst : fK K' LA hc D P hP ≫ pullback.fst fA (baseExt K K') = (psiPt K' LA hc D P hP).1
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.fK_snd
Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Descent
variable (K' : Type u) [Field K'] [Algebra K K'] [FiniteDimensional K K']
  (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative)
  {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)} (D : TorsorData LA g)
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
theorem fK_snd : fK K' LA hc D P hP ≫ pullback.snd fA (baseExt K K') = pullback.snd g (baseExt K
  K')
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.comp_psiPt
Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Descent
variable (K' : Type u) [Field K'] [Algebra K K'] [FiniteDimensional K K']
  (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative)
  {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)} (D : TorsorData LA g)
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
theorem comp_psiPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (x : T ⟶ pullback g (baseExt K K')) (hx : x ≫ tV K' = t) :
    x ≫ (psiPt K' LA hc D P hP).1 =
      (Psi P hP LA hc D t (x ≫ pullback.snd g (baseExt K K')) (by rw [Category.assoc]; exact hx)
        ⟨x ≫ pullback.fst g (baseExt K K'), by
          rw [Category.assoc, pullback.condition]; exact hx⟩).1 := by
  have h := congrArg Subtype.val
    (Psi_natural P hP LA hc D (tV K') t x hx (pullback.snd g (baseExt K K')) rfl (vpt K'))
  exact h
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.twist_comp_fK
Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Descent
variable (K' : Type u) [Field K'] [Algebra K K'] [FiniteDimensional K K']
  (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative)
  {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)} (D : TorsorData LA g)
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
theorem twist_comp_fK (σ : K' ≃ₐ[K] K') (hσ : specAut σ ≫ baseExt K K' = baseExt K K') :
    pullback.map g (baseExt K K') g (baseExt K K') (𝟙 V) (specAut σ) (𝟙 _)
        (by rw [Category.comp_id, Category.id_comp]) (by rw [Category.comp_id, hσ]) ≫ fK K' LA hc
          D P hP =
      fK K' LA hc D P hP ≫ pullback.map fA (baseExt K K') fA (baseExt K K') (𝟙 A) (specAut σ) (𝟙 _)
        (by rw [Category.comp_id, Category.id_comp]) (by rw [Category.comp_id, hσ]) := by
  apply pullback.hom_ext
  · simp only [Category.assoc, pullback.lift_fst, fK_fst, Category.comp_id]
    have hx : pullback.map g (baseExt K K') g (baseExt K K') (𝟙 V) (specAut σ) (𝟙 _)
        (by rw [Category.comp_id, Category.id_comp]) (by rw [Category.comp_id, hσ]) ≫ tV K' = tV
          K' := by
      rw [← Category.assoc, pullback.lift_snd, Category.assoc, hσ]
    rw [comp_psiPt K' LA hc D P hP (tV K') _ hx]
    have e : pullback.map g (baseExt K K') g (baseExt K K') (𝟙 V) (specAut σ) (𝟙 _)
        (by rw [Category.comp_id, Category.id_comp]) (by rw [Category.comp_id, hσ]) ≫
          pullback.snd g (baseExt K K') = pullback.snd g (baseExt K K') ≫ specAut σ :=
      pullback.lift_snd _ _ _
    have hs : (pullback.snd g (baseExt K K') ≫ specAut σ) ≫ baseExt K K' = tV K' := by
      rw [Category.assoc, hσ]
    rw [congrArg Subtype.val (Psi_congr P hP LA hc D (tV K') e _ hs (v₂ := vpt K')
      (by change _ ≫ pullback.fst g (baseExt K K') = pullback.fst g (baseExt K K')
          rw [pullback.lift_fst]; exact Category.comp_id _))]
    exact congrArg Subtype.val (Psi_twist P hP LA hc D (tV K') _ σ hs rfl (vpt K'))
  · simp only [Category.assoc, pullback.lift_snd, fK_snd, fK_snd_assoc]
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.comp_eq_Psi
Source context 16 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Descent
variable (K' : Type u) [Field K'] [Algebra K K'] [FiniteDimensional K K']
  (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative)
  {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)} (D : TorsorData LA g)
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
theorem comp_eq_Psi (φ : V ⟶ A)
    (hφ' : (psiPt K' LA hc D P hP).1 = pullback.fst g (baseExt K K') ≫ φ)
    {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K)) (t' : T ⟶ Spec (CommRingCat.of K'))
    (ht : t' ≫ baseExt K K' = t) (w : SchemeHomOver t g) :
    w.1 ≫ φ = (Psi P hP LA hc D t t' ht w).1
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.exists_descent
Source context 17 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
section Descent
variable (K' : Type u) [Field K'] [Algebra K K'] [FiniteDimensional K K']
  (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative)
  {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)} (D : TorsorData LA g)
  (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K')
variable [IsGalois K K'] [IsSeparated fA] [LocallyOfFiniteType fA]
theorem exists_descent :
    ∃ (φ : V ⟶ A), φ ≫ fA = g ∧
      (psiPt K' LA hc D P hP).1 = pullback.fst g (baseExt K K') ≫ φ
AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction.exists_hom
Source context 14 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties.NOSProofs.GaloisTorsorTrace
noncomputable section
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
namespace TorsorConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw
open _root_.GoodReductionJacobian
variable {K : Type u} [Field K] {A : Scheme.{u}} {fA : A ⟶ Spec (CommRingCat.of K)}
theorem exists_hom (K' : Type u) [Field K'] [Algebra K K'] [FiniteDimensional K K'] [IsGalois K K']
    [IsSeparated fA] [LocallyOfFiniteType fA]
    (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative)
    {V : Scheme.{u}} {g : V ⟶ Spec (CommRingCat.of K)} (D : TorsorData LA g)
    (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = baseExt K K') :
    ∃ φ : SchemeHomOver g fA,
      ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K)) (a : SchemeHomOver t fA)
        (v : SchemeHomOver t g),
        NeronModelInfra.schemeHomOverComp (D.act t a v) φ =
          LA.mul t (NeronModelInfra.schemeHomOverComp v φ)
            (LA.nsmul t (Module.finrank K K') a)
GoodReductionJacobian.RelativeGroupLaw.exists_schemeHomOverComp_act_eq_mul_nsmul_finrank_of_isGalois
Source context 6 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_act_eq_mul_nsmul_finrank_of_isGalois.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are 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 CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
open AbelianVarieties.NOSProofs.GaloisTorsorTrace
universe u
theorem exists_schemeHomOverComp_act_eq_mul_nsmul_finrank_of_isGalois
    (K : Type u) [Field K] {A : Scheme.{u}} (fA : A ⟶ Spec (CommRingCat.of K))
    [IsSeparated fA] [LocallyOfFiniteType fA]
    (LA : RelativeGroupLaw K fA) (hc : LA.IsCommutative)
    {V : Scheme.{u}} (g : V ⟶ Spec (CommRingCat.of K))
    (act : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K)),
      SchemeHomOver t fA → SchemeHomOver t g → SchemeHomOver t g)
    (act_natural : ∀ {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
      (t' : T' ⟶ Spec (CommRingCat.of K)) (ψ : T' ⟶ T) (hψ : ψ ≫ t = t')
      (a : SchemeHomOver t fA) (v : SchemeHomOver t g),
      GoodReductionJacobian.schemeHomOverComp ψ hψ (act t a v) =
        act t' (GoodReductionJacobian.schemeHomOverComp ψ hψ a)
          (GoodReductionJacobian.schemeHomOverComp ψ hψ v))
    (act_mul : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
      (a b : SchemeHomOver t fA) (v : SchemeHomOver t g),
      act t (LA.mul t a b) v = act t a (act t b v))
    (act_torsor : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K)) (v w : SchemeHomOver t g),
      ∃! a : SchemeHomOver t fA, act t a v = w)
    (K' : Type u) [Field K'] [Algebra K K'] [FiniteDimensional K K'] [IsGalois K K']
    (P : Spec (CommRingCat.of K') ⟶ V) (hP : P ≫ g = Spec.map (CommRingCat.ofHom (algebraMap K
      K'))) :
    ∃ φ : SchemeHomOver g fA,
      ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K)) (a : SchemeHomOver t fA)
        (v : SchemeHomOver t g),
        NeronModelInfra.schemeHomOverComp (act t a v) φ =
          LA.mul t (NeronModelInfra.schemeHomOverComp v φ) (LA.nsmul t (Module.finrank K K') a)
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.comp_eq_transition
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
theorem comp_eq_transition {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)}
    (x : SchemeHomOver t fX) (P : SchemeHomOver fX fY) :
    NeronModelInfra.schemeHomOverComp x P = GoodReductionJacobian.schemeHomOverComp x.1 x.2 P
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.comp_lawMul
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
theorem comp_lawMul (LY : RelativeGroupLaw k fY) {T : Scheme.{u}}
    {t : T ⟶ Spec (CommRingCat.of k)} (x : SchemeHomOver t fX) (P Q : SchemeHomOver fX fY) :
    NeronModelInfra.schemeHomOverComp x (LY.mul fX P Q) =
      LY.mul t (NeronModelInfra.schemeHomOverComp x P) (NeronModelInfra.schemeHomOverComp x Q)
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.comp_lawOne
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
theorem comp_lawOne (LY : RelativeGroupLaw k fY) {T : Scheme.{u}}
    {t : T ⟶ Spec (CommRingCat.of k)} (x : SchemeHomOver t fX) :
    NeronModelInfra.schemeHomOverComp x (LY.one fX) = LY.one t
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.comp_lawNsmul
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
theorem comp_lawNsmul (LY : RelativeGroupLaw k fY) {T : Scheme.{u}}
    {t : T ⟶ Spec (CommRingCat.of k)} (x : SchemeHomOver t fX) (n : ℕ) (P : SchemeHomOver fX fY) :
    NeronModelInfra.schemeHomOverComp x (LY.nsmul fX n P) =
      LY.nsmul t n (NeronModelInfra.schemeHomOverComp x P)
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.comp_lawInv
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
theorem comp_lawInv (LY : RelativeGroupLaw k fY) {T : Scheme.{u}}
    {t : T ⟶ Spec (CommRingCat.of k)} (x : SchemeHomOver t fX) (P : SchemeHomOver fX fY) :
    NeronModelInfra.schemeHomOverComp x (LY.inv fX P) =
      LY.inv t (NeronModelInfra.schemeHomOverComp x P)
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.IsHom

Compatibility of a relative morphism with multiplication.

Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
def IsHom (LX : RelativeGroupLaw k fX) (LY : RelativeGroupLaw k fY) (φ : SchemeHomOver fX fY) :
    Prop
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.IsHom.one
Source context 18 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
namespace IsHom
variable {LX : RelativeGroupLaw k fX} {LY : RelativeGroupLaw k fY} {LZ : RelativeGroupLaw k fZ}
theorem one {φ : SchemeHomOver fX fY} (h : IsHom LX LY φ) {T : Scheme.{u}}
    (t : T ⟶ Spec (CommRingCat.of k)) :
    NeronModelInfra.schemeHomOverComp (LX.one t) φ = LY.one t
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.IsHom.inv
Source context 18 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
namespace IsHom
variable {LX : RelativeGroupLaw k fX} {LY : RelativeGroupLaw k fY} {LZ : RelativeGroupLaw k fZ}
theorem inv {φ : SchemeHomOver fX fY} (h : IsHom LX LY φ) {T : Scheme.{u}}
    (t : T ⟶ Spec (CommRingCat.of k)) (x : SchemeHomOver t fX) :
    NeronModelInfra.schemeHomOverComp (LX.inv t x) φ =
      LY.inv t (NeronModelInfra.schemeHomOverComp x φ)
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.IsHom.nsmul
Source context 18 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
namespace IsHom
variable {LX : RelativeGroupLaw k fX} {LY : RelativeGroupLaw k fY} {LZ : RelativeGroupLaw k fZ}
theorem nsmul {φ : SchemeHomOver fX fY} (h : IsHom LX LY φ) {T : Scheme.{u}}
    (t : T ⟶ Spec (CommRingCat.of k)) (n : ℕ) (x : SchemeHomOver t fX) :
    NeronModelInfra.schemeHomOverComp (LX.nsmul t n x) φ =
      LY.nsmul t n (NeronModelInfra.schemeHomOverComp x φ)
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.IsHom.comp
Source context 18 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
namespace IsHom
variable {LX : RelativeGroupLaw k fX} {LY : RelativeGroupLaw k fY} {LZ : RelativeGroupLaw k fZ}
theorem comp {φ : SchemeHomOver fX fY} {ψ : SchemeHomOver fY fZ} (h₁ : IsHom LX LY φ)
    (h₂ : IsHom LY LZ ψ) : IsHom LX LZ (NeronModelInfra.schemeHomOverComp φ ψ)
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.eq_of_comp_mono_eq
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
theorem eq_of_comp_mono_eq (φ : SchemeHomOver fX fY) [Mono φ.1] {T : Scheme.{u}}
    {t : T ⟶ Spec (CommRingCat.of k)} {x y : SchemeHomOver t fX}
    (hxy : NeronModelInfra.schemeHomOverComp x φ = NeronModelInfra.schemeHomOverComp y φ) :
    x = y
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.isCommutative_of_isHom_mono
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
theorem isCommutative_of_isHom_mono {LX : RelativeGroupLaw k fX} {LY : RelativeGroupLaw k fY}
    (hc : LY.IsCommutative) (φ : SchemeHomOver fX fY) [Mono φ.1] (h : IsHom LX LY φ) :
    LX.IsCommutative
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.castLaw

Transport of a relative group law along equality of structure morphisms.

Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
def castLaw {f₁ f₂ : X ⟶ Spec (CommRingCat.of k)} (e : f₁ = f₂) (L : RelativeGroupLaw k f₁) :
    RelativeGroupLaw k f₂
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.castLaw_mul_val
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
theorem castLaw_mul_val {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.RosenlichtRetractions.RetractionConstruction.castLaw_isCommutative
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
theorem castLaw_isCommutative {f₁ f₂ : X ⟶ Spec (CommRingCat.of k)} (e : f₁ = f₂)
    (L : RelativeGroupLaw k f₁) (hc : L.IsCommutative) : (castLaw e L).IsCommutative
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.castLaw_isHom
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Calculus
variable {k : Type u} [Field k] {X Y Z : Scheme.{u}}
  {fX : X ⟶ Spec (CommRingCat.of k)} {fY : Y ⟶ Spec (CommRingCat.of k)}
  {fZ : Z ⟶ Spec (CommRingCat.of k)}
open AbelianVarieties.NOSProofs.GaloisTorsorTrace.TorsorConstruction (nsmul_eq_pow)
theorem castLaw_isHom {f₁ f₂ : X ⟶ Spec (CommRingCat.of k)} (e : f₁ = f₂)
    (L : RelativeGroupLaw k f₁) (LY : RelativeGroupLaw k fY) (φ : SchemeHomOver f₁ fY)
    (h : IsHom L LY φ) : IsHom (castLaw e L) LY ⟨φ.1, by rw [φ.2, e]⟩ := by
  subst e
  exact h
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.idPt

The universal point given by the identity morphism.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Points
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
abbrev idPt (f : G ⟶ Spec (CommRingCat.of k)) : SchemeHomOver f f
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.constPt

The constant point associated with a rational section.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Points
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
def constPt {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k))
    (s : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) : SchemeHomOver t f
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.constPt_coe
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Points
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
theorem constPt_coe {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k))
    (s : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) : (constPt t s).1 = t ≫ s.1
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.comp_constPt
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Points
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
theorem comp_constPt {H : Scheme.{u}} {fH : H ⟶ Spec (CommRingCat.of k)} {T : Scheme.{u}}
    {t : T ⟶ Spec (CommRingCat.of k)} (x : SchemeHomOver t f)
    (s : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) fH) :
    NeronModelInfra.schemeHomOverComp x (constPt f s) = constPt t s
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.constPt_id
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Points
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
theorem constPt_id (s : SchemeHomOver (𝟙 (Spec (CommRingCat.of k))) f) :
    constPt (𝟙 (Spec (CommRingCat.of k))) s = s
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.comp_idPt
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Points
variable {k : Type u} [Field k] {G : Scheme.{u}} {f : G ⟶ Spec (CommRingCat.of k)}
theorem comp_idPt {T : Scheme.{u}} {t : T ⟶ Spec (CommRingCat.of k)} (x : SchemeHomOver t f) :
    NeronModelInfra.schemeHomOverComp x (idPt f) = x
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.isIso_specMap_residue_genericPoint
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Generic
theorem isIso_specMap_residue_genericPoint (X : Scheme.{u}) [IsIntegral X] :
    IsIso (Spec.map (X.residue (genericPoint X)))
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.isDominant_asFiberHom_genericPoint
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Generic
theorem isDominant_asFiberHom_genericPoint {X Y : Scheme.{u}} [IrreducibleSpace X] (q : X ⟶ Y) :
    IsDominant (q.asFiberHom (genericPoint X))
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.flat_and_surjective_of_field
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Generic
theorem flat_and_surjective_of_field {K k : Type u} [Field K] [Field k]
    (σ : Spec (CommRingCat.of K) ⟶ Spec (CommRingCat.of k)) : Flat σ ∧ Surjective σ
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.toG

A point of a fibre of the quotient, viewed as a point of the original group.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section FibreTorsor
variable {k : Type u} [Field k] {K : Type u} [Field K] {G A Q : Scheme.{u}}
  {f : G ⟶ Spec (CommRingCat.of k)} {fA : A ⟶ Spec (CommRingCat.of k)}
  {fQ : Q ⟶ Spec (CommRingCat.of k)}
def toG (q : SchemeHomOver f fQ) (ιη : Spec (CommRingCat.of K) ⟶ Q) {T : Scheme.{u}}
    {t : T ⟶ Spec (CommRingCat.of K)} (v : SchemeHomOver t (pullback.snd q.1 ιη)) :
    SchemeHomOver (t ≫ ιη ≫ fQ) f
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.toG_coe
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section FibreTorsor
variable {k : Type u} [Field k] {K : Type u} [Field K] {G A Q : Scheme.{u}}
  {f : G ⟶ Spec (CommRingCat.of k)} {fA : A ⟶ Spec (CommRingCat.of k)}
  {fQ : Q ⟶ Spec (CommRingCat.of k)}
theorem toG_coe (q : SchemeHomOver f fQ) (ιη : Spec (CommRingCat.of K) ⟶ Q) {T : Scheme.{u}}
    {t : T ⟶ Spec (CommRingCat.of K)} (v : SchemeHomOver t (pullback.snd q.1 ιη)) :
    (toG q ιη v).1 = v.1 ≫ pullback.fst q.1 ιη
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.toG_injective
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section FibreTorsor
variable {k : Type u} [Field k] {K : Type u} [Field K] {G A Q : Scheme.{u}}
  {f : G ⟶ Spec (CommRingCat.of k)} {fA : A ⟶ Spec (CommRingCat.of k)}
  {fQ : Q ⟶ Spec (CommRingCat.of k)}
theorem toG_injective (q : SchemeHomOver f fQ) (ιη : Spec (CommRingCat.of K) ⟶ Q) {T : Scheme.{u}}
    {t : T ⟶ Spec (CommRingCat.of K)} {v w : SchemeHomOver t (pullback.snd q.1 ιη)}
    (h : toG q ιη v = toG q ιη w) : v = w
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.comp_toG_q
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section FibreTorsor
variable {k : Type u} [Field k] {K : Type u} [Field K] {G A Q : Scheme.{u}}
  {f : G ⟶ Spec (CommRingCat.of k)} {fA : A ⟶ Spec (CommRingCat.of k)}
  {fQ : Q ⟶ Spec (CommRingCat.of k)}
theorem comp_toG_q (q : SchemeHomOver f fQ) (ιη : Spec (CommRingCat.of K) ⟶ Q) {T : Scheme.{u}}
    {t : T ⟶ Spec (CommRingCat.of K)} (v : SchemeHomOver t (pullback.snd q.1 ιη)) :
    (NeronModelInfra.schemeHomOverComp (toG q ιη v) q).1 = t ≫ ιη
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.toG_transition
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section FibreTorsor
variable {k : Type u} [Field k] {K : Type u} [Field K] {G A Q : Scheme.{u}}
  {f : G ⟶ Spec (CommRingCat.of k)} {fA : A ⟶ Spec (CommRingCat.of k)}
  {fQ : Q ⟶ Spec (CommRingCat.of k)}
theorem toG_transition (q : SchemeHomOver f fQ) (ιη : Spec (CommRingCat.of K) ⟶ Q) {T T' :
  Scheme.{u}}
    {t : T ⟶ Spec (CommRingCat.of K)} {t' : T' ⟶ Spec (CommRingCat.of K)} (ψ : T' ⟶ T)
    (hψ : ψ ≫ t = t') (v : SchemeHomOver t (pullback.snd q.1 ιη)) :
    toG q ιη (GoodReductionJacobian.schemeHomOverComp ψ hψ v) =
      GoodReductionJacobian.schemeHomOverComp ψ (by rw [← Category.assoc, hψ]) (toG q ιη v) :=
  Subtype.ext (Category.assoc _ _ _)
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.actG

Translation in the ambient group.

Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section FibreTorsor
variable {k : Type u} [Field k] {K : Type u} [Field K] {G A Q : Scheme.{u}}
  {f : G ⟶ Spec (CommRingCat.of k)} {fA : A ⟶ Spec (CommRingCat.of k)}
  {fQ : Q ⟶ Spec (CommRingCat.of k)}
def actG (L : RelativeGroupLaw k f) (jG : SchemeHomOver fA f) (q : SchemeHomOver f fQ)
    (ιη : Spec (CommRingCat.of K) ⟶ Q) {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (a : SchemeHomOver t (RelativeGroupLaw.baseChangeStr (ιη ≫ fQ) fA))
    (v : SchemeHomOver t (pullback.snd q.1 ιη)) : SchemeHomOver (t ≫ ιη ≫ fQ) f
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.actG_comp_q
Source context 17 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section FibreTorsor
variable {k : Type u} [Field k] {K : Type u} [Field K] {G A Q : Scheme.{u}}
  {f : G ⟶ Spec (CommRingCat.of k)} {fA : A ⟶ Spec (CommRingCat.of k)}
  {fQ : Q ⟶ Spec (CommRingCat.of k)}
variable (L : RelativeGroupLaw k f) (LA : RelativeGroupLaw k fA) (LQ : RelativeGroupLaw k fQ)
  (jG : SchemeHomOver fA f) (q : SchemeHomOver f fQ) (ιη : Spec (CommRingCat.of K) ⟶ Q)
  (hqker : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x : SchemeHomOver t f),
    NeronModelInfra.schemeHomOverComp x q = LQ.one t ↔
      ∃ z : SchemeHomOver t fA, NeronModelInfra.schemeHomOverComp z jG = x)
  (hq : IsHom L LQ q)
include hqker hq in
theorem actG_comp_q {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (a : SchemeHomOver t (RelativeGroupLaw.baseChangeStr (ιη ≫ fQ) fA))
    (v : SchemeHomOver t (pullback.snd q.1 ιη)) :
    (actG L jG q ιη t a v).1 ≫ q.1 = t ≫ ιη
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.act

Translation on the generic fiber of the quotient.

Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section FibreTorsor
variable {k : Type u} [Field k] {K : Type u} [Field K] {G A Q : Scheme.{u}}
  {f : G ⟶ Spec (CommRingCat.of k)} {fA : A ⟶ Spec (CommRingCat.of k)}
  {fQ : Q ⟶ Spec (CommRingCat.of k)}
variable (L : RelativeGroupLaw k f) (LA : RelativeGroupLaw k fA) (LQ : RelativeGroupLaw k fQ)
  (jG : SchemeHomOver fA f) (q : SchemeHomOver f fQ) (ιη : Spec (CommRingCat.of K) ⟶ Q)
  (hqker : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x : SchemeHomOver t f),
    NeronModelInfra.schemeHomOverComp x q = LQ.one t ↔
      ∃ z : SchemeHomOver t fA, NeronModelInfra.schemeHomOverComp z jG = x)
  (hq : IsHom L LQ q)
def act {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (a : SchemeHomOver t (RelativeGroupLaw.baseChangeStr (ιη ≫ fQ) fA))
    (v : SchemeHomOver t (pullback.snd q.1 ιη)) : SchemeHomOver t (pullback.snd q.1 ιη)
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.toG_act
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section FibreTorsor
variable {k : Type u} [Field k] {K : Type u} [Field K] {G A Q : Scheme.{u}}
  {f : G ⟶ Spec (CommRingCat.of k)} {fA : A ⟶ Spec (CommRingCat.of k)}
  {fQ : Q ⟶ Spec (CommRingCat.of k)}
variable (L : RelativeGroupLaw k f) (LA : RelativeGroupLaw k fA) (LQ : RelativeGroupLaw k fQ)
  (jG : SchemeHomOver fA f) (q : SchemeHomOver f fQ) (ιη : Spec (CommRingCat.of K) ⟶ Q)
  (hqker : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x : SchemeHomOver t f),
    NeronModelInfra.schemeHomOverComp x q = LQ.one t ↔
      ∃ z : SchemeHomOver t fA, NeronModelInfra.schemeHomOverComp z jG = x)
  (hq : IsHom L LQ q)
theorem toG_act {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (a : SchemeHomOver t (RelativeGroupLaw.baseChangeStr (ιη ≫ fQ) fA))
    (v : SchemeHomOver t (pullback.snd q.1 ιη)) :
    toG q ιη (act L LQ jG q ιη hqker hq t a v) = actG L jG q ιη t a v
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.act_natural
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section FibreTorsor
variable {k : Type u} [Field k] {K : Type u} [Field K] {G A Q : Scheme.{u}}
  {f : G ⟶ Spec (CommRingCat.of k)} {fA : A ⟶ Spec (CommRingCat.of k)}
  {fQ : Q ⟶ Spec (CommRingCat.of k)}
variable (L : RelativeGroupLaw k f) (LA : RelativeGroupLaw k fA) (LQ : RelativeGroupLaw k fQ)
  (jG : SchemeHomOver fA f) (q : SchemeHomOver f fQ) (ιη : Spec (CommRingCat.of K) ⟶ Q)
  (hqker : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x : SchemeHomOver t f),
    NeronModelInfra.schemeHomOverComp x q = LQ.one t ↔
      ∃ z : SchemeHomOver t fA, NeronModelInfra.schemeHomOverComp z jG = x)
  (hq : IsHom L LQ q)
theorem act_natural {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (t' : T' ⟶ Spec (CommRingCat.of K)) (ψ : T' ⟶ T) (hψ : ψ ≫ t = t')
    (a : SchemeHomOver t (RelativeGroupLaw.baseChangeStr (ιη ≫ fQ) fA))
    (v : SchemeHomOver t (pullback.snd q.1 ιη)) :
    GoodReductionJacobian.schemeHomOverComp ψ hψ (act L LQ jG q ιη hqker hq t a v) =
      act L LQ jG q ιη hqker hq t' (GoodReductionJacobian.schemeHomOverComp ψ hψ a)
        (GoodReductionJacobian.schemeHomOverComp ψ hψ v)
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.act_mul
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section FibreTorsor
variable {k : Type u} [Field k] {K : Type u} [Field K] {G A Q : Scheme.{u}}
  {f : G ⟶ Spec (CommRingCat.of k)} {fA : A ⟶ Spec (CommRingCat.of k)}
  {fQ : Q ⟶ Spec (CommRingCat.of k)}
variable (L : RelativeGroupLaw k f) (LA : RelativeGroupLaw k fA) (LQ : RelativeGroupLaw k fQ)
  (jG : SchemeHomOver fA f) (q : SchemeHomOver f fQ) (ιη : Spec (CommRingCat.of K) ⟶ Q)
  (hqker : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x : SchemeHomOver t f),
    NeronModelInfra.schemeHomOverComp x q = LQ.one t ↔
      ∃ z : SchemeHomOver t fA, NeronModelInfra.schemeHomOverComp z jG = x)
  (hq : IsHom L LQ q)
theorem act_mul (hj : IsHom LA L jG) {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (a b : SchemeHomOver t (RelativeGroupLaw.baseChangeStr (ιη ≫ fQ) fA))
    (v : SchemeHomOver t (pullback.snd q.1 ιη)) :
    act L LQ jG q ιη hqker hq t ((LA.baseChange (ιη ≫ fQ)).mul t a b) v =
      act L LQ jG q ιη hqker hq t a (act L LQ jG q ιη hqker hq t b v)
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.act_torsor
Source context 16 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section FibreTorsor
variable {k : Type u} [Field k] {K : Type u} [Field K] {G A Q : Scheme.{u}}
  {f : G ⟶ Spec (CommRingCat.of k)} {fA : A ⟶ Spec (CommRingCat.of k)}
  {fQ : Q ⟶ Spec (CommRingCat.of k)}
variable (L : RelativeGroupLaw k f) (LA : RelativeGroupLaw k fA) (LQ : RelativeGroupLaw k fQ)
  (jG : SchemeHomOver fA f) (q : SchemeHomOver f fQ) (ιη : Spec (CommRingCat.of K) ⟶ Q)
  (hqker : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x : SchemeHomOver t f),
    NeronModelInfra.schemeHomOverComp x q = LQ.one t ↔
      ∃ z : SchemeHomOver t fA, NeronModelInfra.schemeHomOverComp z jG = x)
  (hq : IsHom L LQ q)
theorem act_torsor [Mono jG.1] {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of K))
    (v w : SchemeHomOver t (pullback.snd q.1 ιη)) :
    ∃! a : SchemeHomOver t (RelativeGroupLaw.baseChangeStr (ιη ≫ fQ) fA),
      act L LQ jG q ιη hqker hq t a v = w
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.baseChangePointToBase_nsmul
Source context 15 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section BaseChangeNsmul
variable {R : Type u} [CommRing R] {R' : Type u} [CommRing R']
  (ι : Spec (CommRingCat.of R') ⟶ Spec (CommRingCat.of R))
  {A : Scheme.{u}} {f : A ⟶ Spec (CommRingCat.of R)}
theorem baseChangePointToBase_nsmul (G : RelativeGroupLaw R f) {T : Scheme.{u}}
    (t' : T ⟶ Spec (CommRingCat.of R')) (n : ℕ)
    (x : SchemeHomOver t' (RelativeGroupLaw.baseChangeStr ι f)) :
    RelativeGroupLaw.baseChangePointToBase ι ((G.baseChange ι).nsmul t' n x) =
      G.nsmul (t' ≫ ι) n (RelativeGroupLaw.baseChangePointToBase ι x)
AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction.exists_retraction
Source context 14 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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.RosenlichtRetractions
noncomputable section
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.NeronModelInfra
open _root_.GoodReductionJacobian
universe u
namespace RetractionConstruction
open _root_.GoodReductionJacobian.RelativeGroupLaw hiding action
open _root_.GoodReductionJacobian
section Main
theorem exists_retraction (k : Type u) [Field k] [IsAlgClosed k] {G : Scheme.{u}}
    (f : G ⟶ Spec (CommRingCat.of k))
    [IsSeparated f] [QuasiCompact f] [Smooth f] [ConnectedSpace G]
    (L : RelativeGroupLaw k f) (hc : L.IsCommutative)
    {A : Scheme.{u}} (j : A ⟶ G) [IsClosedImmersion j] [ConnectedSpace A] [IsProper (j ≫ f)]
    [Smooth (j ≫ f)] (LA : RelativeGroupLaw k (j ≫ f)) (hj : IsHom LA L ⟨j, rfl⟩) :
    ∃ (n : ℕ) (π : SchemeHomOver f (j ≫ f)), 0 < n ∧ IsHom L LA π ∧
      ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x : SchemeHomOver t (j ≫ f)),
        NeronModelInfra.schemeHomOverComp
            (NeronModelInfra.schemeHomOverComp x (⟨j, rfl⟩ : SchemeHomOver (j ≫ f) f)) π =
          LA.nsmul t n x
GoodReductionJacobian.RelativeGroupLaw.exists_retraction_up_to_nsmul_of_proper_subgroup
Source context 6 commands

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

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_GoodReductionJacobian_RelativeGroupLaw_exists_schemeHomOverComp_schemeHomOverComp_eq_nsmul_of_isProper_of_isCommutative_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
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry NeronModelInfra
open AbelianVarieties.NOSProofs.RosenlichtRetractions.RetractionConstruction
universe u
theorem exists_retraction_up_to_nsmul_of_proper_subgroup
    (k : Type u) [Field k] [IsAlgClosed k] {G : Scheme.{u}} (f : G ⟶ Spec (CommRingCat.of k))
    [IsSeparated f] [QuasiCompact f] [Smooth f] [ConnectedSpace G]
    (L : RelativeGroupLaw k f) (hc : L.IsCommutative)
    {A : Scheme.{u}} (j : A ⟶ G) [IsClosedImmersion j] [ConnectedSpace A] [IsProper (j ≫ f)]
    [Smooth (j ≫ f)] (LA : RelativeGroupLaw k (j ≫ f))
    (hj : ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t (j ≫ f)),
      NeronModelInfra.schemeHomOverComp (LA.mul t x y) (⟨j, rfl⟩ : SchemeHomOver (j ≫ f) f) =
        L.mul t (NeronModelInfra.schemeHomOverComp x (⟨j, rfl⟩ : SchemeHomOver (j ≫ f) f))
          (NeronModelInfra.schemeHomOverComp y (⟨j, rfl⟩ : SchemeHomOver (j ≫ f) f))) :
    ∃ (n : ℕ) (π : SchemeHomOver f (j ≫ f)), 0 < n ∧
      (∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x y : SchemeHomOver t f),
        NeronModelInfra.schemeHomOverComp (L.mul t x y) π =
          LA.mul t (NeronModelInfra.schemeHomOverComp x π)
            (NeronModelInfra.schemeHomOverComp y π)) ∧
      ∀ {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x : SchemeHomOver t (j ≫ f)),
        NeronModelInfra.schemeHomOverComp
            (NeronModelInfra.schemeHomOverComp x (⟨j, rfl⟩ : SchemeHomOver (j ≫ f) f)) π =
          LA.nsmul t n x