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.Holomorphic.IntegralPairZero |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.VariableMetricIntegral |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.FormCompletion |
| 4 | import Mathlib.Analysis.Normed.Operator.Extend |
| 5 | |
| 6 | /-! # Equivalence -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicMetric.Equivalence |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The identity on actual smooth forms extends between all metric completions and the original L² space. -/ |
| 13 | |
| 14 | open _root_.TopologicalSpace |
| 15 | open scoped _root_.Manifold |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | theorem nonneg_le_sqrt_mul_of_sq_le {s t C : ℝ} (hs : 0 ≤ s) (ht : 0 ≤ t) |
| 22 | (hC : 0 ≤ C) (hb : s ^ 2 ≤ C * t ^ 2) : s ≤ Real.sqrt C * t := by |
| 23 | apply (sq_le_sq₀ hs (mul_nonneg (Real.sqrt_nonneg C) ht)).mp |
| 24 | rw [mul_pow, Real.sq_sqrt hC] |
| 25 | exact hb |
| 26 | |
| 27 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 28 | {u : Holomorphic.Connecting.holomorphicUnitCohomology V.analyticModel V.analyticSpace} |
| 29 | (h k : Data.HolomorphicLineMetricData u) (n : ℕ) |
| 30 | |
| 31 | theorem holomorphicFormL2WithInclusion_norm_bound : |
| 32 | ∃ C : ℝ, ∀ a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n, |
| 33 | ‖Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h n a‖ ≤ C * ‖Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V k n a‖ := by |
| 34 | obtain ⟨C, hC, hb⟩ := h.formIntegralPair_uniform_bound V k |
| 35 | refine ⟨Real.sqrt C, ?_⟩ |
| 36 | intro a |
| 37 | exact nonneg_le_sqrt_mul_of_sq_le (norm_nonneg _) (norm_nonneg _) hC.le |
| 38 | ((Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion_norm_sq V h n a).trans_le ((hb n a).trans_eq |
| 39 | (congrArg (fun r : ℝ => C * r) (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion_norm_sq V k n a)).symm)) |
| 40 | |
| 41 | def holomorphicMetricL2Equiv : Holomorphic.IntegralPairZero.HolomorphicFormL2With V h n ≃L[ℂ] Holomorphic.IntegralPairZero.HolomorphicFormL2With V k n := |
| 42 | (LinearEquiv.refl ℂ (HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n)).extend |
| 43 | (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h n) (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V k n) |
| 44 | (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion_dense V h n) (holomorphicFormL2WithInclusion_norm_bound V k h n) |
| 45 | (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion_dense V k n) (holomorphicFormL2WithInclusion_norm_bound V h k n) |
| 46 | |
| 47 | theorem holomorphicMetricL2Equiv_inclusion (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 48 | holomorphicMetricL2Equiv V h k n (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h n a) = |
| 49 | Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V k n a := |
| 50 | LinearEquiv.extend_eq _ _ _ _ _ _ _ a |
| 51 | |
| 52 | theorem holomorphicMetricL2Equiv_symm_inclusion (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 53 | (holomorphicMetricL2Equiv V h k n).symm (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V k n a) = |
| 54 | Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h n a := |
| 55 | LinearEquiv.extend_symm_eq _ _ _ _ _ _ _ a |
| 56 | |
| 57 | theorem holomorphicCanonicalL2Inclusion_norm (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 58 | ‖Holomorphic.FormCompletion.holomorphicFormL2Inclusion V u n a‖ = |
| 59 | ‖Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V (Data.holomorphicLineCanonicalMetric u) n a‖ := by |
| 60 | apply (sq_eq_sq₀ (norm_nonneg _) (norm_nonneg _)).mp |
| 61 | rw [Holomorphic.FormCompletion.holomorphicFormL2Inclusion_norm_sq, Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion_norm_sq, |
| 62 | Holomorphic.VariableMetricIntegral.holomorphicLineCanonicalMetric_formIntegralPair] |
| 63 | |
| 64 | def holomorphicCanonicalL2Equiv : |
| 65 | Holomorphic.IntegralPairZero.HolomorphicFormL2With V (Data.holomorphicLineCanonicalMetric u) n ≃ₗᵢ[ℂ] Holomorphic.FormCompletion.HolomorphicFormL2 V u n := |
| 66 | (LinearEquiv.refl ℂ (HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n)).extendOfIsometry |
| 67 | (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V (Data.holomorphicLineCanonicalMetric u) n) (Holomorphic.FormCompletion.holomorphicFormL2Inclusion V u n) |
| 68 | (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion_dense V (Data.holomorphicLineCanonicalMetric u) n) |
| 69 | (Holomorphic.FormCompletion.holomorphicFormL2Inclusion_dense V u n) (holomorphicCanonicalL2Inclusion_norm V n) |
| 70 | |
| 71 | theorem holomorphicCanonicalL2Equiv_inclusion (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 72 | holomorphicCanonicalL2Equiv V n (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V (Data.holomorphicLineCanonicalMetric u) n a) = |
| 73 | Holomorphic.FormCompletion.holomorphicFormL2Inclusion V u n a := by |
| 74 | exact LinearEquiv.extendOfIsometry_eq _ _ _ _ _ _ a |
| 75 | |
| 76 | def holomorphicMetricOriginalL2Equiv : Holomorphic.IntegralPairZero.HolomorphicFormL2With V h n ≃L[ℂ] Holomorphic.FormCompletion.HolomorphicFormL2 V u n := |
| 77 | (holomorphicMetricL2Equiv V h (Data.holomorphicLineCanonicalMetric u) n).trans |
| 78 | (holomorphicCanonicalL2Equiv V n).toContinuousLinearEquiv |
| 79 | |
| 80 | theorem holomorphicMetricOriginalL2Equiv_inclusion (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 81 | holomorphicMetricOriginalL2Equiv V h n (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h n a) = |
| 82 | Holomorphic.FormCompletion.holomorphicFormL2Inclusion V u n a := by |
| 83 | change holomorphicCanonicalL2Equiv V n |
| 84 | (holomorphicMetricL2Equiv V h (Data.holomorphicLineCanonicalMetric u) n (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h n a)) = _ |
| 85 | rw [holomorphicMetricL2Equiv_inclusion, holomorphicCanonicalL2Equiv_inclusion] |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicMetric.Equivalence |