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.MetricBounds |
| 2 | import Mathlib.Analysis.InnerProductSpace.LaxMilgram |
| 3 | |
| 4 | /-! # Inverse Metric -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.InverseMetric.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Invertibility and smooth inversion of positive metric coefficients. -/ |
| 11 | |
| 12 | open scoped ContDiff |
| 13 | open Set |
| 14 | |
| 15 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 16 | [CompleteSpace E] [ProperSpace E] |
| 17 | |
| 18 | def realBilinearOperator : (E →L[ℝ] E →L[ℝ] ℝ) →L[ℝ] (E →L[ℝ] E) := |
| 19 | ContinuousLinearMap.compL ℝ E (E →L[ℝ] ℝ) E |
| 20 | (InnerProductSpace.toDual ℝ E).symm.toContinuousLinearEquiv.toContinuousLinearMap |
| 21 | |
| 22 | omit [ProperSpace E] in |
| 23 | theorem realBilinearOperator_apply (B : E →L[ℝ] E →L[ℝ] ℝ) (u v : E) : |
| 24 | inner ℝ (realBilinearOperator B u) v = B u v := |
| 25 | InnerProductSpace.continuousLinearMapOfBilin_apply B u v |
| 26 | |
| 27 | omit [CompleteSpace E] in |
| 28 | theorem positive_bilinear_isCoercive (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 29 | (hpos : ∀ u : E, u ≠ 0 → 0 < B u u) : IsCoercive B := by |
| 30 | obtain ⟨c, hc, h⟩ := MetricBounds.CM.Construction.positive_bilinear_uniform_lower_bound (fun _ : Unit => B) |
| 31 | (K := Set.univ) isCompact_univ continuousOn_const (fun _ _ => hpos) |
| 32 | exact ⟨c, hc, fun u => h () (Set.mem_univ ()) u⟩ |
| 33 | |
| 34 | theorem positive_bilinear_operator_isInvertible (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 35 | (hpos : ∀ u : E, u ≠ 0 → 0 < B u u) : (realBilinearOperator B).IsInvertible := by |
| 36 | refine ⟨(positive_bilinear_isCoercive B hpos).continuousLinearEquivOfBilin, ?_⟩ |
| 37 | rfl |
| 38 | |
| 39 | def inverseBilinearForm (B : E →L[ℝ] E →L[ℝ] ℝ) : E →L[ℝ] E →L[ℝ] ℝ := |
| 40 | (InnerProductSpace.toDual ℝ E).toContinuousLinearEquiv.toContinuousLinearMap.comp |
| 41 | (realBilinearOperator B).inverse |
| 42 | |
| 43 | omit [ProperSpace E] in |
| 44 | theorem inverseBilinearForm_apply (B : E →L[ℝ] E →L[ℝ] ℝ) (u v : E) : |
| 45 | inverseBilinearForm B u v = inner ℝ ((realBilinearOperator B).inverse u) v := rfl |
| 46 | |
| 47 | theorem inverseBilinearForm_positive (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 48 | (hpos : ∀ u : E, u ≠ 0 → 0 < B u u) (u : E) (hu : u ≠ 0) : |
| 49 | 0 < inverseBilinearForm B u u := by |
| 50 | let A := realBilinearOperator B |
| 51 | have hA : A.IsInvertible := positive_bilinear_operator_isInvertible B hpos |
| 52 | have hn : A.inverse u ≠ 0 := by |
| 53 | intro h |
| 54 | have hh := hA.self_apply_inverse u |
| 55 | rw [h, map_zero] at hh |
| 56 | exact hu hh.symm |
| 57 | rw [inverseBilinearForm_apply] |
| 58 | change 0 < inner ℝ (A.inverse u) u |
| 59 | have heq : inner ℝ (A.inverse u) u = B (A.inverse u) (A.inverse u) := by |
| 60 | calc |
| 61 | inner ℝ (A.inverse u) u = inner ℝ (A.inverse u) (A (A.inverse u)) := |
| 62 | congrArg (fun z => inner ℝ (A.inverse u) z) (hA.self_apply_inverse u).symm |
| 63 | _ = B (A.inverse u) (A.inverse u) := by |
| 64 | rw [real_inner_comm] |
| 65 | exact realBilinearOperator_apply B _ _ |
| 66 | rw [heq] |
| 67 | exact hpos _ hn |
| 68 | |
| 69 | theorem inverseBilinearForm_symmetric (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 70 | (hpos : ∀ u : E, u ≠ 0 → 0 < B u u) (hsym : ∀ u v : E, B u v = B v u) |
| 71 | (u v : E) : inverseBilinearForm B u v = inverseBilinearForm B v u := by |
| 72 | let A := realBilinearOperator B |
| 73 | have hA : A.IsInvertible := positive_bilinear_operator_isInvertible B hpos |
| 74 | have heq (x y : E) : inverseBilinearForm B x y = B (A.inverse y) (A.inverse x) := by |
| 75 | rw [inverseBilinearForm_apply] |
| 76 | change inner ℝ (A.inverse x) y = _ |
| 77 | calc |
| 78 | inner ℝ (A.inverse x) y = inner ℝ (A.inverse x) (A (A.inverse y)) := |
| 79 | congrArg (fun z => inner ℝ (A.inverse x) z) (hA.self_apply_inverse y).symm |
| 80 | _ = B (A.inverse y) (A.inverse x) := by |
| 81 | rw [real_inner_comm] |
| 82 | exact realBilinearOperator_apply B _ _ |
| 83 | rw [heq, heq, hsym] |
| 84 | |
| 85 | variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 86 | |
| 87 | theorem positive_bilinear_inverse_smoothOn (B : F → E →L[ℝ] E →L[ℝ] ℝ) |
| 88 | {U : Set F} (hU : IsOpen U) (hB : ContDiffOn ℝ ∞ B U) |
| 89 | (hpos : ∀ x ∈ U, ∀ u : E, u ≠ 0 → 0 < B x u u) : |
| 90 | ContDiffOn ℝ ∞ (fun x => (realBilinearOperator (B x)).inverse) U := by |
| 91 | have hlin := ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := (∞ : ℕ∞ω)) |
| 92 | (E := E →L[ℝ] E →L[ℝ] ℝ) (F := E →L[ℝ] E) (realBilinearOperator (E := E)) |
| 93 | intro x hx |
| 94 | have hcoeff : ContDiffAt ℝ ∞ (fun y => realBilinearOperator (B y)) x := |
| 95 | hlin.contDiffAt.comp x (hB.contDiffAt (hU.mem_nhds hx)) |
| 96 | exact ((positive_bilinear_operator_isInvertible (B x) (hpos x hx)).contDiffAt_map_inverse.comp |
| 97 | x hcoeff).contDiffWithinAt |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.InverseMetric.CM.Construction |