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.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 2 | |
| 3 | /-! # Theta Criterion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Adelic.ThetaCriterion.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual AdelicTheta Hodge subspace is characterized by its line, |
| 10 | annihilator, and selected compact components. -/ |
| 11 | |
| 12 | open scoped Classical _root_.NumberField |
| 13 | open _root_.Matrix |
| 14 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.BallNatural |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.DeterminantCoordinates OAI.RepresentationTheory.Theta.Adelic.AnnihilatorFrame |
| 16 | |
| 17 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 18 | {H : (Matrix (Fin 3) (Fin 3) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 19 | {K : (Matrix (Fin m) (Fin m) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 20 | (A : RepresentationTheory.Theta.Adelic.BallGeometryData.BallArithmeticData F d m H K) |
| 21 | |
| 22 | def Criterion (z : RepresentationTheory.Theta.Adelic.BallNatural.Ball) (w : RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase A) : Prop := |
| 23 | ∀ v j, if v = A.distinguished then |
| 24 | (∃ c : ℂ, ∀ i, (w v).1 (i, j) = RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector z.val i * c) ∧ |
| 25 | dotProduct (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector z.val) (fun i => (w v).2 (i, j)) = 0 |
| 26 | else if A.positive v j then (∀ i, (w v).2 (i, j) = 0) |
| 27 | else (∀ i, (w v).1 (i, j) = 0) |
| 28 | |
| 29 | theorem distinguished (z : RepresentationTheory.Theta.Adelic.BallNatural.Ball) (w : RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase A) (h : Criterion A z w) (j : Fin m) : |
| 30 | (∃ c : ℂ, ∀ i, (w A.distinguished).1 (i, j) = RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector z.val i * c) ∧ |
| 31 | dotProduct (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector z.val) (fun i => (w A.distinguished).2 (i, j)) = 0 := by |
| 32 | have hj := h A.distinguished j |
| 33 | rwa [ite_eq_left rfl] at hj |
| 34 | |
| 35 | theorem compact (z : RepresentationTheory.Theta.Adelic.BallNatural.Ball) (w : RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase A) (h : Criterion A z w) |
| 36 | (v : Fin A.places) (hv : v ≠ A.distinguished) (j : Fin m) : |
| 37 | if A.positive v j then (∀ i, (w v).2 (i, j) = 0) else (∀ i, (w v).1 (i, j) = 0) := by |
| 38 | have hj := h v j |
| 39 | rwa [ite_eq_right hv] at hj |
| 40 | |
| 41 | theorem of_components (z : RepresentationTheory.Theta.Adelic.BallNatural.Ball) (w : RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase A) |
| 42 | (hd : ∀ j : Fin m, |
| 43 | (∃ c : ℂ, ∀ i, (w A.distinguished).1 (i, j) = RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector z.val i * c) ∧ |
| 44 | dotProduct (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector z.val) (fun i => (w A.distinguished).2 (i, j)) = 0) |
| 45 | (hc : ∀ v : Fin A.places, v ≠ A.distinguished → ∀ j : Fin m, |
| 46 | if A.positive v j then (∀ i, (w v).2 (i, j) = 0) else (∀ i, (w v).1 (i, j) = 0)) : |
| 47 | Criterion A z w := by |
| 48 | intro v j |
| 49 | by_cases hv : v = A.distinguished |
| 50 | · subst v |
| 51 | rw [ite_eq_left rfl] |
| 52 | exact hd j |
| 53 | · rw [ite_eq_right hv] |
| 54 | exact hc v hv j |
| 55 | |
| 56 | theorem frame_criterion (z : RepresentationTheory.Theta.Adelic.BallNatural.Ball) (a : RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A → ℂ) : Criterion A z (RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame A z a) := by |
| 57 | intro v j |
| 58 | by_cases hv : v = A.distinguished |
| 59 | · rw [ite_eq_left hv] |
| 60 | constructor |
| 61 | · exact ⟨a (v, 0, j), fun i => by simp only [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, ite_eq_left hv]⟩ |
| 62 | · simp [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, hv, RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector, RepresentationTheory.Theta.Adelic.DeterminantCoordinates.annihilatorVector, dotProduct, Fin.sum_univ_succ] |
| 63 | · rw [ite_eq_right hv] |
| 64 | by_cases hp : A.positive v j |
| 65 | · rw [ite_eq_left hp] |
| 66 | intro i |
| 67 | simp only [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, ite_eq_right hv, ite_eq_left hp] |
| 68 | · rw [ite_eq_right hp] |
| 69 | intro i |
| 70 | simp only [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, ite_eq_right hv, ite_eq_right hp] |
| 71 | |
| 72 | theorem reconstruct (z : RepresentationTheory.Theta.Adelic.BallNatural.Ball) (w : RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase A) (hw : Criterion A z w) : |
| 73 | RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame A z (RepresentationTheory.Theta.Adelic.BallGeometryData.geometricCoordinates A w) = w := by |
| 74 | funext v |
| 75 | apply Prod.ext |
| 76 | · funext ij |
| 77 | have h := hw v ij.2 |
| 78 | by_cases hv : v = A.distinguished |
| 79 | · rw [ite_eq_left hv] at h |
| 80 | obtain ⟨c, hc⟩ := h.1 |
| 81 | have hc2 : (w v).1 (2, ij.2) = c := by simpa [RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector] using hc 2 |
| 82 | simp only [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, RepresentationTheory.Theta.Adelic.BallGeometryData.geometricCoordinates, ite_eq_left hv, ite_true] |
| 83 | rw [hc2] |
| 84 | exact (hc ij.1).symm |
| 85 | · rw [ite_eq_right hv] at h |
| 86 | by_cases hp : A.positive v ij.2 |
| 87 | · simp only [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, RepresentationTheory.Theta.Adelic.BallGeometryData.geometricCoordinates, ite_eq_right hv, ite_eq_left hp] |
| 88 | · rw [ite_eq_right hp] at h |
| 89 | simpa only [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, ite_eq_right hv, ite_eq_right hp] using (h ij.1).symm |
| 90 | · funext ij |
| 91 | have h := hw v ij.2 |
| 92 | by_cases hv : v = A.distinguished |
| 93 | · rw [ite_eq_left hv] at h |
| 94 | have hf := RepresentationTheory.Theta.Adelic.AnnihilatorFrame.annihilator_frame_coordinates z.val (fun i => (w v).2 (i, ij.2)) h.2 |
| 95 | have hi := congrFun hf ij.1 |
| 96 | rcases ij with ⟨i, j⟩ |
| 97 | fin_cases i |
| 98 | · simp [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, RepresentationTheory.Theta.Adelic.BallGeometryData.geometricCoordinates, hv, RepresentationTheory.Theta.Adelic.DeterminantCoordinates.annihilatorVector] |
| 99 | · simp [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, RepresentationTheory.Theta.Adelic.BallGeometryData.geometricCoordinates, hv, RepresentationTheory.Theta.Adelic.DeterminantCoordinates.annihilatorVector] |
| 100 | · simpa [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, RepresentationTheory.Theta.Adelic.BallGeometryData.geometricCoordinates, hv, RepresentationTheory.Theta.Adelic.DeterminantCoordinates.annihilatorVector, RepresentationTheory.Theta.Adelic.AnnihilatorFrame.frameVector, add_comm] using hi.symm |
| 101 | · rw [ite_eq_right hv] at h |
| 102 | by_cases hp : A.positive v ij.2 |
| 103 | · rw [ite_eq_left hp] at h |
| 104 | simpa only [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, ite_eq_right hv, ite_eq_left hp] using (h ij.1).symm |
| 105 | · simp only [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, RepresentationTheory.Theta.Adelic.BallGeometryData.geometricCoordinates, ite_eq_right hv, ite_eq_right hp] |
| 106 | |
| 107 | theorem mem_iff (z : RepresentationTheory.Theta.Adelic.BallNatural.Ball) (w : RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase A) : w ∈ RepresentationTheory.Theta.Adelic.BallGeometryData.HodgeSubspace A z ↔ Criterion A z w := by |
| 108 | constructor |
| 109 | · rintro ⟨a, rfl⟩ |
| 110 | exact frame_criterion A z a |
| 111 | · intro hw |
| 112 | exact ⟨RepresentationTheory.Theta.Adelic.BallGeometryData.geometricCoordinates A w, reconstruct A z w hw⟩ |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Adelic.ThetaCriterion.CM |