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.AffineOpen.SectionBase |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Zero.FrameChartMap |
| 3 | |
| 4 | /-! # Section Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.SectionRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restriction between actual affine-open section algebras gives the native geometric chart map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (k : Type u) [Field k] (X : Over (Spec (CommRingCat.of k))) |
| 17 | {U V : X.left.Opens} (h : V ≤ U) |
| 18 | |
| 19 | def algHom : (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X).obj (op U) →ₐ[k] |
| 20 | (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X).obj (op V) := |
| 21 | ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X).map (homOfLE h).op).hom |
| 22 | |
| 23 | def schemeMap : Spec Γ(X.left, V) ⟶ Spec Γ(X.left, U) := |
| 24 | Spec.map (X.left.presheaf.map (homOfLE h).op) |
| 25 | |
| 26 | theorem overBase : schemeMap k X h ≫ |
| 27 | (Crystalline.Presentation.affineScheme k ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X).obj (op U))).hom = |
| 28 | (Crystalline.Presentation.affineScheme k ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X).obj (op V))).hom := |
| 29 | Zero.FrameChartMap.schemeMap_over k _ _ (algHom k X h) |
| 30 | |
| 31 | variable (hU : IsAffineOpen U) (hV : IsAffineOpen V) |
| 32 | |
| 33 | include hU hV in |
| 34 | theorem factorization : schemeMap k X h ≫ hU.fromSpec = hV.fromSpec := |
| 35 | hU.map_fromSpec hV (homOfLE h).op |
| 36 | |
| 37 | include hU hV in |
| 38 | theorem openImmersion : IsOpenImmersion (schemeMap k X h) := by |
| 39 | have : IsOpenImmersion (schemeMap k X h ≫ hU.fromSpec) := (factorization k X h hU hV).symm ▸ inferInstance |
| 40 | exact IsOpenImmersion.of_comp _ hU.fromSpec |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.SectionRestriction |