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.AbelianModuli.ReferenceFamily.CoefficientUnitLogarithms |
| 2 | import Mathlib.LinearAlgebra.Dual.Basis |
| 3 | |
| 4 | /-! # Conormal Unit Log Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConormalUnitLogCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite conormal basis expands the actual logarithmic derivative |
| 11 | as a sum of tangent coordinates times constant-direction logarithms. |
| 12 | The identity uses coefficient-linear derivation coordinates. -/ |
| 13 | |
| 14 | open scoped BigOperators |
| 15 | |
| 16 | variable {k V : Type*} [CommRing k] [AddCommGroup V] [Module k V] |
| 17 | (B : Type*) [CommRing B] [Algebra k B] |
| 18 | |
| 19 | def coefficientCovector (l : V →ₗ[k] k) : V →ₗ[k] B := |
| 20 | (Algebra.linearMap k B).comp l |
| 21 | |
| 22 | theorem coefficientCovector_apply (l : V →ₗ[k] k) (v : V) : |
| 23 | coefficientCovector B l v = algebraMap k B (l v) := rfl |
| 24 | |
| 25 | variable {I : Type*} [Fintype I] (b : Module.Basis I k V) |
| 26 | |
| 27 | theorem coefficientCovector_basis_sum (f : V →ₗ[k] B) : |
| 28 | ∑ i, f (b i) • coefficientCovector B (b.coord i) = f := by |
| 29 | classical |
| 30 | apply b.ext |
| 31 | intro j |
| 32 | simp [coefficientCovector, Module.Basis.coord_apply, Finsupp.single_apply] |
| 33 | |
| 34 | def derivationUnitLogCoefficientLinear (u : Bˣ) : Derivation k B B →ₗ[B] B where |
| 35 | toFun d := CoefficientUnitLogarithms.coefficientUnitLog d u |
| 36 | map_add' d e := by |
| 37 | change (d u.val + e u.val) * _ = _ |
| 38 | exact add_mul _ _ _ |
| 39 | map_smul' c d := by |
| 40 | change (c * d u.val) * (u⁻¹).val = c * (d u.val * (u⁻¹).val) |
| 41 | exact mul_assoc _ _ _ |
| 42 | |
| 43 | def conormalUnitLogCoordinate |
| 44 | (F : Derivation k B B ≃ₗ[B] (V →ₗ[k] B)) (u : Bˣ) (i : I) : B := |
| 45 | CoefficientUnitLogarithms.coefficientUnitLog (F.symm (coefficientCovector B (b.coord i))) u |
| 46 | |
| 47 | theorem coefficientUnitLog_conormal_expansion |
| 48 | (F : Derivation k B B ≃ₗ[B] (V →ₗ[k] B)) (u : Bˣ) (d : Derivation k B B) : |
| 49 | CoefficientUnitLogarithms.coefficientUnitLog d u = ∑ i, F d (b i) * conormalUnitLogCoordinate B b F u i := by |
| 50 | let L := (derivationUnitLogCoefficientLinear B u).comp F.symm.toLinearMap |
| 51 | have h := congrArg L (coefficientCovector_basis_sum B b (F d)) |
| 52 | rw [map_sum] at h |
| 53 | simp only [map_smul] at h |
| 54 | have hr : L (F d) = CoefficientUnitLogarithms.coefficientUnitLog d u := |
| 55 | congrArg (fun e => CoefficientUnitLogarithms.coefficientUnitLog e u) (F.symm_apply_apply d) |
| 56 | exact hr.symm.trans h.symm |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConormalUnitLogCoordinates |