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.BallPlaneGroups |
| 2 | |
| 3 | /-! # Compact Three Planes -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactThreePlanes.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! The actual compact SU(3) group and its three compact unitary planes. -/ |
| 12 | |
| 13 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 14 | |
| 15 | abbrev CompactThreeGroup := RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 3) (Fin 3) ℂ) |
| 16 | |
| 17 | def compactThreePlane01 : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ) →* CompactThreeGroup := |
| 18 | (BallPlaneGroups.CM.sameSpecialUnitaryForm (UnitaryPlaneBlocks.CM.planeBlock 1 1) 1 UnitaryPlaneBlocks.CM.plane_block_one).comp (UnitaryPlaneBlocks.CM.unitaryPlaneBlock 1 1) |
| 19 | |
| 20 | def compactThreeReindex (e : Equiv.Perm (Fin 3)) : CompactThreeGroup →* CompactThreeGroup := |
| 21 | (BallPlaneGroups.CM.sameSpecialUnitaryForm (Matrix.reindex e e 1) 1 (map_one (Matrix.reindexRingEquiv ℂ e))).comp |
| 22 | (UnitaryPlaneBlocks.CM.reindexSpecialUnitary e 1) |
| 23 | |
| 24 | def compactThreePlane02 : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ) →* CompactThreeGroup := |
| 25 | (compactThreeReindex (Equiv.swap 1 2)).comp compactThreePlane01 |
| 26 | |
| 27 | def compactThreePlane12 : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ) →* CompactThreeGroup := |
| 28 | (compactThreeReindex (Equiv.swap 0 1)).comp compactThreePlane02 |
| 29 | |
| 30 | theorem compact_three_plane01_matrix (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ)) : |
| 31 | (compactThreePlane01 g).val.val = UnitaryPlaneBlocks.CM.planeBlock g.val.val 1 := rfl |
| 32 | |
| 33 | theorem compact_three_plane02_matrix (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ)) : |
| 34 | (compactThreePlane02 g).val.val = |
| 35 | !![g.val.val 0 0, 0, g.val.val 0 1; 0, 1, 0; g.val.val 1 0, 0, g.val.val 1 1] := by |
| 36 | change Matrix.reindex (Equiv.swap 1 2) (Equiv.swap 1 2) (UnitaryPlaneBlocks.CM.planeBlock g.val.val 1) = _ |
| 37 | apply Matrix.ext |
| 38 | intro i j |
| 39 | fin_cases i <;> fin_cases j <;> |
| 40 | norm_num [Matrix.reindex_apply, UnitaryPlaneBlocks.CM.planeBlock, Equiv.swap_apply_def, Fin.ext_iff] |
| 41 | |
| 42 | theorem compact_three_plane12_matrix (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ)) : |
| 43 | (compactThreePlane12 g).val.val = |
| 44 | !![1, 0, 0; 0, g.val.val 0 0, g.val.val 0 1; 0, g.val.val 1 0, g.val.val 1 1] := by |
| 45 | change Matrix.reindex (Equiv.swap 0 1) (Equiv.swap 0 1) (compactThreePlane02 g).val.val = _ |
| 46 | rw [compact_three_plane02_matrix] |
| 47 | apply Matrix.ext |
| 48 | intro i j |
| 49 | fin_cases i <;> fin_cases j <;> norm_num [Matrix.reindex_apply, Equiv.swap_apply_def, Fin.ext_iff] |
| 50 | |
| 51 | theorem compact_plane_image_mem_commutator {G : Type*} [Group G] |
| 52 | (f : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ) →* G) (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ)) : |
| 53 | f g ∈ commutator G := by |
| 54 | apply SplitUnitaryPlane.CM.hom_maps_commutator |
| 55 | rw [CompactPlanePerfect.CM.compact_plane_commutator_eq_top] |
| 56 | trivial |
| 57 | |
| 58 | def compactThreeLastColumn (g : CompactThreeGroup) : Fin 3 → ℂ := fun i => g.val.val i 2 |
| 59 | |
| 60 | theorem compact_three_last_column_mul (g h : CompactThreeGroup) : |
| 61 | compactThreeLastColumn (g * h) = g.val.val.mulVec (compactThreeLastColumn h) := rfl |
| 62 | |
| 63 | theorem compact_three_plane02_vector (p : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ)) (v : Fin 3 → ℂ) : |
| 64 | (compactThreePlane02 p).val.val.mulVec v = |
| 65 | ![(p.val.val.mulVec ![v 0, v 2]) 0, v 1, (p.val.val.mulVec ![v 0, v 2]) 1] := by |
| 66 | rw [compact_three_plane02_matrix] |
| 67 | funext i |
| 68 | fin_cases i <;> simp [Matrix.mulVec, dotProduct, Fin.sum_univ_succ] |
| 69 | |
| 70 | theorem compact_three_plane12_vector (p : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ)) (v : Fin 3 → ℂ) : |
| 71 | (compactThreePlane12 p).val.val.mulVec v = |
| 72 | ![v 0, (p.val.val.mulVec ![v 1, v 2]) 0, (p.val.val.mulVec ![v 1, v 2]) 1] := by |
| 73 | rw [compact_three_plane12_matrix] |
| 74 | funext i |
| 75 | fin_cases i <;> simp [Matrix.mulVec, dotProduct, Fin.sum_univ_succ] |
| 76 | |
| 77 | end |
| 78 | |
| 79 | /-! The compact SU(3) last-column norm and its exact compact-plane |
| 80 | stabilizer, extracted from the actual unitary matrix equation. -/ |
| 81 | |
| 82 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 83 | |
| 84 | theorem compact_three_last_column_norm (g : CompactThreeGroup) : |
| 85 | Complex.normSq (g.val.val 0 2) + Complex.normSq (g.val.val 1 2) + |
| 86 | Complex.normSq (g.val.val 2 2) = 1 := by |
| 87 | have hp : g.val.val.conjTranspose * 1 * g.val.val = 1 := g.property.1 |
| 88 | have h := congrArg (fun M : Matrix (Fin 3) (Fin 3) ℂ => (M 2 2).re) hp |
| 89 | simp [Matrix.mul_apply, Fin.sum_univ_succ, Complex.mul_re, Complex.normSq_apply] at h ⊢ |
| 90 | nlinarith |
| 91 | |
| 92 | theorem compact_three_vector_stabilizer (g : CompactThreeGroup) |
| 93 | (h02 : g.val.val 0 2 = 0) (h12 : g.val.val 1 2 = 0) (h22 : g.val.val 2 2 = 1) : |
| 94 | ∃ k : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ), compactThreePlane01 k = g := by |
| 95 | have hp : g.val.val.conjTranspose * 1 * g.val.val = 1 := g.property.1 |
| 96 | have h20 : g.val.val 2 0 = 0 := by |
| 97 | have h := congrArg (fun M : Matrix (Fin 3) (Fin 3) ℂ => M 2 0) hp |
| 98 | simpa [Matrix.mul_apply, Fin.sum_univ_succ, h02, h12, h22] using h |
| 99 | have h21 : g.val.val 2 1 = 0 := by |
| 100 | have h := congrArg (fun M : Matrix (Fin 3) (Fin 3) ℂ => M 2 1) hp |
| 101 | simpa [Matrix.mul_apply, Fin.sum_univ_succ, h02, h12, h22] using h |
| 102 | let M : Matrix (Fin 2) (Fin 2) ℂ := |
| 103 | !![g.val.val 0 0, g.val.val 0 1; g.val.val 1 0, g.val.val 1 1] |
| 104 | have hblock : g.val.val = UnitaryPlaneBlocks.CM.planeBlock M 1 := by |
| 105 | apply Matrix.ext |
| 106 | intro i j |
| 107 | fin_cases i <;> fin_cases j <;> simp [UnitaryPlaneBlocks.CM.planeBlock, M, h02, h12, h20, h21, h22] |
| 108 | have hdet : M.det = 1 := by |
| 109 | have hd : g.val.val.det = 1 := congrArg Units.val g.property.2 |
| 110 | simpa only [hblock, UnitaryPlaneBlocks.CM.plane_block_det, mul_one] using hd |
| 111 | have hform : M.conjTranspose * 1 * M = 1 := by |
| 112 | apply Matrix.ext |
| 113 | intro i j |
| 114 | have h := congrArg (fun Q : Matrix (Fin 3) (Fin 3) ℂ => Q i.castSucc j.castSucc) hp |
| 115 | fin_cases i <;> fin_cases j <;> |
| 116 | simpa [M, Matrix.mul_apply, Fin.sum_univ_succ, h20, h21] using h |
| 117 | refine ⟨SplitUnitaryPlane.CM.specialUnitaryOfMatrix 1 M hdet hform, ?_⟩ |
| 118 | apply Subtype.ext |
| 119 | apply Units.ext |
| 120 | exact hblock.symm |
| 121 | |
| 122 | theorem compact_three_vector_stabilizer_commutator (g : CompactThreeGroup) |
| 123 | (h02 : g.val.val 0 2 = 0) (h12 : g.val.val 1 2 = 0) (h22 : g.val.val 2 2 = 1) : |
| 124 | g ∈ commutator CompactThreeGroup := by |
| 125 | obtain ⟨k, rfl⟩ := compact_three_vector_stabilizer g h02 h12 h22 |
| 126 | exact compact_plane_image_mem_commutator compactThreePlane01 k |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactThreePlanes.CM |