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.Mixed.CenterPartialLabels |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ActiveBoundaryLabelRestriction |
| 3 | |
| 4 | /-! # Center Restore Inactive Labels -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restore all inactive original labels while keeping the adjoined normal equation. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | def MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart.restoreInactiveWithNormal |
| 15 | {k : Type u} [CommRing k] {R : CommRingCat.{u}} [Algebra k R] |
| 16 | {ι : Type v} [DecidableEq ι] (B F : Finset ι) (hFB : F ⊆ B) |
| 17 | {I : Ideal R} (z : R) (w : ι → R) (hu : ∀ j, j ∉ B → IsUnit (w j)) |
| 18 | {p : PrimeSpectrum R} |
| 19 | (C : MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k R I |
| 20 | (fun j : Option B => match j with | none => z | some j => w j.val) |
| 21 | (insert none ((ActiveBoundaryLabelRestriction.Construction.restrictedBoundaryDividedLabels B F).image some)) p) : |
| 22 | MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k R I |
| 23 | (fun j : Option ι => match j with | none => z | some j => w j) |
| 24 | (insert none (F.image some)) p := by |
| 25 | classical |
| 26 | let r := OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel (ActiveBoundaryLabelRestriction.Construction.boundaryLabelRestriction B) |
| 27 | let v : Option ι → R := fun j => match j with | none => z | some j => w j |
| 28 | let a : Option ι → R := fun j => match j with | none => 1 | some j => if j ∈ B then 1 else w j |
| 29 | have ha (j : Option ι) : IsUnit (a j) := by |
| 30 | cases j with |
| 31 | | none => exact isUnit_one |
| 32 | | some j => |
| 33 | by_cases hj : j ∈ B |
| 34 | · simpa only [a, ite_eq_left hj] using (isUnit_one : IsUnit (1 : R)) |
| 35 | · simpa only [a, ite_eq_right hj] using hu j hj |
| 36 | apply C.pullbackLabels r |
| 37 | (OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel_distinct _ (ActiveBoundaryLabelRestriction.Construction.boundaryLabelRestriction_distinct B)) v a ha |
| 38 | (fun j => ?_) (insert none (F.image some)) (ActiveBoundaryLabelRestriction.Construction.active_boundary_adjoined_divided_iff B F hFB) |
| 39 | cases j with |
| 40 | | none => exact (one_mul z).symm |
| 41 | | some j => |
| 42 | by_cases hj : j ∈ B |
| 43 | · simp only [v, a, ite_eq_left hj, r, OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel, ActiveBoundaryLabelRestriction.Construction.boundaryLabelRestriction, |
| 44 | dite_eq_left hj, Option.map_some, one_mul] |
| 45 | · simp only [v, a, ite_eq_right hj, r, OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel, ActiveBoundaryLabelRestriction.Construction.boundaryLabelRestriction, |
| 46 | dite_eq_right hj, Option.map_none, mul_one] |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Resolution.Blowups |