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.TransverseCoordinatesAtPoint |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.DifferentialEquation |
| 3 | |
| 4 | /-! # Transverse Hypersurface Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.TransverseHypersurfaceCoordinates.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Boundary-preserving hypersurface coordinates from a transverse partial derivative on an étale chart. -/ |
| 11 | |
| 12 | variable {σ K S : Type*} [Field K] [CommRing S] [DecidableEq σ] |
| 13 | [Algebra (MvPolynomial σ K) S] [Algebra.Etale (MvPolynomial σ K) S] |
| 14 | [Algebra K S] [IsScalarTower K (MvPolynomial σ K) S] |
| 15 | |
| 16 | theorem etaleRelativePartial_X (i j : σ) : |
| 17 | DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := S) i |
| 18 | (algebraMap (MvPolynomial σ K) S (MvPolynomial.X j)) = if i = j then 1 else 0 := by |
| 19 | rw [DifferentialEquation.Construction.etaleRelativePartial_algebraMap] |
| 20 | by_cases hij : i = j |
| 21 | · subst j |
| 22 | rw [MvPolynomial.pderiv_X_self, map_one, ite_eq_left rfl] |
| 23 | · rw [MvPolynomial.pderiv_X_of_ne (Ne.symm hij), map_zero, ite_eq_right hij] |
| 24 | |
| 25 | variable [Finite σ] |
| 26 | |
| 27 | /-- A nonzero partial derivative in a direction outside the boundary |
| 28 | coordinates gives an actual étale neighborhood through the original point, |
| 29 | retaining both the hypersurface equation and every boundary equation. |
| 30 | The construction applies when such a transverse direction is available. -/ |
| 31 | theorem etale_transverse_hypersurface_coordinates_at_point |
| 32 | (B : Finset σ) (i : σ) (hi : i ∉ B) (z : S) (q : Ideal S) [q.IsPrime] |
| 33 | (hq : DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := S) i z ∉ q) : |
| 34 | ∃ (f : DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood (DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := S) i) z) (n : ℕ) |
| 35 | (φ : MvPolynomial (Fin n ⊕ Option B) K →+* Localization.Away f) |
| 36 | (η : Localization.Away f →+* q.ResidueField), |
| 37 | φ.Etale ∧ (∀ r : K, φ (MvPolynomial.C r) = algebraMap K (Localization.Away f) r) ∧ |
| 38 | φ (MvPolynomial.X (Sum.inr none)) = algebraMap S (Localization.Away f) z ∧ |
| 39 | (∀ j : B, φ (MvPolynomial.X (Sum.inr (some j))) = |
| 40 | algebraMap S (Localization.Away f) (algebraMap (MvPolynomial σ K) S (MvPolynomial.X j.val))) ∧ |
| 41 | ∀ a : S, η (algebraMap S (Localization.Away f) a) = algebraMap S q.ResidueField a := by |
| 42 | let : Algebra.Smooth K (MvPolynomial σ K) := ⟨inferInstance, inferInstance⟩ |
| 43 | let : Algebra.Smooth K S := Algebra.Smooth.comp K (MvPolynomial σ K) S |
| 44 | let D : B → Derivation K S S := fun j => DifferentialEquation.Construction.etaleRelativePartial (K := K) j.val |
| 45 | let w : B → S := fun j => algebraMap (MvPolynomial σ K) S (MvPolynomial.X j.val) |
| 46 | have hD : ∀ j k, D j (w k) = if j = k then 1 else 0 := by |
| 47 | intro j k |
| 48 | simpa only [Subtype.ext_iff] using etaleRelativePartial_X (K := K) (S := S) j.val k.val |
| 49 | have hEw : ∀ j : B, DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := S) i (w j) = 0 := by |
| 50 | intro j |
| 51 | have hij : i ≠ j.val := fun h => hi (h.symm ▸ j.property) |
| 52 | simpa only [ite_eq_right hij] using etaleRelativePartial_X (K := K) (S := S) i j.val |
| 53 | exact TransverseCoordinatesAtPoint.Construction.exists_boundary_preserving_transverse_coordinates_at_point |
| 54 | D w (DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := S) i) z hD hEw q hq |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.TransverseHypersurfaceCoordinates.Construction |