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.AffineSection.Towers |
| 2 | |
| 3 | /-! # Coordinate Sections -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.CoordinateSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: native affine coordinate scalars agree with principal-open localization |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | private theorem localization_of_algebra_eq {R A : Type u} [CommRing R] [CommRing A] |
| 18 | (S : Submonoid R) (a b : Algebra R A) (h : a = b) |
| 19 | (hb : letI := b; IsLocalization S A) : letI := a; IsLocalization S A := |
| 20 | h.symm ▸ hb |
| 21 | |
| 22 | variable (C : Type u) [CommRing C] |
| 23 | |
| 24 | theorem algebra_eq (U : (Spec (CommRingCat.of C)).Opens) : |
| 25 | AffineSection.Towers.coordinateAlgebra C U = StructureSheaf.openAlgebra C (op U) := by |
| 26 | apply Algebra.algebra_ext |
| 27 | intro c |
| 28 | change AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap C (ModuleScalars.base C) U c = _ |
| 29 | rw [ModuleScalars.baseMap] |
| 30 | exact ConcreteCategory.congr_hom (Scheme.toOpen_eq (CommRingCat.of C) U).symm c |
| 31 | |
| 32 | theorem principal_localization (c : C) : |
| 33 | letI : Algebra C Γ(Spec (CommRingCat.of C), PrimeSpectrum.basicOpen c) := |
| 34 | AffineSection.Towers.coordinateAlgebra C (PrimeSpectrum.basicOpen c) |
| 35 | IsLocalization.Away c Γ(Spec (CommRingCat.of C), PrimeSpectrum.basicOpen c) := by |
| 36 | exact localization_of_algebra_eq (Submonoid.powers c) _ _ |
| 37 | (algebra_eq C (PrimeSpectrum.basicOpen c)) (StructureSheaf.IsLocalization.to_basicOpen C c) |
| 38 | |
| 39 | theorem global_bijective : |
| 40 | letI : Algebra C Γ(Spec (CommRingCat.of C), ⊤) := AffineSection.Towers.coordinateAlgebra C ⊤ |
| 41 | Function.Bijective (algebraMap C Γ(Spec (CommRingCat.of C), ⊤)) := by |
| 42 | rw [algebra_eq] |
| 43 | exact StructureSheaf.algebraMap_obj_top_bijective |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.CoordinateSections |