Module

RationalConfigurationNakamura.lean

Nyll.AnabelianGeometry.WeightFiltration.RationalConfigurationNakamura
4 declarations indexed from sourceView source ↗

Reconstruction of rational configurations from arithmetic fundamental groups

The base field has characteristic zero and is finitely generated over its prime field.

Imports25
Imported by4

Declarations

AnabelianGeometry.WeightFiltration.nakamura_reconstruct_literal_models
Source context 13 commands

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

@[expose] public section
noncomputable section
open CategoryTheory AlgebraicGeometry AlgebraicCurve
open AlgebraicGeometry.FiniteEtale AlgebraicGeometry.ProjSpace EtaleFundamentalGroups
open AnabelianGeometry.ProjectiveLine CategoryTheory.PreGaloisCategory
open AnabelianGeometry.KummerTheory
open scoped FintypeCatDiscrete RatFunc
attribute [local instance] MvPolynomial.gradedAlgebra Polynomial.algebra Classical.propDecidable
  CurveModel.isIntegral
namespace AnabelianGeometry.WeightFiltration
attribute [local instance] AlgebraicGeometry.FiniteEtale.finiteEtaleOverCategory
attribute [local instance] AlgebraicGeometry.FiniteEtale.finiteEtaleHasPullbacksAlong
attribute [local instance] AlgebraicGeometry.FiniteEtale.finiteEtaleIsStableUnderBaseChangeAlong
attribute [local instance] literalPoint_projectiveIntegral
theorem nakamura_reconstruct_literal_models
    (k E κ : Type) [Field k] [CharZero k] [Field.FG k] [Field E] [CharZero E] [Field.FG E]
    [Field κ] [CharZero κ] [IsAlgClosed κ]
    [Algebra k κ] [Algebra E κ] [Algebra k E] [IsScalarTower k E κ]
    [IsAlgClosure k κ] [IsAlgClosure E κ]
    [Algebra.IsAlgebraic k E] [Algebra.IsSeparable k E]
    (sS sT : Finset (Projectivization k (k × k)))
    (tS tT : Finset (Projectivization E (E × E)))
    (hsT : 3 ≤ sT.card) (htS : 3 ≤ tS.card) (htT : 3 ≤ tT.card)
    [IsNormalIntegral (originalFieldGeometricScheme k κ sS)]
    [IsLocallyNoetherian (originalFieldGeometricScheme k κ sS)]
    [ConnectedSpace (originalFieldGeometricScheme k κ sS)]
    (ΩS : Type) [Field ΩS] [IsAlgClosed ΩS] [IsSepClosed ΩS]
    [Algebra (originalFieldGeometricScheme k κ sS).functionField ΩS]
    [IsAlgClosure (originalFieldGeometricScheme k κ sS).functionField ΩS]
    (WS : FiniteEtale (originalFieldGeometricScheme k κ sS))
      [CategoryTheory.PreGaloisCategory.IsConnected WS]
    (wS : (fiber ((originalFieldGeometricScheme k κ sS).genericExtensionMorphism ΩS)).obj
      WS)
    (JS : WS.left ≅ originalFieldGeometricScheme E κ tS)
    (qS : originalFieldGeometricScheme E κ tS ⟶ originalFieldGeometricScheme k κ sS)
    (hJS : JS.hom ≫ qS = WS.hom)
    (pS : (projectiveLineRatFuncModel κ).C ⟶ (projectiveLineRatFuncModel κ).C)
    (eS : RatFunc κ ≃ₐ[κ] RatFunc κ)
    (hplacesS : ∀ y : closedPoints (projectiveLineRatFuncModel κ).C,
      ∃ hy : pS.base y.val ∈ closedPoints (projectiveLineRatFuncModel κ).C,
        (projectiveLineRatFuncModel κ).placeOfPoint ⟨pS.base y.val, hy⟩ =
          ((projectiveLineRatFuncModel κ).placeOfPoint y).restrictAlong
            (ratFuncPairSquareHom eS) (ratFuncPairSquareHom_isIntegral eS))
    (hboundaryS : ∀ y : (projectiveLineRatFuncModel κ).C,
      y ∉ Set.range (rationalConfigurationBaseChangeChart E κ tS) ↔
        pS y ∉ Set.range (rationalConfigurationBaseChangeChart k κ sS))
    (hfieldS :
      let _hWIntegral : IsIntegral WS.left := isIntegral_left_of_isConnected_finiteEtale WS
      let _AKL : Algebra (originalFieldGeometricScheme k κ sS).functionField
        WS.left.functionField :=
        finiteEtaleFunctionFieldAlgebra WS
      ∀ z : RatFunc κ,
        JS.hom.functionFieldMap JS.hom.homeomorph.surjective.denseRange
          (rationalConfigurationGeometricFunctionFieldEquiv E κ tS (ratFuncPairSquareHom eS z)) =
          algebraMap (originalFieldGeometricScheme k κ sS).functionField
            WS.left.functionField
            (rationalConfigurationGeometricFunctionFieldEquiv k κ sS z))
    [IsNormalIntegral (originalFieldGeometricScheme k κ sT)]
    [IsLocallyNoetherian (originalFieldGeometricScheme k κ sT)]
    [ConnectedSpace (originalFieldGeometricScheme k κ sT)]
    (ΩT : Type) [Field ΩT] [IsAlgClosed ΩT] [IsSepClosed ΩT]
    [Algebra (originalFieldGeometricScheme k κ sT).functionField ΩT]
    [IsAlgClosure (originalFieldGeometricScheme k κ sT).functionField ΩT]
    (WT : FiniteEtale (originalFieldGeometricScheme k κ sT))
      [CategoryTheory.PreGaloisCategory.IsConnected WT]
    (wT : (fiber ((originalFieldGeometricScheme k κ sT).genericExtensionMorphism ΩT)).obj
      WT)
    (JT : WT.left ≅ originalFieldGeometricScheme E κ tT)
    (qT : originalFieldGeometricScheme E κ tT ⟶ originalFieldGeometricScheme k κ sT)
    (hJT : JT.hom ≫ qT = WT.hom)
    (pT : (projectiveLineRatFuncModel κ).C ⟶ (projectiveLineRatFuncModel κ).C)
    (eT : RatFunc κ ≃ₐ[κ] RatFunc κ)
    (hplacesT : ∀ y : closedPoints (projectiveLineRatFuncModel κ).C,
      ∃ hy : pT.base y.val ∈ closedPoints (projectiveLineRatFuncModel κ).C,
        (projectiveLineRatFuncModel κ).placeOfPoint ⟨pT.base y.val, hy⟩ =
          ((projectiveLineRatFuncModel κ).placeOfPoint y).restrictAlong
            (ratFuncPairSquareHom eT) (ratFuncPairSquareHom_isIntegral eT))
    (hboundaryT : ∀ y : (projectiveLineRatFuncModel κ).C,
      y ∉ Set.range (rationalConfigurationBaseChangeChart E κ tT) ↔
        pT y ∉ Set.range (rationalConfigurationBaseChangeChart k κ sT))
    (hfieldT :
      let _hWIntegral : IsIntegral WT.left := isIntegral_left_of_isConnected_finiteEtale WT
      let _AKL : Algebra (originalFieldGeometricScheme k κ sT).functionField
        WT.left.functionField :=
        finiteEtaleFunctionFieldAlgebra WT
      ∀ z : RatFunc κ,
        JT.hom.functionFieldMap JT.hom.homeomorph.surjective.denseRange
          (rationalConfigurationGeometricFunctionFieldEquiv E κ tT (ratFuncPairSquareHom eT z)) =
          algebraMap (originalFieldGeometricScheme k κ sT).functionField
            WT.left.functionField
            (rationalConfigurationGeometricFunctionFieldEquiv k κ sT z))
    (pSE : (projectiveLineRatFuncModel E).C ⟶ (projectiveLineRatFuncModel E).C)
    (eSE : RatFunc E ≃ₐ[E] RatFunc E)
    (hcoeffS : pS ≫ map E κ 1 = map E κ 1 ≫ pSE)
    (hplacesSE : ∀ y : closedPoints (projectiveLineRatFuncModel E).C,
      ∃ hy : pSE.base y.val ∈ closedPoints (projectiveLineRatFuncModel E).C,
        (projectiveLineRatFuncModel E).placeOfPoint ⟨pSE.base y.val, hy⟩ =
          ((projectiveLineRatFuncModel E).placeOfPoint y).restrictAlong
            (ratFuncPairSquareHom eSE) (ratFuncPairSquareHom_isIntegral eSE))
    (hlabelsS : ∀ z, z ∈ tS ↔ projectiveRationalPoint z ∉ Set.range
      (Limits.pullback.fst pSE (rationalConfigurationBaseChangeChart k E sS)))
    (pTE : (projectiveLineRatFuncModel E).C ⟶ (projectiveLineRatFuncModel E).C)
    (eTE : RatFunc E ≃ₐ[E] RatFunc E)
    (hcoeffT : pT ≫ map E κ 1 = map E κ 1 ≫ pTE)
    (hplacesTE : ∀ y : closedPoints (projectiveLineRatFuncModel E).C,
      ∃ hy : pTE.base y.val ∈ closedPoints (projectiveLineRatFuncModel E).C,
        (projectiveLineRatFuncModel E).placeOfPoint ⟨pTE.base y.val, hy⟩ =
          ((projectiveLineRatFuncModel E).placeOfPoint y).restrictAlong
            (ratFuncPairSquareHom eTE) (ratFuncPairSquareHom_isIntegral eTE))
    (hlabelsT : ∀ z, z ∈ tT ↔ projectiveRationalPoint z ∉ Set.range
      (Limits.pullback.fst pTE (rationalConfigurationBaseChangeChart k E sT)))
    (AS : Algebra (originalFieldGeometricScheme E κ tS).functionField ΩS)
    (AT : Algebra (originalFieldGeometricScheme E κ tT).functionField ΩT)
    (hmodelS : let _A : Algebra (originalFieldGeometricScheme E κ tS).functionField ΩS := AS
      (originalFieldGeometricScheme E κ tS).genericExtensionMorphism ΩS =
        actualFiberPointLift
          ((originalFieldGeometricScheme k κ sS).genericExtensionMorphism ΩS) WS wS ≫
            JS.hom)
    (hmodelT : let _A : Algebra (originalFieldGeometricScheme E κ tT).functionField ΩT := AT
      (originalFieldGeometricScheme E κ tT).genericExtensionMorphism ΩT =
        actualFiberPointLift
          ((originalFieldGeometricScheme k κ sT).genericExtensionMorphism ΩT) WT wT ≫
            JT.hom) :
    let _modelAS : Algebra (originalFieldGeometricScheme E κ tS).functionField ΩS := AS
    let _modelAT : Algebra (originalFieldGeometricScheme E κ tT).functionField ΩT := AT
    ∀ (hgeomS : (originalFieldGeometricScheme E κ tS).genericExtensionMorphism ΩS ≫ qS =
        (originalFieldGeometricScheme k κ sS).genericExtensionMorphism ΩS)
      (hgeomT : (originalFieldGeometricScheme E κ tT).genericExtensionMorphism ΩT ≫ qT =
        (originalFieldGeometricScheme k κ sT).genericExtensionMorphism ΩT),
    ∀ (α : rationalConfigurationGeometricGroup k κ sS ΩS ≃ₜ*
          rationalConfigurationGeometricGroup k κ sT ΩT)
      (βP : rationalConfigurationArithmeticGroup E κ tS ΩS ≃ₜ*
        rationalConfigurationArithmeticGroup E κ tT ΩT)
      (_hβP : ∀ z,
        arithmeticFundamentalGroupHom E κ ((rationalConfigurationOpen tT).ι ≫ π E 1)
          (rationalConfigurationArithmeticBasePoint E κ tT ΩT) (βP z) =
        arithmeticFundamentalGroupHom E κ ((rationalConfigurationOpen tS).ι ≫ π E 1)
          (rationalConfigurationArithmeticBasePoint E κ tS ΩS) z)
      (β : rationalConfigurationGeometricGroup E κ tS ΩS ≃ₜ*
          rationalConfigurationGeometricGroup E κ tT ΩT)
      (_hβ : ∀ z, rationalConfigurationGeometricInclusion E κ tT ΩT (β z) =
        βP (rationalConfigurationGeometricInclusion E κ tS ΩS z))
      (σ : sS ≃ sT),
      (∀ z : sS, ∃ a : rationalConfigurationGeometricGroup k κ sT ΩT,
        (rationalConfigurationChosenInertia k κ sS ΩS
          (rationalConfigurationBoundaryPlace k κ sS z)).map α.toMonoidHom =
        (rationalConfigurationChosenInertia k κ sT ΩT
          (rationalConfigurationBoundaryPlace k κ sT (σ z))).map (MulAut.conj a).toMonoidHom) →
      (∀ x, pointedFundamentalGroupHom qT
          ((originalFieldGeometricScheme E κ tT).genericExtensionMorphism ΩT)
          ((originalFieldGeometricScheme k κ sT).genericExtensionMorphism ΩT) hgeomT (β x) =
        α (pointedFundamentalGroupHom qS
          ((originalFieldGeometricScheme E κ tS).genericExtensionMorphism ΩS)
          ((originalFieldGeometricScheme k κ sS).genericExtensionMorphism ΩS) hgeomS x)) →
      (∀ (a b c₀ c : sS), a ≠ b → c₀ ≠ a → c₀ ≠ b → c ≠ a → c ≠ b →
        ∃ A B : kˣ,
          (A : k) = crossRatio a.val b.val c₀.val c.val ∧
          (B : k) = crossRatio (σ a).val (σ b).val (σ c₀).val (σ c).val ∧
          Subgroup.zpowers A = Subgroup.zpowers B) →
      ∀ (a b c₀ : sS) (_hab : a ≠ b) (_h₀a : c₀ ≠ a) (_h₀b : c₀ ≠ b)
        (VS₀ VSinf VT₀ VTinf : Place k (RatFunc k))
        (f g : RatFunc k) (_hf : f ≠ 0) (_hg : g ≠ 0)
        (_hfS : eSE RatFunc.X = algebraMap (RatFunc k) (RatFunc E) f)
        (_hfT : eTE RatFunc.X = algebraMap (RatFunc k) (RatFunc E) g)
        (_harithS : ∀ V : Place k (RatFunc k), V.ord f =
          (if V = VS₀ then 1 else 0) - (if V = VSinf then 1 else 0))
        (_harithT : ∀ V : Place k (RatFunc k), V.ord g =
          (if V = VT₀ then 1 else 0) - (if V = VTinf then 1 else 0))
        (_hgeomf : ∀ V : Place κ (RatFunc κ),
          V.ord (algebraMap (RatFunc k) (RatFunc κ) f) =
            (if V = (rationalConfigurationBoundaryPlace k κ sS a).val then 1 else 0) -
            (if V = (rationalConfigurationBoundaryPlace k κ sS b).val then 1 else 0))
        (_hgeomg : ∀ V : Place κ (RatFunc κ),
          V.ord (algebraMap (RatFunc k) (RatFunc κ) g) =
            (if V = (rationalConfigurationBoundaryPlace k κ sT (σ a)).val then 1 else 0) -
            (if V = (rationalConfigurationBoundaryPlace k κ sT (σ b)).val then 1 else 0))
        (rS : sS → E) (rT : sT → E)
        (_hrS : ∀ x : sS, rS x ^ 2 = algebraMap k E
          ((literalRationalPuncturePlace k x.val.rep x.val.rep_ne_zero).evalAt f))
        (_hrT : ∀ x : sT, rT x ^ 2 = algebraMap k E
          ((literalRationalPuncturePlace k x.val.rep x.val.rep_ne_zero).evalAt g)),
      ∃ F : (k × k) ≃ₗ[k] (k × k),
        (∀ p : sS, projectiveLinearEquiv F p.val = (σ p).val) ∧
        ∃ I : (rationalConfigurationOpen sS : Scheme) ≅ (rationalConfigurationOpen sT : Scheme),
          I.hom ≫ (rationalConfigurationOpen sT).ι =
            (rationalConfigurationOpen sS).ι ≫ (pairLinearCoordinateIso F).hom ∧
          I.hom ≫ ((rationalConfigurationOpen sT).ι ≫ π k 1) =
            (rationalConfigurationOpen sS).ι ≫ π k 1 := by
  intro modelAS modelAT hgeomS hgeomT α βP hβP β hβ σ hIL hsquare hclasses
    a b c₀ hab h₀a h₀b VS₀ VSinf VT₀ VTinf f g hf hg heSE heTE harithS harithT
    hgeomf hgeomg rS rT hrS hrT
  obtain ⟨hclosureMS, hclosureMT, _hprojMS, _hprojMT, Hnumeric⟩ :=
    namedSquare_actual_matched_models_reconstruct_same_punctures
      k E κ sS sT tS tT hsT htS htT
      ΩS WS wS JS qS hJS pS eS hplacesS hboundaryS hfieldS
      ΩT WT wT JT qT hJT pT eT hplacesT hboundaryT hfieldT
      pSE eSE hcoeffS hplacesSE hlabelsS pTE eTE hcoeffT hplacesTE hlabelsT
      AS AT hmodelS hmodelT
  let : IsAlgClosure (originalFieldGeometricScheme E κ tS).functionField ΩS := hclosureMS
  let : IsAlgClosure (originalFieldGeometricScheme E κ tT).functionField ΩT := hclosureMT
  obtain ⟨τ, _hIτ, _hcomm, hmatch⟩ := Hnumeric α βP hβP β hβ σ hIL hsquare
    hclasses a b c₀ hab h₀a h₀b VS₀ VSinf VT₀ VTinf
    f g hf hg heSE heTE harithS harithT hgeomf hgeomg rS rT hrS hrT
  obtain ⟨hlinear, I, hambient, hover⟩ := rationalConfiguration_schemeIso_of_matchTriples
    k sS sT σ a b c₀ hab h₀a h₀b hmatch
  exact ⟨_, hlinear, I, hambient, hover⟩
AnabelianGeometry.WeightFiltration.nakamura_finish_named_models
Source context 13 commands

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

@[expose] public section
noncomputable section
open CategoryTheory AlgebraicGeometry AlgebraicCurve
open AlgebraicGeometry.FiniteEtale AlgebraicGeometry.ProjSpace EtaleFundamentalGroups
open AnabelianGeometry.ProjectiveLine CategoryTheory.PreGaloisCategory
open AnabelianGeometry.KummerTheory
open scoped FintypeCatDiscrete RatFunc
attribute [local instance] MvPolynomial.gradedAlgebra Polynomial.algebra Classical.propDecidable
  CurveModel.isIntegral
namespace AnabelianGeometry.WeightFiltration
attribute [local instance] AlgebraicGeometry.FiniteEtale.finiteEtaleOverCategory
attribute [local instance] AlgebraicGeometry.FiniteEtale.finiteEtaleHasPullbacksAlong
attribute [local instance] AlgebraicGeometry.FiniteEtale.finiteEtaleIsStableUnderBaseChangeAlong
attribute [local instance] literalPoint_projectiveIntegral
theorem nakamura_finish_named_models
    (k E κ : Type) [Field k] [CharZero k] [Field.FG k] [Field E] [CharZero E] [Field.FG E]
    [Field κ] [CharZero κ] [IsAlgClosed κ]
    [Algebra k κ] [Algebra k E] [Algebra E κ] [IsScalarTower k E κ]
    [IsAlgClosure k κ] [IsAlgClosure E κ]
    [Algebra.IsAlgebraic k E] [Algebra.IsSeparable k E] [IsSepClosure E κ]
    [IsFiniteEtale (Spec.map (CommRingCat.ofHom (algebraMap k E)))]
    (s t : Finset (Projectivization k (k × k))) (hs : 3 ≤ s.card) (ht : 3 ≤ t.card)
    (Ω₁ Ω₂ : Type) [Field Ω₁] [Field Ω₂] [IsAlgClosed Ω₁] [IsAlgClosed Ω₂]
    [AoldS : Algebra (originalFieldGeometricScheme k κ s).functionField Ω₁]
    [AoldT : Algebra (originalFieldGeometricScheme k κ t).functionField Ω₂]
    [HoldS : IsAlgClosure (originalFieldGeometricScheme k κ s).functionField Ω₁]
    [HoldT : IsAlgClosure (originalFieldGeometricScheme k κ t).functionField Ω₂]
    (eP : rationalConfigurationArithmeticGroup k κ s Ω₁ ≃ₜ*
      rationalConfigurationArithmeticGroup k κ t Ω₂)
    (hP : ∀ γ,
      arithmeticFundamentalGroupHom k κ ((rationalConfigurationOpen t).ι ≫ π k 1)
        (rationalConfigurationArithmeticBasePoint k κ t Ω₂) (eP γ) =
      arithmeticFundamentalGroupHom k κ ((rationalConfigurationOpen s).ι ≫ π k 1)
        (rationalConfigurationArithmeticBasePoint k κ s Ω₁) γ)
    (eΔ : rationalConfigurationGeometricGroup k κ s Ω₁ ≃ₜ*
      rationalConfigurationGeometricGroup k κ t Ω₂)
    (hΔ : ∀ v, rationalConfigurationGeometricInclusion k κ t Ω₂ (eΔ v) =
      eP (rationalConfigurationGeometricInclusion k κ s Ω₁ v))
    (σ : s ≃ t)
    (hI : ∀ p : s, ∃ a : rationalConfigurationGeometricGroup k κ t Ω₂,
      (rationalConfigurationChosenInertia k κ s Ω₁
        (rationalConfigurationBoundaryPlace k κ s p)).map eΔ.toMonoidHom =
      (rationalConfigurationChosenInertia k κ t Ω₂
        (rationalConfigurationBoundaryPlace k κ t (σ p))).map (MulAut.conj a).toMonoidHom)
    (hclasses : ∀ (a b c₀ c : s), a ≠ b → c₀ ≠ a → c₀ ≠ b → c ≠ a → c ≠ b →
      ∃ A B : kˣ,
        (A : k) = crossRatio a.val b.val c₀.val c.val ∧
        (B : k) = crossRatio (σ a).val (σ b).val (σ c₀).val (σ c).val ∧
        Subgroup.zpowers A = Subgroup.zpowers B)
    (a b c₀ : s) (hab : a ≠ b) (h₀a : c₀ ≠ a) (h₀b : c₀ ≠ b)
    (VS₀ VSinf VT₀ VTinf : Place k (RatFunc k))
    (f g : RatFunc k) (hf : f ≠ 0) (hg : g ≠ 0)
    (harithS : ∀ V : Place k (RatFunc k), V.ord f =
      (if V = VS₀ then 1 else 0) - (if V = VSinf then 1 else 0))
    (harithT : ∀ V : Place k (RatFunc k), V.ord g =
      (if V = VT₀ then 1 else 0) - (if V = VTinf then 1 else 0))
    (hgeomf : ∀ V : Place κ (RatFunc κ), V.ord (algebraMap (RatFunc k) (RatFunc κ) f) =
      (if V = (rationalConfigurationBoundaryPlace k κ s a).val then 1 else 0) -
      (if V = (rationalConfigurationBoundaryPlace k κ s b).val then 1 else 0))
    (hgeomg : ∀ V : Place κ (RatFunc κ), V.ord (algebraMap (RatFunc k) (RatFunc κ) g) =
      (if V = (rationalConfigurationBoundaryPlace k κ t (σ a)).val then 1 else 0) -
      (if V = (rationalConfigurationBoundaryPlace k κ t (σ b)).val then 1 else 0))
    (rS : s → E) (rT : t → E)
    (hrS : ∀ x : s, rS x ^ 2 = algebraMap k E
      ((literalRationalPuncturePlace k x.val.rep x.val.rep_ne_zero).evalAt f))
    (hrT : ∀ x : t, rT x ^ 2 = algebraMap k E
      ((literalRationalPuncturePlace k x.val.rep x.val.rep_ne_zero).evalAt g)) :
    let fs := (rationalConfigurationOpen s).ι ≫ π k 1
    let ft := (rationalConfigurationOpen t).ι ≫ π k 1
    let xs := rationalConfigurationArithmeticBasePoint k κ s Ω₁
    let xt := rationalConfigurationArithmeticBasePoint k κ t Ω₂
    let ys := arithmeticConstantFieldLift k E κ fs xs
    let yt := arithmeticConstantFieldLift k E κ ft xt
    let _bs := ((FiniteEtale.pullback fs).obj (originalConstantFieldCover k E)).hom
    let _bt := ((FiniteEtale.pullback ft).obj (originalConstantFieldCover k E)).hom
    let _hs0 := arithmeticConstantFieldLift_comp k E κ fs xs
    let _ht0 := arithmeticConstantFieldLift_comp k E κ ft xt
    let cs := Limits.pullback.fst (Spec.map (CommRingCat.ofHom (algebraMap k E))) fs
    let ct := Limits.pullback.fst (Spec.map (CommRingCat.ofHom (algebraMap k E))) ft
    let φ := Spec.map (CommRingCat.ofHom (algebraMap E κ))
    let bκS := Limits.pullback.snd φ cs
    let bκT := Limits.pullback.snd φ ct
    let GS := Limits.pullback φ cs
    let GT := Limits.pullback φ ct
    let _hGS : IsIntegral GS := rationalConfiguration_coefficientTower_isIntegral k E κ s
    let _hGT : IsIntegral GT := rationalConfiguration_coefficientTower_isIntegral k E κ t
    let _hNS : IsNormalIntegral GS := namedSquareMatchedBase_isNormalIntegral k E κ s
    let _hNT : IsNormalIntegral GT := namedSquareMatchedBase_isNormalIntegral k E κ t
    let _hLS : IsLocallyNoetherian GS := namedSquareMatchedBase_isLocallyNoetherian k E κ s
    let _hLT : IsLocallyNoetherian GT := namedSquareMatchedBase_isLocallyNoetherian k E κ t
    ∀ (aS : GS.functionField →+* Ω₁) (aT : GT.functionField →+* Ω₂),
    let _AS : Algebra GS.functionField Ω₁ := aS.toAlgebra
    let _AT : Algebra GT.functionField Ω₂ := aT.toAlgebra
    ∀ (hclosureS : IsAlgClosure GS.functionField Ω₁)
      (hclosureT : IsAlgClosure GT.functionField Ω₂),
    let _ := hclosureS
    let _ := hclosureT
    let ξS := GS.genericExtensionMorphism Ω₁
    let ξT := GT.genericExtensionMorphism Ω₂
    ∀ (hpointS : ξS ≫ bκS = ys) (hpointT : ξT ≫ bκT = yt) (c : π₁ᵉᵗ(yt)),
    let αE := arithmeticConstantFieldCoverGroupTransport k E κ fs ft xs xt eP hP
    let αc := ProCGroups.innerCorrectedGroupEquiv αE c
    ∀ (_hstrict : ∀ z, arithmeticFundamentalGroupHom E κ ct yt (αc z) =
        arithmeticFundamentalGroupHom E κ cs ys z)
      (WES : FiniteEtale (Limits.pullback (Spec.map (CommRingCat.ofHom (algebraMap k E))) fs))
      (WET : FiniteEtale (Limits.pullback (Spec.map (CommRingCat.ofHom (algebraMap k E))) ft))
      (hconnES : CategoryTheory.PreGaloisCategory.IsConnected WES)
      (hconnET : CategoryTheory.PreGaloisCategory.IsConnected WET),
    let _ := hconnES
    let _ := hconnET
    ∀ (ec : (fiber ys).obj WES ≃ (fiber yt).obj WET)
      (_hfiber : fiberEquivariant ys yt WES WET αc ec) (wE : (fiber ys).obj WES),
    let wET := ec wE
    let WS := (FiniteEtale.pullback bκS).obj WES
    let WT := (FiniteEtale.pullback bκT).obj WET
    ∀ (hconnS : CategoryTheory.PreGaloisCategory.IsConnected WS)
      (hconnT : CategoryTheory.PreGaloisCategory.IsConnected WT),
    let _ := hconnS
    let _ := hconnT
    let wS := (pointedPullbackFiberEquiv bκS ξS ys hpointS WES).symm wE
    let wT := (pointedPullbackFiberEquiv bκT ξT yt hpointT WET).symm wET
    ∀ (tS tT : Finset (Projectivization E (E × E)))
      (JS : WES.left ≅ (rationalConfigurationOpen tS : Scheme))
      (JT : WET.left ≅ (rationalConfigurationOpen tT : Scheme))
      (qES : (rationalConfigurationOpen tS : Scheme) ⟶ Limits.pullback
        (Spec.map (CommRingCat.ofHom (algebraMap k E))) fs)
      (qET : (rationalConfigurationOpen tT : Scheme) ⟶ Limits.pullback
        (Spec.map (CommRingCat.ofHom (algebraMap k E))) ft)
      (_hJS : JS.hom ≫ qES = WES.hom) (_hJT : JT.hom ≫ qET = WET.hom)
      (_hstructS : qES ≫ cs = (rationalConfigurationOpen tS).ι ≫ π E 1)
      (_hstructT : qET ≫ ct = (rationalConfigurationOpen tT).ι ≫ π E 1)
      (JκS : WS.left ≅ originalFieldGeometricScheme E κ tS)
      (JκT : WT.left ≅ originalFieldGeometricScheme E κ tT)
      (eS eT : RatFunc κ ≃ₐ[κ] RatFunc κ)
      (pS pT : (projectiveLineRatFuncModel κ).C ⟶ (projectiveLineRatFuncModel κ).C)
      (hjκS : IsOpenImmersion (namedSquareConstantProjectionChart k E κ s))
      (hjκT : IsOpenImmersion (namedSquareConstantProjectionChart k E κ t)),
    let _ := hjκS
    let _ := hjκT
    ∀ (_hboundaryS : ∀ z : (projectiveLineRatFuncModel κ).C,
        z ∉ Set.range (rationalConfigurationBaseChangeChart E κ tS) ↔
          pS z ∉ Set.range (namedSquareConstantProjectionChart k E κ s))
      (_hboundaryT : ∀ z : (projectiveLineRatFuncModel κ).C,
        z ∉ Set.range (rationalConfigurationBaseChangeChart E κ tT) ↔
          pT z ∉ Set.range (namedSquareConstantProjectionChart k E κ t))
      (_hcardS : Nat.card ((projectiveLineRatFuncModel κ).openBoundaryPlaces
        (namedSquareConstantProjectionChart k E κ s)) ≤ tS.card)
      (_hcardT : Nat.card ((projectiveLineRatFuncModel κ).openBoundaryPlaces
        (namedSquareConstantProjectionChart k E κ t)) ≤ tT.card)
      (_hfieldS :
        let _hW : IsIntegral WS.left := isIntegral_left_of_isConnected_finiteEtale WS
        let _AW : Algebra GS.functionField WS.left.functionField :=
          finiteEtaleFunctionFieldAlgebra WS
        ∀ z : RatFunc κ,
          JκS.hom.functionFieldMap JκS.hom.homeomorph.surjective.denseRange
            (rationalConfigurationGeometricFunctionFieldEquiv E κ tS (ratFuncPairSquareHom eS z)) =
          algebraMap GS.functionField WS.left.functionField
            (((projectiveLineRatFuncModel κ).ffEquiv.trans
              (namedSquareConstantProjectionChart k E κ
                s).functionFieldRingEquivOfIsOpenImmersion) z))
      (_hfieldT :
        let _hW : IsIntegral WT.left := isIntegral_left_of_isConnected_finiteEtale WT
        let _AW : Algebra GT.functionField WT.left.functionField :=
          finiteEtaleFunctionFieldAlgebra WT
        ∀ z : RatFunc κ,
          JκT.hom.functionFieldMap JκT.hom.homeomorph.surjective.denseRange
            (rationalConfigurationGeometricFunctionFieldEquiv E κ tT (ratFuncPairSquareHom eT z)) =
          algebraMap GT.functionField WT.left.functionField
            (((projectiveLineRatFuncModel κ).ffEquiv.trans
              (namedSquareConstantProjectionChart k E κ
                t).functionFieldRingEquivOfIsOpenImmersion) z))
      (AMS : Algebra (originalFieldGeometricScheme E κ tS).functionField Ω₁)
      (AMT : Algebra (originalFieldGeometricScheme E κ tT).functionField Ω₂),
    let _ := AMS
    let _ := AMT
    let qκS := JκS.inv ≫ WS.hom
    let qκT := JκT.inv ≫ WT.hom
    ∀ (_hmodelS : (originalFieldGeometricScheme E κ tS).genericExtensionMorphism Ω₁ =
        actualFiberPointLift ξS WS wS ≫ JκS.hom)
      (_hmodelT : (originalFieldGeometricScheme E κ tT).genericExtensionMorphism Ω₂ =
        actualFiberPointLift ξT WT wT ≫ JκT.hom)
      (_hgeomS : (originalFieldGeometricScheme E κ tS).genericExtensionMorphism Ω₁ ≫
        qκS = ξS)
      (_hgeomT : (originalFieldGeometricScheme E κ tT).genericExtensionMorphism Ω₂ ≫
        qκT = ξT)
      (_hmodelarithS : rationalConfigurationArithmeticBasePoint E κ tS Ω₁ =
        namedModelPoint WES ys wE JS)
      (_hmodelarithT : rationalConfigurationArithmeticBasePoint E κ tT Ω₂ =
        namedModelPoint WET yt wET JT)
      (_hqκcoeffS : qκS ≫ bκS = Limits.pullback.snd φ
        ((rationalConfigurationOpen tS).ι ≫ π E 1) ≫ qES)
      (_hqκcoeffT : qκT ≫ bκT = Limits.pullback.snd φ
        ((rationalConfigurationOpen tT).ι ≫ π E 1) ≫ qET)
      (_hplacesS : ∀ y : closedPoints (projectiveLineRatFuncModel κ).C,
        ∃ hy : pS.base y.val ∈ closedPoints (projectiveLineRatFuncModel κ).C,
          (projectiveLineRatFuncModel κ).placeOfPoint ⟨pS.base y.val, hy⟩ =
            ((projectiveLineRatFuncModel κ).placeOfPoint y).restrictAlong
              (ratFuncPairSquareHom eS) (ratFuncPairSquareHom_isIntegral eS))
      (_hplacesT : ∀ y : closedPoints (projectiveLineRatFuncModel κ).C,
        ∃ hy : pT.base y.val ∈ closedPoints (projectiveLineRatFuncModel κ).C,
          (projectiveLineRatFuncModel κ).placeOfPoint ⟨pT.base y.val, hy⟩ =
            ((projectiveLineRatFuncModel κ).placeOfPoint y).restrictAlong
              (ratFuncPairSquareHom eT) (ratFuncPairSquareHom_isIntegral eT))
      (pSE pTE : (projectiveLineRatFuncModel E).C ⟶ (projectiveLineRatFuncModel E).C)
      (eSE eTE : RatFunc E ≃ₐ[E] RatFunc E)
      (_heSE : eSE RatFunc.X = algebraMap (RatFunc k) (RatFunc E) f)
      (_heTE : eTE RatFunc.X = algebraMap (RatFunc k) (RatFunc E) g)
      (_hcoeffS : pS ≫ map E κ 1 = map E κ 1 ≫ pSE)
      (_hcoeffT : pT ≫ map E κ 1 = map E κ 1 ≫ pTE)
      (_hplacesSE : ∀ y : closedPoints (projectiveLineRatFuncModel E).C,
        ∃ hy : pSE.base y.val ∈ closedPoints (projectiveLineRatFuncModel E).C,
          (projectiveLineRatFuncModel E).placeOfPoint ⟨pSE.base y.val, hy⟩ =
            ((projectiveLineRatFuncModel E).placeOfPoint y).restrictAlong
              (ratFuncPairSquareHom eSE) (ratFuncPairSquareHom_isIntegral eSE))
      (_hplacesTE : ∀ y : closedPoints (projectiveLineRatFuncModel E).C,
        ∃ hy : pTE.base y.val ∈ closedPoints (projectiveLineRatFuncModel E).C,
          (projectiveLineRatFuncModel E).placeOfPoint ⟨pTE.base y.val, hy⟩ =
            ((projectiveLineRatFuncModel E).placeOfPoint y).restrictAlong
              (ratFuncPairSquareHom eTE) (ratFuncPairSquareHom_isIntegral eTE))
      (_hlabelsS : ∀ z, z ∈ tS ↔ projectiveRationalPoint z ∉ Set.range
        (Limits.pullback.fst pSE (rationalConfigurationBaseChangeChart k E s)))
      (_hlabelsT : ∀ z, z ∈ tT ↔ projectiveRationalPoint z ∉ Set.range
        (Limits.pullback.fst pTE (rationalConfigurationBaseChangeChart k E t))),
    ∃ F : (k × k) ≃ₗ[k] (k × k),
      (∀ p : s, projectiveLinearEquiv F p.val = (σ p).val) ∧
      ∃ I : (rationalConfigurationOpen s : Scheme) ≅ (rationalConfigurationOpen t : Scheme),
        I.hom ≫ (rationalConfigurationOpen t).ι =
          (rationalConfigurationOpen s).ι ≫ (pairLinearCoordinateIso F).hom ∧
        I.hom ≫ ((rationalConfigurationOpen t).ι ≫ π k 1) =
          (rationalConfigurationOpen s).ι ≫ π k 1 := by
  intro fs ft xs xt ys yt bs bt hs0 ht0 cs ct φ bκS bκT GS GT hGS hGT hNS hNT hLS0 hLT0
    aS aT AS AT hclosureS hclosureT instS instT ξS ξT hpointS hpointT c αE αc hstrict
    WES WET hconnES hconnET instES instET ec hfiber wE wET WS WT hconnS hconnT instWS instWT
    wS wT tS tT JS JT qES qET hJS hJT hstructS hstructT
    JκS JκT eS eT pS pT hjκS hjκT instjS instjT
    hboundaryS hboundaryT hcardS hcardT hfieldS hfieldT AMS AMT instMS instMT qκS qκT
    hmodelS hmodelT hgeomS hgeomT hmodelarithS hmodelarithT hqκcoeffS hqκcoeffT
    hplacesS hplacesT pSE pTE eSE eTE heSE heTE hcoeffS hcoeffT hplacesSE hplacesTE
    hlabelsS hlabelsT
  obtain ⟨αΔ, hαΔ, βP, hβP, βΔ, hβΔ, hsquareκ⟩ :=
    namedSquareModels_actual_projections_exists_geometric_square
      (modelASΩ := AMS) (modelATΩ := AMT) E κ cs ct ξS ξT
      WES WET tS tT ys yt hpointS hpointT αc hstrict ec hfiber wE JS JT qES qET
      hJS hJT hstructS hstructT hmodelarithS hmodelarithT
      qκS qκT hqκcoeffS hqκcoeffT hgeomS hgeomT
  have HLS := namedSquare_matchedModel_exists_literal_model k E κ s Ω₁ WS wS tS JκS eS pS
    hboundaryS hfieldS hmodelS
  have HLT := namedSquare_matchedModel_exists_literal_model k E κ t Ω₂ WT wT tT JκT eT pT
    hboundaryT hfieldT hmodelT
  let isoS := namedSquareConstantProjectionIso k E κ s
  let isoT := namedSquareConstantProjectionIso k E κ t
  let ALS : Algebra (originalFieldGeometricScheme k κ s).functionField Ω₁ :=
    namedBaseTransportAmbientAlgebra isoS Ω₁
  let ALT : Algebra (originalFieldGeometricScheme k κ t).functionField Ω₂ :=
    namedBaseTransportAmbientAlgebra isoT Ω₂
  let WLS := namedCoverOnIsomorphicBase isoS WS
  let WLT := namedCoverOnIsomorphicBase isoT WT
  let : CategoryTheory.PreGaloisCategory.IsConnected WLS :=
    namedCoverOnIsomorphicBase_isConnected isoS WS
  let : CategoryTheory.PreGaloisCategory.IsConnected WLT :=
    namedCoverOnIsomorphicBase_isConnected isoT WT
  obtain ⟨hclosureLS, wLS, _hwLS, hJLS, hboundaryLS, hfieldLS, hmodelLS, hgeomLS⟩ := HLS
  obtain ⟨hclosureLT, wLT, _hwLT, hJLT, hboundaryLT, hfieldLT, hmodelLT, hgeomLT⟩ := HLT
  let : IsAlgClosure (originalFieldGeometricScheme k κ s).functionField Ω₁ := hclosureLS
  let : IsAlgClosure (originalFieldGeometricScheme k κ t).functionField Ω₂ := hclosureLT
  let ξLS := (originalFieldGeometricScheme k κ s).genericExtensionMorphism Ω₁
  let ξLT := (originalFieldGeometricScheme k κ t).genericExtensionMorphism Ω₂
  have hgenS : ξS ≫ isoS.hom = ξLS := namedBaseTransport_genericPoint isoS Ω₁
  have hgenT : ξT ≫ isoT.hom = ξLT := namedBaseTransport_genericPoint isoT Ω₂
  have hcardS' : s.card ≤ tS.card := by
    simpa only [namedSquareConstantProjectionChart_boundary_card k E κ s] using hcardS
  have hcardT' : t.card ≤ tT.card := by
    simpa only [namedSquareConstantProjectionChart_boundary_card k E κ t] using hcardT
  have htS : 3 ≤ tS.card := hs.trans hcardS'
  have htT : 3 ≤ tT.card := ht.trans hcardT'
  let uS := Limits.pullback.snd (Spec.map (CommRingCat.ofHom (algebraMap k κ))) fs
  let uT := Limits.pullback.snd (Spec.map (CommRingCat.ofHom (algebraMap k κ))) ft
  have hisoS : isoS.hom ≫ uS = bκS ≫ bs := namedSquareConstantProjectionIso_snd k E κ s
  have hisoT : isoT.hom ≫ uT = bκT ≫ bt := namedSquareConstantProjectionIso_snd k E κ t
  have hLS := namedBaseTransport_point_projection_of_factorization
    isoS ξS ξLS hgenS uS bκS bs hisoS ys xs hpointS hs0
  have hLT := namedBaseTransport_point_projection_of_factorization
    isoT ξT ξLT hgenT uT bκT bt hisoT yt xt hpointT ht0
  let αL := namedBaseTransport_pointedGeometricMap isoS isoT ξS ξT ξLS ξLT hgenS hgenT αΔ
  let iT := pointedFundamentalGroupHom bt yt xt ht0
  let c₀arith := iT c
  have hraw := finiteBase_corrected_geometricMap_original_square k E κ
    fs ft xs xt eP hP ξS ξT hpointS hpointT c αΔ hαΔ
  have hαL := namedBaseTransport_pointedGeometricMap_factored_conjugate_square
    isoS isoT ξS ξT ξLS ξLT hgenS hgenT uS uT ys yt xs xt hLS hLT
    bκS bκT bs bt hpointS hpointT hs0 ht0 hisoS hisoT αΔ eP c₀arith hraw
  let qLS := JκS.inv ≫ WLS.hom
  let qLT := JκT.inv ≫ WLT.hom
  have hqLS : qκS ≫ isoS.hom = qLS := Category.assoc _ _ _
  have hqLT : qκT ≫ isoT.hom = qLT := Category.assoc _ _ _
  have hsquareL := namedBaseTransport_pointedGeometricMap_cover_square_of_eq
    isoS isoT ξS ξT ξLS ξLT hgenS hgenT
    ((originalFieldGeometricScheme E κ tS).genericExtensionMorphism Ω₁)
    ((originalFieldGeometricScheme E κ tT).genericExtensionMorphism Ω₂)
    qκS qκT hgeomS hgeomT αΔ βΔ hsquareκ qLS qLT hqLS hqLT hgeomLS hgeomLT
  have hIL := by
    as_aux_lemma =>
      exact rationalConfiguration_correctedMatchedMap_same_punctures
        (AS₀ := AoldS) (AT₀ := AoldT) (HS₀ := HoldS) (HT₀ := HoldT)
        k κ s t ht Ω₁ Ω₂ eP eΔ hΔ σ hI ALS ALT hclosureLS hclosureLT
        hLS hLT αL c₀arith hαL
  exact nakamura_reconstruct_literal_models
    k E κ s t tS tT ht htS htT
    Ω₁ WLS wLS JκS qLS hJLS pS eS hplacesS hboundaryLS hfieldLS
    Ω₂ WLT wLT JκT qLT hJLT pT eT hplacesT hboundaryLT hfieldLT
    pSE eSE hcoeffS hplacesSE hlabelsS pTE eTE hcoeffT hplacesTE hlabelsT
    AMS AMT hmodelLS hmodelLT hgeomLS hgeomLT αL βP hβP βΔ hβΔ σ hIL hsquareL
    hclasses a b c₀ hab h₀a h₀b VS₀ VSinf VT₀ VTinf
    f g hf hg heSE heTE harithS harithT hgeomf hgeomg rS rT hrS hrT
AnabelianGeometry.WeightFiltration.exists_projectiveTransformation_with_inertia_of_arithmeticFundamentalGroupEquiv

Reconstruct the projective transformation while retaining the geometric fundamental-group comparison and the inertia characterization of its puncture bijection. These are the comparisons needed for descent of the same map.

Source context 13 commands

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

@[expose] public section
noncomputable section
open CategoryTheory AlgebraicGeometry AlgebraicCurve
open AlgebraicGeometry.FiniteEtale AlgebraicGeometry.ProjSpace EtaleFundamentalGroups
open AnabelianGeometry.ProjectiveLine CategoryTheory.PreGaloisCategory
open AnabelianGeometry.KummerTheory
open scoped FintypeCatDiscrete RatFunc
attribute [local instance] MvPolynomial.gradedAlgebra Polynomial.algebra Classical.propDecidable
  CurveModel.isIntegral
namespace AnabelianGeometry.WeightFiltration
attribute [local instance] AlgebraicGeometry.FiniteEtale.finiteEtaleOverCategory
attribute [local instance] AlgebraicGeometry.FiniteEtale.finiteEtaleHasPullbacksAlong
attribute [local instance] AlgebraicGeometry.FiniteEtale.finiteEtaleIsStableUnderBaseChangeAlong
attribute [local instance] literalPoint_projectiveIntegral
theorem exists_projectiveTransformation_with_inertia_of_arithmeticFundamentalGroupEquiv
    (k κ : Type) [Field k] [CharZero k] [Field.FG k]
    [Field κ] [CharZero κ] [IsAlgClosed κ] [Algebra k κ] [IsAlgClosure k κ]
    (s t : Finset (Projectivization k (k × k))) (hs : 3 ≤ s.card) (ht : 3 ≤ t.card)
    (Ω₁ Ω₂ : Type) [Field Ω₁] [Field Ω₂] [IsAlgClosed Ω₁] [IsAlgClosed Ω₂]
    [AoldS : Algebra (originalFieldGeometricScheme k κ s).functionField Ω₁]
    [AoldT : Algebra (originalFieldGeometricScheme k κ t).functionField Ω₂]
    [HoldS : IsAlgClosure (originalFieldGeometricScheme k κ s).functionField Ω₁]
    [HoldT : IsAlgClosure (originalFieldGeometricScheme k κ t).functionField Ω₂]
    (eP : rationalConfigurationArithmeticGroup k κ s Ω₁ ≃ₜ*
      rationalConfigurationArithmeticGroup k κ t Ω₂)
    (hP : ∀ γ,
      arithmeticFundamentalGroupHom k κ ((rationalConfigurationOpen t).ι ≫ π k 1)
        (rationalConfigurationArithmeticBasePoint k κ t Ω₂) (eP γ) =
      arithmeticFundamentalGroupHom k κ ((rationalConfigurationOpen s).ι ≫ π k 1)
        (rationalConfigurationArithmeticBasePoint k κ s Ω₁) γ) :
    ∃ eΔ : rationalConfigurationGeometricGroup k κ s Ω₁ ≃ₜ*
        rationalConfigurationGeometricGroup k κ t Ω₂,
      (∀ v, rationalConfigurationGeometricInclusion k κ t Ω₂ (eΔ v) =
        eP (rationalConfigurationGeometricInclusion k κ s Ω₁ v)) ∧
      ∃ σ : s ≃ t,
        (∀ p : s, ∃ a : rationalConfigurationGeometricGroup k κ t Ω₂,
          (rationalConfigurationChosenInertia k κ s Ω₁
            (rationalConfigurationBoundaryPlace k κ s p)).map eΔ.toMonoidHom =
          (rationalConfigurationChosenInertia k κ t Ω₂
            (rationalConfigurationBoundaryPlace k κ t (σ p))).map
              (MulAut.conj a).toMonoidHom) ∧
        ∃ f : (k × k) ≃ₗ[k] (k × k),
      (∀ p : s, projectiveLinearEquiv f p.val = (σ p).val) ∧
      ∃ I : (rationalConfigurationOpen s : Scheme) ≅ (rationalConfigurationOpen t : Scheme),
        I.hom ≫ (rationalConfigurationOpen t).ι =
          (rationalConfigurationOpen s).ι ≫ (pairLinearCoordinateIso f).hom ∧
        I.hom ≫ ((rationalConfigurationOpen t).ι ≫ π k 1) =
          (rationalConfigurationOpen s).ι ≫ π k 1
AnabelianGeometry.WeightFiltration.exists_projectiveTransformation_of_arithmeticFundamentalGroupEquiv

The weak reconstruction theorem, with its original conclusion.

Source context 13 commands

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

@[expose] public section
noncomputable section
open CategoryTheory AlgebraicGeometry AlgebraicCurve
open AlgebraicGeometry.FiniteEtale AlgebraicGeometry.ProjSpace EtaleFundamentalGroups
open AnabelianGeometry.ProjectiveLine CategoryTheory.PreGaloisCategory
open AnabelianGeometry.KummerTheory
open scoped FintypeCatDiscrete RatFunc
attribute [local instance] MvPolynomial.gradedAlgebra Polynomial.algebra Classical.propDecidable
  CurveModel.isIntegral
namespace AnabelianGeometry.WeightFiltration
attribute [local instance] AlgebraicGeometry.FiniteEtale.finiteEtaleOverCategory
attribute [local instance] AlgebraicGeometry.FiniteEtale.finiteEtaleHasPullbacksAlong
attribute [local instance] AlgebraicGeometry.FiniteEtale.finiteEtaleIsStableUnderBaseChangeAlong
attribute [local instance] literalPoint_projectiveIntegral
theorem exists_projectiveTransformation_of_arithmeticFundamentalGroupEquiv
    (k κ : Type) [Field k] [CharZero k] [Field.FG k]
    [Field κ] [CharZero κ] [IsAlgClosed κ] [Algebra k κ] [IsAlgClosure k κ]
    (s t : Finset (Projectivization k (k × k))) (hs : 3 ≤ s.card) (ht : 3 ≤ t.card)
    (Ω₁ Ω₂ : Type) [Field Ω₁] [Field Ω₂] [IsAlgClosed Ω₁] [IsAlgClosed Ω₂]
    [Algebra (originalFieldGeometricScheme k κ s).functionField Ω₁]
    [Algebra (originalFieldGeometricScheme k κ t).functionField Ω₂]
    [IsAlgClosure (originalFieldGeometricScheme k κ s).functionField Ω₁]
    [IsAlgClosure (originalFieldGeometricScheme k κ t).functionField Ω₂]
    (eP : rationalConfigurationArithmeticGroup k κ s Ω₁ ≃ₜ*
      rationalConfigurationArithmeticGroup k κ t Ω₂)
    (hP : ∀ γ,
      arithmeticFundamentalGroupHom k κ ((rationalConfigurationOpen t).ι ≫ π k 1)
        (rationalConfigurationArithmeticBasePoint k κ t Ω₂) (eP γ) =
      arithmeticFundamentalGroupHom k κ ((rationalConfigurationOpen s).ι ≫ π k 1)
        (rationalConfigurationArithmeticBasePoint k κ s Ω₁) γ) :
    ∃ (σ : s ≃ t) (f : (k × k) ≃ₗ[k] (k × k)),
      (∀ p : s, projectiveLinearEquiv f p.val = (σ p).val) ∧
      ∃ I : (rationalConfigurationOpen s : Scheme) ≅ (rationalConfigurationOpen t : Scheme),
        I.hom ≫ (rationalConfigurationOpen t).ι =
          (rationalConfigurationOpen s).ι ≫ (pairLinearCoordinateIso f).hom ∧
        I.hom ≫ ((rationalConfigurationOpen t).ι ≫ π k 1) =
          (rationalConfigurationOpen s).ι ≫ π k 1