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.SiegelFrames |
| 2 | |
| 3 | /-! # Line Graphs -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.LineGraphs.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The positive frame gives exactly the graph prescribed in HeckeCycles. The |
| 10 | adapted graph determinant is the inverse lower-frame determinant. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix.Norms.Elementwise |
| 13 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 14 | |
| 15 | variable (K : IntermediateField ℚ ℂ) |
| 16 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 17 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 18 | (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 19 | (P : Lagrangians.CM.LagrangianPair K B places (fun i j => d i (places.representative j))) |
| 20 | (i : Fin 2) (C : HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) |
| 21 | (ha : C.a = P.a i) (hδ : C.delta = P.delta) |
| 22 | |
| 23 | include P ha hδ in |
| 24 | theorem lower_period_det_ne_zero (z : HeckeCycles.GeometricSource.CM.BallChart) (hz : z ∈ B.domain) : |
| 25 | (SiegelFrames.CM.lowerPeriodFrame K C (d i) z).det ≠ 0 := |
| 26 | RepresentationTheory.Hecke.RadialDilation.PositiveGraph.Realization.positive_frame_lower_det _ _ (SiegelFrames.CM.period_frames_positive K d P i C ha hδ z hz).2 |
| 27 | |
| 28 | theorem graph_native_frame (z : B.Domain) (x : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 29 | HeckeCycles.GeometricSource.CM.graphInAmbient K C (SiegelFrames.CM.lineSiegelAt K d P i C ha hδ z) x = |
| 30 | Prescribed.CM.nativePeriodFrame K B places (d i) z ((SiegelFrames.CM.lowerPeriodFrame K C (d i) z)⁻¹.mulVec x) := by |
| 31 | apply C.complex.injective |
| 32 | change C.complex (C.complex.symm _) = _ |
| 33 | rw [LinearEquiv.apply_symm_apply] |
| 34 | apply Prod.ext |
| 35 | · change (SiegelFrames.CM.upperPeriodFrame K C (d i) z * (SiegelFrames.CM.lowerPeriodFrame K C (d i) z)⁻¹).mulVec x = _ |
| 36 | rw [(SiegelFrames.CM.period_frames_apply K C (d i) z _).1, Matrix.mulVec_mulVec] |
| 37 | · change x = _ |
| 38 | rw [(SiegelFrames.CM.period_frames_apply K C (d i) z _).2, Matrix.mulVec_mulVec, |
| 39 | Matrix.mul_nonsing_inv _ (isUnit_iff_ne_zero.mpr |
| 40 | (lower_period_det_ne_zero K d P i C ha hδ z z.property)), Matrix.one_mulVec] |
| 41 | |
| 42 | theorem line_siegel_prescribed (z : B.Domain) (w : HeckeCycles.GeometricSource.CM.Ambient K) : |
| 43 | HeckeCycles.GeometricSource.CM.prescribed K B places (d i) z w ↔ |
| 44 | (C.complex w).1 = (SiegelFrames.CM.lineSiegelAt K d P i C ha hδ z).matrix.mulVec (C.complex w).2 := by |
| 45 | rw [← CoefficientPeriods.CM.native_frame_range K B places (d i) z w] |
| 46 | constructor |
| 47 | · rintro ⟨v, rfl⟩ |
| 48 | rw [(SiegelFrames.CM.period_frames_apply K C (d i) z v).1, (SiegelFrames.CM.period_frames_apply K C (d i) z v).2, |
| 49 | Matrix.mulVec_mulVec] |
| 50 | exact congrArg (fun A => A.mulVec v) |
| 51 | (RepresentationTheory.Hecke.RadialDilation.PositiveGraph.Realization.siegelOfPositiveFrame_columns _ _ _ _).symm |
| 52 | · intro hw |
| 53 | refine ⟨(SiegelFrames.CM.lowerPeriodFrame K C (d i) z)⁻¹.mulVec (C.complex w).2, ?_⟩ |
| 54 | rw [← graph_native_frame K d P i C ha hδ] |
| 55 | apply C.complex.injective |
| 56 | change C.complex (C.complex.symm _) = C.complex w |
| 57 | rw [LinearEquiv.apply_symm_apply] |
| 58 | exact Prod.ext hw.symm rfl |
| 59 | |
| 60 | theorem adapted_graph_eq_inverse (z : B.Domain) : |
| 61 | (HeckeCycles.GeometricSource.CM.adaptedCoordinates K places (d i)).comp |
| 62 | (HeckeCycles.GeometricSource.CM.graphInAmbient K C (SiegelFrames.CM.lineSiegelAt K d P i C ha hδ z)) = |
| 63 | Matrix.toLin' (SiegelFrames.CM.lowerPeriodFrame K C (d i) z)⁻¹ := by |
| 64 | apply LinearMap.ext |
| 65 | intro x |
| 66 | funext j |
| 67 | change HeckeCycles.GeometricSource.CM.adaptedCoordinates K places (d i) |
| 68 | (HeckeCycles.GeometricSource.CM.graphInAmbient K C (SiegelFrames.CM.lineSiegelAt K d P i C ha hδ z) x) j = _ |
| 69 | rw [graph_native_frame K d P i C ha hδ, Prescribed.CM.adapted_native_frame] |
| 70 | rfl |
| 71 | |
| 72 | theorem adapted_graph_det (z : B.Domain) : |
| 73 | LinearMap.det ((HeckeCycles.GeometricSource.CM.adaptedCoordinates K places (d i)).comp |
| 74 | (HeckeCycles.GeometricSource.CM.graphInAmbient K C (SiegelFrames.CM.lineSiegelAt K d P i C ha hδ z))) = |
| 75 | ((SiegelFrames.CM.lowerPeriodFrame K C (d i) z)⁻¹).det := by |
| 76 | rw [adapted_graph_eq_inverse K d P i C ha hδ, LinearMap.det_toLin'] |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.LineGraphs.CM |