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.ThetaCycle.Cm |
| 2 | |
| 3 | /-! # Places -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Places.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Select one representative of every conjugate pair, using any prescribed |
| 10 | odd CM type that is positive at the identity. This supplies the finite places |
| 11 | and the distinguished identity required by the concrete theta construction. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | |
| 16 | variable (K : IntermediateField ℚ ℂ) |
| 17 | [NumberField K] [NumberField.IsCMField K] |
| 18 | (v : ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 19 | |
| 20 | theorem positive_type_pair_bijective : Function.Bijective |
| 21 | (fun p : {g : Gal(K/ℚ) // v.val g = true} × Bool => |
| 22 | if p.2 then ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * p.1.val else p.1.val) := by |
| 23 | constructor |
| 24 | · rintro ⟨⟨a, ha⟩, p⟩ ⟨⟨b, hb⟩, q⟩ he |
| 25 | cases p <;> cases q |
| 26 | · exact Prod.ext (Subtype.ext he) rfl |
| 27 | · have hs := congrArg v.val he |
| 28 | change v.val a = v.val (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * b) at hs |
| 29 | rw [ha, v.property b, hb] at hs |
| 30 | cases hs |
| 31 | · have hs := congrArg v.val he |
| 32 | change v.val (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * a) = v.val b at hs |
| 33 | rw [v.property a, ha, hb] at hs |
| 34 | cases hs |
| 35 | · exact Prod.ext (Subtype.ext (mul_left_cancel he)) rfl |
| 36 | · intro g |
| 37 | by_cases hg : v.val g = true |
| 38 | · exact ⟨(⟨g, hg⟩, false), rfl⟩ |
| 39 | · have hc : v.val (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g) = true := by |
| 40 | rw [v.property g, Bool.eq_false_of_not_eq_true hg] |
| 41 | rfl |
| 42 | exact ⟨(⟨ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g, hc⟩, true), ComplexMultiplication.ExteriorSignReduction.CM.CMCoefficientField.conjugation_mul_involutive K g⟩ |
| 43 | |
| 44 | def placesFromType (hv : v.val 1 = true) : HeckeCycles.GeometricSource.CM.Places K := by |
| 45 | let I := {g : Gal(K/ℚ) // v.val g = true} |
| 46 | let e : I ≃ Fin (Fintype.card I) := Fintype.equivFin I |
| 47 | refine ⟨Fintype.card I, fun i => (e.symm i).val, e ⟨1, hv⟩, ?_, ?_⟩ |
| 48 | · exact congrArg Subtype.val (e.symm_apply_apply ⟨1, hv⟩) |
| 49 | · exact (positive_type_pair_bijective K v).comp |
| 50 | (Equiv.prodCongr e.symm (Equiv.refl Bool)).bijective |
| 51 | |
| 52 | theorem placesFromType_positive (hv : v.val 1 = true) |
| 53 | (i : Fin (placesFromType K v hv).count) : |
| 54 | v.val ((placesFromType K v hv).representative i) = true := |
| 55 | ((Fintype.equivFin {g : Gal(K/ℚ) // v.val g = true}).symm i).property |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Places.CM |