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.LogarithmicUnitEquations |
| 3 | |
| 4 | /-! # Logarithmic Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Express logarithmic differential ideals of actual boundary equations in their model coordinates. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | variable {k A : Type u} {ι : Type v} [CommRing k] [CommRing A] [Algebra k A] |
| 15 | {w : ι → A} |
| 16 | |
| 17 | def Etale.BoundaryModel.Construction.EtaleBoundaryModel.coordinateEquation (M : Etale.BoundaryModel.Construction.EtaleBoundaryModel k A ι w) (j : ι) : A := |
| 18 | match M.coordinate j with |
| 19 | | none => 1 |
| 20 | | some s => M.map (MvPolynomial.X s) |
| 21 | |
| 22 | def Etale.BoundaryModel.Construction.EtaleBoundaryModel.boundaryIndices (M : Etale.BoundaryModel.Construction.EtaleBoundaryModel k A ι w) : Finset M.indices := by |
| 23 | classical |
| 24 | exact Finset.univ.filter (fun s => ∃ j, M.coordinate j = some s) |
| 25 | |
| 26 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.mem_boundaryIndices (M : Etale.BoundaryModel.Construction.EtaleBoundaryModel k A ι w) (s : M.indices) : |
| 27 | s ∈ M.boundaryIndices ↔ ∃ j, M.coordinate j = some s := by |
| 28 | classical |
| 29 | simp only [Etale.BoundaryModel.Construction.EtaleBoundaryModel.boundaryIndices, Finset.mem_filter, Finset.mem_univ, true_and] |
| 30 | |
| 31 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.logarithmic_coordinateEquation (M : Etale.BoundaryModel.Construction.EtaleBoundaryModel k A ι w) : |
| 32 | Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k w = Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k M.coordinateEquation := by |
| 33 | have he : w = fun j => M.multiplier j * M.coordinateEquation j := by |
| 34 | funext j |
| 35 | rw [M.equation j] |
| 36 | congr 1 |
| 37 | cases h : M.coordinate j <;> simp only [Etale.BoundaryModel.Construction.EtaleBoundaryModel.coordinateEquation, h] |
| 38 | exact (congrArg (Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k) he).trans |
| 39 | (LogarithmicUnitEquations.Construction.relativeLogarithmicDerivations_mul_units k M.coordinateEquation M.multiplier M.multiplierUnit) |
| 40 | |
| 41 | /-- Unit components contribute no tangency condition, and each remaining |
| 42 | actual equation contributes exactly its corresponding coordinate ideal. -/ |
| 43 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.logarithmic_coordinates (M : Etale.BoundaryModel.Construction.EtaleBoundaryModel k A ι w) : |
| 44 | Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k w = Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k |
| 45 | (fun s : M.boundaryIndices => M.map (MvPolynomial.X s.val)) := by |
| 46 | rw [M.logarithmic_coordinateEquation] |
| 47 | ext D |
| 48 | change (∀ j, D (M.coordinateEquation j) ∈ Ideal.span {M.coordinateEquation j}) ↔ |
| 49 | ∀ s : M.boundaryIndices, D (M.map (MvPolynomial.X s.val)) ∈ Ideal.span {M.map (MvPolynomial.X s.val)} |
| 50 | constructor |
| 51 | · intro h s |
| 52 | obtain ⟨j, hj⟩ := (M.mem_boundaryIndices s.val).mp s.property |
| 53 | simpa only [Etale.BoundaryModel.Construction.EtaleBoundaryModel.coordinateEquation, hj] using h j |
| 54 | · intro h j |
| 55 | cases hj : M.coordinate j with |
| 56 | | none => simp [Etale.BoundaryModel.Construction.EtaleBoundaryModel.coordinateEquation, hj] |
| 57 | | some s => |
| 58 | have hs : s ∈ M.boundaryIndices := (M.mem_boundaryIndices s).mpr ⟨j, hj⟩ |
| 59 | simpa only [Etale.BoundaryModel.Construction.EtaleBoundaryModel.coordinateEquation, hj] using h ⟨s, hs⟩ |
| 60 | |
| 61 | /-- Every order of the relative logarithmic differential ideal agrees |
| 62 | exactly with the finite coordinate boundary in the displayed model. -/ |
| 63 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.iterated_logarithmic_coordinates (M : Etale.BoundaryModel.Construction.EtaleBoundaryModel k A ι w) |
| 64 | (J : Ideal A) (n : ℕ) : |
| 65 | Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J n = |
| 66 | Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k |
| 67 | (fun s : M.boundaryIndices => M.map (MvPolynomial.X s.val)) J n := |
| 68 | Relative.LogarithmicBoundary.Construction.iteratedRelativeLogarithmicDifferentialIdeal_congr_derivations k _ _ M.logarithmic_coordinates J n |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.Resolution.Blowups |