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.Section.MorphismNeighborhoods |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Section.OpenRestriction |
| 3 | |
| 4 | /-! # Action Charts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Section.ActionCharts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual simultaneous affine charts for a finite pointed action. |
| 11 | All restricted maps and their section and base equations are constructed. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | structure SectionMorphismChart {X Y : Scheme.{0}} (p : Y ⟶ X) (s : X ⟶ Y) |
| 16 | {ι : Type} (f : ι → (Y ⟶ Y)) where |
| 17 | U : Y.Opens |
| 18 | W : Y.Opens |
| 19 | V : X.Opens |
| 20 | affineU : IsAffineOpen U |
| 21 | affineW : IsAffineOpen W |
| 22 | affineV : IsAffineOpen V |
| 23 | sectionW : V ≤ s ⁻¹ᵁ W |
| 24 | inclusion : W ≤ U |
| 25 | overU : U ≤ p ⁻¹ᵁ V |
| 26 | action : ∀ i, W ≤ f i ⁻¹ᵁ U |
| 27 | |
| 28 | theorem exists_sectionMorphismChart {X Y : Scheme.{0}} (p : Y ⟶ X) (s : X ⟶ Y) |
| 29 | (hs : s ≫ p = 𝟙 X) {ι : Type} [Finite ι] (f : ι → (Y ⟶ Y)) |
| 30 | (hf : ∀ i, f i ≫ p = p) (he : ∀ i, s ≫ f i = s) (x : X) : |
| 31 | ∃ C : SectionMorphismChart p s f, x ∈ C.V := by |
| 32 | obtain ⟨U, W, V, hU, hW, hV, hx, hsW, hWU, hUV, hact⟩ := |
| 33 | MorphismNeighborhoods.section_exists_affine_morphism_neighborhoods p s hs f hf he x |
| 34 | exact ⟨⟨U, W, V, hU, hW, hV, hsW, hWU, hUV, hact⟩, hx⟩ |
| 35 | |
| 36 | namespace SectionMorphismChart |
| 37 | open OAI.AlgebraicGeometry.Divisors.LineBundles.Section.OpenRestriction.BundleCycles |
| 38 | |
| 39 | variable {X Y : Scheme.{0}} {p : Y ⟶ X} {s : X ⟶ Y} {ι : Type} {f : ι → (Y ⟶ Y)} |
| 40 | (C : SectionMorphismChart p s f) |
| 41 | |
| 42 | instance : IsAffine C.U.toScheme := C.affineU |
| 43 | instance : IsAffine C.W.toScheme := C.affineW |
| 44 | instance : IsAffine C.V.toScheme := C.affineV |
| 45 | |
| 46 | theorem sectionU : C.V ≤ s ⁻¹ᵁ C.U := fun _ hx => C.inclusion (C.sectionW hx) |
| 47 | |
| 48 | theorem overW : C.W ≤ p ⁻¹ᵁ C.V := le_trans C.inclusion C.overU |
| 49 | |
| 50 | def targetProjection : C.U.toScheme ⟶ C.V.toScheme := Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenProjection p C.U C.V C.overU |
| 51 | def sourceProjection : C.W.toScheme ⟶ C.V.toScheme := Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenProjection p C.W C.V C.overW |
| 52 | def targetSection : C.V.toScheme ⟶ C.U.toScheme := Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenMap s C.U C.V C.sectionU |
| 53 | def sourceSection : C.V.toScheme ⟶ C.W.toScheme := Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenMap s C.W C.V C.sectionW |
| 54 | |
| 55 | instance [Smooth p] : Smooth C.targetProjection := Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenProjection_smooth p C.U C.V C.overU |
| 56 | instance [Smooth p] : Smooth C.sourceProjection := Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenProjection_smooth p C.W C.V C.overW |
| 57 | |
| 58 | theorem target_retraction (hs : s ≫ p = 𝟙 X) : |
| 59 | C.targetSection ≫ C.targetProjection = 𝟙 C.V.toScheme := |
| 60 | Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpen_retraction p s hs C.U C.V C.sectionU C.overU |
| 61 | |
| 62 | theorem source_retraction (hs : s ≫ p = 𝟙 X) : |
| 63 | C.sourceSection ≫ C.sourceProjection = 𝟙 C.V.toScheme := |
| 64 | Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpen_retraction p s hs C.W C.V C.sectionW C.overW |
| 65 | |
| 66 | def inclusionMap : C.W.toScheme ⟶ C.U.toScheme := Y.homOfLE C.inclusion |
| 67 | |
| 68 | instance : IsOpenImmersion C.inclusionMap := inferInstanceAs (IsOpenImmersion (Y.homOfLE C.inclusion)) |
| 69 | |
| 70 | def actionMap (i : ι) : C.W.toScheme ⟶ C.U.toScheme := |
| 71 | Y.homOfLE (C.action i) ≫ morphismRestrict (f i) C.U |
| 72 | |
| 73 | theorem actionMap_ι (i : ι) : C.actionMap i ≫ C.U.ι = C.W.ι ≫ f i := by |
| 74 | dsimp only [SectionMorphismChart.actionMap] |
| 75 | rw [Category.assoc, morphismRestrict_ι, ← Category.assoc, Scheme.homOfLE_ι] |
| 76 | |
| 77 | theorem inclusion_over : C.inclusionMap ≫ C.targetProjection = C.sourceProjection := by |
| 78 | apply (cancel_mono C.V.ι).mp |
| 79 | change (Y.homOfLE C.inclusion ≫ Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenProjection p C.U C.V C.overU) ≫ C.V.ι = |
| 80 | Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenProjection p C.W C.V C.overW ≫ C.V.ι |
| 81 | rw [Category.assoc, Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenProjection_ι, Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenProjection_ι, |
| 82 | ← Category.assoc, Scheme.homOfLE_ι] |
| 83 | |
| 84 | theorem inclusion_section : C.sourceSection ≫ C.inclusionMap = C.targetSection := by |
| 85 | apply (cancel_mono C.U.ι).mp |
| 86 | change (Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenMap s C.W C.V C.sectionW ≫ Y.homOfLE C.inclusion) ≫ C.U.ι = |
| 87 | Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenMap s C.U C.V C.sectionU ≫ C.U.ι |
| 88 | rw [Category.assoc, Scheme.homOfLE_ι, Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenMap_ι, Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenMap_ι] |
| 89 | |
| 90 | theorem actionMap_over (hf : ∀ i, f i ≫ p = p) (i : ι) : |
| 91 | C.actionMap i ≫ C.targetProjection = C.sourceProjection := by |
| 92 | apply (cancel_mono C.V.ι).mp |
| 93 | change (C.actionMap i ≫ Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenProjection p C.U C.V C.overU) ≫ C.V.ι = |
| 94 | Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenProjection p C.W C.V C.overW ≫ C.V.ι |
| 95 | rw [Category.assoc, Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenProjection_ι, Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenProjection_ι, |
| 96 | ← Category.assoc, actionMap_ι, Category.assoc, hf i] |
| 97 | |
| 98 | theorem actionMap_section (he : ∀ i, s ≫ f i = s) (i : ι) : |
| 99 | C.sourceSection ≫ C.actionMap i = C.targetSection := by |
| 100 | apply (cancel_mono C.U.ι).mp |
| 101 | change (Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenMap s C.W C.V C.sectionW ≫ C.actionMap i) ≫ C.U.ι = |
| 102 | Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenMap s C.U C.V C.sectionU ≫ C.U.ι |
| 103 | rw [Category.assoc, actionMap_ι, ← Category.assoc, Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenMap_ι, |
| 104 | Category.assoc, he i, Divisors.LineBundles.Section.OpenRestriction.BundleCycles.sectionOpenMap_ι] |
| 105 | |
| 106 | end SectionMorphismChart |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Section.ActionCharts |