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.CompactThreePlanes |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactPlaneElimination |
| 3 | |
| 4 | /-! # Compact Three Perfect -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactThreePerfect.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compact unitary elimination proves perfectness of the actual SU(3) |
| 11 | group occurring at every compact real place. -/ |
| 12 | |
| 13 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 14 | |
| 15 | theorem compact_three_commutator_eq_top : commutator CompactThreePlanes.CM.CompactThreeGroup = ⊤ := by |
| 16 | apply top_unique |
| 17 | intro g _ |
| 18 | let x := g.val.val 0 2 |
| 19 | let y := g.val.val 1 2 |
| 20 | let z := g.val.val 2 2 |
| 21 | let r := Real.sqrt (Complex.normSq z + Complex.normSq x) |
| 22 | have hr : 0 ≤ r := Real.sqrt_nonneg _ |
| 23 | have hrsq : r ^ 2 = Complex.normSq z + Complex.normSq x := |
| 24 | Real.sq_sqrt (add_nonneg (Complex.normSq_nonneg z) (Complex.normSq_nonneg x)) |
| 25 | have hnorm : Complex.normSq x + Complex.normSq y + Complex.normSq z = 1 := |
| 26 | CompactThreePlanes.CM.compact_three_last_column_norm g |
| 27 | obtain ⟨u0, h0, hcol0⟩ : ∃ u0 : CompactThreePlanes.CM.CompactThreeGroup, |
| 28 | u0 ∈ commutator CompactThreePlanes.CM.CompactThreeGroup ∧ CompactThreePlanes.CM.compactThreeLastColumn (u0 * g) = ![0, y, (r : ℂ)] := by |
| 29 | by_cases hr0 : r = 0 |
| 30 | · have hx : x = 0 := Complex.normSq_eq_zero.mp (by |
| 31 | nlinarith [Complex.normSq_nonneg x, Complex.normSq_nonneg z]) |
| 32 | have hz : z = 0 := Complex.normSq_eq_zero.mp (by |
| 33 | nlinarith [Complex.normSq_nonneg x, Complex.normSq_nonneg z]) |
| 34 | refine ⟨1, (commutator CompactThreePlanes.CM.CompactThreeGroup).one_mem, ?_⟩ |
| 35 | rw [one_mul, hr0] |
| 36 | funext i |
| 37 | fin_cases i |
| 38 | · exact hx |
| 39 | · rfl |
| 40 | · change z = (0 : ℂ) |
| 41 | exact hz |
| 42 | · have hrp : 0 < r := lt_of_le_of_ne hr (Ne.symm hr0) |
| 43 | let p0 := CompactPlaneElimination.CM.compactPlaneEliminator x z r hrp hrsq.symm |
| 44 | refine ⟨CompactThreePlanes.CM.compactThreePlane02 p0, CompactThreePlanes.CM.compact_plane_image_mem_commutator _ p0, ?_⟩ |
| 45 | rw [CompactThreePlanes.CM.compact_three_last_column_mul, CompactThreePlanes.CM.compact_three_plane02_vector] |
| 46 | change ![(p0.val.val.mulVec ![x, z]) 0, y, (p0.val.val.mulVec ![x, z]) 1] = _ |
| 47 | rw [CompactPlaneElimination.CM.compact_plane_eliminator_action] |
| 48 | rfl |
| 49 | have hn1 : Complex.normSq (r : ℂ) + Complex.normSq y = (1 : ℝ) ^ 2 := by |
| 50 | rw [Complex.normSq_ofReal] |
| 51 | nlinarith |
| 52 | let p1 := CompactPlaneElimination.CM.compactPlaneEliminator y (r : ℂ) 1 (by norm_num) hn1 |
| 53 | let u1 := CompactThreePlanes.CM.compactThreePlane12 p1 |
| 54 | have h1 : u1 ∈ commutator CompactThreePlanes.CM.CompactThreeGroup := CompactThreePlanes.CM.compact_plane_image_mem_commutator _ p1 |
| 55 | have hcol1 : CompactThreePlanes.CM.compactThreeLastColumn (u1 * (u0 * g)) = ![0, 0, 1] := by |
| 56 | rw [CompactThreePlanes.CM.compact_three_last_column_mul, hcol0, CompactThreePlanes.CM.compact_three_plane12_vector] |
| 57 | change ![0, (p1.val.val.mulVec ![y, (r : ℂ)]) 0, |
| 58 | (p1.val.val.mulVec ![y, (r : ℂ)]) 1] = _ |
| 59 | rw [CompactPlaneElimination.CM.compact_plane_eliminator_action] |
| 60 | simp |
| 61 | have hk : u1 * (u0 * g) ∈ commutator CompactThreePlanes.CM.CompactThreeGroup := |
| 62 | CompactThreePlanes.CM.compact_three_vector_stabilizer_commutator _ |
| 63 | (congrFun hcol1 0) (congrFun hcol1 1) (congrFun hcol1 2) |
| 64 | have h := (commutator CompactThreePlanes.CM.CompactThreeGroup).mul_mem ((commutator CompactThreePlanes.CM.CompactThreeGroup).inv_mem h0) |
| 65 | ((commutator CompactThreePlanes.CM.CompactThreeGroup).mul_mem ((commutator CompactThreePlanes.CM.CompactThreeGroup).inv_mem h1) hk) |
| 66 | simpa only [inv_mul_cancel_left] using h |
| 67 | |
| 68 | theorem compact_three_character_eq_one {T : Type*} [CommGroup T] |
| 69 | (χ : CompactThreePlanes.CM.CompactThreeGroup →* T) (g : CompactThreePlanes.CM.CompactThreeGroup) : χ g = 1 := by |
| 70 | apply Abelianization.commutator_subset_ker χ |
| 71 | rw [compact_three_commutator_eq_top] |
| 72 | trivial |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactThreePerfect.CM |