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.GlobalControlled.Identities |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.ResidualNeighborhood |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlledIdealKernel |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf.EqualityGluing |
| 5 | |
| 6 | /-! # Colon Disjoint Blowup Pullback -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.ColonDisjointBlowupPullback.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Ideal quotients commute with a blowup whose center is disjoint from the denominator ideal. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem noetherianIdealSheafColon_comap_avoids_denominator |
| 17 | {X Y : Scheme} [IsLocallyNoetherian X] |
| 18 | (A K : X.IdealSheafData) (q : Y ⟶ X) (havoid : ∀ y : Y, q y ∉ K.support) : |
| 19 | (NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon A K).comap q = A.comap q := by |
| 20 | let O : X.Opens := K.support.compl |
| 21 | let : IsLocallyNoetherian O := LocallyOfFiniteType.isLocallyNoetherian O.ι |
| 22 | let r := IsOpenImmersion.lift O.ι q (by |
| 23 | rw [Scheme.Opens.range_ι] |
| 24 | rintro x ⟨y, rfl⟩ |
| 25 | exact havoid y) |
| 26 | have hr : r ≫ O.ι = q := IsOpenImmersion.lift_fac O.ι q _ |
| 27 | have hbase : (NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon A K).comap O.ι = A.comap O.ι := by |
| 28 | have hk : K.comap O.ι = ⊤ := Global.ResidualNeighborhood.Construction.idealSheaf_comap_supportComplement_eq_top K |
| 29 | rw [IdealSheaf.ColonRestriction.Construction.noetherianIdealSheafColon_comap_open, hk, GlobalControlled.Identities.Construction.noetherianIdealSheafColon_top_right] |
| 30 | have h := congrArg (fun N => N.comap r) hbase |
| 31 | rwa [← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp, hr] at h |
| 32 | |
| 33 | theorem noetherianIdealSheafColon_comap_of_disjoint_isIso_complement |
| 34 | {X Y : Scheme} [IsLocallyNoetherian X] [IsLocallyNoetherian Y] |
| 35 | (A K C : X.IdealSheafData) (π : Y ⟶ X) (hdisjoint : K ⊔ C = ⊤) |
| 36 | [IsIso (π ∣_ C.support.compl)] : |
| 37 | (NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon A K).comap π = |
| 38 | NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon (A.comap π) (K.comap π) := by |
| 39 | let O : Bool → X.Opens := fun b => if b then K.support.compl else C.support.compl |
| 40 | let V (b : Bool) : Y.Opens := π ⁻¹ᵁ O b |
| 41 | let E : Y.OpenCover := Scheme.Cover.mkOfCovers Bool (fun b => V b) (fun b => (V b).ι) (by |
| 42 | intro y |
| 43 | by_cases hy : π y ∈ K.support |
| 44 | · have hc := Global.ResidualNeighborhood.Construction.idealSheaf_support_subset_complement_of_sup_top K C hdisjoint hy |
| 45 | exact ⟨false, ⟨⟨y, hc⟩, rfl⟩⟩ |
| 46 | · exact ⟨true, ⟨⟨y, hy⟩, rfl⟩⟩) (fun _ => inferInstance) |
| 47 | apply IdealSheaf.EqualityGluing.Construction.idealSheaf_eq_of_openCover _ _ E |
| 48 | intro b |
| 49 | change Bool at b |
| 50 | let : IsLocallyNoetherian (V b) := LocallyOfFiniteType.isLocallyNoetherian (V b).ι |
| 51 | change ((NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon A K).comap π).comap (V b).ι = |
| 52 | (NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon (A.comap π) (K.comap π)).comap (V b).ι |
| 53 | rw [IdealSheaf.ColonRestriction.Construction.noetherianIdealSheafColon_comap_open (A.comap π) (K.comap π) (V b).ι, |
| 54 | ← Scheme.IdealSheafData.comap_comp, |
| 55 | ← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp] |
| 56 | cases b with |
| 57 | | false => |
| 58 | let : IsIso (π ∣_ O false) := inferInstanceAs (IsIso (π ∣_ C.support.compl)) |
| 59 | have he : (π ∣_ O false) ≫ (O false).ι = (V false).ι ≫ π := morphismRestrict_ι π (O false) |
| 60 | let : IsOpenImmersion ((V false).ι ≫ π) := by |
| 61 | rw [← he] |
| 62 | infer_instance |
| 63 | exact IdealSheaf.ColonRestriction.Construction.noetherianIdealSheafColon_comap_open A K ((V false).ι ≫ π) |
| 64 | | true => |
| 65 | have havoid : ∀ y : (V true), ((V true).ι ≫ π) y ∉ K.support := fun y => y.property |
| 66 | rw [noetherianIdealSheafColon_comap_avoids_denominator A K _ havoid, |
| 67 | ControlledIdealKernel.Construction.idealSheaf_comap_eq_top_of_avoids_support K _ havoid, GlobalControlled.Identities.Construction.noetherianIdealSheafColon_top_right] |
| 68 | |
| 69 | theorem noetherianIdealSheafColon_comap_disjoint_blowup |
| 70 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 71 | (A K C : X.IdealSheafData) (hC : C ≠ ⊥) (hdisjoint : K ⊔ C = ⊤) : |
| 72 | (NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon A K).comap (GlobalBlowup.Data.Construction.globalBlowupToBase C hC) = |
| 73 | NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon (A.comap (GlobalBlowup.Data.Construction.globalBlowupToBase C hC)) |
| 74 | (K.comap (GlobalBlowup.Data.Construction.globalBlowupToBase C hC)) := by |
| 75 | let : IsIso (GlobalBlowup.Data.Construction.globalBlowupToBase C hC ∣_ C.support.compl) := Blowup.Complement.Construction.globalBlowup_supportComplement_isIso C hC |
| 76 | exact noetherianIdealSheafColon_comap_of_disjoint_isIso_complement A K C |
| 77 | (GlobalBlowup.Data.Construction.globalBlowupToBase C hC) hdisjoint |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Resolution.Blowups.ColonDisjointBlowupPullback.Construction |