Module

SectionRigidity.lean

Nyll.SchemeTheory.Morphisms.SectionRigidity
12 declarations indexed from sourceView source ↗

Rigidity of scheme morphisms

Equality of morphisms detected by an unramified diagonal, a generic stalk, or local test schemes.

Imports5
  • Mathlib.AlgebraicGeometry.AlgClosed.Basic
  • Mathlib.AlgebraicGeometry.IdealSheaf.Subscheme
  • Mathlib.AlgebraicGeometry.Morphisms.FormallyUnramified
  • Mathlib.AlgebraicGeometry.Morphisms.Separated
  • Mathlib.AlgebraicGeometry.Stalk
Imported by4

Declarations

AbelianVarieties.NOSProofs.Reduction_Support_Schemes_EqOfCompEqOfFormallyUnramifiedOfPreconnectedSpace.P2mUnramifiedRigidity.isOpen_range_diagonal
Source context 9 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_Schemes_EqOfCompEqOfFormallyUnramifiedOfPreconnectedSpace
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace P2mUnramifiedRigidity
variable {X Y : Scheme.{u}} (g : X ⟶ Y)
theorem isOpen_range_diagonal [FormallyUnramified g] [LocallyOfFiniteType g] :
    IsOpen (Set.range (pullback.diagonal g).base)
AbelianVarieties.NOSProofs.Reduction_Support_Schemes_EqOfCompEqOfFormallyUnramifiedOfPreconnectedSpace.P2mUnramifiedRigidity.isClosed_range_diagonal
Source context 9 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_Schemes_EqOfCompEqOfFormallyUnramifiedOfPreconnectedSpace
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace P2mUnramifiedRigidity
variable {X Y : Scheme.{u}} (g : X ⟶ Y)
theorem isClosed_range_diagonal [IsSeparated g] :
    IsClosed (Set.range (pullback.diagonal g).base)
AbelianVarieties.NOSProofs.Reduction_Support_Schemes_EqOfCompEqOfFormallyUnramifiedOfPreconnectedSpace.P2mUnramifiedRigidity.comp_lift_eq_comp_diagonal
Source context 10 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_Schemes_EqOfCompEqOfFormallyUnramifiedOfPreconnectedSpace
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace P2mUnramifiedRigidity
variable {X Y : Scheme.{u}} (g : X ⟶ Y)
variable {g}
theorem comp_lift_eq_comp_diagonal {T Z : Scheme.{u}} (u₁ u₂ : T ⟶ X) (hg : u₁ ≫ g = u₂ ≫ g)
    (p : Z ⟶ T) (hp : p ≫ u₁ = p ≫ u₂) :
    p ≫ pullback.lift u₁ u₂ hg = (p ≫ u₁) ≫ pullback.diagonal g
AbelianVarieties.NOSProofs.Reduction_Support_Schemes_EqOfCompEqOfFormallyUnramifiedOfPreconnectedSpace.P2mUnramifiedRigidity.eq_of_comp_eq
Source context 10 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_Schemes_EqOfCompEqOfFormallyUnramifiedOfPreconnectedSpace
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace P2mUnramifiedRigidity
variable {X Y : Scheme.{u}} (g : X ⟶ Y)
variable {g}
theorem eq_of_comp_eq {T Z : Scheme.{u}} [FormallyUnramified g] [LocallyOfFiniteType g]
    [IsSeparated g] [PreconnectedSpace T]
    (u₁ u₂ : T ⟶ X) (hg : u₁ ≫ g = u₂ ≫ g)
    (p : Z ⟶ T) [Nonempty Z] (hp : p ≫ u₁ = p ≫ u₂) : u₁ = u₂
AlgebraicGeometry.eq_of_comp_eq_of_formallyUnramified_of_preconnectedSpace
Source context 7 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_Schemes_EqOfCompEqOfFormallyUnramifiedOfPreconnectedSpace
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
theorem _root_.AlgebraicGeometry.eq_of_comp_eq_of_formallyUnramified_of_preconnectedSpace
    {X Y T Z : Scheme.{u}} (g : X ⟶ Y) [FormallyUnramified g] [LocallyOfFiniteType g]
    [IsSeparated g] [PreconnectedSpace T]
    (u₁ u₂ : T ⟶ X) (hg : u₁ ≫ g = u₂ ≫ g)
    (p : Z ⟶ T) [Nonempty Z] (hp : p ≫ u₁ = p ≫ u₂) :
    u₁ = u₂
AlgebraicGeometry.Scheme.Hom.eq_of_fromSpecStalk_genericPoint_comp_eq
Source context 7 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_Schemes_SchemeHomEqOfFromSpecStalkGenericPointCompEq
universe u
open CategoryTheory CategoryTheory.Limits TopologicalSpace AlgebraicGeometry Opposite
theorem _root_.AlgebraicGeometry.Scheme.Hom.eq_of_fromSpecStalk_genericPoint_comp_eq
    {U H S : Scheme.{u}} [IsIntegral U] (sU : U ⟶ S) (sH : H ⟶ S) [IsSeparated sH]
    (f g : U ⟶ H) (hf : f ≫ sH = sU) (hg : g ≫ sH = sU)
    (h : U.fromSpecStalk (genericPoint U) ≫ f = U.fromSpecStalk (genericPoint U) ≫ g) :
    f = g
AbelianVarieties.NOSProofs.Reduction_Support_Schemes_EqCompOfForallAppTopEqZeroOfForallSubsingleton.AlgebraicGeometry.ArtinianPointsDetect.app_res_top
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_AlgebraicGeometry_eq_comp_of_forall_appTop_eq_zero_of_forall_subsingleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_Schemes_EqCompOfForallAppTopEqZeroOfForallSubsingleton
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open Topology TopologicalSpace
universe u
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace ArtinianPointsDetect
open _root_.AlgebraicGeometry
section Sections
variable {X Y : Scheme.{u}}
theorem app_res_top (f : X ⟶ Y) (U : Y.Opens) (s : Γ(Y, ⊤)) :
    (f.app U).hom ((Y.presheaf.map (homOfLE (le_top (a := U))).op).hom s) =
      (X.presheaf.map (homOfLE (le_top (a := f ⁻¹ᵁ U))).op).hom (f.appTop.hom s)
AbelianVarieties.NOSProofs.Reduction_Support_Schemes_EqCompOfForallAppTopEqZeroOfForallSubsingleton.AlgebraicGeometry.ArtinianPointsDetect.appTop_eq_zero_of_forall_app
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_AlgebraicGeometry_eq_comp_of_forall_appTop_eq_zero_of_forall_subsingleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_Schemes_EqCompOfForallAppTopEqZeroOfForallSubsingleton
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open Topology TopologicalSpace
universe u
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace ArtinianPointsDetect
open _root_.AlgebraicGeometry
section Sections
variable {X Y : Scheme.{u}}
theorem appTop_eq_zero_of_forall_app (f : X ⟶ Y) (s : Γ(Y, ⊤))
    (h : ∀ U : Y.affineOpens,
      (f.app U.1).hom ((Y.presheaf.map (homOfLE (le_top (a := U.1))).op).hom s) = 0) :
    f.appTop.hom s = 0
AbelianVarieties.NOSProofs.Reduction_Support_Schemes_EqCompOfForallAppTopEqZeroOfForallSubsingleton.AlgebraicGeometry.ArtinianPointsDetect.ofIdealTop_le_ker
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_AlgebraicGeometry_eq_comp_of_forall_appTop_eq_zero_of_forall_subsingleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_Schemes_EqCompOfForallAppTopEqZeroOfForallSubsingleton
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open Topology TopologicalSpace
universe u
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace ArtinianPointsDetect
open _root_.AlgebraicGeometry
section Sections
variable {X Y : Scheme.{u}}
theorem ofIdealTop_le_ker (f : X ⟶ Y) (S : Set Γ(Y, ⊤)) (hS : ∀ s ∈ S, f.appTop.hom s = 0) :
    Scheme.IdealSheafData.ofIdealTop (Ideal.span S) ≤ f.ker
AbelianVarieties.NOSProofs.Reduction_Support_Schemes_EqCompOfForallAppTopEqZeroOfForallSubsingleton.AlgebraicGeometry.ArtinianPointsDetect.subschemeι_appTop_eq_zero
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_AlgebraicGeometry_eq_comp_of_forall_appTop_eq_zero_of_forall_subsingleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_Schemes_EqCompOfForallAppTopEqZeroOfForallSubsingleton
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open Topology TopologicalSpace
universe u
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace ArtinianPointsDetect
open _root_.AlgebraicGeometry
section Sections
variable {X Y : Scheme.{u}}
theorem subschemeι_appTop_eq_zero (S : Set Γ(Y, ⊤)) (s : Γ(Y, ⊤)) (hs : s ∈ S) :
    (Scheme.IdealSheafData.ofIdealTop (Ideal.span S)).subschemeι.appTop.hom s = 0
AbelianVarieties.NOSProofs.Reduction_Support_Schemes_EqCompOfForallAppTopEqZeroOfForallSubsingleton.AlgebraicGeometry.ArtinianPointsDetect.main
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_AlgebraicGeometry_eq_comp_of_forall_appTop_eq_zero_of_forall_subsingleton.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_Schemes_EqCompOfForallAppTopEqZeroOfForallSubsingleton
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open Topology TopologicalSpace
universe u
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace ArtinianPointsDetect
open _root_.AlgebraicGeometry
section Main
theorem main
    (k : Type u) [Field k] [IsAlgClosed k] {Z : Scheme.{u}} (q : Z ⟶ Spec (CommRingCat.of k))
    [LocallyOfFiniteType q] (S : Set Γ(Z, ⊤))
    (e : Spec (CommRingCat.of k) ⟶ Z)
    (hart : ∀ {T : Scheme.{u}} [Subsingleton ↥T] (t : T ⟶ Spec (CommRingCat.of k))
      [LocallyOfFiniteType t] (x : T ⟶ Z), x ≫ q = t → (∀ s ∈ S, x.appTop.hom s = 0) → x = t ≫ e)
    {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x : T ⟶ Z) (hx : x ≫ q = t)
    (hs : ∀ s ∈ S, x.appTop.hom s = 0) : x = t ≫ e
AlgebraicGeometry.eq_comp_of_forall_appTop_eq_zero_of_forall_subsingleton
Source context 11 commands

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

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

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace Reduction_Support_Schemes_EqCompOfForallAppTopEqZeroOfForallSubsingleton
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open Topology TopologicalSpace
universe u
theorem _root_.AlgebraicGeometry.eq_comp_of_forall_appTop_eq_zero_of_forall_subsingleton
    (k : Type u) [Field k] [IsAlgClosed k] {Z : Scheme.{u}} (q : Z ⟶ Spec (CommRingCat.of k))
    [LocallyOfFiniteType q] (S : Set Γ(Z, ⊤))
    (e : Spec (CommRingCat.of k) ⟶ Z)
    (hart : ∀ {T : Scheme.{u}} [Subsingleton ↥T] (t : T ⟶ Spec (CommRingCat.of k))
      [LocallyOfFiniteType t] (x : T ⟶ Z), x ≫ q = t → (∀ s ∈ S, x.appTop.hom s = 0) → x = t ≫ e)
    {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of k)) (x : T ⟶ Z) (hx : x ≫ q = t)
    (hs : ∀ s ∈ S, x.appTop.hom s = 0) : x = t ≫ e