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.Analysis.HodgeTheory.Decomposition.MetricCovariantInsertion |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.BivectorBasisTransport |
| 3 | import OAI.Analysis.HodgeTheory.Decomposition.ConnectionLinearCalculus |
| 4 | |
| 5 | /-! # Lefschetz Connection -/ |
| 6 | |
| 7 | namespace OAI.Analysis.HodgeTheory.Decomposition.LefschetzConnection.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Inverse Kähler contraction is parallel for the actual metric-compatible, |
| 12 | complex-structure-preserving connection. -/ |
| 13 | |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | attribute [local instance] KoszulSmooth.Constructions.koszulBilinearNormed KoszulSmooth.Constructions.koszulBilinearNormedSpace |
| 17 | |
| 18 | variable {E ι : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 19 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] [Fintype ι] |
| 20 | |
| 21 | omit [IsScalarTower ℝ ℂ E] in |
| 22 | theorem metricLefschetzContraction_smoothOn (b : Module.Basis ι ℝ E) (n : ℕ) |
| 23 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (a : E → DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1)) {U : Set E} |
| 24 | (hU : IsOpen U) (hB : ContDiffOn ℝ ∞ B U) |
| 25 | (hpos : ∀ y ∈ U, ∀ v : E, v ≠ 0 → 0 < B y v v) (ha : ContDiffOn ℝ ∞ a U) : |
| 26 | ContDiffOn ℝ ∞ (fun y => LefschetzSymbol.Constructions.metricLefschetzContraction n (B y) b (a y)) U := by |
| 27 | have hsharp := KoszulSmooth.Constructions.bilinearMetricSharp_smoothOn B hU hB hpos |
| 28 | have hw (i : ι) := ContDiffOn.clm_apply (𝕜 := ℝ) (E := E) (F := E →L[ℝ] ℝ) (G := E) |
| 29 | hsharp (contDiffOn_const (c := (b.coord i).toContinuousLinearMap)) |
| 30 | have hi (i : ι) := CovariantInsertion.Constructions.exteriorContraction_smoothOn n |
| 31 | (fun y => SymbolDifferential.Constructions.exteriorContraction (n + 1) (KoszulConnection.Constructions.bilinearMetricSharp (B y) (b.coord i).toContinuousLinearMap) (a y)) |
| 32 | (fun _ => Complex.I • b i) |
| 33 | (CovariantInsertion.Constructions.exteriorContraction_smoothOn (n + 1) a _ ha |
| 34 | (hw i)) contDiffOn_const |
| 35 | have hs := (ContDiffOn.sum (s := Finset.univ) (fun i _ => hi i)).const_smul (1 / 2 : ℝ) |
| 36 | simpa only [LefschetzSymbol.Constructions.metricLefschetzContraction, smul_apply, BivectorContraction.Constructions.bivectorContraction_apply] using hs |
| 37 | |
| 38 | theorem metricLefschetzContraction_parallel (b : Module.Basis ι ℝ E) (n : ℕ) |
| 39 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (Γ : E → E →L[ℝ] E →L[ℝ] E) |
| 40 | (a : E → DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1)) {U : Set E} (hU : IsOpen U) |
| 41 | (hB : ContDiffOn ℝ ∞ B U) (hpos : ∀ y ∈ U, ∀ v : E, v ≠ 0 → 0 < B y v v) |
| 42 | {x : E} (hx : x ∈ U) (ha : ContDiffOn ℝ ∞ a U) (u : E) |
| 43 | (hΓ : ∀ v w, B x (Γ x u v) w + B x v (Γ x u w) = fderiv ℝ B x u v w) |
| 44 | (hΓJ : ∀ v, Γ x u (Complex.I • v) = Complex.I • Γ x u v) : |
| 45 | CovectorConnection.Constructions.covectorConnectionDerivative n Γ (fun y => LefschetzSymbol.Constructions.metricLefschetzContraction n (B y) b (a y)) x u = |
| 46 | LefschetzSymbol.Constructions.metricLefschetzContraction n (B x) b (CovectorConnection.Constructions.covectorConnectionDerivative (n + 1 + 1) Γ a x u) := by |
| 47 | let ψ (i : ι) (y : E) := SymbolDifferential.Constructions.exteriorContraction n (Complex.I • b i) |
| 48 | (SymbolDifferential.Constructions.exteriorContraction (n + 1) (KoszulConnection.Constructions.bilinearMetricSharp (B y) (b.coord i).toContinuousLinearMap) (a y)) |
| 49 | have hsharp := KoszulSmooth.Constructions.bilinearMetricSharp_smoothOn B hU hB hpos |
| 50 | have hw (i : ι) := ContDiffOn.clm_apply (𝕜 := ℝ) (E := E) (F := E →L[ℝ] ℝ) (G := E) |
| 51 | hsharp (contDiffOn_const (c := (b.coord i).toContinuousLinearMap)) |
| 52 | have hψ (i : ι) : ContDiffOn ℝ ∞ (ψ i) U := |
| 53 | CovariantInsertion.Constructions.exteriorContraction_smoothOn n _ (fun _ => Complex.I • b i) |
| 54 | (CovariantInsertion.Constructions.exteriorContraction_smoothOn (n + 1) a _ ha |
| 55 | (hw i)) contDiffOn_const |
| 56 | have hψd (i : ι) := ((hψ i).contDiffAt (hU.mem_nhds hx)).differentiableAt (by simp) |
| 57 | have hsum := ((ContDiffOn.sum (s := Finset.univ) (fun i _ => hψ i)).contDiffAt |
| 58 | (hU.mem_nhds hx)).differentiableAt (by simp) |
| 59 | have hform : (fun y => LefschetzSymbol.Constructions.metricLefschetzContraction n (B y) b (a y)) = |
| 60 | (fun y => (1 / 2 : ℝ) • ∑ i, ψ i y) := by |
| 61 | funext y |
| 62 | simp only [LefschetzSymbol.Constructions.metricLefschetzContraction, smul_apply, BivectorContraction.Constructions.bivectorContraction_apply] |
| 63 | rfl |
| 64 | rw [hform, ConnectionLinearCalculus.Constructions.covectorConnectionDerivative_real_smul n Γ _ hsum, |
| 65 | ConnectionLinearCalculus.Constructions.covectorConnectionDerivative_sum n Γ ψ hψd] |
| 66 | have hd (i : ι) := MetricCovariantInsertion.Constructions.metricCovariantDoubleInsertion n B Γ a hU hB hpos hx ha u |
| 67 | (Complex.I • b i) hΓ (b.coord i).toContinuousLinearMap |
| 68 | change ∀ i, CovectorConnection.Constructions.covectorConnectionDerivative n Γ (ψ i) x u = _ at hd |
| 69 | simp_rw [hd, hΓJ] |
| 70 | rw [Finset.sum_add_distrib, Finset.sum_sub_distrib] |
| 71 | have hcancel := BivectorBasisTransport.Constructions.bivector_basis_transport b n (KoszulConnection.Constructions.bilinearMetricSharp (B x)) |
| 72 | (ContinuousLinearMap.lsmul ℝ ℂ Complex.I) (Γ x u) (a x) |
| 73 | change (∑ i, SymbolDifferential.Constructions.exteriorContraction n (Complex.I • b i) |
| 74 | (SymbolDifferential.Constructions.exteriorContraction (n + 1) (KoszulConnection.Constructions.bilinearMetricSharp (B x) ((b.coord i).toContinuousLinearMap.comp (Γ x u))) (a x))) = |
| 75 | ∑ i, SymbolDifferential.Constructions.exteriorContraction n (Complex.I • Γ x u (b i)) |
| 76 | (SymbolDifferential.Constructions.exteriorContraction (n + 1) (KoszulConnection.Constructions.bilinearMetricSharp (B x) (b.coord i).toContinuousLinearMap) (a x)) at hcancel |
| 77 | rw [hcancel, sub_self, zero_add] |
| 78 | simp only [LefschetzSymbol.Constructions.metricLefschetzContraction, smul_apply, BivectorContraction.Constructions.bivectorContraction_apply] |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.Analysis.HodgeTheory.Decomposition.LefschetzConnection.Constructions |