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.LineGraphs |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SquareRoot |
| 3 | |
| 4 | /-! # Line Periods -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.LinePeriods.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Construction of the full concrete HeckeCycles line-period object, including |
| 11 | its actual rational coordinates, prescribed graph, and holomorphic half determinant. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix.Norms.Elementwise |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | |
| 16 | variable (K : IntermediateField ℚ ℂ) |
| 17 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 18 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 19 | (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 20 | (P : Lagrangians.CM.LagrangianPair K B places (fun i j => d i (places.representative j))) |
| 21 | (i : Fin 2) (C : HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) |
| 22 | (ha : C.a = P.a i) (hδ : C.delta = P.delta) |
| 23 | |
| 24 | def extendedLineSiegel (z : HeckeCycles.GeometricSource.CM.BallChart) : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (HeckeCycles.GeometricSource.CM.Positions K places) := |
| 25 | if hz : z ∈ B.domain then SiegelFrames.CM.lineSiegelAt K d P i C ha hδ ⟨z, hz⟩ |
| 26 | else SiegelFrames.CM.lineSiegelAt K d P i C ha hδ ⟨0, by |
| 27 | change Complex.normSq 0 + Complex.normSq 0 < -(B.b : ℂ).re |
| 28 | simpa only [Complex.normSq_zero, zero_add] using neg_pos.mpr B.negative⟩ |
| 29 | |
| 30 | theorem extended_line_siegel_eq (z : HeckeCycles.GeometricSource.CM.BallChart) (hz : z ∈ B.domain) : |
| 31 | extendedLineSiegel K d P i C ha hδ z = SiegelFrames.CM.lineSiegelAt K d P i C ha hδ ⟨z, hz⟩ := by |
| 32 | simp only [extendedLineSiegel, dite_eq_left hz] |
| 33 | |
| 34 | theorem extended_line_siegel_holomorphic : |
| 35 | DifferentiableOn ℂ (fun z => (extendedLineSiegel K d P i C ha hδ z).matrix) B.domain := by |
| 36 | have hm := SiegelFrames.CM.period_frames_holomorphic K C (d i) |
| 37 | have hinv := MatrixCalculus.CM.matrix_inverse_holomorphic _ hm.2 (LineGraphs.CM.lower_period_det_ne_zero K d P i C ha hδ) |
| 38 | exact (MatrixCalculus.CM.matrix_product_holomorphic _ _ hm.1 hinv).congr (fun z hz => by |
| 39 | rw [extended_line_siegel_eq K d P i C ha hδ z hz] |
| 40 | rfl) |
| 41 | |
| 42 | include ha hδ in |
| 43 | theorem exists_line_period_for_coordinates : |
| 44 | ∃ L : HeckeCycles.GeometricSource.CM.LinePeriod K B places (d i), L.coordinates = C := by |
| 45 | let g : HeckeCycles.GeometricSource.CM.BallChart → ℂ := fun z => ((SiegelFrames.CM.lowerPeriodFrame K C (d i) z)⁻¹).det |
| 46 | have hg : DifferentiableOn ℂ g B.domain := |
| 47 | MatrixCalculus.CM.matrix_determinant_holomorphic _ (MatrixCalculus.CM.matrix_inverse_holomorphic _ |
| 48 | (SiegelFrames.CM.period_frames_holomorphic K C (d i)).2 (LineGraphs.CM.lower_period_det_ne_zero K d P i C ha hδ)) |
| 49 | have hgn : ∀ z ∈ B.domain, g z ≠ 0 := by |
| 50 | intro z hz |
| 51 | change ((SiegelFrames.CM.lowerPeriodFrame K C (d i) z)⁻¹).det ≠ 0 |
| 52 | rw [Matrix.det_nonsing_inv, Ring.inverse_eq_inv] |
| 53 | exact inv_ne_zero (LineGraphs.CM.lower_period_det_ne_zero K d P i C ha hδ z hz) |
| 54 | obtain ⟨h, hh, hs⟩ := SquareRoot.CM.ball_holomorphic_square_root B g hg hgn |
| 55 | refine ⟨{ |
| 56 | coordinates := C |
| 57 | period := extendedLineSiegel K d P i C ha hδ |
| 58 | holomorphic := extended_line_siegel_holomorphic K d P i C ha hδ |
| 59 | graph_prescribed := ?_ |
| 60 | halfDet := h |
| 61 | halfDet_holomorphic := hh |
| 62 | halfDet_square := ?_ |
| 63 | }, rfl⟩ |
| 64 | · intro z hz w |
| 65 | rw [extended_line_siegel_eq K d P i C ha hδ z hz] |
| 66 | exact LineGraphs.CM.line_siegel_prescribed K d P i C ha hδ ⟨z, hz⟩ w |
| 67 | · intro z hz |
| 68 | rw [extended_line_siegel_eq K d P i C ha hδ z hz, |
| 69 | LineGraphs.CM.adapted_graph_det K d P i C ha hδ] |
| 70 | exact hs z hz |
| 71 | |
| 72 | omit C ha hδ in |
| 73 | theorem exists_line_period : |
| 74 | ∃ L : HeckeCycles.GeometricSource.CM.LinePeriod K B places (d i), |
| 75 | L.coordinates.a = P.a i ∧ L.coordinates.delta = P.delta := by |
| 76 | obtain ⟨C, ha, hδ⟩ := Symplectic.CM.exists_symplectic_coordinates K B places (P.a i) P.delta |
| 77 | (P.a_sign i).1 (P.a_sign i).2.1 P.delta_ne_zero P.delta_imaginary |
| 78 | obtain ⟨L, hL⟩ := exists_line_period_for_coordinates K d P i C ha hδ |
| 79 | exact ⟨L, by rw [hL]; exact ha, by rw [hL]; exact hδ⟩ |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.LinePeriods.CM |