Rebase the original finite étale cover through its geometrically integral constant-field structure and retain its actual two projections. In particular this selects one connected geometric component without counting all old-constant components together.
Source context 5 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
noncomputable section
universe u
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
namespace AlgebraicGeometry.FiniteEtaletheorem exists_geometricCover_rebase
(k E κ : Type u) [Field k] [Field E] [Field κ]
[Algebra k E] [Algebra k κ] [Algebra E κ] [IsScalarTower k E κ]
[FiniteDimensional k E] [Algebra.IsSeparable k E]
{X : Scheme.{u}} (c : X ⟶ Spec (.of k)) (W : FiniteEtale X)
(cE : W.left ⟶ Spec (.of E)) [GeometricallyIntegral cE]
(hbase : cE ≫ Spec.map (CommRingCat.ofHom (algebraMap k E)) = W.hom ≫ c) :
let _φE := Spec.map (CommRingCat.ofHom (algebraMap k E))
let φκ := Spec.map (CommRingCat.ofHom (algebraMap k κ))
let ψ := Spec.map (CommRingCat.ofHom (algebraMap E κ))
IsIntegral (show Scheme.{u} from Limits.pullback ψ cE) ∧
∃ a : Limits.pullback ψ cE ⟶ Limits.pullback φκ c,
IsFiniteEtale a ∧
a ≫ pullback.fst φκ c = pullback.fst ψ cE ∧
a ≫ pullback.snd φκ c = pullback.snd ψ cE ≫ W.hom := by
intro φE φκ ψ
have hφ : IsFiniteEtale φE := constantField_specMap_isFiniteEtale k E
have hW : IsFiniteEtale W.hom := W.prop
let t : W.left ⟶ Limits.pullback φE c := pullback.lift cE W.hom hbase
have ht₁ : t ≫ pullback.fst φE c = cE := pullback.lift_fst _ _ _
have ht₂ : t ≫ pullback.snd φE c = W.hom := pullback.lift_snd _ _ _
have : IsFinite (t ≫ pullback.snd φE c) := ht₂.symm ▸ hW.toIsFinite
have : Etale (t ≫ pullback.snd φE c) := ht₂.symm ▸ hW.toEtale
have htFinite : IsFinite t := IsFinite.of_comp t (pullback.snd φE c)
have htEtale : Etale t := Etale.of_comp t (pullback.snd φE c)
have ht : IsFiniteEtale t := ⟨⟩
let b : Limits.pullback ψ cE ⟶ Limits.pullback ψ (pullback.fst φE c) :=
pullback.lift (pullback.fst ψ cE) (pullback.snd ψ cE ≫ t)
(by rw [Category.assoc, ht₁]; exact pullback.condition)
have hb₁ : b ≫ pullback.fst ψ (pullback.fst φE c) = pullback.fst ψ cE :=
pullback.lift_fst _ _ _
have hb₂ : b ≫ pullback.snd ψ (pullback.fst φE c) = pullback.snd ψ cE ≫ t :=
pullback.lift_snd _ _ _
have hb : IsPullback b (pullback.snd ψ cE) (pullback.snd ψ (pullback.fst φE c)) t := by
refine IsPullback.of_right ?_ hb₂ (.of_hasPullback ψ (pullback.fst φE c))
rw [hb₁, ht₁]
exact .of_hasPullback ψ cE
have hbFinite : IsFiniteEtale b :=
MorphismProperty.of_isPullback (P := @IsFiniteEtale) hb.flip ht
have hcoeff : ψ ≫ φE = φκ := by
change Spec.map (CommRingCat.ofHom (algebraMap E κ)) ≫
Spec.map (CommRingCat.ofHom (algebraMap k E)) =
Spec.map (CommRingCat.ofHom (algebraMap k κ))
rw [← Spec.map_comp]
apply congrArg Spec.map
ext a
exact (IsScalarTower.algebraMap_apply k E κ a).symm
let T : Limits.pullback ψ (pullback.fst φE c) ≅ Limits.pullback φκ c :=
pullbackRightPullbackFstIso φE c ψ ≪≫ pullback.congrHom hcoeff rfl
have hT₁ : T.hom ≫ pullback.fst φκ c = pullback.fst ψ (pullback.fst φE c) := by
simp only [T, Iso.trans_hom, Category.assoc, pullback.congrHom_hom,
pullback.lift_fst, Category.comp_id, pullbackRightPullbackFstIso_hom_fst]
have hT₂ : T.hom ≫ pullback.snd φκ c =
pullback.snd ψ (pullback.fst φE c) ≫ pullback.snd φE c := by
simp only [T, Iso.trans_hom, Category.assoc, pullback.congrHom_hom,
pullback.lift_snd, Category.comp_id, pullbackRightPullbackFstIso_hom_snd]
have hIntegral : IsIntegral (show Scheme.{u} from Limits.pullback ψ cE) :=
GeometricallyIntegral.geometrically_isIntegral (f := cE) ψ
(pullback.snd ψ cE) (pullback.fst ψ cE) (IsPullback.of_hasPullback ψ cE).flip
have : IsFiniteEtale T.hom := ⟨⟩
refine ⟨hIntegral, b ≫ T.hom, inferInstance, ?_, ?_⟩
· rw [Category.assoc, hT₁, hb₁]
· rw [Category.assoc, hT₂, ← Category.assoc, hb₂, Category.assoc, ht₂]