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 Mathlib.RingTheory.Etale.Kaehler |
| 2 | import Mathlib.RingTheory.Kaehler.Polynomial |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 4 | |
| 5 | /-! # Coordinate Differentials -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Polynomial.CoordinateDifferentials |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A genuine polynomial coordinate algebra equivalence gives the basis |
| 12 | of differentials of its actual coordinate functions. -/ |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {C : Type v} [CommRing C] [Algebra R C] |
| 17 | {σ : Type w} (e : C ≃ₐ[R] MvPolynomial σ R) |
| 18 | |
| 19 | @[instance_reducible] |
| 20 | def polynomialAlgebra : Algebra (MvPolynomial σ R) C := e.symm.toRingHom.toAlgebra |
| 21 | |
| 22 | theorem tower : |
| 23 | letI := polynomialAlgebra e |
| 24 | IsScalarTower R (MvPolynomial σ R) C := by |
| 25 | let := polynomialAlgebra e |
| 26 | exact IsScalarTower.of_algebraMap_eq (fun r => (e.symm.commutes r).symm) |
| 27 | |
| 28 | theorem formallyEtale : |
| 29 | letI := polynomialAlgebra e |
| 30 | Algebra.FormallyEtale (MvPolynomial σ R) C := by |
| 31 | let := polynomialAlgebra e |
| 32 | let f : MvPolynomial σ R ≃ₐ[MvPolynomial σ R] C := |
| 33 | { e.symm.toRingEquiv with commutes' := fun _ => rfl } |
| 34 | exact Algebra.FormallyEtale.of_equiv f |
| 35 | |
| 36 | def basis : Module.Basis σ C Ω[C⁄R] := by |
| 37 | letI := polynomialAlgebra e |
| 38 | letI := tower e |
| 39 | letI := formallyEtale e |
| 40 | exact ((KaehlerDifferential.mvPolynomialBasis R σ).baseChange C).map |
| 41 | (KaehlerDifferential.tensorKaehlerEquivOfFormallyEtale R (MvPolynomial σ R) C) |
| 42 | |
| 43 | theorem basis_apply (j : σ) : basis e j = KaehlerDifferential.D R C (e.symm (MvPolynomial.X j)) := by |
| 44 | let := polynomialAlgebra e |
| 45 | let := tower e |
| 46 | let := formallyEtale e |
| 47 | rw [basis, Module.Basis.map_apply, Module.Basis.baseChange_apply, |
| 48 | KaehlerDifferential.mvPolynomialBasis_apply] |
| 49 | exact ((LinearEquiv.symm_apply_eq |
| 50 | (KaehlerDifferential.tensorKaehlerEquivOfFormallyEtale R (MvPolynomial σ R) C)).mp |
| 51 | (KaehlerDifferential.tensorKaehlerEquivOfFormallyEtale_symm_D_algebraMap R (MvPolynomial σ R) C |
| 52 | (MvPolynomial.X j))).symm |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Polynomial.CoordinateDifferentials |