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.Isogenies.NeighborCounting.FiniteFppfCover |
| 2 | import Mathlib.CategoryTheory.Sites.Over |
| 3 | import Mathlib.AlgebraicGeometry.Limits |
| 4 | |
| 5 | /-! # Over Finite Fppf Cover -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OverFiniteFppfCover |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite affine refinements retain the original base scheme and all |
| 12 | cover arrows, including their covering-sieve membership. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FiniteFppfCover |
| 19 | |
| 20 | variable {S : Scheme.{u}} {Y : Over S} {R : Sieve Y} |
| 21 | |
| 22 | def underlyingFamily [CompactSpace Y.left] (hR : R ∈ (Scheme.fppfTopology.over S) Y) : |
| 23 | FiniteFppfCover.Family Y.left (Sieve.overEquiv Y R) := |
| 24 | FiniteFppfCover.finiteRefinement ((Scheme.fppfTopology.mem_over_iff R).mp hR) |
| 25 | |
| 26 | variable (D : FiniteFppfCover.Family Y.left (Sieve.overEquiv Y R)) |
| 27 | |
| 28 | def coverObject (i : Fin D.n) : Over S := Over.mk (D.map i ≫ Y.hom) |
| 29 | |
| 30 | def coverMap (i : Fin D.n) : coverObject D i ⟶ Y := Over.homMk (D.map i) rfl |
| 31 | |
| 32 | theorem coverMap_member (i : Fin D.n) : R (coverMap D i) := |
| 33 | (Sieve.overEquiv_iff R (D.map i)).mp (D.member i) |
| 34 | |
| 35 | def coverTotal : Over S := Over.mk (FiniteFppfCover.projection D ≫ Y.hom) |
| 36 | |
| 37 | def coverProjection : coverTotal D ⟶ Y := Over.homMk (FiniteFppfCover.projection D) rfl |
| 38 | |
| 39 | def coverInclusion (i : Fin D.n) : coverObject D i ⟶ coverTotal D := |
| 40 | Over.homMk (Sigma.ι D.source i) (by |
| 41 | change Sigma.ι D.source i ≫ (Sigma.desc D.map ≫ Y.hom) = D.map i ≫ Y.hom |
| 42 | rw [← Category.assoc, Sigma.ι_comp_desc]) |
| 43 | |
| 44 | theorem coverInclusion_projection (i : Fin D.n) : |
| 45 | coverInclusion D i ≫ coverProjection D = coverMap D i := by |
| 46 | apply Over.OverMorphism.ext |
| 47 | exact Sigma.ι_comp_desc D.map i |
| 48 | |
| 49 | instance coverInclusion_open (i : Fin D.n) : IsOpenImmersion (coverInclusion D i).left := |
| 50 | inferInstanceAs (IsOpenImmersion (Sigma.ι D.source i)) |
| 51 | |
| 52 | theorem coverInclusion_covers (x : (coverTotal D).left) : |
| 53 | ∃ i, ∃ y : (coverObject D i).left, (coverInclusion D i).left y = x := |
| 54 | (sigmaOpenCover D.source).exists_eq x |
| 55 | |
| 56 | theorem coverInclusion_disjoint : |
| 57 | Pairwise (fun i j ↦ Disjoint (coverInclusion D i).left.opensRange (coverInclusion D j).left.opensRange) := |
| 58 | fun i j hij ↦ disjoint_opensRange_sigmaι D.source i j hij |
| 59 | |
| 60 | instance coverTotal_affine : IsAffine (coverTotal D).left := inferInstanceAs (IsAffine (FiniteFppfCover.total D)) |
| 61 | |
| 62 | instance coverProjection_flat : Flat (coverProjection D).left := inferInstanceAs (Flat (FiniteFppfCover.projection D)) |
| 63 | |
| 64 | instance coverProjection_surjective : Surjective (coverProjection D).left := |
| 65 | inferInstanceAs (Surjective (FiniteFppfCover.projection D)) |
| 66 | |
| 67 | instance coverProjection_quasiCompact [QuasiSeparatedSpace Y.left] : QuasiCompact (coverProjection D).left := |
| 68 | inferInstanceAs (QuasiCompact (FiniteFppfCover.projection D)) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OverFiniteFppfCover |