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.GeometricComparison.Affine.CechAcyclic |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.SectionLifting |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.PrincipalAffine |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.OpenSheafOf |
| 5 | |
| 6 | /-! # Cech Section Epi -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.CechSectionEpi.AffineCechAcyclic |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An affine Čech-acyclic kernel gives surjectivity on every principal-open section module of every rational affine chart. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable (R : Type) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 17 | (S : ShortComplex (Sheaf (Opens.grothendieckTopology X.left) (ModuleCat R))) |
| 18 | |
| 19 | theorem principal_section_epi (hS : S.ShortExact) (hA : CechAcyclic.AffineCechAcyclic.Acyclic R X S.X₁) |
| 20 | (A : Type) [CommRing A] [Algebra R A] [Algebra ℚ A] |
| 21 | (f : RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A ⟶ X) [IsOpenImmersion f.left] (a : A) : |
| 22 | Epi (((AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f.left).map S.g).hom.app |
| 23 | (op (PrimeSpectrum.basicOpen a))) := by |
| 24 | have := hS.mono_f |
| 25 | have := hS.epi_g |
| 26 | let B := Localization.Away a |
| 27 | let : Algebra R B := inferInstance |
| 28 | let : Algebra ℚ B := inferInstance |
| 29 | let : IsScalarTower R A B := inferInstance |
| 30 | let g := PrincipalAffine.PrincipalAffineChart.map R A B |
| 31 | have hg : IsOpenImmersion g.left := PrincipalAffine.PrincipalAffineChart.isOpenImmersion R A B a |
| 32 | have hgf : IsOpenImmersion (g ≫ f).left := by |
| 33 | change IsOpenImmersion (g.left ≫ f.left) |
| 34 | infer_instance |
| 35 | let G := AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R (g ≫ f).left |
| 36 | let T := S.map G |
| 37 | have hT : T.ShortExact := hS.map G |
| 38 | have hl : Function.Surjective (T.g.hom.app (op ⊤)) := |
| 39 | SectionLifting.AffineSectionLifting.surjective R (CommRingCat.of B) |
| 40 | (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R B).hom T hT |
| 41 | (fun t ht => hA B (g ≫ f) t ht 0) |
| 42 | have hp : Epi (T.g.hom.app (op ⊤)) := (ModuleCat.epi_iff_surjective _).mpr hl |
| 43 | have hi : (g ≫ f).left ''ᵁ ⊤ = f.left ''ᵁ (PrimeSpectrum.basicOpen a) := |
| 44 | (Scheme.Hom.comp_image g.left f.left ⊤).trans |
| 45 | (congrArg (fun V => f.left ''ᵁ V) (PrincipalAffine.PrincipalAffineChart.image_top R A B a)) |
| 46 | exact OpenSheafOf.OpenSheafSections.epi_of_chart R (g ≫ f).left |
| 47 | (f.left ''ᵁ (PrimeSpectrum.basicOpen a)) hi S.g hp |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.CechSectionEpi.AffineCechAcyclic |