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.CovectorTensorAlgebra |
| 2 | |
| 3 | /-! # Bilinear Complex Trace -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.BilinearComplexTrace |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Moving the complex structure between the two slots of the inverse-metric tensor trace. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | |
| 17 | variable {E ι : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 18 | [Fintype ι] |
| 19 | |
| 20 | theorem bilinear_trace_basis_transport (b : Module.Basis ι ℝ E) |
| 21 | (S : (E →L[ℝ] ℝ) →L[ℝ] E) (L : E →L[ℝ] E) (T : E →ₗ[ℝ] E →ₗ[ℝ] ℂ) : |
| 22 | (∑ i, T (S ((b.coord i).toContinuousLinearMap.comp L)) (b i)) = |
| 23 | ∑ i, T (S (b.coord i).toContinuousLinearMap) (L (b i)) := by |
| 24 | have hS (i : ι) : S ((b.coord i).toContinuousLinearMap.comp L) = |
| 25 | ∑ j, b.repr (L (b j)) i • S (b.coord j).toContinuousLinearMap := by |
| 26 | have h := congrArg S (Analysis.HodgeTheory.Decomposition.MetricDualBasis.Constructions.continuousCovector_basis_expansion b ((b.coord i).toContinuousLinearMap.comp L)) |
| 27 | simp only [map_sum, map_smul, ContinuousLinearMap.comp_apply] at h |
| 28 | exact h |
| 29 | simp only [hS, map_sum, LinearMap.sum_apply, map_smul, LinearMap.smul_apply] |
| 30 | rw [Finset.sum_comm] |
| 31 | apply Finset.sum_congr rfl |
| 32 | intro j _ |
| 33 | have h := congrArg (T (S (b.coord j).toContinuousLinearMap)) (b.sum_repr (L (b j))) |
| 34 | simpa only [map_sum, map_smul] using h |
| 35 | |
| 36 | variable [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 37 | |
| 38 | theorem bilinear_metric_trace_J (b : Module.Basis ι ℝ E) (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 39 | (hpos : ∀ v : E, v ≠ 0 → 0 < B v v) |
| 40 | (hBJ : ∀ v w, B (Complex.I • v) w = -B v (Complex.I • w)) |
| 41 | (T : E →ₗ[ℝ] E →ₗ[ℝ] ℂ) : |
| 42 | (∑ i, T (Complex.I • Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp B (b.coord i).toContinuousLinearMap) (b i)) = |
| 43 | -(∑ i, T (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp B (b.coord i).toContinuousLinearMap) (Complex.I • b i)) := by |
| 44 | have h := bilinear_trace_basis_transport b (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp B) (ContinuousLinearMap.lsmul ℝ ℂ Complex.I) T |
| 45 | simp only [Analysis.HodgeTheory.Decomposition.MetricDualBasis.Constructions.bilinearMetricSharp_comp_J B hpos hBJ, map_neg, LinearMap.neg_apply, |
| 46 | Finset.sum_neg_distrib, ContinuousLinearMap.lsmul_apply] at h |
| 47 | simpa only [neg_neg] using congrArg Neg.neg h |
| 48 | |
| 49 | end |
| 50 | |
| 51 | /-! Symmetry and complex-structure cancellation for the original inverse-metric trace of a complex bilinear tensor. -/ |
| 52 | |
| 53 | set_option backward.isDefEq.respectTransparency false |
| 54 | set_option backward.isDefEq.respectTransparency.types false |
| 55 | set_option backward.defeqAttrib.useBackward true |
| 56 | |
| 57 | variable {E ι κ : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 58 | [Fintype ι] [Fintype κ] [DecidableEq κ] |
| 59 | |
| 60 | theorem bilinearMetric_complex_trace_orthogonal (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 61 | (hpos : ∀ v : E, v ≠ 0 → 0 < B v v) (b : Module.Basis ι ℝ E) (c : Module.Basis κ ℝ E) |
| 62 | (hc : ∀ j k, B (c j) (c k) = if j = k then 1 else 0) (T : E →ₗ[ℝ] E →ₗ[ℝ] ℂ) : |
| 63 | (∑ i, T (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp B (b.coord i).toContinuousLinearMap) (b i)) = ∑ j, T (c j) (c j) := by |
| 64 | have hs (i : ι) : Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp B (b.coord i).toContinuousLinearMap = |
| 65 | ∑ j, b.coord i (c j) • c j := by |
| 66 | have hh := Analysis.HodgeTheory.Decomposition.MetricDualBasis.Constructions.bilinearMetricSharp_dual_expansion B c (b.coord i).toContinuousLinearMap |
| 67 | simp only [Positive.MetricTrace.orthogonalBasis_metric_sharp B hpos c hc] at hh |
| 68 | exact hh.symm |
| 69 | simp only [hs, map_sum, LinearMap.sum_apply, map_smul, LinearMap.smul_apply] |
| 70 | rw [Finset.sum_comm] |
| 71 | apply Finset.sum_congr rfl |
| 72 | intro j _ |
| 73 | have hh := congrArg (T (c j)) (b.sum_repr (c j)) |
| 74 | simpa only [map_sum, map_smul, Module.Basis.coord_apply] using hh |
| 75 | |
| 76 | omit [Fintype κ] [DecidableEq κ] in |
| 77 | theorem bilinearMetric_complex_trace_flip (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 78 | (hB : ∀ v w, B v w = B w v) (hpos : ∀ v : E, v ≠ 0 → 0 < B v v) |
| 79 | (b : Module.Basis ι ℝ E) (T : E →ₗ[ℝ] E →ₗ[ℝ] ℂ) : |
| 80 | (∑ i, T (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp B (b.coord i).toContinuousLinearMap) (b i)) = |
| 81 | ∑ i, T (b i) (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp B (b.coord i).toContinuousLinearMap) := by |
| 82 | let F := Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.RealMetricFiber E (Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.positiveBilinearCore B hB hpos) |
| 83 | let L := Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.realMetricFiberContinuousEquiv (Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.positiveBilinearCore B hB hpos) |
| 84 | let o := stdOrthonormalBasis ℝ F |
| 85 | let c := o.toBasis.map L.toLinearEquiv |
| 86 | have hc (j k) : B (c j) (c k) = if j = k then 1 else 0 := o.inner_eq_ite j k |
| 87 | exact (bilinearMetric_complex_trace_orthogonal B hpos b c hc T).trans |
| 88 | (bilinearMetric_complex_trace_orthogonal B hpos b c hc T.flip).symm |
| 89 | |
| 90 | variable [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 91 | |
| 92 | omit [Fintype κ] [DecidableEq κ] in |
| 93 | theorem bilinearMetric_complex_trace_J_skew (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 94 | (hB : ∀ v w, B v w = B w v) (hpos : ∀ v : E, v ≠ 0 → 0 < B v v) |
| 95 | (hBJ : ∀ v w, B (Complex.I • v) w = -B v (Complex.I • w)) |
| 96 | (b : Module.Basis ι ℝ E) (T : E →ₗ[ℝ] E →ₗ[ℝ] ℂ) : |
| 97 | (∑ i, T (Complex.I • Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp B (b.coord i).toContinuousLinearMap) (b i)) = |
| 98 | -(∑ i, T (b i) (Complex.I • Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp B (b.coord i).toContinuousLinearMap)) := by |
| 99 | let J := (ContinuousLinearMap.lsmul ℝ ℂ Complex.I : E →L[ℝ] E).toLinearMap |
| 100 | let U : E →ₗ[ℝ] E →ₗ[ℝ] ℂ := (LinearMap.llcomp ℝ E E ℂ).flip J |>.comp T |
| 101 | have hf := bilinearMetric_complex_trace_flip B hB hpos b U |
| 102 | exact (bilinear_metric_trace_J b B hpos hBJ T).trans (congrArg Neg.neg hf) |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.DivisorClass.Chern.BilinearComplexTrace |