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.Etale.BoundaryModel |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.MvPolynomialRelativeLine |
| 3 | |
| 4 | /-! # Coordinate Separation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Retain all boundary labels while separating an unused coordinate as the normal. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | variable {k R : Type u} {ι : Type v} [Field k] [CommRing R] [Algebra k R] |
| 15 | {w : ι → R} (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) |
| 16 | |
| 17 | /-- Boundary coordinates in the coefficient ring obtained by deleting |
| 18 | a coordinate used by none of the boundary labels. -/ |
| 19 | def Etale.BoundaryModel.Construction.EtaleBoundaryModel.separatedCoordinate (h : M.indices) |
| 20 | (hh : ∀ j, M.coordinate j ≠ some h) (j : ι) : Option {t : M.indices // t ≠ h} := |
| 21 | (M.coordinate j).pmap (fun t ht => ⟨t, ht⟩) |
| 22 | (fun _ hc ht => hh j (hc.trans (congrArg some ht))) |
| 23 | |
| 24 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.separatedCoordinate_map (h : M.indices) |
| 25 | (hh : ∀ j, M.coordinate j ≠ some h) (j : ι) : |
| 26 | (M.separatedCoordinate h hh j).map Subtype.val = M.coordinate j := by |
| 27 | cases hc : M.coordinate j <;> simp [Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel.separatedCoordinate, hc] |
| 28 | |
| 29 | /-- The normalized coefficient equations are distinct polynomial |
| 30 | coordinates or units, with the original labels retained. -/ |
| 31 | def Etale.BoundaryModel.Construction.EtaleBoundaryModel.separatedCoefficientModel (h : M.indices) |
| 32 | (hh : ∀ j, M.coordinate j ≠ some h) : |
| 33 | Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k (MvPolynomialRelativeLine.Construction.coordinateLineBase (k := k) h) ι |
| 34 | (fun j => match M.separatedCoordinate h hh j with |
| 35 | | none => 1 | some t => MvPolynomial.X t) := by |
| 36 | classical |
| 37 | refine |
| 38 | { indices := {t : M.indices // t ≠ h} |
| 39 | finite := inferInstance |
| 40 | decidableEq := inferInstance |
| 41 | map := RingHom.id _ |
| 42 | etale := RingHom.Etale.of_bijective Function.bijective_id |
| 43 | ground := fun _ => rfl |
| 44 | coordinate := M.separatedCoordinate h hh |
| 45 | distinct := ?_ |
| 46 | multiplier := fun _ => 1 |
| 47 | multiplierUnit := fun _ => isUnit_one |
| 48 | equation := ?_ } |
| 49 | · intro i j t hi hj |
| 50 | apply M.distinct i j t.val |
| 51 | · rw [← M.separatedCoordinate_map h hh i, hi] |
| 52 | rfl |
| 53 | · rw [← M.separatedCoordinate_map h hh j, hj] |
| 54 | rfl |
| 55 | · intro j |
| 56 | cases M.separatedCoordinate h hh j <;> exact (one_mul _).symm |
| 57 | |
| 58 | /-- Before taking the hypersurface, the original equation is exactly |
| 59 | its ambient unit factor times the retained coefficient equation. -/ |
| 60 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.separated_equation (h : M.indices) |
| 61 | (hh : ∀ j, M.coordinate j ≠ some h) (j : ι) : |
| 62 | w j = M.multiplier j * M.map ((MvPolynomialRelativeLine.Construction.coordinateLineEquiv (k := k) h).symm |
| 63 | (Polynomial.C (match M.separatedCoordinate h hh j with |
| 64 | | none => 1 | some t => MvPolynomial.X t))) := by |
| 65 | rw [M.equation j] |
| 66 | congr 1 |
| 67 | cases hc : M.coordinate j with |
| 68 | | none => simp [Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel.separatedCoordinate, hc] |
| 69 | | some t => |
| 70 | simp only [Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel.separatedCoordinate, hc, Option.pmap_some] |
| 71 | rw [MvPolynomialRelativeLine.Construction.coordinateLineEquiv_symm_other] |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Resolution.Blowups |