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.PELModuli.IntegralModel.SegreTensorFrames |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.EqualFrameTransitionGluing |
| 3 | |
| 4 | /-! # Segre Hyperplane Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.SegreHyperplaneComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The exact Segre chart equations of Presentations identify the actual hyperplane |
| 11 | pullback with the O(1,1) tensor sheaf, by gluing native frame isomorphisms. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | namespace PolarizationEmbedding |
| 18 | |
| 19 | variable {S : Scheme.{0}} {X Y : Over S} |
| 20 | (BX : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X) (BY : HilbertScheme.Presentations.Has.Core.ProjectivePresentation Y) |
| 21 | (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (X ⨯ Y)) |
| 22 | (c : Fin (B.dimension + 1) ≃ Fin (BX.dimension + 1) × Fin (BY.dimension + 1)) |
| 23 | (hU : ∀ q, SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q = B.coordinateOpen (c.symm q)) |
| 24 | (hR : ∀ q r, |
| 25 | (X ⨯ Y).left.presheaf.map (homOfLE (hU q).le).op |
| 26 | (B.coordinateRatio (c.symm q) (c.symm r)) = |
| 27 | (prod.fst : X ⨯ Y ⟶ X).left.appLE (BX.coordinateOpen q.1) (SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q) |
| 28 | inf_le_left (BX.coordinateRatio q.1 r.1) * |
| 29 | (prod.snd : X ⨯ Y ⟶ Y).left.appLE (BY.coordinateOpen q.2) (SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q) |
| 30 | inf_le_right (BY.coordinateRatio q.2 r.2)) |
| 31 | |
| 32 | include hR in |
| 33 | theorem segre_coordinateRatio_restrict |
| 34 | (q r : Fin (BX.dimension + 1) × Fin (BY.dimension + 1)) |
| 35 | (U : (X ⨯ Y).left.Opens) (h : U ≤ SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q) : |
| 36 | (X ⨯ Y).left.presheaf.map (homOfLE (h.trans (hU q).le)).op |
| 37 | (B.coordinateRatio (c.symm q) (c.symm r)) = |
| 38 | (prod.fst : X ⨯ Y ⟶ X).left.appLE (BX.coordinateOpen q.1) U |
| 39 | (h.trans inf_le_left) (BX.coordinateRatio q.1 r.1) * |
| 40 | (prod.snd : X ⨯ Y ⟶ Y).left.appLE (BY.coordinateOpen q.2) U |
| 41 | (h.trans inf_le_right) (BY.coordinateRatio q.2 r.2) := by |
| 42 | have he := congrArg ((X ⨯ Y).left.presheaf.map (homOfLE h).op) (hR q r) |
| 43 | rw [map_mul] at he |
| 44 | have hl := ConcreteCategory.congr_hom |
| 45 | ((prod.fst : X ⨯ Y ⟶ X).left.appLE_map inf_le_left (homOfLE h).op) |
| 46 | (BX.coordinateRatio q.1 r.1) |
| 47 | have hr := ConcreteCategory.congr_hom |
| 48 | ((prod.snd : X ⨯ Y ⟶ Y).left.appLE_map inf_le_right (homOfLE h).op) |
| 49 | (BY.coordinateRatio q.2 r.2) |
| 50 | change (X ⨯ Y).left.presheaf.map (homOfLE h).op |
| 51 | ((prod.fst : X ⨯ Y ⟶ X).left.appLE (BX.coordinateOpen q.1) |
| 52 | (SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q) inf_le_left (BX.coordinateRatio q.1 r.1)) = _ at hl |
| 53 | change (X ⨯ Y).left.presheaf.map (homOfLE h).op |
| 54 | ((prod.snd : X ⨯ Y ⟶ Y).left.appLE (BY.coordinateOpen q.2) |
| 55 | (SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q) inf_le_right (BY.coordinateRatio q.2 r.2)) = _ at hr |
| 56 | rw [hl, hr] at he |
| 57 | rw [← ConcreteCategory.comp_apply, ← Functor.map_comp] at he |
| 58 | exact he |
| 59 | |
| 60 | def segrePresentationFrame (j : Fin (B.dimension + 1)) |
| 61 | (q : Fin (BX.dimension + 1) × Fin (BY.dimension + 1)) : |
| 62 | (Presentations.PresentationFrames.PolarizationEmbedding.e34HyperplanePullback B j).restrict (SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q).ι ≅ |
| 63 | SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj (SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q).toScheme := |
| 64 | SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization (hU q).le (Presentations.PresentationFrames.PolarizationEmbedding.e34HyperplaneFrame B j (c.symm q)) |
| 65 | |
| 66 | theorem segrePresentationFrame_restrict (j : Fin (B.dimension + 1)) |
| 67 | (q : Fin (BX.dimension + 1) × Fin (BY.dimension + 1)) |
| 68 | (U : (X ⨯ Y).left.Opens) (h : U ≤ SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q) : |
| 69 | SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization h (segrePresentationFrame BX BY B c hU j q) = |
| 70 | SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization (h.trans (hU q).le) |
| 71 | (Presentations.PresentationFrames.PolarizationEmbedding.e34HyperplaneFrame B j (c.symm q)) := |
| 72 | SheafCohomology.Projective.OpenFrameTransitivity.Scheme.Modules.restrictOpenTrivialization_comp (hU q).le h _ |
| 73 | |
| 74 | def segreRatioProduct |
| 75 | (q r : Fin (BX.dimension + 1) × Fin (BY.dimension + 1)) |
| 76 | (U : (X ⨯ Y).left.Opens) (h : U ≤ SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q) : Γ((X ⨯ Y).left, U) := |
| 77 | (prod.fst : X ⨯ Y ⟶ X).left.appLE (BX.coordinateOpen q.1) U |
| 78 | (h.trans inf_le_left) (BX.coordinateRatio q.1 r.1) * |
| 79 | (prod.snd : X ⨯ Y ⟶ Y).left.appLE (BY.coordinateOpen q.2) U |
| 80 | (h.trans inf_le_right) (BY.coordinateRatio q.2 r.2) |
| 81 | |
| 82 | def segreOverlapRatio (q r : Fin (BX.dimension + 1) × Fin (BY.dimension + 1)) : |
| 83 | Γ((X ⨯ Y).left, SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q ⊓ SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY r) := |
| 84 | segreRatioProduct BX BY q r _ inf_le_left |
| 85 | |
| 86 | include hR in |
| 87 | theorem segrePresentationFrame_transition_on (j : Fin (B.dimension + 1)) |
| 88 | (q r : Fin (BX.dimension + 1) × Fin (BY.dimension + 1)) |
| 89 | (U : (X ⨯ Y).left.Opens) (hq : U ≤ SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q) (hr : U ≤ SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY r) : |
| 90 | (SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization hq (segrePresentationFrame BX BY B c hU j q)).hom = |
| 91 | (SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization hr (segrePresentationFrame BX BY B c hU j r)).hom ≫ |
| 92 | SheafCohomology.Projective.UnitScalar.unitEndomorphismOfTopSection (U.topIso.inv (segreRatioProduct BX BY q r U hq)) := by |
| 93 | have hl := congrArg Iso.hom (segrePresentationFrame_restrict BX BY B c hU j q U hq) |
| 94 | have hh := congrArg Iso.hom (segrePresentationFrame_restrict BX BY B c hU j r U hr) |
| 95 | have he := Presentations.PresentationFrames.PolarizationEmbedding.e34HyperplaneFrame_transition_on B j (c.symm q) (c.symm r) U |
| 96 | (hq.trans (hU q).le) (hr.trans (hU r).le) |
| 97 | have hs := segre_coordinateRatio_restrict BX BY B c hU hR q r U hq |
| 98 | exact hl.trans (he.trans ((congrArg (fun a => |
| 99 | (SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization (hr.trans (hU r).le) |
| 100 | (Presentations.PresentationFrames.PolarizationEmbedding.e34HyperplaneFrame B j (c.symm r))).hom ≫ |
| 101 | SheafCohomology.Projective.UnitScalar.unitEndomorphismOfTopSection (U.topIso.inv a)) hs).trans |
| 102 | (congrArg (fun f => f ≫ SheafCohomology.Projective.UnitScalar.unitEndomorphismOfTopSection |
| 103 | (U.topIso.inv (segreRatioProduct BX BY q r U hq))) hh.symm))) |
| 104 | |
| 105 | include hR in |
| 106 | theorem segrePresentationFrame_overlap (j : Fin (B.dimension + 1)) |
| 107 | (q r : Fin (BX.dimension + 1) × Fin (BY.dimension + 1)) : |
| 108 | (SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization inf_le_left |
| 109 | (segrePresentationFrame BX BY B c hU j q)).hom = |
| 110 | (SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization inf_le_right |
| 111 | (segrePresentationFrame BX BY B c hU j r)).hom ≫ |
| 112 | SheafCohomology.Projective.UnitScalar.unitEndomorphismOfTopSection |
| 113 | ((SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q ⊓ SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY r).topIso.inv (segreOverlapRatio BX BY q r)) := |
| 114 | segrePresentationFrame_transition_on BX BY B c hU hR j q r _ inf_le_left inf_le_right |
| 115 | |
| 116 | theorem segreTensorFrame_overlap (i₀ : Fin (BX.dimension + 1)) (j₀ : Fin (BY.dimension + 1)) |
| 117 | (q r : Fin (BX.dimension + 1) × Fin (BY.dimension + 1)) : |
| 118 | (SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization inf_le_left (SegreTensorFrames.PolarizationEmbedding.segreTensorFrame BX BY i₀ j₀ q)).hom = |
| 119 | (SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization inf_le_right (SegreTensorFrames.PolarizationEmbedding.segreTensorFrame BX BY i₀ j₀ r)).hom ≫ |
| 120 | SheafCohomology.Projective.UnitScalar.unitEndomorphismOfTopSection |
| 121 | ((SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q ⊓ SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY r).topIso.inv (segreOverlapRatio BX BY q r)) := |
| 122 | SegreTensorFrames.PolarizationEmbedding.segreTensorFrame_transition_on BX BY i₀ j₀ q r _ inf_le_left inf_le_right |
| 123 | |
| 124 | include hR in |
| 125 | theorem exists_segre_hyperplane_iso_of_charts |
| 126 | (j : Fin (B.dimension + 1)) (i₀ : Fin (BX.dimension + 1)) (j₀ : Fin (BY.dimension + 1)) : |
| 127 | Nonempty (Presentations.PresentationFrames.PolarizationEmbedding.e34HyperplanePullback B j ≅ SegreTensorFrames.PolarizationEmbedding.segreTensorHyperplane BX BY i₀ j₀) := by |
| 128 | exact RepresentationTheory.Theta.Geometric.EqualFrameTransitionGluing.exists_iso_of_equal_frame_transitions |
| 129 | (X := (X ⨯ Y).left) (ι := Fin (BX.dimension + 1) × Fin (BY.dimension + 1)) |
| 130 | (Presentations.PresentationFrames.PolarizationEmbedding.e34HyperplanePullback B j) (SegreTensorFrames.PolarizationEmbedding.segreTensorHyperplane BX BY i₀ j₀) |
| 131 | (SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY) (SegreTensorFrames.PolarizationEmbedding.segreChartOpens_cover BX BY) |
| 132 | (fun q r => SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY q ⊓ SegreTensorFrames.PolarizationEmbedding.segreChartOpen BX BY r) |
| 133 | (fun _ _ => inf_le_left) (fun _ _ => inf_le_right) (fun _ _ => le_rfl) |
| 134 | (segrePresentationFrame BX BY B c hU j) (SegreTensorFrames.PolarizationEmbedding.segreTensorFrame BX BY i₀ j₀) |
| 135 | (segreOverlapRatio BX BY) |
| 136 | (segrePresentationFrame_overlap BX BY B c hU hR j) |
| 137 | (segreTensorFrame_overlap BX BY i₀ j₀) |
| 138 | |
| 139 | theorem exists_segre_hyperplane_iso |
| 140 | (hSegre : HilbertScheme.Presentations.Segre.Open.Core.IsSegrePresentation BX BY B) |
| 141 | (j : Fin (B.dimension + 1)) (i₀ : Fin (BX.dimension + 1)) (j₀ : Fin (BY.dimension + 1)) : |
| 142 | Nonempty (Presentations.PresentationFrames.PolarizationEmbedding.e34HyperplanePullback B j ≅ SegreTensorFrames.PolarizationEmbedding.segreTensorHyperplane BX BY i₀ j₀) := by |
| 143 | classical |
| 144 | obtain ⟨c, hc⟩ := hSegre |
| 145 | choose hU hR using hc |
| 146 | exact exists_segre_hyperplane_iso_of_charts BX BY B c |
| 147 | (fun q => hU q.1 q.2) (fun q r => hR q.1 q.2 r.1 r.2) j i₀ j₀ |
| 148 | |
| 149 | end PolarizationEmbedding |
| 150 | |
| 151 | end |
| 152 | |
| 153 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.SegreHyperplaneComparison |