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.Family.CommonOpenTangentDifferences |
| 2 | |
| 3 | /-! # Coefficient Unit Logarithms -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CoefficientUnitLogarithms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Logarithmic derivatives of actual units with coefficients in a |
| 10 | fiber algebra. They are additive on units, linear in the derivation, |
| 11 | and commute with the original coefficient restriction squares. -/ |
| 12 | |
| 13 | variable {k S B : Type*} [CommRing k] [CommRing S] [CommRing B] |
| 14 | [Algebra k S] [Algebra k B] [Algebra S B] [IsScalarTower k S B] |
| 15 | |
| 16 | def coefficientUnitLog (d : Derivation k S B) (u : Sˣ) : B := |
| 17 | d u.val * algebraMap S B (u⁻¹).val |
| 18 | |
| 19 | omit [IsScalarTower k S B] in |
| 20 | theorem coefficientUnitLog_one (d : Derivation k S B) : |
| 21 | coefficientUnitLog d 1 = 0 := by |
| 22 | change d 1 * algebraMap S B 1 = 0 |
| 23 | rw [Derivation.map_one_eq_zero, zero_mul] |
| 24 | |
| 25 | omit [IsScalarTower k S B] in |
| 26 | theorem coefficientUnitLog_mul (d : Derivation k S B) (u v : Sˣ) : |
| 27 | coefficientUnitLog d (u * v) = coefficientUnitLog d u + coefficientUnitLog d v := by |
| 28 | have hi (w : Sˣ) : algebraMap S B w.val * algebraMap S B (w⁻¹).val = 1 := by |
| 29 | exact ((map_mul (algebraMap S B) w.val (w⁻¹).val).symm.trans |
| 30 | (congrArg (algebraMap S B) w.val_inv)).trans (map_one (algebraMap S B)) |
| 31 | unfold coefficientUnitLog |
| 32 | change d (u.val * v.val) * algebraMap S B ((u * v)⁻¹).val = _ |
| 33 | rw [d.leibniz, mul_inv_rev] |
| 34 | simp only [Units.val_mul, map_mul, Algebra.smul_def] |
| 35 | calc |
| 36 | _ = d v.val * (algebraMap S B u.val * algebraMap S B (u⁻¹).val) * |
| 37 | algebraMap S B (v⁻¹).val + |
| 38 | d u.val * (algebraMap S B v.val * algebraMap S B (v⁻¹).val) * |
| 39 | algebraMap S B (u⁻¹).val := by ring |
| 40 | _ = _ := by rw [hi u, hi v, mul_one, mul_one, add_comm] |
| 41 | |
| 42 | def coefficientUnitLogLinear (u : Sˣ) : Derivation k S B →ₗ[k] B where |
| 43 | toFun d := coefficientUnitLog d u |
| 44 | map_add' d e := by |
| 45 | change (d u.val + e u.val) * _ = _ |
| 46 | exact add_mul _ _ _ |
| 47 | map_smul' c d := by |
| 48 | change (c • d u.val) * _ = _ |
| 49 | exact smul_mul_assoc _ _ _ |
| 50 | |
| 51 | theorem coefficientUnitLog_sub (d e : Derivation k S B) (u : Sˣ) : |
| 52 | coefficientUnitLog (d - e) u = coefficientUnitLog d u - coefficientUnitLog e u := |
| 53 | (coefficientUnitLogLinear u).map_sub d e |
| 54 | |
| 55 | variable {S' B' : Type*} [CommRing S'] [CommRing B'] |
| 56 | [Algebra k S'] [Algebra k B'] [Algebra S' B'] [IsScalarTower k S' B'] |
| 57 | |
| 58 | omit [IsScalarTower k S B] [IsScalarTower k S' B'] in |
| 59 | theorem coefficientUnitLog_map (f : S →ₐ[k] S') (F : B →ₐ[k] B') |
| 60 | (hF : ∀ a, F (algebraMap S B a) = algebraMap S' B' (f a)) |
| 61 | (d : Derivation k S B) (e : Derivation k S' B') (he : ∀ a, e (f a) = F (d a)) (u : Sˣ) : |
| 62 | coefficientUnitLog e (Units.map f.toMonoidHom u) = F (coefficientUnitLog d u) := by |
| 63 | change e (f u.val) * algebraMap S' B' (f (u⁻¹).val) = F (d u.val * algebraMap S B (u⁻¹).val) |
| 64 | rw [he, ← hF, map_mul] |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CoefficientUnitLogarithms |