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.CMExtraction.UnitaryFrameAction |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.DiagonalFrame |
| 3 | |
| 4 | /-! # Normalized Frame -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.NormalizedFrame |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The weighted native negative-line frame in orthonormal coordinates. |
| 11 | The change of base coordinate is holomorphic scalar division. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix |
| 14 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.DeterminantCoordinates |
| 15 | |
| 16 | variable {k : Type} [Field k] |
| 17 | |
| 18 | def normalizeWeightedPhase (r c : k) (w : (Fin 3 → k) × (Fin 3 → k)) : |
| 19 | (Fin 3 → k) × (Fin 3 → k) := |
| 20 | ((Matrix.diagonal ![c, c, c * r]).mulVec w.1, |
| 21 | (Matrix.diagonal ![-c, -c, c * r]).mulVec w.2) |
| 22 | |
| 23 | def lineAnnihilatorFrame (z : Fin 2 → k) (u : Fin 3 → k) : |
| 24 | (Fin 3 → k) × (Fin 3 → k) := |
| 25 | (u 0 • RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector z, u 1 • RepresentationTheory.Theta.Adelic.DeterminantCoordinates.annihilatorVector z 0 + u 2 • RepresentationTheory.Theta.Adelic.DeterminantCoordinates.annihilatorVector z 1) |
| 26 | |
| 27 | theorem weightedFrame_normalized (r c : k) (hr : r ≠ 0) |
| 28 | (z : Fin 2 → k) (u : Fin 3 → k) : |
| 29 | normalizeWeightedPhase r c (UnitaryFrameAction.weightedFrame (-(r ^ 2)) z u) = |
| 30 | lineAnnihilatorFrame (fun i => z i / r) |
| 31 | ((Matrix.diagonal ![c * r, -c, -c]).mulVec u) := by |
| 32 | apply Prod.ext <;> funext i <;> fin_cases i <;> |
| 33 | simp [normalizeWeightedPhase, UnitaryFrameAction.weightedFrame, lineAnnihilatorFrame, |
| 34 | UnitaryFrameAction.weightedAnnihilator, RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector, RepresentationTheory.Theta.Adelic.DeterminantCoordinates.annihilatorVector, Matrix.mulVec_diagonal] <;> |
| 35 | field_simp |
| 36 | |
| 37 | theorem normalizeWeightedPhase_injective (r c : k) (hr : r ≠ 0) (hc : c ≠ 0) : |
| 38 | Function.Injective (normalizeWeightedPhase r c) := by |
| 39 | intro x y h |
| 40 | have hleft := congrArg Prod.fst h |
| 41 | have hright := congrArg Prod.snd h |
| 42 | apply Prod.ext <;> funext i |
| 43 | · have hi := congrFun hleft i |
| 44 | simp only [normalizeWeightedPhase, Matrix.mulVec_diagonal] at hi |
| 45 | apply mul_left_cancel₀ _ hi |
| 46 | fin_cases i <;> simp [hc, hr] |
| 47 | · have hi := congrFun hright i |
| 48 | simp only [normalizeWeightedPhase, Matrix.mulVec_diagonal] at hi |
| 49 | apply mul_left_cancel₀ _ hi |
| 50 | fin_cases i <;> simp [hc, hr] |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.NormalizedFrame |