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.HolomorphicLine.AntiForms |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicLine.HermitianPair |
| 3 | |
| 4 | /-! # Section Pair -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicSmooth.SectionPair |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual Hermitian metric induces a frame-independent pointwise pairing on smooth line-bundle sections. -/ |
| 11 | |
| 12 | open _root_.TopologicalSpace |
| 13 | open scoped _root_.Manifold ContDiff ComplexConjugate |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 20 | [FiniteDimensional ℝ E] {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 21 | [CompactSpace M] [T2Space M] [IsManifold 𝓘(ℝ, E) ∞ M] |
| 22 | (u : Holomorphic.Connecting.holomorphicUnitCohomology E M) {U : Opens M} |
| 23 | |
| 24 | def holomorphicLineSmoothSectionPair (s t : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U 0) (x : U) : ℂ := |
| 25 | let hx := (Holomorphic.CohomologyTransitions.holomorphicCohomologyLocalLifts E M u).mem_domain x.val |
| 26 | HolomorphicLine.HermitianPair.holomorphicLineHermitianPair u x.val ⟨x.val, hx⟩ |
| 27 | (s.val x.val ⟨x.val, x.property, hx⟩ 0) (t.val x.val ⟨x.val, x.property, hx⟩ 0) |
| 28 | |
| 29 | theorem holomorphicLineSmoothSectionPair_inFrame (s t : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U 0) |
| 30 | (i : M) (x : U) (hi : x.val ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) : |
| 31 | holomorphicLineSmoothSectionPair u s t x = |
| 32 | HolomorphicLine.HermitianPair.holomorphicLineHermitianPair u i ⟨x.val, hi⟩ |
| 33 | (s.val i ⟨x.val, x.property, hi⟩ 0) (t.val i ⟨x.val, x.property, hi⟩ 0) := by |
| 34 | let hx := (Holomorphic.CohomologyTransitions.holomorphicCohomologyLocalLifts E M u).mem_domain x.val |
| 35 | have hs := congrArg (fun a : TangentSpace 𝓘(ℝ, E) x.val [⋀^Fin 0]→L[ℝ] ℂ => a 0) |
| 36 | (s.property i x.val x.val x.property hi hx) |
| 37 | have ht := congrArg (fun a : TangentSpace 𝓘(ℝ, E) x.val [⋀^Fin 0]→L[ℝ] ℂ => a 0) |
| 38 | (t.property i x.val x.val x.property hi hx) |
| 39 | change s.val x.val ⟨x.val, x.property, hx⟩ 0 = |
| 40 | (Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i x.val).val ⟨x.val, hi, hx⟩ * |
| 41 | s.val i ⟨x.val, x.property, hi⟩ 0 at hs |
| 42 | change t.val x.val ⟨x.val, x.property, hx⟩ 0 = |
| 43 | (Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i x.val).val ⟨x.val, hi, hx⟩ * |
| 44 | t.val i ⟨x.val, x.property, hi⟩ 0 at ht |
| 45 | have h := HolomorphicLine.HermitianPair.holomorphicLineHermitianPair_transition u i x.val x.val hi hx |
| 46 | (s.val i ⟨x.val, x.property, hi⟩ 0) (t.val i ⟨x.val, x.property, hi⟩ 0) |
| 47 | rw [HolomorphicLine.Bundle.holomorphicCohomologyCoordChange_apply E M u i x.val x.val hi hx, |
| 48 | HolomorphicLine.Bundle.holomorphicCohomologyCoordChange_apply E M u i x.val x.val hi hx, ← hs, ← ht] at h |
| 49 | exact h |
| 50 | |
| 51 | theorem holomorphicLineSmoothSectionPair_conj (s t : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U 0) (x : U) : |
| 52 | conj (holomorphicLineSmoothSectionPair u s t x) = holomorphicLineSmoothSectionPair u t s x := by |
| 53 | unfold holomorphicLineSmoothSectionPair HolomorphicLine.HermitianPair.holomorphicLineHermitianPair |
| 54 | rw [map_mul, map_mul, Complex.conj_ofReal, Complex.conj_conj] |
| 55 | ring |
| 56 | |
| 57 | theorem holomorphicLineSmoothSectionPair_add_right (s t r : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U 0) (x : U) : |
| 58 | holomorphicLineSmoothSectionPair u s (t + r) x = |
| 59 | holomorphicLineSmoothSectionPair u s t x + holomorphicLineSmoothSectionPair u s r x := by |
| 60 | let hx := (Holomorphic.CohomologyTransitions.holomorphicCohomologyLocalLifts E M u).mem_domain x.val |
| 61 | let A : ℂ := (HolomorphicLine.MetricWeight.holomorphicLineMetricWeight u x.val ⟨x.val, hx⟩ : ℂ) * |
| 62 | conj (s.val x.val ⟨x.val, x.property, hx⟩ 0) |
| 63 | let b : ℂ := t.val x.val ⟨x.val, x.property, hx⟩ 0 |
| 64 | let c : ℂ := r.val x.val ⟨x.val, x.property, hx⟩ 0 |
| 65 | change A * (b + c) = A * b + A * c |
| 66 | ring |
| 67 | |
| 68 | theorem holomorphicLineSmoothSectionPair_smul_right (s t : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U 0) |
| 69 | (z : ℂ) (x : U) : |
| 70 | holomorphicLineSmoothSectionPair u s (z • t) x = z * holomorphicLineSmoothSectionPair u s t x := by |
| 71 | let hx := (Holomorphic.CohomologyTransitions.holomorphicCohomologyLocalLifts E M u).mem_domain x.val |
| 72 | let A : ℂ := (HolomorphicLine.MetricWeight.holomorphicLineMetricWeight u x.val ⟨x.val, hx⟩ : ℂ) * |
| 73 | conj (s.val x.val ⟨x.val, x.property, hx⟩ 0) |
| 74 | let b : ℂ := t.val x.val ⟨x.val, x.property, hx⟩ 0 |
| 75 | change A * (z * b) = z * (A * b) |
| 76 | ring |
| 77 | |
| 78 | theorem holomorphicLineSmoothSectionPair_self_inFrame (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U 0) |
| 79 | (i : M) (x : U) (hi : x.val ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) : |
| 80 | holomorphicLineSmoothSectionPair u s s x = |
| 81 | (HolomorphicLine.MetricWeight.holomorphicLineMetricWeight u i ⟨x.val, hi⟩ * |
| 82 | Complex.normSq (s.val i ⟨x.val, x.property, hi⟩ 0) : ℝ) := by |
| 83 | rw [holomorphicLineSmoothSectionPair_inFrame u s s i x hi, HolomorphicLine.HermitianPair.holomorphicLineHermitianPair_self] |
| 84 | |
| 85 | theorem holomorphicLineSmoothSectionPair_nonneg (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U 0) (x : U) : |
| 86 | 0 ≤ (holomorphicLineSmoothSectionPair u s s x).re := by |
| 87 | let hx := (Holomorphic.CohomologyTransitions.holomorphicCohomologyLocalLifts E M u).mem_domain x.val |
| 88 | rw [holomorphicLineSmoothSectionPair_self_inFrame u s x.val x hx, Complex.ofReal_re] |
| 89 | exact mul_nonneg (HolomorphicLine.MetricWeight.holomorphicLineMetricWeight_pos u x.val ⟨x.val, hx⟩).le (Complex.normSq_nonneg _) |
| 90 | |
| 91 | theorem holomorphicLineSmoothSectionPair_definite (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U 0) |
| 92 | (hs : ∀ x : U, (holomorphicLineSmoothSectionPair u s s x).re = 0) : s = 0 := by |
| 93 | apply HolomorphicLine.AntiForms.holomorphicLineSmoothForm_ext |
| 94 | intro i x |
| 95 | have h := hs ⟨x.val, x.property.1⟩ |
| 96 | rw [holomorphicLineSmoothSectionPair_self_inFrame u s i ⟨x.val, x.property.1⟩ x.property.2, |
| 97 | Complex.ofReal_re] at h |
| 98 | have hz : s.val i x 0 = 0 := by |
| 99 | by_contra hn |
| 100 | have hp := mul_pos (HolomorphicLine.MetricWeight.holomorphicLineMetricWeight_pos u i ⟨x.val, x.property.2⟩) |
| 101 | (Complex.normSq_pos.mpr hn) |
| 102 | rw [h] at hp |
| 103 | exact (lt_irrefl 0) hp |
| 104 | ext v |
| 105 | change s.val i x v = 0 |
| 106 | have hv : v = 0 := Subsingleton.elim _ _ |
| 107 | rwa [hv] |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicSmooth.SectionPair |