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.HilbertScheme.Presentations.FiberPolynomialBaseChange |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.FieldPointOpenLift |
| 3 | |
| 4 | /-! # Fiber Polynomial Locality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.FiberPolynomialLocality.Core |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The exact field-fiber polynomial condition is local on the test scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} {X : Over S} (B : Has.Core.ProjectivePresentation X) |
| 16 | variable {T : Over S} {J : Type u} (U : J → Over S) (f : ∀ i, U i ⟶ T) |
| 17 | variable [∀ i, IsOpenImmersion (f i).left] |
| 18 | variable (hcover : ∀ t : T.left, ∃ i, ∃ y : (U i).left, (f i).left y = t) |
| 19 | |
| 20 | include hcover in |
| 21 | theorem hasFiberHilbertPolynomial_of_openCover (I : Hilbert.Functor.Family X T) (P : Polynomial ℚ) |
| 22 | (h : ∀ i, Has.Core.HasFiberHilbertPolynomial B (Hilbert.Functor.pullbackFamily X (f i) I) P) : |
| 23 | Has.Core.HasFiberHilbertPolynomial B I P := by |
| 24 | intro K _ a |
| 25 | let C := Hilbert.FamilyLocality.testOpenCover U f hcover |
| 26 | obtain ⟨i, β, hβ⟩ := FieldPointOpenLift.fieldPoint_lift_openCover C a |
| 27 | change J at i |
| 28 | let b : Spec (CommRingCat.of K) ⟶ (U i).left := β |
| 29 | have hb : b ≫ (f i).left = a := hβ |
| 30 | have hbase : b ≫ (U i).hom = a ≫ T.hom := by |
| 31 | rw [← (f i).w, ← Category.assoc, hb] |
| 32 | have H := FiberPolynomialBaseChange.Core.hasFiberHilbertPolynomial_at B (Hilbert.Functor.pullbackFamily X (f i) I) P |
| 33 | (h i) K b (a ≫ T.hom) hbase |
| 34 | dsimp only at H ⊢ |
| 35 | rw [← Hilbert.Functor.pullbackFamily_comp] at H |
| 36 | have he : (Over.homMk b hbase : Over.mk (a ≫ T.hom) ⟶ U i) ≫ f i = |
| 37 | (Over.homMk a rfl : Over.mk (a ≫ T.hom) ⟶ T) := Over.OverMorphism.ext hb |
| 38 | rw [he] at H |
| 39 | exact H |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.FiberPolynomialLocality.Core |