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.Disjoint.BoundaryRefinement |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Disjoint.FactorBoundaryIdentity |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.PrincipalBlowup |
| 4 | |
| 5 | /-! # Factor Boundary Refinement -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Disjoint.FactorBoundaryRefinement.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The boundary changes in unit-center and disjoint-factor blowups are concrete finite refinements. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | def mergeDisjointExceptionalLabels {β : Type} : Option (Option β) → Option β |
| 16 | | none => none |
| 17 | | some none => none |
| 18 | | some (some i) => some i |
| 19 | |
| 20 | theorem boundaryRefinementFiber_merge_none {β : Type} [Fintype β] [DecidableEq β] : |
| 21 | BoundaryRefinement.Construction.boundaryRefinementFiber (@mergeDisjointExceptionalLabels β) none = {none, some none} := by |
| 22 | classical |
| 23 | ext j |
| 24 | rw [BoundaryRefinement.Construction.mem_boundaryRefinementFiber] |
| 25 | rcases j with _ | (_ | j) <;> simp [mergeDisjointExceptionalLabels] |
| 26 | |
| 27 | theorem boundaryRefinementFiber_merge_some {β : Type} [Fintype β] (i : β) : |
| 28 | BoundaryRefinement.Construction.boundaryRefinementFiber (@mergeDisjointExceptionalLabels β) (some i) = {some (some i)} := by |
| 29 | classical |
| 30 | ext j |
| 31 | rw [BoundaryRefinement.Construction.mem_boundaryRefinementFiber] |
| 32 | rcases j with _ | (_ | j) <;> simp [mergeDisjointExceptionalLabels] |
| 33 | |
| 34 | theorem boundaryRefinementFiber_some_none {β : Type} [Fintype β] : |
| 35 | BoundaryRefinement.Construction.boundaryRefinementFiber (@some β) none = ∅ := by |
| 36 | classical |
| 37 | ext j |
| 38 | simp [BoundaryRefinement.Construction.boundaryRefinementFiber] |
| 39 | |
| 40 | theorem boundaryRefinementFiber_some_some {β : Type} [Fintype β] (i : β) : |
| 41 | BoundaryRefinement.Construction.boundaryRefinementFiber (@some β) (some i) = {i} := by |
| 42 | classical |
| 43 | ext j |
| 44 | simp [BoundaryRefinement.Construction.boundaryRefinementFiber] |
| 45 | |
| 46 | theorem unit_adjoin_boundary_refinement {X : Scheme} {β : Type} [Fintype β] |
| 47 | (D : β → X.IdealSheafData) : |
| 48 | BoundaryRefinement.Construction.DisjointBoundaryRefinement some (fun j => match j with | none => ⊤ | some i => D i) D := by |
| 49 | constructor |
| 50 | · intro i |
| 51 | cases i with |
| 52 | | none => rw [boundaryRefinementFiber_some_none, Finset.prod_empty]; rfl |
| 53 | | some i => rw [boundaryRefinementFiber_some_some, Finset.prod_singleton] |
| 54 | · intro i j hne hr |
| 55 | exact False.elim (hne (Option.some.inj hr)) |
| 56 | |
| 57 | theorem globalBlowup_top_boundary_refinement |
| 58 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 59 | (hI : (⊤ : X.IdealSheafData) ≠ ⊥) {β : Type} [Fintype β] (D : β → X.IdealSheafData) : |
| 60 | BoundaryRefinement.Construction.DisjointBoundaryRefinement some (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary ⊤ hI D) |
| 61 | (fun i => (D i).comap (GlobalBlowup.Data.Construction.globalBlowupToBase ⊤ hI)) := by |
| 62 | have he : CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary ⊤ hI D = |
| 63 | (fun j => match j with | none => ⊤ | some i => (D i).comap (GlobalBlowup.Data.Construction.globalBlowupToBase ⊤ hI)) := by |
| 64 | funext j |
| 65 | cases j with |
| 66 | | none => exact Scheme.IdealSheafData.comap_top _ |
| 67 | | some i => exact Global.PrincipalBlowup.Construction.globalBlowupControlledIdeal_top_center (D i) hI 1 |
| 68 | rw [he] |
| 69 | exact unit_adjoin_boundary_refinement _ |
| 70 | |
| 71 | theorem disjointFactorBlowup_boundary_refinement |
| 72 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 73 | (K L : X.IdealSheafData) (hK : K ≠ ⊥) (hL : L ≠ ⊥) (hdisjoint : K ⊔ L = ⊤) |
| 74 | {β : Type} [Fintype β] (D : β → X.IdealSheafData) : |
| 75 | BoundaryRefinement.Construction.DisjointBoundaryRefinement mergeDisjointExceptionalLabels |
| 76 | (fun j => (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary (K * L) (Integral.IdealSheafProducts.Construction.idealSheaf_mul_ne_bot K L hK hL) D j).comap |
| 77 | (FactorControlledTransform.Construction.disjointFactorBlowupIso K L hK hL hdisjoint).hom) |
| 78 | (FactorBoundaryIdentity.Construction.disjointFactorBlowupBoundary K L hK hL D) := by |
| 79 | classical |
| 80 | constructor |
| 81 | · intro i |
| 82 | cases i with |
| 83 | | none => |
| 84 | rw [boundaryRefinementFiber_merge_none, Finset.prod_pair (by simp)] |
| 85 | exact (FactorBoundaryIdentity.Construction.disjointFactorBlowupBoundary_exceptional_product K L hK hL hdisjoint D).trans (mul_comm _ _) |
| 86 | | some i => |
| 87 | rw [boundaryRefinementFiber_merge_some, Finset.prod_singleton] |
| 88 | exact FactorBoundaryIdentity.Construction.disjointFactorBlowupBoundary_old_label K L hK hL hdisjoint D i |
| 89 | · intro i j hne hr |
| 90 | rcases i with _ | (_ | i) <;> rcases j with _ | (_ | j) <;> |
| 91 | simp_all [mergeDisjointExceptionalLabels] |
| 92 | all_goals simpa only [sup_comm] using FactorBoundaryIdentity.Construction.disjointFactorBlowupBoundary_exceptionals_disjoint K L hK hL hdisjoint D |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.Resolution.Blowups.Disjoint.FactorBoundaryRefinement.Construction |