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.DifferentialHypersurfaceNeighborhood |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.DifferentialCoefficientOrder |
| 3 | |
| 4 | /-! # Neighborhood Coefficient Order -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.NeighborhoodCoefficientOrder.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coefficient-order reduction on the actual smooth derivative neighborhood. -/ |
| 11 | |
| 12 | variable {k A : Type*} [CommRing k] [CommRing A] [Algebra k A] |
| 13 | |
| 14 | /-- Normalize the chosen derivative on the ambient open set so that it |
| 15 | takes the hypersurface equation to one. -/ |
| 16 | def normalizedNeighborhoodDerivation (D : Derivation k A A) (z : A) : |
| 17 | Derivation k (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) := |
| 18 | letI : Algebra.FormallyEtale A (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) := |
| 19 | Algebra.FormallyEtale.of_isLocalization (Submonoid.powers (D z)) |
| 20 | let u := (IsLocalization.Away.algebraMap_isUnit (S := DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) (D z)).unit |
| 21 | (u⁻¹ : (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z)ˣ) • Etale.Derivation.Construction.extendEtaleRingDerivation (S := DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) D |
| 22 | |
| 23 | theorem normalizedNeighborhoodDerivation_equation (D : Derivation k A A) (z : A) : |
| 24 | normalizedNeighborhoodDerivation D z (algebraMap A (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) z) = 1 := by |
| 25 | let : Algebra.FormallyEtale A (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) := |
| 26 | Algebra.FormallyEtale.of_isLocalization (Submonoid.powers (D z)) |
| 27 | let u := (IsLocalization.Away.algebraMap_isUnit (S := DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) (D z)).unit |
| 28 | change (u⁻¹ : (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z)ˣ) • |
| 29 | Etale.Derivation.Construction.extendEtaleRingDerivation (S := DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) D |
| 30 | (algebraMap A (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) z) = 1 |
| 31 | rw [Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, ← IsUnit.unit_spec |
| 32 | (IsLocalization.Away.algebraMap_isUnit (S := DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) (D z))] |
| 33 | exact Units.inv_mul u |
| 34 | |
| 35 | variable [Algebra ℚ A] |
| 36 | |
| 37 | /-- On the chosen neighborhood, order of any ideal is exactly the list |
| 38 | of differential coefficient-order conditions on the actual hypersurface. -/ |
| 39 | theorem neighborhood_order_iff_coefficient_orders (D : Derivation k A A) (z : A) |
| 40 | (J M : Ideal (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z)) |
| 41 | (hzM : algebraMap A (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) z ∈ M) (b : ℕ) : |
| 42 | J ≤ M ^ b ↔ ∀ j < b, |
| 43 | DifferentialCoefficientOrder.Construction.differentialCoefficientIdeal (normalizedNeighborhoodDerivation D z) |
| 44 | (algebraMap A (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) z) J j ≤ |
| 45 | M.map (Ideal.Quotient.mk (Ideal.span {algebraMap A (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) z})) ^ (b - j) := |
| 46 | DifferentialCoefficientOrder.Construction.ideal_order_iff_differentialCoefficientIdeals (normalizedNeighborhoodDerivation D z) |
| 47 | (algebraMap A (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) z) |
| 48 | (normalizedNeighborhoodDerivation_equation D z) J M hzM b |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Resolution.Blowups.NeighborhoodCoefficientOrder.Construction |