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.PowerMap |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.FormPowers |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.FormTranslations |
| 4 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.RelativeScalarSquare |
| 5 | |
| 6 | /-! # Power Words -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.PowerWords.FreeRelativePowerWords |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # The actual power-coordinate map on every coordinate exterior word -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedAlgebra.MultivariableDividedAlgebra |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (W R σ : Type u) [CommRing W] [CommRing R] [Algebra W R] |
| 22 | (I : Ideal R) (δ : DividedPowers I) [Fintype σ] [LinearOrder σ] |
| 23 | (m : ℕ) (a c : σ → R) (h : ∀ i, a i ^ m - c i ∈ I) |
| 24 | |
| 25 | local notation "G" => DividedPowerAlgebra R (σ →₀ R) |
| 26 | local notation "IG" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedPowers.MultivariableDividedPowers.ideal R σ I |
| 27 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Powers.FreeRelativePowers.dividedPowers R σ I δ |
| 28 | local notation "f" => OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.PowerMap.FreeRelativePowerMap.map R σ I δ m a c h |
| 29 | |
| 30 | def complexMap := PD.RelativeScalarSquare.PDRelativeScalarSquare.selfMap W R G IG γ f |
| 31 | (PowerMap.FreeRelativePowerMap.map_isDPMorphism R σ I δ m a c h) |
| 32 | |
| 33 | def jacobian (n : ℕ) (v : Fin n → σ) : G := |
| 34 | ∏ j, ((m : G) * PowerMap.FreeRelativePowerMap.total R σ a (v j) ^ (m - 1)) |
| 35 | |
| 36 | omit [Fintype σ] [LinearOrder σ] in |
| 37 | theorem symbol (n : ℕ) (b : G) (v : Fin n → σ) : |
| 38 | ((complexMap W R σ I δ m a c h).f n).hom |
| 39 | (PD.DeRham.PDDeRham.symbol R G IG γ b (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ 1 ∘ v)) = |
| 40 | PD.DeRham.PDDeRham.symbol R G IG γ (f b * jacobian R σ m a n v) (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ 1 ∘ v) := by |
| 41 | have hc := PD.FormTranslations.PDFormTranslations.add_base R G IG γ b (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ 1 ∘ v) (c ∘ v) |
| 42 | have ha := PD.FormTranslations.PDFormTranslations.add_base R G IG γ (f b * jacobian R σ m a n v) |
| 43 | (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ 1 ∘ v) (a ∘ v) |
| 44 | let g := ((complexMap W R σ I δ m a c h).f n).hom |
| 45 | have hs := PD.RelativeScalarSquare.PDRelativeScalarSquare.selfMap_symbol W R G IG γ f |
| 46 | (PowerMap.FreeRelativePowerMap.map_isDPMorphism R σ I δ m a c h) n b |
| 47 | (PowerMap.FreeRelativePowerMap.total R σ c ∘ v) |
| 48 | have hv : f ∘ (PowerMap.FreeRelativePowerMap.total R σ c ∘ v) = |
| 49 | (fun j => PowerMap.FreeRelativePowerMap.total R σ a (v j) ^ m) := |
| 50 | funext (fun j => PowerMap.FreeRelativePowerMap.map_total R σ I δ m a c h (v j)) |
| 51 | have hp := PD.FormPowers.PDFormPowers.pow R G IG γ (f b) (PowerMap.FreeRelativePowerMap.total R σ a ∘ v) m |
| 52 | exact (congrArg g hc.symm).trans |
| 53 | (hs.trans ((congrArg (PD.DeRham.PDDeRham.symbol R G IG γ (f b)) hv).trans (hp.trans ha))) |
| 54 | |
| 55 | theorem word (n : ℕ) (b : G) (v : Fin n → σ) : |
| 56 | ((complexMap W R σ I δ m a c h).f n).hom |
| 57 | (((ScalarComparison.FreeRelativeScalarComparison.complexIso W R σ I δ).hom.f n).hom |
| 58 | (b ⊗ₜ[W] exteriorPower.ιMulti W n (fun j => Finsupp.single (v j) 1))) = |
| 59 | ((ScalarComparison.FreeRelativeScalarComparison.complexIso W R σ I δ).hom.f n).hom |
| 60 | ((f b * jacobian R σ m a n v) ⊗ₜ[W] |
| 61 | exteriorPower.ιMulti W n (fun j => Finsupp.single (v j) 1)) := by |
| 62 | rw [ScalarComparison.FreeRelativeScalarComparison.word, ScalarComparison.FreeRelativeScalarComparison.word] |
| 63 | exact symbol W R σ I δ m a c h n b v |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.PowerWords.FreeRelativePowerWords |