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.HodgeConjecture.HeckeCycles.Source.PrescribedPositivity |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComponentMembership |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.MultiplierSign |
| 4 | |
| 5 | /-! # Polarization Signs -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.PolarizationSigns.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual source period determines the signs of its imaginary trace |
| 12 | coefficient at all selected CM places. No sign condition is added. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComponentMembership.CM.Pairing OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComponentMembership.CM |
| 18 | |
| 19 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 20 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} (L : GeometricSource.CM.LinePeriod E B places d) |
| 21 | |
| 22 | theorem compact_selected (i : Fin places.count) (hi : i ≠ places.distinguished) : |
| 23 | 0 < (((ComponentMembership.CM.component E places (i, d (places.representative i))) |
| 24 | (L.coordinates.delta * L.coordinates.a) : E) : ℂ).im := by |
| 25 | have hp := PrescribedPositivity.CM.positive E L 0 |
| 26 | (MultiplierSign.CM.zero_mem_domain E) _ |
| 27 | (ComponentMembership.CM.compact_mem E places B d i hi 0) |
| 28 | (ComponentMembership.CM.Pairing.single_ne_zero E (ComponentMembership.CM.component E places (i, d (places.representative i))) 0) |
| 29 | simpa only [ComponentMembership.CM.Pairing.pairing, show (0 : Fin 3) ≠ 2 by decide, ite_false, mul_one] using hp |
| 30 | |
| 31 | theorem compact_positive (i : Fin places.count) (hi : i ≠ places.distinguished) |
| 32 | (hd : d (places.representative i) = false) : |
| 33 | 0 < (((places.representative i) (L.coordinates.delta * L.coordinates.a) : E) : ℂ).im := by |
| 34 | simpa only [ComponentMembership.CM.component, hd, Bool.false_eq_true, ite_false] using compact_selected E L i hi |
| 35 | |
| 36 | theorem compact_negative (i : Fin places.count) (hi : i ≠ places.distinguished) |
| 37 | (hd : d (places.representative i) = true) : |
| 38 | (((places.representative i) (L.coordinates.delta * L.coordinates.a) : E) : ℂ).im < 0 := by |
| 39 | have hp := compact_selected E L i hi |
| 40 | simp only [ComponentMembership.CM.component, hd, ite_true, AlgEquiv.mul_apply, ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_coe, |
| 41 | Complex.star_def, Complex.conj_im] at hp |
| 42 | exact neg_pos.mp hp |
| 43 | |
| 44 | theorem distinguished_product : |
| 45 | 0 < (((L.coordinates.delta * L.coordinates.a : E) : ℂ) * (B.b : ℂ)).im := by |
| 46 | have hp := PrescribedPositivity.CM.positive E L 0 |
| 47 | (MultiplierSign.CM.zero_mem_domain E) _ |
| 48 | (ComponentMembership.CM.distinguished_mem E places B d) |
| 49 | (ComponentMembership.CM.Pairing.single_ne_zero E (ComponentMembership.CM.component E places (places.distinguished, false)) 2) |
| 50 | simpa only [ComponentMembership.CM.Pairing.pairing, ComponentMembership.CM.component, Bool.false_eq_true, ite_false, places.identity, |
| 51 | AlgEquiv.one_apply, ite_eq_left rfl, ite_true] using hp |
| 52 | |
| 53 | theorem distinguished_negative : ((L.coordinates.delta * L.coordinates.a : E) : ℂ).im < 0 := by |
| 54 | have hb : (B.b : ℂ).im = 0 := by |
| 55 | have h := congrArg (fun z : E => (z : ℂ)) B.conjugate_b |
| 56 | rw [ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_coe] at h |
| 57 | have hi := congrArg Complex.im h |
| 58 | simp only [Complex.star_def, Complex.conj_im] at hi |
| 59 | linarith |
| 60 | have hp := distinguished_product E L |
| 61 | rw [Complex.mul_im, hb, mul_zero, zero_add] at hp |
| 62 | exact (mul_pos_iff.mp hp).resolve_left (fun h => (not_lt_of_ge B.negative.le) h.2) |>.1 |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.PolarizationSigns.CM |