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.Uniform.ContainedBoundaryComponent |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.PrefixBoundaryReindex |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBoundary.Labels |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBoundary.AuxiliarySequence |
| 5 | |
| 6 | /-! # Auxiliary Prefix Boundary -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An auxiliary prefix retains the distinguished carrier boundary with constant incidence at every actual center. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.uniformBoundaryCompatible_carrier_to_canonical |
| 17 | {X Y : Scheme} [IsIntegral X] [IsLocallyNoetherian X] {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 18 | {I H : X.IdealSheafData} (hI : I ≠ ⊥) {β : Type} [Fintype β] (D : β → X.IdealSheafData) |
| 19 | {b : ℕ} {J : (GlobalBlowup.Data.Construction.globalBlowup I hI).IdealSheafData} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {K : Y.IdealSheafData} |
| 20 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b (GlobalBlowup.Data.Construction.globalBlowup I hI) (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) J Y g K) |
| 21 | (hP : P.uniformBoundaryCompatible (Option (Option β)) |
| 22 | (fun j => match j with |
| 23 | | none => GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I H hI 1 |
| 24 | | some l => CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D l)) : |
| 25 | P.uniformBoundaryCompatible (Option (Option β)) |
| 26 | (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI (fun j : Option β => match j with | none => H | some l => D l)) := by |
| 27 | let E : Option (Option β) → (GlobalBlowup.Data.Construction.globalBlowup I hI).IdealSheafData := |
| 28 | fun j => match j with |
| 29 | | none => GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I H hI 1 |
| 30 | | some l => CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D l |
| 31 | have ht := P.uniformBoundaryCompatible_reindex (Option (Option β)) (Option (Option β)) E hP |
| 32 | GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels.toEmbedding |
| 33 | change P.uniformBoundaryCompatible (Option (Option β)) (fun l => E (GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels l)) at ht |
| 34 | have he : (fun l => E (GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels l)) = |
| 35 | CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI (fun j : Option β => match j with | none => H | some l => D l) := by |
| 36 | funext j |
| 37 | rcases j with _ | (_ | j) <;> rfl |
| 38 | rw [he] at ht |
| 39 | exact ht |
| 40 | |
| 41 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.uniformBoundaryCompatible_adjoin_auxiliary_carrier |
| 42 | {m : ℕ} (hm : 0 < m) {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 43 | {K : X.IdealSheafData} {L : Y.IdealSheafData} (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix m X f K Y g L) : |
| 44 | ∀ [Smooth f] (J H : X.IdealSheafData), K = GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal J H m → |
| 45 | ∀ (β : Type) [Fintype β] (D : β → X.IdealSheafData), P.uniformBoundaryCompatible β D → |
| 46 | Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f |
| 47 | (fun j : Option β => match j with | none => H | some l => D l) [Finset.univ] → |
| 48 | P.uniformBoundaryCompatible (Option β) (fun j : Option β => match j with | none => H | some l => D l) := by |
| 49 | induction P with |
| 50 | | stop => |
| 51 | intro _ _ H _ β _ D _ A |
| 52 | exact ⟨A⟩ |
| 53 | | @blowup X hX hNX f K I hI hb hp hs hbl Y g L tail ih => |
| 54 | intro hf J H hK β _ D hB Afull |
| 55 | classical |
| 56 | let : Smooth f := hf |
| 57 | let : Smooth (I.subschemeι ≫ f) := hs |
| 58 | let : Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) := hbl |
| 59 | obtain ⟨hJ, hHI⟩ := (GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal_smooth_center_iff f I J H m hm).mp (hK ▸ hp) |
| 60 | obtain ⟨A, F, hF⟩ := hB.1 |
| 61 | obtain ⟨AA, hAA⟩ := A.exists_adjoin_uniform_boundary_component F hF H hHI Afull |
| 62 | let D' := CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D |
| 63 | let J' := GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI m |
| 64 | let H' := GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I H hI 1 |
| 65 | have hnext : GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I K hI m = GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal J' H' m := by |
| 66 | rw [hK, GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal_transform I J H hI m hJ hHI] |
| 67 | have htail := ih J' H' hnext (Option β) D' hB.2 |
| 68 | (by convert AA.blowupBoundaryWithCarrier hI using 1; funext j; cases j <;> rfl) |
| 69 | refine ⟨⟨AA, insert none (F.image some), hAA⟩, ?_⟩ |
| 70 | apply tail.uniformBoundaryCompatible_carrier_to_canonical (H := H) hI D |
| 71 | convert htail using 1 |
| 72 | funext j |
| 73 | cases j <;> rfl |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Resolution.Blowups |