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.RefinedNormalDerivative |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.RefinementHelpers |
| 3 | |
| 4 | /-! # Refined Normal Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.RefinedNormalOpen.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual refined normal neighborhood is open and retains its specified prime. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {k A : Type u} [CommRing k] [CommRing A] [Algebra k A] |
| 17 | |
| 18 | theorem refinedNormalOpen_isOpenImmersion (D : Derivation k A A) (z : A) |
| 19 | (f : DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) : |
| 20 | IsOpenImmersion (Spec.map (CommRingCat.ofHom (algebraMap A (Localization.Away f)))) := by |
| 21 | have he : CommRingCat.ofHom (algebraMap A (Localization.Away f)) = |
| 22 | CommRingCat.ofHom (algebraMap A (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z)) ≫ |
| 23 | CommRingCat.ofHom (algebraMap (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) (Localization.Away f)) := |
| 24 | congrArg CommRingCat.ofHom (IsScalarTower.algebraMap_eq A (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) _) |
| 25 | rw [he, Spec.map_comp] |
| 26 | infer_instance |
| 27 | |
| 28 | theorem refinedNormalOpen_lifts_prime (D : Derivation k A A) (z : A) |
| 29 | (f : DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) (q : PrimeSpectrum A) |
| 30 | (η : Localization.Away f →+* q.asIdeal.ResidueField) |
| 31 | (hη : ∀ a : A, η (algebraMap A (Localization.Away f) a) = algebraMap A q.asIdeal.ResidueField a) : |
| 32 | ∃ Q : PrimeSpectrum (Localization.Away f), |
| 33 | PrimeSpectrum.comap (algebraMap A (Localization.Away f)) Q = q := by |
| 34 | refine ⟨⟨RingHom.ker η, RingHom.ker_isPrime η⟩, ?_⟩ |
| 35 | apply PrimeSpectrum.ext |
| 36 | ext a |
| 37 | change η (algebraMap A (Localization.Away f) a) = 0 ↔ a ∈ q.asIdeal |
| 38 | rw [hη, Ideal.algebraMap_residueField_eq_zero] |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Resolution.Blowups.RefinedNormalOpen.Construction |