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.Boundary.MonomialProgram |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.CenterComparison |
| 3 | |
| 4 | /-! # Monomial Program Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Boundary |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Recorded monomial programs compare at every actual center under an étale pullback. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem MonomialProgram.Construction.BoundaryMonomialProgram.exists_etaleComparison {b : ℕ} {β : Type} [Fintype β] {a : β → ℕ} |
| 15 | {L : List (Finset β)} {S : MonomialSchedule.Construction.BoundaryMonomialSchedule b β a L} |
| 16 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 17 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 18 | {P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K} |
| 19 | (H : MonomialProgram.Construction.BoundaryMonomialProgram b β a L S X f J D Y g K P) : |
| 20 | ∀ {V W : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 21 | {B : V.IdealSheafData} {M : W.IdealSheafData} {E : β → V.IdealSheafData} |
| 22 | {Q : Smooth.ControlPrefix.Construction.SmoothControlPrefix b V h B W k M}, |
| 23 | MonomialProgram.Construction.BoundaryMonomialProgram b β a L S V h B E W k M Q → |
| 24 | ∀ (q : V ⟶ X) [Etale q], q ≫ f = h → J.comap q = B → (∀ l, (D l).comap q = E l) → |
| 25 | ∃ r : W ⟶ Y, P.EtaleComparison Q q r := by |
| 26 | induction H with |
| 27 | | terminal ht A hJ => |
| 28 | intro V W h k B M E Q H q hq hstructure hB hD |
| 29 | cases H with |
| 30 | | terminal => exact ⟨q, hq, hstructure, hB, rfl⟩ |
| 31 | | @step β hβ dec a L C hC hface rest X hX hNX f J D A hJ hI hb hp Y g K P tail ih => |
| 32 | intro V W h k B M E Q H q hq hstructure hB hD |
| 33 | cases H with |
| 34 | | step C hC hface rest A' hB' hE hb' hp' Q tail' => |
| 35 | have he : (GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf D C).comap q = GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf E C := |
| 36 | (GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf_comap D C q).trans (congrArg (fun D => GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf D C) (funext hD)) |
| 37 | let r := GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo q (GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf D C) (GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf E C) he hI hE |
| 38 | let : Etale r := GlobalBlowup.EtaleMap.Construction.globalBlowupMapTo_etale q _ _ he hI hE |
| 39 | have hover : r ≫ (GlobalBlowup.Data.Construction.globalBlowupToBase (GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf D C) hI ≫ f) = |
| 40 | GlobalBlowup.Data.Construction.globalBlowupToBase (GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf E C) hE ≫ h := by |
| 41 | rw [← Category.assoc, GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo_over, Category.assoc, hstructure] |
| 42 | have hnext : (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal (GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf D C) J hI b).comap r = |
| 43 | GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal (GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf E C) B hE b := by |
| 44 | rw [GlobalBlowup.EtaleBoundary.Construction.globalBlowupMapTo_controlledIdeal_etale, hB] |
| 45 | have hboundary : ∀ l, |
| 46 | (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary (GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf D C) hI D l).comap r = |
| 47 | CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary (GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf E C) hE E l := by |
| 48 | intro l |
| 49 | rw [GlobalBlowup.EtaleBoundary.Construction.globalBlowupMapTo_canonicalBoundary_etale] |
| 50 | exact congrArg (fun D => CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary (GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf E C) hE D l) (funext hD) |
| 51 | obtain ⟨s, hs⟩ := ih tail' r hover hnext hboundary |
| 52 | exact ⟨s, hq, hstructure, hB, he, hs⟩ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Resolution.Blowups.Boundary |