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.ComplexMultiplication.HodgeComparison.LogarithmicPhase |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.LocalHolomorphicLogarithm |
| 3 | |
| 4 | /-! # Berry Logarithmic Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.BerryLogarithmicDescent.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The normalized projective connection has exact logarithmic changes, |
| 11 | and the changes of logarithms have genuine integer defects. -/ |
| 12 | |
| 13 | open Set |
| 14 | open scoped _root_.Manifold ContDiff |
| 15 | |
| 16 | theorem normalizedImaginaryPart_exp_period (z : ℂ) (hz : Complex.exp z = 1) : |
| 17 | ∃ n : ℤ, LogarithmicPhase.CM.Construction.normalizedImaginaryPart z = (n : ℂ) := by |
| 18 | obtain ⟨n, hn⟩ := Complex.exp_eq_one_iff.mp hz |
| 19 | refine ⟨n, ?_⟩ |
| 20 | rw [hn, LogarithmicPhase.CM.Construction.normalizedImaginaryPart_apply] |
| 21 | simp only [Complex.mul_im, Complex.mul_re, Complex.intCast_re, Complex.intCast_im, |
| 22 | Complex.ofReal_re, Complex.ofReal_im, Complex.I_re, Complex.I_im, |
| 23 | Complex.re_ofNat, zero_mul, mul_zero, zero_add, add_zero, |
| 24 | mul_one, sub_zero] |
| 25 | have hπ : (2 : ℝ) * Real.pi ≠ 0 := mul_ne_zero (by norm_num) Real.pi_ne_zero |
| 26 | rw [mul_div_cancel_right₀ _ hπ, Complex.ofReal_intCast] |
| 27 | |
| 28 | theorem logarithmic_phase_integer_defect (a b c : ℂ) |
| 29 | (h : Complex.exp a * Complex.exp b = Complex.exp c) : |
| 30 | ∃ n : ℤ, LogarithmicPhase.CM.Construction.normalizedImaginaryPart a + LogarithmicPhase.CM.Construction.normalizedImaginaryPart b - |
| 31 | LogarithmicPhase.CM.Construction.normalizedImaginaryPart c = (n : ℂ) := by |
| 32 | have he : Complex.exp (a + b - c) = 1 := by |
| 33 | rw [Complex.exp_sub, Complex.exp_add, h, div_self (Complex.exp_ne_zero c)] |
| 34 | simpa only [map_sub, map_add] using normalizedImaginaryPart_exp_period (a + b - c) he |
| 35 | |
| 36 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 37 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 38 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 39 | {ι : Type} [Fintype ι] |
| 40 | |
| 41 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 42 | |
| 43 | def smoothLiftBerry (f : M → ι → ℂ) |
| 44 | (hf : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, ι → ℂ) ∞ f) (hn : ∀ x, f x ≠ 0) : |
| 45 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 1 := |
| 46 | ⟨ManifoldMetric.CM.Construction.manifoldLiftBerry f, ManifoldMetric.CM.Construction.manifoldLiftBerry_smooth isOpen_univ f hf.contMDiffOn (fun x _ => hn x)⟩ |
| 47 | |
| 48 | theorem smoothLiftBerry_logarithmic_change (f g : M → ι → ℂ) (l : M → ℂ) |
| 49 | (hf : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, ι → ℂ) ∞ f) |
| 50 | (hg : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, ι → ℂ) ∞ g) |
| 51 | (hl : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, ℂ) ∞ l) |
| 52 | (hnf : ∀ x, f x ≠ 0) (hng : ∀ x, g x ≠ 0) |
| 53 | (hfg : ∀ x, f x = Complex.exp (l x) • g x) : |
| 54 | smoothLiftBerry f hf hnf - smoothLiftBerry g hg hng = |
| 55 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (LogarithmicPhase.CM.Construction.logarithmicPhasePrimitive l hl) := by |
| 56 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 57 | intro x |
| 58 | let e := chartAt E x |
| 59 | have he : e ∈ atlas E M := chart_mem_atlas E x |
| 60 | have hx : x ∈ e.source := mem_chart_source E x |
| 61 | have hz : e x ∈ e.target := e.map_source hx |
| 62 | apply ManifoldMetric.CM.Construction.rawManifoldForm_eq_at_of_inChart_eq _ _ e he x hx |
| 63 | change (ManifoldMetric.CM.Construction.manifoldLiftBerry (E := E) f - ManifoldMetric.CM.Construction.manifoldLiftBerry (E := E) g).inChart e (e x) = _ |
| 64 | ext v |
| 65 | change (ManifoldMetric.CM.Construction.manifoldLiftBerry (E := E) f).inChart e (e x) v - |
| 66 | (ManifoldMetric.CM.Construction.manifoldLiftBerry (E := E) g).inChart e (e x) v = |
| 67 | (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (LogarithmicPhase.CM.Construction.logarithmicPhasePrimitive l hl)).val.inChart e (e x) v |
| 68 | rw [LogarithmicPhase.CM.Construction.logarithmicPhasePrimitive_d_inChart l hl e he hz] |
| 69 | let a : M → ℂ := fun y => Complex.exp (l y) |
| 70 | have ha : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, ℂ) ∞ a := Complex.contDiff_exp.comp_contMDiff hl |
| 71 | have hc : ContDiffAt ℂ ∞ (l ∘ e.symm) (e x) := |
| 72 | ((hl (e.symm (e x))).comp (e x) |
| 73 | (contMDiffAt_symm_of_mem_maximalAtlas (IsManifold.subset_maximalAtlas he) hz)).contDiffAt |
| 74 | have hder : fderiv ℂ (a ∘ e.symm) (e x) (v 0) / a (e.symm (e x)) = |
| 75 | fderiv ℂ (l ∘ e.symm) (e x) (v 0) := |
| 76 | BerryGauge.CM.Construction.logarithmic_derivative_of_exp (hc.differentiableAt (by simp)) (v 0) |
| 77 | have hchange := BerryGauge.CM.Construction.manifoldLiftBerry_gauge_inChart isOpen_univ f g a |
| 78 | hf.contMDiffOn hg.contMDiffOn ha.contMDiffOn (fun y _ => hng y) |
| 79 | (fun y _ => Complex.exp_ne_zero (l y)) (fun y _ => hfg y) e he ⟨hz, mem_univ _⟩ v |
| 80 | rw [hder] at hchange |
| 81 | exact hchange.trans (LogarithmicPhase.CM.Construction.normalizedImaginaryPart_apply _).symm |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.BerryLogarithmicDescent.CM.Construction |