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.SplitFactorConstant |
| 2 | |
| 3 | /-! # Compact Ball Neighborhood -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactBallNeighborhood.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! ThetaCycle: every compact subset of the actual ball is contained in a |
| 12 | connected open neighborhood of the origin with compact closure inside |
| 13 | the ball. These domains fix the sign of the frame comparison uniformly. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Matrix.Norms.Elementwise |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 17 | |
| 18 | def ballEuclideanCoordinates : HeckeCycles.GeometricSource.CM.BallChart ≃L[ℂ] EuclideanSpace ℂ (Fin 2) := |
| 19 | (PiLp.continuousLinearEquiv 2 ℂ (fun _ : Fin 2 => ℂ)).symm |
| 20 | |
| 21 | theorem ball_euclidean_norm_square (z : HeckeCycles.GeometricSource.CM.BallChart) : |
| 22 | ‖ballEuclideanCoordinates z‖ ^ 2 = Complex.normSq (z 0) + Complex.normSq (z 1) := by |
| 23 | rw [EuclideanSpace.norm_sq_eq, Fin.sum_univ_two] |
| 24 | exact congrArg₂ (fun a b : ℝ => a + b) (Complex.normSq_eq_norm_sq (z 0)).symm |
| 25 | (Complex.normSq_eq_norm_sq (z 1)).symm |
| 26 | |
| 27 | theorem ball_domain_euclidean {K : IntermediateField ℚ ℂ} |
| 28 | [NumberField K] [NumberField.IsCMField K] (B : HeckeCycles.GeometricSource.CM.BallDatum K) (z : HeckeCycles.GeometricSource.CM.BallChart) : |
| 29 | z ∈ B.domain ↔ ‖ballEuclideanCoordinates z‖ < Real.sqrt (-(B.b : ℂ).re) := by |
| 30 | have hR : 0 < -(B.b : ℂ).re := neg_pos.mpr B.negative |
| 31 | rw [← sq_lt_sq₀ (norm_nonneg _) (Real.sqrt_nonneg _), Real.sq_sqrt hR.le, |
| 32 | ball_euclidean_norm_square] |
| 33 | rfl |
| 34 | |
| 35 | theorem exists_compact_connected_ball_neighborhood {K : IntermediateField ℚ ℂ} |
| 36 | [NumberField K] [NumberField.IsCMField K] (B : HeckeCycles.GeometricSource.CM.BallDatum K) |
| 37 | (S : Set HeckeCycles.GeometricSource.CM.BallChart) (hS : IsCompact S) (hSB : S ⊆ B.domain) : |
| 38 | ∃ U T : Set HeckeCycles.GeometricSource.CM.BallChart, IsOpen U ∧ IsPreconnected U ∧ 0 ∈ U ∧ S ⊆ U ∧ U ⊆ T ∧ |
| 39 | IsCompact T ∧ T ⊆ B.domain := by |
| 40 | have hz : (0 : HeckeCycles.GeometricSource.CM.BallChart) ∈ B.domain := by simpa [HeckeCycles.GeometricSource.CM.BallDatum.domain] using B.negative |
| 41 | have hSB' : insert 0 S ⊆ B.domain := Set.insert_subset hz hSB |
| 42 | obtain ⟨x, hx, hmax⟩ := (hS.insert 0).exists_isMaxOn (Set.insert_nonempty 0 S) |
| 43 | ballEuclideanCoordinates.continuous.norm.continuousOn |
| 44 | let R := Real.sqrt (-(B.b : ℂ).re) |
| 45 | have hxR : ‖ballEuclideanCoordinates x‖ < R := (ball_domain_euclidean B x).mp (hSB' hx) |
| 46 | let r := (‖ballEuclideanCoordinates x‖ + R) / 2 |
| 47 | have hxr : ‖ballEuclideanCoordinates x‖ < r := by dsimp [r]; linarith |
| 48 | have hrR : r < R := by dsimp [r]; linarith |
| 49 | have hr : 0 < r := lt_of_le_of_lt (norm_nonneg _) hxr |
| 50 | let U := ballEuclideanCoordinates ⁻¹' Metric.ball 0 r |
| 51 | let T := ballEuclideanCoordinates ⁻¹' Metric.closedBall 0 r |
| 52 | have hU : IsOpen U := Metric.isOpen_ball.preimage ballEuclideanCoordinates.continuous |
| 53 | let f : HeckeCycles.GeometricSource.CM.BallChart →ₗ[ℝ] EuclideanSpace ℂ (Fin 2) := |
| 54 | ballEuclideanCoordinates.toLinearEquiv.toLinearMap.restrictScalars ℝ |
| 55 | have hconv : Convex ℝ U := by |
| 56 | exact (convex_ball (0 : EuclideanSpace ℂ (Fin 2)) r).linear_preimage f |
| 57 | refine ⟨U, T, hU, hconv.isPreconnected, ?_, ?_, ?_, ?_, ?_⟩ |
| 58 | · simpa only [U, Set.mem_preimage, map_zero, Metric.mem_ball, dist_self] using hr |
| 59 | · intro y hy |
| 60 | have hymax : ‖ballEuclideanCoordinates y‖ ≤ ‖ballEuclideanCoordinates x‖ := |
| 61 | hmax (Set.mem_insert_of_mem 0 hy) |
| 62 | simpa only [U, Set.mem_preimage, Metric.mem_ball, dist_zero_right] using hymax.trans_lt hxr |
| 63 | · exact Set.preimage_mono Metric.ball_subset_closedBall |
| 64 | · exact ballEuclideanCoordinates.toHomeomorph.isCompact_preimage.mpr (isCompact_closedBall 0 r) |
| 65 | · intro y hy |
| 66 | apply (ball_domain_euclidean B y).mpr |
| 67 | exact (show ‖ballEuclideanCoordinates y‖ ≤ r by simpa only [T, Set.mem_preimage, |
| 68 | Metric.mem_closedBall, dist_zero_right] using hy).trans_lt hrR |
| 69 | |
| 70 | end |
| 71 | |
| 72 | /-! ThetaCycle: all compact real derivatives of the actual split theta top |
| 73 | coefficients converge after one scalar normalization per rational splitting. |
| 74 | The original total finite input remains fixed throughout the sequence. -/ |
| 75 | |
| 76 | open scoped Classical _root_.Matrix _root_.Topology ContDiff _root_.Matrix.Norms.Elementwise |
| 77 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM Filter |
| 78 | |
| 79 | variable (K : IntermediateField ℚ ℂ) |
| 80 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 81 | {v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)} {Nbase : ℕ} |
| 82 | (D : PeriodTotal.CM.FourPeriodSetup K v Nbase) |
| 83 | (Φ : RepresentationTheory.Theta.DerivativeFactorizationDefinitions.Input (PeriodTotal.CM.TotalPositions K D.places)) |
| 84 | |
| 85 | def normalizedSplitThetaCoefficient (n : ℕ) (z : HeckeCycles.GeometricSource.CM.BallChart) : ℂ := |
| 86 | SplitCoefficientCovariance.CM.approximationSplitCoefficientFactor K D (ApproximationSequence.CM.approximationSequence K D n) 0 * |
| 87 | InitialTensor.CM.splitThetaTopCoefficient K ((ApproximationSequence.CM.approximationSequence K D n).periods 0) |
| 88 | ((ApproximationSequence.CM.approximationSequence K D n).periods 1) |
| 89 | (ApproximationCovariance.CM.approximationSplitFiniteInput K D (ApproximationSequence.CM.approximationSequence K D n) Φ) z |
| 90 | |
| 91 | theorem eventually_normalized_split_coefficient_locally_eq |
| 92 | (S : Set HeckeCycles.GeometricSource.CM.BallChart) (hS : IsCompact S) (hSB : S ⊆ D.ball.domain) : |
| 93 | ∀ᶠ n in atTop, ∀ z ∈ S, |
| 94 | normalizedSplitThetaCoefficient K D Φ n =ᶠ[𝓝 z] |
| 95 | ApproximationCoefficient.CM.approximationProjectedCoefficient K D Φ (ApproximationSequence.CM.approximationSequence K D n) := by |
| 96 | obtain ⟨U, T, hU, hc, hz₀, hSU, hUT, hT, hTB⟩ := |
| 97 | exists_compact_connected_ball_neighborhood D.ball S hS hSB |
| 98 | have htube := CompactFiber.CM.eventually_compact_fiber_mem |
| 99 | (fun n => ApproximationSequence.CM.newCompactPeriods K D (ApproximationSequence.CM.approximationSequence K D n)) (ApproximationSequence.CM.oldCompactPeriods K D) |
| 100 | (ApproximationSequence.CM.sequence_compact_periods_tendsto K D) T hT (ParameterHalfDet.CM.parameterHalfDetDomain K D) |
| 101 | (ParameterHalfDet.CM.parameter_half_det_domain_open K D) (fun z hz => ParameterHalfDet.CM.parameter_half_det_domain_original K D z (hTB hz)) |
| 102 | filter_upwards [htube] with n hn |
| 103 | intro z hz |
| 104 | have hconst := SplitFactorConstant.CM.approximation_split_factor_constant K D (ApproximationSequence.CM.approximationSequence K D n) hc |
| 105 | (fun y hy => hn y (hUT hy)) 0 hz₀ |
| 106 | filter_upwards [hU.mem_nhds (hSU hz)] with y hy |
| 107 | rw [SplitCoefficientCovariance.CM.approximation_split_coefficient_covariance, hconst y hy] |
| 108 | rfl |
| 109 | |
| 110 | theorem normalized_split_coefficient_uniform_derivatives (m : ℕ) |
| 111 | (S : Set HeckeCycles.GeometricSource.CM.BallChart) (hS : IsCompact S) (hSB : S ⊆ D.ball.domain) : |
| 112 | TendstoUniformlyOn |
| 113 | (fun n z => iteratedFDeriv ℝ m (normalizedSplitThetaCoefficient K D Φ n) z) |
| 114 | (fun z => iteratedFDeriv ℝ m |
| 115 | (InitialTensor.CM.splitThetaTopCoefficient K (D.initialPeriods 0) (D.initialPeriods 1) Φ) z) atTop S := by |
| 116 | have hlim := ApproximationCoefficient.CM.approximation_projected_coefficient_uniform_derivatives K D Φ m S hS hSB |
| 117 | have he := eventually_normalized_split_coefficient_locally_eq K D Φ S hS hSB |
| 118 | rw [Metric.tendstoUniformlyOn_iff] at hlim ⊢ |
| 119 | intro ε hε |
| 120 | filter_upwards [hlim ε hε, he] with n hn hen |
| 121 | intro z hz |
| 122 | rw [((hen z hz).iteratedFDeriv ℝ m).self_of_nhds] |
| 123 | exact hn z hz |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactBallNeighborhood.CM |