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.JacobianNeighborhood |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.TransverseHypersurfaceCoordinates |
| 4 | |
| 5 | /-! # Dual Frame -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Recover an exact dual frame for the actual labelled equations of a local boundary model. -/ |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {k A : Type u} {ι : Type v} [Field k] [CommRing A] [Algebra k A] |
| 16 | [Fintype ι] [DecidableEq ι] {w : ι → A} |
| 17 | |
| 18 | /-- A unit-scaled normal-crossing model provides exact dual derivations |
| 19 | for all actual equations on a principal neighborhood of any prime where |
| 20 | those equations vanish. The denominator explicitly avoids that prime. -/ |
| 21 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.exists_local_dual_frame (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k A ι w) |
| 22 | (q : Ideal A) [q.IsPrime] (hw : ∀ j, w j ∈ q) : |
| 23 | ∃ f ∉ q, ∃ D : ι → Derivation k (Localization.Away f) (Localization.Away f), |
| 24 | ∀ i j, D i (algebraMap A (Localization.Away f) (w j)) = if i = j then 1 else 0 := by |
| 25 | classical |
| 26 | have hex : ∀ j, ∃ s, M.coordinate j = some s := by |
| 27 | intro j |
| 28 | cases h : M.coordinate j with |
| 29 | | none => |
| 30 | have he : w j = M.multiplier j := by rw [M.equation j, h, mul_one] |
| 31 | have hu : IsUnit (w j) := he ▸ M.multiplierUnit j |
| 32 | exact False.elim (q.notMem_of_isUnit hu (hw j)) |
| 33 | | some s => exact ⟨s, rfl⟩ |
| 34 | choose s hs using hex |
| 35 | have hinj : Function.Injective s := by |
| 36 | intro i j hij |
| 37 | apply M.distinct i j (s i) (hs i) |
| 38 | rw [hij] |
| 39 | exact hs j |
| 40 | let : Algebra (MvPolynomial M.indices k) A := M.map.toAlgebra |
| 41 | let : Algebra.Etale (MvPolynomial M.indices k) A := RingHom.etale_algebraMap.mp M.etale |
| 42 | let : IsScalarTower k (MvPolynomial M.indices k) A := |
| 43 | IsScalarTower.of_algebraMap_eq (fun c => (M.ground c).symm) |
| 44 | let z : ι → A := fun j => M.map (MvPolynomial.X (s j)) |
| 45 | let D : ι → Derivation k A A := fun j => Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (s j) |
| 46 | have hD : ∀ i j, D i (z j) = if i = j then 1 else 0 := by |
| 47 | intro i j |
| 48 | change Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (s i) |
| 49 | (algebraMap (MvPolynomial M.indices k) A (MvPolynomial.X (s j))) = _ |
| 50 | rw [Blowups.Etale.TransverseHypersurfaceCoordinates.Construction.etaleRelativePartial_X] |
| 51 | simp only [hinj.eq_iff] |
| 52 | have he : w = fun j => M.multiplier j * z j := by |
| 53 | funext j |
| 54 | simpa only [hs j] using M.equation j |
| 55 | have hz : ∀ j, z j ∈ q := by |
| 56 | intro j |
| 57 | apply (q.unit_mul_mem_iff_mem (M.multiplierUnit j)).mp |
| 58 | rw [← congrFun he j] |
| 59 | exact hw j |
| 60 | have hdet : (JacobianDerivationFrame.Construction.derivationJacobian D w).det ∉ q := by |
| 61 | rw [he] |
| 62 | exact JacobianNeighborhood.Construction.unit_boundary_jacobian_not_mem z D hD M.multiplier M.multiplierUnit q hz |
| 63 | refine ⟨(JacobianDerivationFrame.Construction.derivationJacobian D w).det, hdet, |
| 64 | JacobianDerivationFrame.Construction.normalizedJacobianFrame (JacobianNeighborhood.Construction.jacobianNeighborhoodDerivation D w) |
| 65 | (fun j => algebraMap A (JacobianNeighborhood.Construction.derivationJacobianNeighborhood D w) (w j)), ?_⟩ |
| 66 | exact JacobianDerivationFrame.Construction.normalizedJacobianFrame_dual _ _ (JacobianNeighborhood.Construction.jacobianNeighborhood_jacobian_isUnit D w) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.Resolution.Blowups |