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.Affine.FrobeniusSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PowerScalarLocalization |
| 3 | |
| 4 | /-! # Frobenius Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.FrobeniusRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native affine section isomorphism transports localization to the actual restriction map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | private theorem cancel_source {R : Type*} [CommRing R] (S : Submonoid R) |
| 17 | {M N P : ModuleCat.{u} R} (e : M ⟶ N) (f : N ⟶ P) (g : M ⟶ P) |
| 18 | (h : e ≫ f = g) (he : Function.Bijective e) (hg : IsLocalizedModule S g.hom) : |
| 19 | IsLocalizedModule S f.hom := by |
| 20 | apply (IsLocalizedModule.comp_iff_of_bijective_right S e.hom he).mp |
| 21 | change IsLocalizedModule S ((e ≫ f).hom) |
| 22 | rw [h] |
| 23 | exact hg |
| 24 | |
| 25 | variable (k C : Type u) [Field k] [Fintype k] [CommRing C] [Algebra k C] |
| 26 | |
| 27 | theorem restriction (c : C) (n : ℕ) |
| 28 | (h : IsLocalizedModule (Submonoid.powers c) |
| 29 | (FrobeniusSections.map k C (PrimeSpectrum.basicOpen c) n).hom) : IsLocalizedModule (Submonoid.powers c) |
| 30 | (FrobeniusSections.restrictionMap k C c n).hom := |
| 31 | @cancel_source C inferInstance (Submonoid.powers c) |
| 32 | (Frobenius.DeRhamComplex.forms k C n) |
| 33 | ((FrobeniusSections.presheaf k C n).obj (op ⊤)) |
| 34 | ((FrobeniusSections.presheaf k C n).obj (op (PrimeSpectrum.basicOpen c))) |
| 35 | (FrobeniusSections.map k C ⊤ n) |
| 36 | (FrobeniusSections.restrictionMap k C c n) |
| 37 | (FrobeniusSections.map k C (PrimeSpectrum.basicOpen c) n) |
| 38 | (FrobeniusSections.principal_naturality k C c n) |
| 39 | (FrobeniusSections.top_bijective k C n) h |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.FrobeniusRestriction |