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.Resolution.Blowups.Finite.OpenBlowupCenterGluing |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CenterOpenOverlap |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Open.CompatiblePrefixTail |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.LengthHead |
| 5 | |
| 6 | /-! # Open Control Prefix Gluing -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Compatible finite open families of actual permissible programs glue, preserving all steps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_of_finite_open_compatible (b N : ℕ) : |
| 17 | ∀ (X : Scheme) [IsIntegral X] [IsLocallyNoetherian X] |
| 18 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J : X.IdealSheafData) |
| 19 | (ι : Type) [Finite ι] (U : ι → Scheme) (j : ∀ i, U i ⟶ X) |
| 20 | [∀ i, IsIntegral (U i)] [∀ i, IsLocallyNoetherian (U i)] |
| 21 | [∀ i, IsOpenImmersion (j i)] [∀ i, QuasiCompact (j i)] |
| 22 | (_hcover : ∀ x : X, ∃ i y, j i y = x) |
| 23 | (g : ∀ i, U i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (L : ∀ i, (U i).IdealSheafData) |
| 24 | (_hg : ∀ i, j i ≫ f = g i) (_hL : ∀ i, J.comap (j i) = L i) |
| 25 | (V : ι → Scheme) (k : ∀ i, V i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (M : ∀ i, (V i).IdealSheafData) |
| 26 | (P : ∀ i, Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b (U i) (g i) (L i) (V i) (k i) (M i)), |
| 27 | (∀ i, (P i).stepCount = N) → (∀ i a, (P i).OpenCompatible (P a) (j i) (j a)) → |
| 28 | ∃ (Y : Scheme) (h : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (K : Y.IdealSheafData) |
| 29 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y h K) (r : ∀ i, V i ⟶ Y), |
| 30 | ∀ i, Q.EtaleComparison (P i) (j i) (r i) := by |
| 31 | classical |
| 32 | induction N with |
| 33 | | zero => |
| 34 | intro X _ _ f _ J ι _ U j _ _ _ _ hcover g L hg hL V k M P hN H |
| 35 | have hr := fun i => Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_comparison_from_stop_of_stepCount_zero (P i) (j i) (hg i) (hL i) (hN i) |
| 36 | choose r hr using hr |
| 37 | exact ⟨X, f, J, .stop, r, hr⟩ |
| 38 | | succ N ih => |
| 39 | intro X _ _ f _ J ι _ U j _ _ _ _ hcover g L hg hL V k M P hN H |
| 40 | have hheads := fun i => Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_blowup_of_stepCount_succ (P i) N (hN i) |
| 41 | choose I hI hb hp hs hbl tail hP htail using hheads |
| 42 | have hcompat : ∀ i a, (I i).comap (pullback.fst (j i) (j a)) = |
| 43 | (I a).comap (pullback.snd (j i) (j a)) := by |
| 44 | intro i a |
| 45 | let : Smooth ((I i).subschemeι ≫ g i) := hs i |
| 46 | let : Smooth ((I a).subschemeι ≫ g a) := hs a |
| 47 | apply Blowups.Smooth.CenterOpenOverlap.Construction.smooth_center_open_overlap_eq (j i) (j a) (g i) (g a) (I i) (I a) |
| 48 | have H' := H i a |
| 49 | rw [hP i, hP a] at H' |
| 50 | exact Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.OpenCompatible.head_support (I i) (hI i) (hb i) (hp i) (hs i) (hbl i) (tail i) |
| 51 | (I a) (hI a) (hb a) (hp a) (hs a) (hbl a) (tail a) (j i) (j a) H' |
| 52 | let C : X.OpenCover := Scheme.Cover.mkOfCovers ι U j hcover |
| 53 | let : Finite C.I₀ := (inferInstance : Finite ι) |
| 54 | let : ∀ i, IsIntegral (C.X i) := by change ∀ i : ι, IsIntegral (U i); infer_instance |
| 55 | let : ∀ i, IsLocallyNoetherian (C.X i) := by change ∀ i : ι, IsLocallyNoetherian (U i); infer_instance |
| 56 | let : ∀ i, QuasiCompact (C.f i) := by change ∀ i : ι, QuasiCompact (j i); infer_instance |
| 57 | have hp' : ∀ i, J.comap (C.f i) ≤ I i ^ b := by |
| 58 | intro i |
| 59 | change J.comap (j i) ≤ I i ^ b |
| 60 | rw [hL i] |
| 61 | exact hp i |
| 62 | have hs' : ∀ i, Smooth ((I i).subschemeι ≫ (C.f i ≫ f)) := by |
| 63 | intro i |
| 64 | change Smooth ((I i).subschemeι ≫ (j i ≫ f)) |
| 65 | rw [hg i] |
| 66 | exact hs i |
| 67 | have hbl' : ∀ i, Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase (I i) (hI i) ≫ (C.f i ≫ f)) := by |
| 68 | intro i |
| 69 | change Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase (I i) (hI i) ≫ (j i ≫ f)) |
| 70 | rw [hg i] |
| 71 | exact hbl i |
| 72 | obtain ⟨D, hD, he, hpD, hsD, hblD⟩ := |
| 73 | Blowups.Finite.OpenBlowupCenterGluing.Construction.exists_global_blowup_center_of_finite_open_data f J b C I hI hp' hs' hbl' hcompat |
| 74 | change ∀ i : ι, D.comap (j i) = I i at he |
| 75 | let U' := fun i => GlobalBlowup.Data.Construction.globalBlowup (I i) (hI i) |
| 76 | let j' := fun i => GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo (j i) D (I i) (he i) hD (hI i) |
| 77 | let g' := fun i => GlobalBlowup.Data.Construction.globalBlowupToBase (I i) (hI i) ≫ g i |
| 78 | let L' := fun i => GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal (I i) (L i) (hI i) b |
| 79 | let : ∀ i, IsIntegral (U' i) := fun i => inferInstanceAs (IsIntegral (GlobalBlowup.Data.Construction.globalBlowup (I i) (hI i))) |
| 80 | let : ∀ i, IsLocallyNoetherian (U' i) := fun i => inferInstanceAs (IsLocallyNoetherian (GlobalBlowup.Data.Construction.globalBlowup (I i) (hI i))) |
| 81 | let : ∀ i, IsOpenImmersion (j' i) := fun i => GlobalBlowup.OpenComparison.Construction.globalBlowupMapTo_isOpenImmersion (j i) D (I i) (he i) hD (hI i) |
| 82 | let : ∀ i, QuasiCompact (j' i) := fun i => GlobalBlowup.OpenComparison.Construction.globalBlowupMapTo_quasiCompact (j i) D (I i) (he i) hD (hI i) |
| 83 | have hg' : ∀ i, j' i ≫ (GlobalBlowup.Data.Construction.globalBlowupToBase D hD ≫ f) = g' i := by |
| 84 | intro i |
| 85 | dsimp only [j', g'] |
| 86 | rw [← Category.assoc, GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo_over, Category.assoc, hg i] |
| 87 | have hL' : ∀ i, (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal D J hD b).comap (j' i) = L' i := by |
| 88 | intro i |
| 89 | dsimp only [j', L'] |
| 90 | rw [GlobalBlowup.EtaleBoundary.Construction.globalBlowupMapTo_controlledIdeal_etale, hL i] |
| 91 | have hcover' : ∀ x : GlobalBlowup.Data.Construction.globalBlowup D hD, ∃ i y, j' i y = x := |
| 92 | (GlobalBlowup.OpenComparison.Construction.globalBlowupOpenCover D hD C I hI he).exists_eq |
| 93 | have H' : ∀ i a, (tail i).OpenCompatible (tail a) (j' i) (j' a) := by |
| 94 | intro i a |
| 95 | have HH := H i a |
| 96 | rw [hP i, hP a] at HH |
| 97 | exact Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.OpenCompatible.tail (I i) (hI i) (hb i) (hp i) (hs i) (hbl i) (tail i) |
| 98 | (I a) (hI a) (hb a) (hp a) (hs a) (hbl a) (tail a) |
| 99 | (j i) (j a) D hD (he i) (he a) HH |
| 100 | let : Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase D hD ≫ f) := hblD |
| 101 | obtain ⟨Y, h, K, Q, r, hr⟩ := ih (GlobalBlowup.Data.Construction.globalBlowup D hD) (GlobalBlowup.Data.Construction.globalBlowupToBase D hD ≫ f) |
| 102 | (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal D J hD b) ι U' j' hcover' g' L' hg' hL' V k M tail htail H' |
| 103 | obtain ⟨i, _, _⟩ := hcover (Classical.choice (inferInstance : Nonempty X)) |
| 104 | refine ⟨Y, h, K, .blowup D hD (hb i) hpD hsD hblD Q, r, ?_⟩ |
| 105 | intro a |
| 106 | rw [hP a] |
| 107 | exact (Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.etaleComparison_blowup_iff D hD (hb i) hpD hsD hblD Q |
| 108 | (I a) (hI a) (hb a) (hp a) (hs a) (hbl a) (tail a) (j a) (r a)).mpr |
| 109 | ⟨inferInstance, hg a, hL a, he a, hr a⟩ |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.Resolution.Blowups |