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.Global.UniformAtlasOpenGluing |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.LengthHead |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.ComparisonFactorizationTo |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.OpenComparison |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.IncidenceTrace |
| 6 | import OAI.AlgebraicGeometry.Resolution.Blowups.StopPrefixComparisonTrace |
| 7 | |
| 8 | /-! # Trace Open Cover Descent -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! A prescribed incidence trace descends through an actual open family of whole-prefix comparisons. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.hasIncidenceTrace_of_open_comparisons |
| 19 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 20 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 21 | ∀ [Nonempty X] (ι : Type) (U : ι → Scheme) (j : ∀ i, U i ⟶ X) |
| 22 | [∀ i, IsIntegral (U i)] [∀ i, IsLocallyNoetherian (U i)] [∀ i, IsOpenImmersion (j i)], |
| 23 | (∀ x : X, ∃ i y, j i y = x) → |
| 24 | ∀ (h : ∀ i, U i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (L : ∀ i, (U i).IdealSheafData) |
| 25 | (V : ι → Scheme) (k : ∀ i, V i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (M : ∀ i, (V i).IdealSheafData) |
| 26 | (Q : ∀ i, Smooth.ControlPrefix.Construction.SmoothControlPrefix b (U i) (h i) (L i) (V i) (k i) (M i)) |
| 27 | (r : ∀ i, V i ⟶ Y), |
| 28 | (∀ i, P.EtaleComparison (Q i) (j i) (r i)) → |
| 29 | ∀ (β : Type) [Fintype β] (D : β → X.IdealSheafData) (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β), |
| 30 | (∀ i, (Q i).HasIncidenceTrace β (fun l => (D l).comap (j i)) T) → |
| 31 | P.HasIncidenceTrace β D T := by |
| 32 | classical |
| 33 | induction P with |
| 34 | | @stop X f hf J => |
| 35 | intro _ ι U j _ _ _ hcover h L V k M Q r hc β _ D T hT |
| 36 | cases T with |
| 37 | | stop => |
| 38 | let C : X.OpenCover := Scheme.Cover.mkOfCovers ι U j hcover |
| 39 | apply Global.UniformAtlasOpenGluing.Construction.exists_boundary_atlas_of_openCover f D C |
| 40 | intro i |
| 41 | change ι at i |
| 42 | exact Smooth.ControlPrefix.Construction.SmoothControlPrefix.trace_on_source_of_comparison_from_stop (Q i) (j i) (r i) (hc i) β D (.stop β) (hT i) |
| 43 | | step F T => |
| 44 | obtain ⟨i, _, _⟩ := hcover (Classical.choice (inferInstance : Nonempty X)) |
| 45 | exact False.elim (Smooth.ControlPrefix.Construction.SmoothControlPrefix.trace_on_source_of_comparison_from_stop (Q i) (j i) (r i) (hc i) |
| 46 | β D (.step F T) (hT i)) |
| 47 | | @blowup X hX hNX f J I hI hb hp hs hbl Y g K tail ih => |
| 48 | intro _ ι U j _ _ _ hcover h L V k M Q r hc β _ D T hT |
| 49 | have hheads := fun i => Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_blowup_of_stepCount_succ (Q i) tail.stepCount |
| 50 | ((hc i).stepCount_eq (Smooth.ControlPrefix.Construction.SmoothControlPrefix.blowup I hI hb hp hs hbl tail) (Q i) (j i) (r i)).symm |
| 51 | choose C hC hbC hpC hsC hblC rest hQ hcount using hheads |
| 52 | have hd : ∀ i, Etale (j i) ∧ j i ≫ f = h i ∧ J.comap (j i) = L i ∧ |
| 53 | ∃ he : I.comap (j i) = C i, |
| 54 | tail.EtaleComparison (rest i) (GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo (j i) I (C i) he hI (hC i)) (r i) := by |
| 55 | intro i |
| 56 | have hi := hc i |
| 57 | rw [hQ i] at hi |
| 58 | exact (Smooth.ControlPrefix.Construction.SmoothControlPrefix.etaleComparison_blowup_iff I hI hb hp hs hbl tail |
| 59 | (C i) (hC i) (hbC i) (hpC i) (hsC i) (hblC i) (rest i) (j i) (r i)).mp hi |
| 60 | choose het hf hJ he hcomp using hd |
| 61 | cases T with |
| 62 | | stop => |
| 63 | obtain ⟨i, _, _⟩ := hcover (Classical.choice (inferInstance : Nonempty X)) |
| 64 | have ht := hT i |
| 65 | rw [hQ i] at ht |
| 66 | exact False.elim ht |
| 67 | | step F T => |
| 68 | have hlocal : ∀ i, (∃ A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas (h i) (C i) |
| 69 | (fun l => (D l).comap (j i)), ∀ a, A.divided a = F) ∧ |
| 70 | (rest i).HasIncidenceTrace (Option β) |
| 71 | (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary (C i) (hC i) (fun l => (D l).comap (j i))) T := by |
| 72 | intro i |
| 73 | have ht := hT i |
| 74 | rw [hQ i] at ht |
| 75 | exact ht |
| 76 | let O : X.OpenCover := Scheme.Cover.mkOfCovers ι U j hcover |
| 77 | have hA : ∃ A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D, ∀ a, A.divided a = F := by |
| 78 | apply Global.UniformAtlasOpenGluing.Construction.exists_uniform_mixed_atlas_of_openCover f I D F O |
| 79 | intro i |
| 80 | change ι at i |
| 81 | change ∃ A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas (j i ≫ f) (I.comap (j i)) |
| 82 | (fun l => (D l).comap (j i)), ∀ a, A.divided a = F |
| 83 | rw [hf i, he i] |
| 84 | exact (hlocal i).1 |
| 85 | let U' := fun i => GlobalBlowup.Data.Construction.globalBlowup (C i) (hC i) |
| 86 | let j' := fun i => GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo (j i) I (C i) (he i) hI (hC i) |
| 87 | let h' := fun i => GlobalBlowup.Data.Construction.globalBlowupToBase (C i) (hC i) ≫ h i |
| 88 | let L' := fun i => GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal (C i) (L i) (hC i) b |
| 89 | let : ∀ i, IsIntegral (U' i) := fun i => inferInstanceAs (IsIntegral (GlobalBlowup.Data.Construction.globalBlowup (C i) (hC i))) |
| 90 | let : ∀ i, IsLocallyNoetherian (U' i) := fun i => inferInstanceAs (IsLocallyNoetherian (GlobalBlowup.Data.Construction.globalBlowup (C i) (hC i))) |
| 91 | let : ∀ i, IsOpenImmersion (j' i) := fun i => |
| 92 | GlobalBlowup.OpenComparison.Construction.globalBlowupMapTo_isOpenImmersion (j i) I (C i) (he i) hI (hC i) |
| 93 | have hcover' : ∀ x : GlobalBlowup.Data.Construction.globalBlowup I hI, ∃ i y, j' i y = x := by |
| 94 | intro x |
| 95 | obtain ⟨i, y, hy⟩ := hcover (GlobalBlowup.Data.Construction.globalBlowupToBase I hI x) |
| 96 | obtain ⟨z, hz, _⟩ := Scheme.exists_preimage_of_isPullback |
| 97 | (GlobalBlowup.EtalePullback.Construction.globalBlowupMapTo_etale_isPullback (j i) I (C i) (he i) hI (hC i)) x y hy.symm |
| 98 | exact ⟨i, z, hz⟩ |
| 99 | have ht' : ∀ i, (rest i).HasIncidenceTrace (Option β) |
| 100 | (fun l => (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D l).comap (j' i)) T := by |
| 101 | intro i |
| 102 | have hboundary : (fun l => (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D l).comap (j' i)) = |
| 103 | CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary (C i) (hC i) (fun l => (D l).comap (j i)) := by |
| 104 | funext l |
| 105 | exact GlobalBlowup.EtaleBoundary.Construction.globalBlowupMapTo_canonicalBoundary_etale (j i) I (C i) (he i) hI (hC i) D l |
| 106 | rw [hboundary] |
| 107 | exact (hlocal i).2 |
| 108 | exact ⟨hA, ih ι U' j' hcover' h' L' V k M rest r hcomp |
| 109 | (Option β) (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D) T ht'⟩ |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.Resolution.Blowups |