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.LocalTrace |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.OverCoproduct |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Etale |
| 4 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 5 | |
| 6 | /-! # Trace Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Effective descent constructs the algebraic trace of a finite etale |
| 13 | correspondence into a separated commutative group scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable {B : Scheme.{0}} {X A : Over B} [GrpObj A] [IsCommMonObj A] |
| 19 | [IsReduced X.left] [IsLocallyNoetherian X.left] [IsSeparated A.hom] |
| 20 | (C : Correspondences.EtaleCorrespondence X) (f : X ⟶ A) |
| 21 | |
| 22 | /-- The actual algebraic trace exists and is uniquely determined by |
| 23 | the sum over the geometric source fiber. Its construction uses proved |
| 24 | overlap compatibility and effective descent, with no trace-map input. -/ |
| 25 | theorem Correspondences.EtaleCorrespondence.exists_algebraicTrace : |
| 26 | ∃! τ : X ⟶ A, ∀ (k : Type) [Field k] [IsAlgClosed k] |
| 27 | (b : Spec (.of k) ⟶ B) (x : Over.mk b ⟶ X), |
| 28 | x ≫ τ = C.geometricTrace f b x := by |
| 29 | let Y : Over X.left := Over.mk C.source.left |
| 30 | have : IsFinite Y.hom := C.finite |
| 31 | have : Etale Y.hom := C.etale |
| 32 | let cover := AbelianModuli.ReferenceFamily.SchemeSplitting.EtaleSplitting.finiteEtaleSplitCover Y |
| 33 | let U : cover.Index → Over B := fun i => Over.mk (cover.map i ≫ X.hom) |
| 34 | let p : ∀ i, U i ⟶ X := fun i => Over.homMk (cover.map i) rfl |
| 35 | let e : ∀ i, C.BranchSplitting (p i) (cover.rank i) := |
| 36 | fun i => TateComparison.BranchSplitting.constantCoproductIso (cover.source i) (Fin (cover.rank i)) ≪≫ cover.presentation i |
| 37 | let v : ∀ i, U i ⟶ A := fun i => C.localTraceMap f (p i) (e i) |
| 38 | let P := OverCoproduct.overCoproduct U |
| 39 | let π : P ⟶ X := OverCoproduct.overCoproductDesc U p |
| 40 | let ν : P ⟶ A := OverCoproduct.overCoproductDesc U v |
| 41 | have hπEtale : Etale π.left := cover.projection_etale |
| 42 | have hπSurjective : Surjective π.left := cover.projection_surjective |
| 43 | have hν : ∀ (k : Type) [Field k] [IsAlgClosed k] |
| 44 | (b : Spec (.of k) ⟶ B) (z : Over.mk b ⟶ P), |
| 45 | z ≫ ν = C.geometricTrace f b (z ≫ π) := by |
| 46 | intro k _ _ b z |
| 47 | obtain ⟨i, zi, hzi⟩ := OverCoproduct.overCoproduct_point_factor U b z |
| 48 | change z ≫ OverCoproduct.overCoproductDesc U v = C.geometricTrace f b (z ≫ OverCoproduct.overCoproductDesc U p) |
| 49 | rw [← hzi] |
| 50 | simp only [Category.assoc, OverCoproduct.overCoproductι_desc] |
| 51 | exact C.localTraceMap_geometric f (p i) (e i) b zi |
| 52 | have : IsReduced P.left := TateComparison.Etale.etale_source_reduced π.left |
| 53 | have : IsLocallyNoetherian P.left := LocallyOfFiniteType.isLocallyNoetherian π.left |
| 54 | let R : Over B := Over.mk (pullback.fst π.left π.left ≫ P.hom) |
| 55 | have : IsReduced R.left := TateComparison.Etale.etale_source_reduced (pullback.fst π.left π.left) |
| 56 | let r₁ : R ⟶ P := Over.homMk (pullback.fst π.left π.left) rfl |
| 57 | let r₂ : R ⟶ P := Over.homMk (pullback.snd π.left π.left) (by |
| 58 | change pullback.snd π.left π.left ≫ P.hom = pullback.fst π.left π.left ≫ P.hom |
| 59 | rw [← π.w, ← Category.assoc, ← Category.assoc, pullback.condition]) |
| 60 | have hr : r₁ ≫ π = r₂ ≫ π := Over.OverMorphism.ext pullback.condition |
| 61 | have hc : r₁ ≫ ν = r₂ ≫ ν := by |
| 62 | apply GeometricExt.over_hom_ext_geometric |
| 63 | intro k _ _ b z |
| 64 | rw [← Category.assoc, ← Category.assoc, hν, hν, Category.assoc, Category.assoc, hr] |
| 65 | have hpair : pullback.fst π.left π.left ≫ ν.left = pullback.snd π.left π.left ≫ ν.left := |
| 66 | congrArg (fun z => z.left) hc |
| 67 | have hcoeq : ∀ {W : Scheme} (a b : W ⟶ P.left), a ≫ π.left = b ≫ π.left → |
| 68 | a ≫ ν.left = b ≫ ν.left := by |
| 69 | intro W a b hab |
| 70 | let l := pullback.lift a b hab |
| 71 | have hl := congrArg (fun z => l ≫ z) hpair |
| 72 | simpa only [l, Category.assoc, pullback.lift_fst_assoc, pullback.lift_snd_assoc] using hl |
| 73 | let τ₀ := EffectiveEpi.desc π.left ν.left hcoeq |
| 74 | have hτ₀ : π.left ≫ τ₀ = ν.left := EffectiveEpi.fac _ _ _ |
| 75 | have hbase : τ₀ ≫ A.hom = X.hom := by |
| 76 | apply (cancel_epi π.left).mp |
| 77 | rw [← Category.assoc, hτ₀, ν.w, π.w] |
| 78 | let τ : X ⟶ A := Over.homMk τ₀ hbase |
| 79 | have hτ : π ≫ τ = ν := Over.OverMorphism.ext hτ₀ |
| 80 | have hpoints : ∀ (k : Type) [Field k] [IsAlgClosed k] |
| 81 | (b : Spec (.of k) ⟶ B) (x : Over.mk b ⟶ X), x ≫ τ = C.geometricTrace f b x := by |
| 82 | intro k _ _ b x |
| 83 | obtain ⟨z, hz⟩ := TateComparison.Etale.etale_surjective_geometric_lift π b x |
| 84 | rw [← hz, Category.assoc, hτ, hν] |
| 85 | refine ⟨τ, hpoints, ?_⟩ |
| 86 | intro τ' hτ' |
| 87 | apply GeometricExt.over_hom_ext_geometric |
| 88 | intro k _ _ b x |
| 89 | exact (hτ' k b x).trans (hpoints k b x).symm |
| 90 | |
| 91 | def Correspondences.EtaleCorrespondence.algebraicTrace : X ⟶ A := (C.exists_algebraicTrace f).choose |
| 92 | |
| 93 | theorem Correspondences.EtaleCorrespondence.algebraicTrace_geometric {k : Type} [Field k] [IsAlgClosed k] |
| 94 | (b : Spec (.of k) ⟶ B) (x : Over.mk b ⟶ X) : |
| 95 | x ≫ C.algebraicTrace f = C.geometricTrace f b x := |
| 96 | (C.exists_algebraicTrace f).choose_spec.1 k b x |
| 97 | |
| 98 | theorem Correspondences.EtaleCorrespondence.algebraicTrace_local_reduced {T : Over B} [IsReduced T.left] |
| 99 | (x : T ⟶ X) {n : ℕ} (e : C.BranchSplitting x n) : |
| 100 | x ≫ C.algebraicTrace f = C.localTraceMap f x e := by |
| 101 | apply GeometricExt.over_hom_ext_geometric |
| 102 | intro k _ _ b a |
| 103 | rw [← Category.assoc, Correspondences.EtaleCorrespondence.algebraicTrace_geometric, Correspondences.EtaleCorrespondence.localTraceMap_geometric] |
| 104 | |
| 105 | /-- The descended trace respects chronological composition of the actual |
| 106 | finite-etale correspondences, with all branch multiplicities. -/ |
| 107 | theorem Correspondences.EtaleCorrespondence.algebraicTrace_comp (D : Correspondences.EtaleCorrespondence X) : |
| 108 | (C.comp D).algebraicTrace f = C.algebraicTrace (D.algebraicTrace f) := by |
| 109 | apply GeometricExt.over_hom_ext_geometric |
| 110 | intro k _ _ b x |
| 111 | rw [Correspondences.EtaleCorrespondence.algebraicTrace_geometric, Correspondences.EtaleCorrespondence.algebraicTrace_geometric] |
| 112 | simp only [Correspondences.EtaleCorrespondence.geometricTrace, Correspondences.EtaleCorrespondence.neighbors_comp, Multiset.map_bind, Multiset.prod_bind, |
| 113 | Correspondences.EtaleCorrespondence.algebraicTrace_geometric] |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |