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.RationalSplitting |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.LinePeriods |
| 3 | |
| 4 | /-! # Four Splittings -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.FourSplittings.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The four given CM patterns determine the old and new signs. The |
| 11 | new lines are rational orthogonal lines in the original multiplicity |
| 12 | space, and the original two actual line periods use those same coefficients. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix.Norms.Elementwise |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 16 | open _root_.Module |
| 17 | |
| 18 | variable (K : IntermediateField ℚ ℂ) |
| 19 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 20 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 21 | |
| 22 | def thetaSign (v : ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) : |
| 23 | Gal(K/ℚ) → Bool := fun τ => v.val τ⁻¹ |
| 24 | |
| 25 | def initialThetaSigns |
| 26 | (v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) : |
| 27 | Fin 2 → Gal(K/ℚ) → Bool := ![thetaSign K (v 0), thetaSign K (v 1)] |
| 28 | |
| 29 | def newThetaSigns |
| 30 | (v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) : |
| 31 | Fin 2 → Gal(K/ℚ) → Bool := ![thetaSign K (v 2), thetaSign K (v 3)] |
| 32 | |
| 33 | omit [IsGalois ℚ K] in |
| 34 | theorem four_theta_sign_balance |
| 35 | (v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 36 | (hb : ∀ τ, ComplexMultiplication.SignSwitch.CM.signValue ((v 0).val τ) + ComplexMultiplication.SignSwitch.CM.signValue ((v 1).val τ) = |
| 37 | ComplexMultiplication.SignSwitch.CM.signValue ((v 2).val τ) + ComplexMultiplication.SignSwitch.CM.signValue ((v 3).val τ)) (τ : Gal(K/ℚ)) : |
| 38 | ComplexMultiplication.SignSwitch.CM.signValue (initialThetaSigns K v 0 τ) + ComplexMultiplication.SignSwitch.CM.signValue (initialThetaSigns K v 1 τ) = |
| 39 | ComplexMultiplication.SignSwitch.CM.signValue (newThetaSigns K v 0 τ) + ComplexMultiplication.SignSwitch.CM.signValue (newThetaSigns K v 1 τ) := hb τ⁻¹ |
| 40 | |
| 41 | theorem exists_four_pattern_splittings |
| 42 | (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 43 | (v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 44 | (hb : ∀ τ, ComplexMultiplication.SignSwitch.CM.signValue ((v 0).val τ) + ComplexMultiplication.SignSwitch.CM.signValue ((v 1).val τ) = |
| 45 | ComplexMultiplication.SignSwitch.CM.signValue ((v 2).val τ) + ComplexMultiplication.SignSwitch.CM.signValue ((v 3).val τ)) |
| 46 | (hi : ∀ i, (v i).val 1 = true) : |
| 47 | ∃ P : Lagrangians.CM.LagrangianPair K B places |
| 48 | (fun i τ => initialThetaSigns K v i (places.representative τ)), |
| 49 | ∃ L : (i : Fin 2) → HeckeCycles.GeometricSource.CM.LinePeriod K B places (initialThetaSigns K v i), |
| 50 | (∀ i, (L i).coordinates.a = P.a i ∧ (L i).coordinates.delta = P.delta) ∧ |
| 51 | ∀ ε : ℝ, 0 < ε → |
| 52 | ∃ b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K), |
| 53 | Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian P.a (b 0) (b 1) = 0 ∧ |
| 54 | (∀ i, Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian P.a (b i) (b i) ≠ 0) ∧ |
| 55 | (∀ y, y ∈ Submodule.span K {b 1} ↔ Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian P.a (b 0) y = 0) ∧ |
| 56 | (∀ i τ, 0 < (ComplexMultiplication.SignSwitch.CM.signValue (newThetaSigns K v i (places.representative τ)) : ℝ) * |
| 57 | (-(HeckeCycles.ReferenceDatum.CM.embeddings K places τ P.delta).im) * |
| 58 | (HeckeCycles.ReferenceDatum.CM.embeddings K places τ (Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian P.a (b i) (b i))).re) ∧ |
| 59 | ∀ τ, dist |
| 60 | (Analysis.DifferentialForms.Coordinates.LocalApproximation.compactPeriod (HeckeCycles.ReferenceDatum.CM.embeddings K places τ) b |
| 61 | (fun i => newThetaSigns K v i (places.representative τ))) |
| 62 | (Analysis.DifferentialForms.Coordinates.LocalApproximation.compactPeriod (HeckeCycles.ReferenceDatum.CM.embeddings K places τ) |
| 63 | (Pi.basisFun K (Fin 2)) |
| 64 | (fun i => initialThetaSigns K v i (places.representative τ))) < ε := by |
| 65 | obtain ⟨P⟩ := Lagrangians.CM.exists_lagrangian_pair K B places |
| 66 | (fun i τ => initialThetaSigns K v i (places.representative τ)) |
| 67 | choose L hL using (fun i => LinePeriods.CM.exists_line_period K (initialThetaSigns K v) P i) |
| 68 | refine ⟨P, L, hL, ?_⟩ |
| 69 | have hμ : ∀ i, initialThetaSigns K v i (places.representative places.distinguished) = true := by |
| 70 | intro i |
| 71 | fin_cases i <;> simp [initialThetaSigns, thetaSign, places.identity, hi] |
| 72 | have hs := (CoefficientSigns.CM.multiplicity_sign_orientation K _ P hμ).2 |
| 73 | intro ε hε |
| 74 | exact RationalSplitting.CM.rational_splitting_approximation |
| 75 | (fun w hn hd => NumberTheory.Approximation.Weak.HodgeWeakApproximation.weak_approximation K w hn hd) |
| 76 | (HeckeCycles.ReferenceDatum.CM.embeddings K places) (HeckeCycles.ReferenceDatum.CM.embeddings_complete K places) places.distinguished P.a |
| 77 | (fun i => (P.a_sign i).2.1) (fun i => (P.a_sign i).1) |
| 78 | (fun i τ => initialThetaSigns K v i (places.representative τ)) |
| 79 | (fun i τ => newThetaSigns K v i (places.representative τ)) |
| 80 | (fun τ => four_theta_sign_balance K v hb (places.representative τ)) |
| 81 | (fun τ => -(HeckeCycles.ReferenceDatum.CM.embeddings K places τ P.delta).im) hs ε hε |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.FourSplittings.CM |