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.IntrinsicDeRham.SectionRestriction |
| 2 | import Mathlib.RingTheory.Etale.Kaehler |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 4 | |
| 5 | /-! # Differential Basis -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.DifferentialBasis |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual affine-open restriction carries a differential basis to |
| 12 | its base-change basis, with the original restricted coordinates. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.SectionRestriction.IntrinsicUnit |
| 17 | |
| 18 | universe u v |
| 19 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 20 | {U V : X.left.Opens} (i : V ⟶ U) (hU : IsAffineOpen U) (hV : IsAffineOpen V) |
| 21 | {σ : Type v} (b : Module.Basis σ (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) Ω[IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U⁄R]) |
| 22 | |
| 23 | def basis : Module.Basis σ (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V) Ω[IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V⁄R] := by |
| 24 | letI := IntrinsicDeRham.SectionRestriction.IntrinsicUnit.restrictionAlgebra R X i |
| 25 | letI := IntrinsicDeRham.SectionRestriction.IntrinsicUnit.restrictionTower R X i |
| 26 | letI := IntrinsicDeRham.SectionRestriction.IntrinsicUnit.restrictionEtale R X i hU hV |
| 27 | exact (b.baseChange (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V)).map |
| 28 | (KaehlerDifferential.tensorKaehlerEquivOfFormallyEtale R (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V)) |
| 29 | |
| 30 | theorem basis_apply (x : σ → IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) |
| 31 | (hx : ∀ j, b j = KaehlerDifferential.D R (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (x j)) (j : σ) : |
| 32 | basis R X i hU hV b j = KaehlerDifferential.D R (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V) |
| 33 | (((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).map i.op).hom (x j)) := by |
| 34 | let := IntrinsicDeRham.SectionRestriction.IntrinsicUnit.restrictionAlgebra R X i |
| 35 | let := IntrinsicDeRham.SectionRestriction.IntrinsicUnit.restrictionTower R X i |
| 36 | let := IntrinsicDeRham.SectionRestriction.IntrinsicUnit.restrictionEtale R X i hU hV |
| 37 | rw [basis, Module.Basis.map_apply, Module.Basis.baseChange_apply, hx] |
| 38 | exact ((LinearEquiv.symm_apply_eq |
| 39 | (KaehlerDifferential.tensorKaehlerEquivOfFormallyEtale R (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V))).mp |
| 40 | (KaehlerDifferential.tensorKaehlerEquivOfFormallyEtale_symm_D_algebraMap |
| 41 | R (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V) (x j))).symm |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.DifferentialBasis |