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.Dual.UnitLogarithmicCoefficient |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CoefficientUnitLogarithms |
| 3 | |
| 4 | /-! # Unit Ratio Logarithms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.UnitRatioLogarithms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Comparing two actual pullbacks of a line-frame unit with the |
| 11 | same reduction gives a normalized unit. Its literal first coefficient |
| 12 | is the logarithmic derivative of their original coefficient difference. -/ |
| 13 | |
| 14 | variable {B : Type*} [CommRing B] |
| 15 | |
| 16 | theorem dualUnitLogCoefficient_inv (u : (DualNumber B)ˣ) : |
| 17 | UnitLogarithmicCoefficient.dualUnitLogCoefficient u⁻¹ = -UnitLogarithmicCoefficient.dualUnitLogCoefficient u := by |
| 18 | have h := UnitLogarithmicCoefficient.dualUnitLogCoefficient_mul u u⁻¹ |
| 19 | rw [mul_inv_cancel, UnitLogarithmicCoefficient.dualUnitLogCoefficient_one] at h |
| 20 | exact eq_neg_of_add_eq_zero_right h.symm |
| 21 | |
| 22 | theorem dualUnitLogCoefficient_div (u v : (DualNumber B)ˣ) : |
| 23 | UnitLogarithmicCoefficient.dualUnitLogCoefficient (u / v) = UnitLogarithmicCoefficient.dualUnitLogCoefficient u - UnitLogarithmicCoefficient.dualUnitLogCoefficient v := by |
| 24 | rw [div_eq_mul_inv, UnitLogarithmicCoefficient.dualUnitLogCoefficient_mul, dualUnitLogCoefficient_inv, sub_eq_add_neg] |
| 25 | |
| 26 | theorem dualUnitRatio_fst (u v : (DualNumber B)ˣ) (h : u.val.fst = v.val.fst) : |
| 27 | (u / v).val.fst = 1 := by |
| 28 | change u.val.fst * (v⁻¹).val.fst = 1 |
| 29 | rw [h] |
| 30 | exact UnitLogarithmicCoefficient.dualUnit_fst_mul_inverse v |
| 31 | |
| 32 | theorem dualUnitRatio_snd (u v : (DualNumber B)ˣ) (h : u.val.fst = v.val.fst) : |
| 33 | (u / v).val.snd = UnitLogarithmicCoefficient.dualUnitLogCoefficient u - UnitLogarithmicCoefficient.dualUnitLogCoefficient v := |
| 34 | (UnitLogarithmicCoefficient.dualUnitLogCoefficient_normalized (u / v) (dualUnitRatio_fst u v h)).symm.trans |
| 35 | (dualUnitLogCoefficient_div u v) |
| 36 | |
| 37 | variable {k S : Type*} [CommRing k] [CommRing S] [Algebra k S] [Algebra k B] [Algebra S B] |
| 38 | |
| 39 | theorem dualUnitPullbackRatio_coefficient (f g : S →+* DualNumber B) |
| 40 | (hf : ∀ a, (f a).fst = algebraMap S B a) (hg : ∀ a, (g a).fst = algebraMap S B a) |
| 41 | (d : Derivation k S B) (hd : ∀ a, (f a).snd - (g a).snd = d a) (u : Sˣ) : |
| 42 | ((Units.map f.toMonoidHom u) / (Units.map g.toMonoidHom u)).val.snd = CoefficientUnitLogarithms.coefficientUnitLog d u := by |
| 43 | rw [dualUnitRatio_snd _ _ ((hf u.val).trans (hg u.val).symm)] |
| 44 | change (f u.val).snd * (f (u⁻¹).val).fst - (g u.val).snd * (g (u⁻¹).val).fst = |
| 45 | d u.val * algebraMap S B (u⁻¹).val |
| 46 | rw [hf, hg, ← sub_mul, hd] |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.UnitRatioLogarithms |