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 Mathlib.RingTheory.Localization.Ideal |
| 2 | import Mathlib.RingTheory.Smooth.Basic |
| 3 | |
| 4 | /-! # Principal Smooth Localization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.PrincipalSmoothLocalization.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # DegreeTwo: smoothness of the actual localized principal hypersurface |
| 12 | |
| 13 | The quotient-localization equivalence identifies the hypersurface on an |
| 14 | ambient principal open with the corresponding principal open of the quotient. |
| 15 | -/ |
| 16 | |
| 17 | /-- A smooth principal open of the quotient is the smooth principal |
| 18 | hypersurface in the corresponding ambient localization. -/ |
| 19 | theorem principal_quotient_localization_smooth (K R : Type*) [CommRing K] [CommRing R] |
| 20 | [Algebra K R] (p b : R) |
| 21 | [Algebra.Smooth K (Localization.Away (Ideal.Quotient.mk (Ideal.span {p}) b))] : |
| 22 | Algebra.Smooth K (Localization.Away b ⧸ |
| 23 | Ideal.span ({algebraMap R (Localization.Away b) p} : Set (Localization.Away b))) := by |
| 24 | let I := Ideal.span ({p} : Set R) |
| 25 | let A := Localization.Away b |
| 26 | let B := A ⧸ I.map (algebraMap R A) |
| 27 | let q := Ideal.Quotient.mk I b |
| 28 | have hM : Algebra.algebraMapSubmonoid (R ⧸ I) (Submonoid.powers b) = Submonoid.powers q := |
| 29 | Submonoid.map_powers (Ideal.Quotient.mk I) b |
| 30 | let : IsLocalization (Submonoid.powers q) B := by |
| 31 | rw [← hM] |
| 32 | infer_instance |
| 33 | let e := IsLocalization.algEquiv (Submonoid.powers q) (Localization.Away q) B |
| 34 | let : IsScalarTower K (R ⧸ I) B := IsScalarTower.of_algebraMap_eq (fun k => by |
| 35 | change Ideal.Quotient.mk (I.map (algebraMap R A)) (algebraMap K A k) = |
| 36 | Ideal.Quotient.mk (I.map (algebraMap R A)) (algebraMap R A (algebraMap K R k)) |
| 37 | rw [IsScalarTower.algebraMap_apply K R A]) |
| 38 | have hB : Algebra.Smooth K B := Algebra.Smooth.of_equiv (e.restrictScalars K) |
| 39 | change Algebra.Smooth K (A ⧸ Ideal.span {algebraMap R A p}) |
| 40 | have hI : I.map (algebraMap R A) = Ideal.span {algebraMap R A p} := by |
| 41 | change (Ideal.span {p}).map (algebraMap R A) = _ |
| 42 | rw [Ideal.map_span, Set.image_singleton] |
| 43 | rw [← hI] |
| 44 | exact hB |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.PrincipalSmoothLocalization.Constructions |