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.DivisorClass.Chern.OneCovectorMetricSharp |
| 2 | |
| 3 | /-! # Metric Trace -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Positive.MetricTrace |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Contraction by a positive tangent metric preserves nonnegativity of a real bilinear form. -/ |
| 10 | |
| 11 | set_option backward.isDefEq.respectTransparency false |
| 12 | set_option backward.isDefEq.respectTransparency.types false |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | |
| 15 | variable {E ι κ : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 16 | [Fintype ι] [Fintype κ] [DecidableEq κ] |
| 17 | |
| 18 | omit [Fintype ι] [FiniteDimensional ℝ E] [Fintype κ] in |
| 19 | theorem orthogonalBasis_metric_coordinate (B : E →L[ℝ] E →L[ℝ] ℝ) (b : Module.Basis κ ℝ E) |
| 20 | (hb : ∀ j k, B (b j) (b k) = if j = k then 1 else 0) (j : κ) (v : E) : |
| 21 | B (b j) v = b.coord j v := by |
| 22 | have h : (B (b j)).toLinearMap = b.coord j := by |
| 23 | apply b.ext |
| 24 | intro k |
| 25 | simp only [ContinuousLinearMap.coe_coe, hb, Module.Basis.coord_apply, Module.Basis.repr_self_apply, eq_comm] |
| 26 | exact congrArg (fun L : E →ₗ[ℝ] ℝ => L v) h |
| 27 | |
| 28 | omit [Fintype ι] [Fintype κ] in |
| 29 | theorem orthogonalBasis_metric_sharp (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 30 | (hpos : ∀ v : E, v ≠ 0 → 0 < B v v) (b : Module.Basis κ ℝ E) |
| 31 | (hb : ∀ j k, B (b j) (b k) = if j = k then 1 else 0) (j : κ) : |
| 32 | Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp B (b.coord j).toContinuousLinearMap = b j := by |
| 33 | apply Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.positive_bilinear_left_ext B hpos |
| 34 | intro v |
| 35 | rw [Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp_pair B hpos, orthogonalBasis_metric_coordinate B b hb] |
| 36 | rfl |
| 37 | |
| 38 | theorem bilinearMetric_trace_orthogonal (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 39 | (hpos : ∀ v : E, v ≠ 0 → 0 < B v v) (b : Module.Basis ι ℝ E) (c : Module.Basis κ ℝ E) |
| 40 | (hc : ∀ j k, B (c j) (c k) = if j = k then 1 else 0) (T : E →ₗ[ℝ] E →ₗ[ℝ] ℝ) : |
| 41 | (∑ i, T (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp B (b.coord i).toContinuousLinearMap) (b i)) = ∑ j, T (c j) (c j) := by |
| 42 | have hs (i : ι) : Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp B (b.coord i).toContinuousLinearMap = |
| 43 | ∑ j, b.coord i (c j) • c j := by |
| 44 | have h := Analysis.HodgeTheory.Decomposition.MetricDualBasis.Constructions.bilinearMetricSharp_dual_expansion B c (b.coord i).toContinuousLinearMap |
| 45 | simp only [orthogonalBasis_metric_sharp B hpos c hc] at h |
| 46 | exact h.symm |
| 47 | simp only [hs, map_sum, LinearMap.sum_apply, map_smul, LinearMap.smul_apply, smul_eq_mul] |
| 48 | rw [Finset.sum_comm] |
| 49 | apply Finset.sum_congr rfl |
| 50 | intro j _ |
| 51 | have h := congrArg (T (c j)) (b.sum_repr (c j)) |
| 52 | simpa only [map_sum, map_smul, smul_eq_mul, Module.Basis.coord_apply] using h |
| 53 | |
| 54 | omit [Fintype κ] [DecidableEq κ] in |
| 55 | theorem bilinearMetric_trace_nonneg (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 56 | (hB : ∀ v w, B v w = B w v) (hpos : ∀ v : E, v ≠ 0 → 0 < B v v) |
| 57 | (b : Module.Basis ι ℝ E) (T : E →ₗ[ℝ] E →ₗ[ℝ] ℝ) (hT : ∀ v, 0 ≤ T v v) : |
| 58 | 0 ≤ ∑ i, T (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp B (b.coord i).toContinuousLinearMap) (b i) := by |
| 59 | let F := Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.RealMetricFiber E (Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.positiveBilinearCore B hB hpos) |
| 60 | let L := Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.realMetricFiberContinuousEquiv (Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.positiveBilinearCore B hB hpos) |
| 61 | let o := stdOrthonormalBasis ℝ F |
| 62 | let c := o.toBasis.map L.toLinearEquiv |
| 63 | have hc (j k) : B (c j) (c k) = if j = k then 1 else 0 := by |
| 64 | exact o.inner_eq_ite j k |
| 65 | rw [bilinearMetric_trace_orthogonal B hpos b c hc] |
| 66 | exact Finset.sum_nonneg (fun j _ => hT (c j)) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Positive.MetricTrace |