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.OptionalBoundaryLabels |
| 2 | |
| 3 | /-! # Active Boundary Label Restriction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.ActiveBoundaryLabelRestriction.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Partial original-label restriction and exact divided sets for active boundaries. -/ |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | def boundaryLabelRestriction {ι : Type u} (B : Finset ι) : ι → Option B := by |
| 14 | classical |
| 15 | exact fun j => if h : j ∈ B then some ⟨j, h⟩ else none |
| 16 | |
| 17 | theorem boundaryLabelRestriction_distinct {ι : Type u} (B : Finset ι) |
| 18 | (i j : ι) (s : B) (hi : boundaryLabelRestriction B i = some s) |
| 19 | (hj : boundaryLabelRestriction B j = some s) : i = j := by |
| 20 | classical |
| 21 | by_cases hiB : i ∈ B |
| 22 | · by_cases hjB : j ∈ B |
| 23 | · simp only [boundaryLabelRestriction, dite_eq_left hiB, dite_eq_left hjB, Option.some.injEq] at hi hj |
| 24 | exact congrArg Subtype.val (hi.trans hj.symm) |
| 25 | · simp only [boundaryLabelRestriction, dite_eq_right hjB] at hj |
| 26 | cases hj |
| 27 | · simp only [boundaryLabelRestriction, dite_eq_right hiB] at hi |
| 28 | cases hi |
| 29 | |
| 30 | def restrictedBoundaryDividedLabels {ι : Type u} (B F : Finset ι) : Finset B := by |
| 31 | classical |
| 32 | exact Finset.univ.filter (fun j => j.val ∈ F) |
| 33 | |
| 34 | theorem active_boundary_adjoined_divided_iff {ι : Type u} [DecidableEq ι] |
| 35 | (B F : Finset ι) (hFB : F ⊆ B) (j : Option ι) : |
| 36 | j ∈ insert none (F.image some) ↔ |
| 37 | ∃ s ∈ insert none ((restrictedBoundaryDividedLabels B F).image some), |
| 38 | OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel (boundaryLabelRestriction B) j = some s := by |
| 39 | classical |
| 40 | cases j with |
| 41 | | none => simp [OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel] |
| 42 | | some j => |
| 43 | by_cases hj : j ∈ B |
| 44 | · simp [OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel, boundaryLabelRestriction, hj, restrictedBoundaryDividedLabels] |
| 45 | · have hjF : j ∉ F := fun h => hj (hFB h) |
| 46 | simp [OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel, boundaryLabelRestriction, hj, hjF] |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Resolution.Blowups.ActiveBoundaryLabelRestriction.Construction |