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.ArithmeticGeometry.Descent.CMVariety.LocalExponentialFamily |
| 2 | import Mathlib.Analysis.SpecificLimits.Basic |
| 3 | |
| 4 | /-! # Exponential Scaling -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.ExponentialScaling.Abelian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Rescale the constructed time-dependent exponential to time one, then |
| 12 | extend its continuity to arbitrary tangent velocities using continuous |
| 13 | power maps on the total space. |
| 14 | -/ |
| 15 | |
| 16 | open Set _root_.Metric Filter |
| 17 | open scoped _root_.Manifold ContDiff _root_.Topology NNReal |
| 18 | |
| 19 | section OneFiber |
| 20 | |
| 21 | variable {E V G : Type} |
| 22 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 23 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 24 | [TopologicalSpace G] [ChartedSpace E G] [Group G] |
| 25 | [LieGroup (𝓘(ℝ, E)) ∞ G] |
| 26 | |
| 27 | omit [LieGroup (𝓘(ℝ, E)) ∞ G] in |
| 28 | theorem chartVelocity_smul (c : OpenPartialHomeomorph G V) (a : ℝ) (v : V) : |
| 29 | ExponentialChartODE.Abelian.chartVelocity (E := E) c (a • v) = a • ExponentialChartODE.Abelian.chartVelocity (E := E) c v := by |
| 30 | exact map_smul (mfderiv (𝓘(ℝ, V)) (𝓘(ℝ, E)) c.symm 0) a v |
| 31 | |
| 32 | variable [CompleteSpace E] [T2Space G] |
| 33 | |
| 34 | theorem exp_nat_smul (v : GroupLieAlgebra (𝓘(ℝ, E)) G) (n : ℕ) : |
| 35 | AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp ((n : ℝ) • v) = AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp v ^ n := by |
| 36 | rw [AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp_smul] |
| 37 | induction n with |
| 38 | | zero => simp only [Nat.cast_zero, AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.curve_zero, pow_zero] |
| 39 | | succ n hn => |
| 40 | rw [Nat.cast_succ, AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.curve_add, hn, pow_succ] |
| 41 | rfl |
| 42 | |
| 43 | end OneFiber |
| 44 | |
| 45 | variable {P V X : Type} |
| 46 | [NormedAddCommGroup P] |
| 47 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 48 | [TopologicalSpace X] |
| 49 | (E G : P → Type) |
| 50 | [∀ p, NormedAddCommGroup (E p)] [∀ p, NormedSpace ℝ (E p)] [∀ p, CompleteSpace (E p)] |
| 51 | [∀ p, TopologicalSpace (G p)] [∀ p, ChartedSpace (E p) (G p)] |
| 52 | [∀ p, Group (G p)] [∀ p, LieGroup (𝓘(ℝ, E p)) ∞ (G p)] [∀ p, T2Space (G p)] |
| 53 | |
| 54 | /-- A positive time slice and scalar reparametrization give continuity |
| 55 | of the actual time-one exponential on an open tangent neighborhood. -/ |
| 56 | theorem exists_open_exponential_neighborhood |
| 57 | (c : ∀ p, OpenPartialHomeomorph (G p) V) (embed : ∀ p, G p → X) |
| 58 | (p₀ : P) (r : ℝ≥0) (hr : 0 < r) (ε : ℝ) (hε : 0 < ε) |
| 59 | (hcont : ContinuousOn |
| 60 | (fun z : (P × V) × ℝ => embed z.1.1 |
| 61 | (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E z.1.1) (z.2 • ExponentialChartODE.Abelian.chartVelocity (E := E z.1.1) (c z.1.1) z.1.2))) |
| 62 | (closedBall (p₀, (0 : V)) r ×ˢ Ioo (-ε) ε)) : |
| 63 | ∃ U : Set (P × V), IsOpen U ∧ (p₀, (0 : V)) ∈ U ∧ |
| 64 | ContinuousOn (fun q : P × V => embed q.1 |
| 65 | (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E q.1) (ExponentialChartODE.Abelian.chartVelocity (E := E q.1) (c q.1) q.2))) U := by |
| 66 | let t := ε / 2 |
| 67 | have ht : 0 < t := half_pos hε |
| 68 | have htε : t ∈ Ioo (-ε) ε := by constructor <;> dsimp [t] <;> linarith |
| 69 | let scale : P × V → P × V := fun q => (q.1, t⁻¹ • q.2) |
| 70 | have hscale : Continuous scale := continuous_fst.prodMk (continuous_const.smul continuous_snd) |
| 71 | let U := scale ⁻¹' ball (p₀, (0 : V)) (r : ℝ) |
| 72 | have hU : IsOpen U := isOpen_ball.preimage hscale |
| 73 | have hcenter : (p₀, (0 : V)) ∈ U := by |
| 74 | change (p₀, t⁻¹ • (0 : V)) ∈ ball (p₀, 0) (r : ℝ) |
| 75 | simpa only [smul_zero, mem_ball, dist_self] using (show (0 : ℝ) < r from hr) |
| 76 | have hc : ContinuousOn |
| 77 | (fun q : P × V => embed q.1 |
| 78 | (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E q.1) (t • ExponentialChartODE.Abelian.chartVelocity (E := E q.1) (c q.1) (t⁻¹ • q.2)))) U := |
| 79 | hcont.comp (hscale.prodMk continuous_const).continuousOn |
| 80 | (fun _ hq => ⟨ball_subset_closedBall hq, htε⟩) |
| 81 | refine ⟨U, hU, hcenter, hc.congr ?_⟩ |
| 82 | intro q _ |
| 83 | dsimp only |
| 84 | rw [chartVelocity_smul (E := E q.1), smul_smul, mul_inv_cancel₀ (ne_of_gt ht), one_smul] |
| 85 | |
| 86 | /-- Continuous algebraic power maps extend exponential continuity from |
| 87 | a neighborhood of zero to every tangent velocity over the central base. -/ |
| 88 | theorem continuousAt_exponential_of_power_maps |
| 89 | (c : ∀ p, OpenPartialHomeomorph (G p) V) (embed : ∀ p, G p → X) |
| 90 | (power : ℕ → X → X) (hpower : ∀ n, Continuous (power n)) |
| 91 | (hcompat : ∀ n p (g : G p), power n (embed p g) = embed p (g ^ n)) |
| 92 | (p₀ : P) (U : Set (P × V)) (hU : IsOpen U) (hcenter : (p₀, (0 : V)) ∈ U) |
| 93 | (hcont : ContinuousOn (fun q : P × V => embed q.1 |
| 94 | (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E q.1) (ExponentialChartODE.Abelian.chartVelocity (E := E q.1) (c q.1) q.2))) U) |
| 95 | (v₀ : V) : |
| 96 | ContinuousAt (fun q : P × V => embed q.1 |
| 97 | (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E q.1) (ExponentialChartODE.Abelian.chartVelocity (E := E q.1) (c q.1) q.2))) (p₀, v₀) := by |
| 98 | have hlim : Tendsto (fun n : ℕ => (p₀, ((n : ℝ) + 1)⁻¹ • v₀)) atTop (𝓝 (p₀, (0 : V))) := by |
| 99 | have h := (tendsto_one_div_add_atTop_nhds_zero_nat (𝕜 := ℝ)).smul_const v₀ |
| 100 | simpa only [one_div, zero_smul] using tendsto_const_nhds.prodMk_nhds h |
| 101 | obtain ⟨n, hn⟩ := (hlim.eventually (hU.mem_nhds hcenter)).exists |
| 102 | change (p₀, ((n : ℝ) + 1)⁻¹ • v₀) ∈ U at hn |
| 103 | let k := n + 1 |
| 104 | have hk : (k : ℝ) ≠ 0 := by exact_mod_cast (Nat.succ_ne_zero n) |
| 105 | have hmem : (p₀, (k : ℝ)⁻¹ • v₀) ∈ U := by simpa only [k, Nat.cast_add, Nat.cast_one] using hn |
| 106 | have hscale : Continuous (fun q : P × V => (q.1, (k : ℝ)⁻¹ • q.2)) := |
| 107 | continuous_fst.prodMk (continuous_const.smul continuous_snd) |
| 108 | have hlocal := (hcont.continuousAt (hU.mem_nhds hmem)).comp |
| 109 | (f := fun q : P × V => (q.1, (k : ℝ)⁻¹ • q.2)) (x := (p₀, v₀)) hscale.continuousAt |
| 110 | have heq (q : P × V) : power k (embed q.1 |
| 111 | (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E q.1) (ExponentialChartODE.Abelian.chartVelocity (E := E q.1) (c q.1) ((k : ℝ)⁻¹ • q.2)))) = |
| 112 | embed q.1 (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E q.1) (ExponentialChartODE.Abelian.chartVelocity (E := E q.1) (c q.1) q.2)) := by |
| 113 | rw [hcompat, ← exp_nat_smul, chartVelocity_smul, smul_smul, mul_inv_cancel₀ hk, one_smul] |
| 114 | have hfinal := (hpower k).continuousAt.comp hlocal |
| 115 | apply hfinal.congr_of_eventuallyEq |
| 116 | exact Eventually.of_forall (fun q => (heq q).symm) |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.ArithmeticGeometry.Descent.CMVariety.ExponentialScaling.Abelian |