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.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.CoordinateSymbols |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Koszul.ScalarRestriction |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.ExteriorBase |
| 4 | |
| 5 | /-! # Scalar Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.ScalarComparison.FreeRelativeScalarComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # Relative free PD forms with the original smaller scalar action -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedAlgebra.MultivariableDividedAlgebra |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (W R σ : Type u) [CommRing W] [CommRing R] [Algebra W R] |
| 21 | (I : Ideal R) (δ : DividedPowers I) [Fintype σ] [LinearOrder σ] |
| 22 | |
| 23 | local notation "G" => DividedPowerAlgebra R (σ →₀ R) |
| 24 | local notation "IG" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedPowers.MultivariableDividedPowers.ideal R σ I |
| 25 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Powers.FreeRelativePowers.dividedPowers R σ I δ |
| 26 | local notation "D" => OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.derivatives R σ |
| 27 | local notation "hD" => OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.commute R σ |
| 28 | |
| 29 | def complexIso : Koszul.Tensor.KoszulTensor.complex W σ G (fun i => (D i).restrictScalars W) hD ≅ |
| 30 | NumberTheory.PadicHodge.PeriodInvariants.SemilinearComplexRestriction.restrictedComplex (algebraMap W R) |
| 31 | (PD.DeRham.PDDeRham.complex R G IG γ) := by |
| 32 | let e := Koszul.ScalarRestriction.KoszulScalarRestriction.complexIso W R G σ D hD |
| 33 | let f := ((ModuleCat.restrictScalars (algebraMap W R)).mapHomologicalComplex (.up ℕ)).mapIso |
| 34 | (Poincare.FreeRelativePoincare.complexIso R σ I δ) |
| 35 | exact e ≪≫ f |
| 36 | |
| 37 | theorem word (n : ℕ) (a : G) (v : Fin n → σ) : |
| 38 | ((complexIso W R σ I δ).hom.f n).hom |
| 39 | (a ⊗ₜ[W] exteriorPower.ιMulti W n (fun j => Finsupp.single (v j) 1)) = |
| 40 | PD.DeRham.PDDeRham.symbol R G IG γ a (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ 1 ∘ v) := by |
| 41 | change ((Poincare.FreeRelativePoincare.complexIso R σ I δ).hom.f n).hom |
| 42 | (a ⊗ₜ[R] NumberTheory.PadicHodge.PeriodInvariants.ExteriorSemilinearBaseChange.exteriorMap (algebraMap W R) n |
| 43 | (exteriorPower.ιMulti W n (fun j => Finsupp.single (v j) 1))) = _ |
| 44 | rw [ExteriorBase.ExteriorBaseChangeWords.word] |
| 45 | exact CoordinateSymbols.FreeRelativeCoordinateSymbols.word R σ I δ n a v |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.ScalarComparison.FreeRelativeScalarComparison |