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.NumberTheory.PadicHodge.IntegralComparison.Projective.GlobalFunctionsFinite |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.ReducedEtale |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SchemeSmooth |
| 4 | |
| 5 | /-! # Global Function Algebra -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.GlobalFunctionAlgebra |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual global-function algebra of a nonempty smooth proper projective scheme over a finite field is finite étale. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (k : Type u) [Field k] (X : Over (Spec (CommRingCat.of k))) |
| 18 | |
| 19 | abbrev algebra : CommAlgCat.{u} k := (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X).obj (op ⊤) |
| 20 | |
| 21 | theorem module_finite [IsProper X.hom] (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) : Module.Finite k (algebra k X) := |
| 22 | Projective.GlobalFunctionsFinite.finite k X hprojective |
| 23 | |
| 24 | theorem finite [Finite k] [IsProper X.hom] (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) : Finite (algebra k X) := by |
| 25 | let : Module.Finite k (algebra k X) := module_finite k X hprojective |
| 26 | exact Module.finite_of_finite k |
| 27 | |
| 28 | theorem reduced [Smooth X.hom] : _root_.IsReduced (algebra k X) := by |
| 29 | let : IsReduced X.left := AlgebraicGeometry.Quotients.FiniteDescent.SchemeSmooth.Construction.SchemeSmoothReduced.reduced_of_smooth_field X.hom |
| 30 | exact inferInstanceAs (_root_.IsReduced Γ(X.left, ⊤)) |
| 31 | |
| 32 | theorem nontrivial [Nonempty X.left] : Nontrivial (algebra k X) := by |
| 33 | let : Nonempty (⊤ : X.left.Opens) := ⟨⟨Classical.choice inferInstance, trivial⟩⟩ |
| 34 | exact inferInstanceAs (Nontrivial Γ(X.left, ⊤)) |
| 35 | |
| 36 | variable (p : ℕ) [Fact p.Prime] [CharP k p] [Nonempty X.left] |
| 37 | |
| 38 | theorem characteristic : CharP (algebra k X) p := by |
| 39 | let := nontrivial k X |
| 40 | exact CharP.of_ringHom_of_ne_zero (algebraMap k (algebra k X)) p (Fact.out : p.Prime).ne_zero |
| 41 | |
| 42 | include p in |
| 43 | theorem etale [Finite k] [IsProper X.hom] [Smooth X.hom] |
| 44 | (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) : Algebra.Etale k (algebra k X) := by |
| 45 | let := finite k X hprojective |
| 46 | let := reduced k X |
| 47 | let := characteristic k X p |
| 48 | exact IntegralComparison.Finite.ReducedEtale.etale p (algebra k X) k |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.GlobalFunctionAlgebra |