Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.BranchBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.TraceDescent |
| 3 | import Mathlib.AlgebraicGeometry.Sites.Etale |
| 4 | |
| 5 | /-! # Trace All Tests -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.TraceAllTests |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The descended algebraic trace has its branch-sum formula on every |
| 12 | test scheme, including nonreduced affine tests. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | local instance : Scheme.JointlySurjective |
| 18 | (Scheme.precoverage (@Etale : MorphismProperty Scheme.{0})) := |
| 19 | Scheme.instJointlySurjectivePrecoverage |
| 20 | |
| 21 | local instance : Scheme.IsJointlySurjectivePreserving (@Etale : MorphismProperty Scheme.{0}) := |
| 22 | Scheme.isJointlySurjectivePreserving _ |
| 23 | |
| 24 | local instance : (Scheme.precoverage (@Etale : MorphismProperty Scheme.{0})).IsStableUnderBaseChange := |
| 25 | Scheme.instIsStableUnderBaseChangePrecoverageOfIsJointlySurjectivePreservingOfIsStableUnderBaseChange _ |
| 26 | |
| 27 | theorem etaleCover_hom_ext {X Y : Scheme.{0}} |
| 28 | (U : X.Cover.{0} (Scheme.precoverage (@Etale : MorphismProperty Scheme.{0}))) (f g : X ⟶ Y) |
| 29 | (h : ∀ i, U.f i ≫ f = U.f i ≫ g) : f = g := by |
| 30 | let p : (∐ U.X) ⟶ X := Sigma.desc U.f |
| 31 | have : Etale p := by |
| 32 | have := HasRingHomProperty.instIsZariskiLocalAtSource (P := @Etale) (Q := @RingHom.Etale) |
| 33 | exact IsZariskiLocalAtSource.sigmaDesc (P := @Etale) U.map_prop |
| 34 | have : Surjective p := by |
| 35 | constructor |
| 36 | intro x |
| 37 | obtain ⟨i, z, hz⟩ := U.exists_eq x |
| 38 | refine ⟨Sigma.ι U.X i z, ?_⟩ |
| 39 | exact (congrArg (fun f : U.X i ⟶ X => f z) (Sigma.ι_comp_desc U.f i)).trans hz |
| 40 | apply (cancel_epi p).mp |
| 41 | apply Sigma.hom_ext |
| 42 | intro i |
| 43 | exact (Sigma.ι_comp_desc_assoc U.f i f).trans ((h i).trans (Sigma.ι_comp_desc_assoc U.f i g).symm) |
| 44 | |
| 45 | namespace EtaleCorrespondence |
| 46 | |
| 47 | variable {B : Scheme.{0}} {X A : Over B} [GrpObj A] [IsCommMonObj A] |
| 48 | [IsReduced X.left] [IsLocallyNoetherian X.left] [IsSeparated A.hom] |
| 49 | (C : Correspondences.EtaleCorrespondence X) (f : X ⟶ A) |
| 50 | |
| 51 | /-- The constructed global trace agrees with the actual sum of branches |
| 52 | after every base change. Reducedness is required only of the original |
| 53 | source used to construct the global morphism. -/ |
| 54 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence.algebraicTrace_local {T : Over B} |
| 55 | (x : T ⟶ X) {n : ℕ} (e : C.BranchSplitting x n) : |
| 56 | x ≫ C.algebraicTrace f = C.localTraceMap f x e := by |
| 57 | let Y : Over X.left := Over.mk C.source.left |
| 58 | have : IsFinite Y.hom := C.finite |
| 59 | have : Etale Y.hom := C.etale |
| 60 | let cover := AbelianModuli.ReferenceFamily.SchemeSplitting.EtaleSplitting.finiteEtaleSplitCover Y |
| 61 | let cv : X.left.Cover.{0} (Scheme.precoverage (@Etale : MorphismProperty Scheme.{0})) := |
| 62 | .mkOfCovers cover.Index cover.source cover.map cover.covers cover.etale |
| 63 | apply Over.OverMorphism.ext |
| 64 | apply etaleCover_hom_ext (cv.pullback₂ x.left) |
| 65 | intro i |
| 66 | let U : Over B := Over.mk (cover.map i ≫ X.hom) |
| 67 | let p : U ⟶ X := Over.homMk (cover.map i) rfl |
| 68 | let ei : C.BranchSplitting p (cover.rank i) := |
| 69 | TateComparison.BranchSplitting.constantCoproductIso (cover.source i) (Fin (cover.rank i)) ≪≫ cover.presentation i |
| 70 | have : Etale p.left := cover.etale i |
| 71 | have : IsReduced U.left := TateComparison.Etale.etale_source_reduced p.left |
| 72 | let W : Over B := Over.mk (pullback.snd (cover.map i) x.left ≫ T.hom) |
| 73 | let j : W ⟶ T := Over.homMk (pullback.snd (cover.map i) x.left) rfl |
| 74 | let a : W ⟶ U := Over.homMk (pullback.fst (cover.map i) x.left) (by |
| 75 | change pullback.fst (cover.map i) x.left ≫ cover.map i ≫ X.hom = |
| 76 | pullback.snd (cover.map i) x.left ≫ T.hom |
| 77 | rw [← Category.assoc, pullback.condition, Category.assoc, x.w]) |
| 78 | have hc : a ≫ p = j ≫ x := Over.OverMorphism.ext pullback.condition |
| 79 | have h : j ≫ (x ≫ C.algebraicTrace f) = j ≫ C.localTraceMap f x e := by |
| 80 | rw [← Category.assoc, ← hc, Category.assoc, C.algebraicTrace_local_reduced f p ei] |
| 81 | exact C.localTraceMap_overlap_all p f x ei e a j hc |
| 82 | exact congrArg (fun z => z.left) h |
| 83 | |
| 84 | end EtaleCorrespondence |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.TraceAllTests |