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.LinearAlgebra.TensorProduct.Basis |
| 3 | |
| 4 | /-! # Algebra Equiv Differential Basis -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AlgebraEquivDifferentialBasis |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A differential basis transports through an actual algebra |
| 11 | isomorphism, with the differentials of the literal transported parameters. -/ |
| 12 | open scoped TensorProduct |
| 13 | universe u v w t |
| 14 | variable {R : Type u} [CommRing R] {A : Type v} [CommRing A] |
| 15 | {B : Type w} [CommRing B] [Algebra R A] [Algebra R B] |
| 16 | (e : A ≃ₐ[R] B) |
| 17 | |
| 18 | @[instance_reducible] |
| 19 | def scalarAlgebra : Algebra A B := e.toRingHom.toAlgebra |
| 20 | |
| 21 | theorem scalarTower : letI := scalarAlgebra e; IsScalarTower R A B := by |
| 22 | let := scalarAlgebra e |
| 23 | exact IsScalarTower.of_algebraMap_eq (fun r => (e.commutes r).symm) |
| 24 | |
| 25 | theorem formallyEtale : letI := scalarAlgebra e; Algebra.FormallyEtale A B := by |
| 26 | let := scalarAlgebra e |
| 27 | let e' : A ≃ₐ[A] B := { e.toRingEquiv with commutes' := fun _ => rfl } |
| 28 | exact Algebra.FormallyEtale.of_equiv e' |
| 29 | |
| 30 | variable {ι : Type t} (b : Module.Basis ι A Ω[A⁄R]) |
| 31 | |
| 32 | def basis : Module.Basis ι B Ω[B⁄R] := by |
| 33 | letI := scalarAlgebra e |
| 34 | letI := scalarTower e |
| 35 | letI := formallyEtale e |
| 36 | exact (b.baseChange B).map (KaehlerDifferential.tensorKaehlerEquivOfFormallyEtale R A B) |
| 37 | |
| 38 | theorem basis_apply (x : ι → A) (hx : ∀ i, b i = KaehlerDifferential.D R A (x i)) (i : ι) : |
| 39 | basis e b i = KaehlerDifferential.D R B (e (x i)) := by |
| 40 | let := scalarAlgebra e |
| 41 | let := scalarTower e |
| 42 | let := formallyEtale e |
| 43 | rw [basis, Module.Basis.map_apply, Module.Basis.baseChange_apply, hx] |
| 44 | change KaehlerDifferential.mapBaseChange R A B ((1 : B) ⊗ₜ[A] KaehlerDifferential.D R A (x i)) = _ |
| 45 | rw [KaehlerDifferential.mapBaseChange_tmul, one_smul, KaehlerDifferential.map_D] |
| 46 | rfl |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AlgebraEquivDifferentialBasis |