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.AbelianModuli.ReferenceFamily.Pure.FineNoetherianTests |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.DegreePolarizedNoetherianModel |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ModeledTargetIsoExistence |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.OverOpenCoverGluing |
| 5 | |
| 6 | /-! # From Unit Graph Factory -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Unit-degree graph parameters reduce the original all-test fine |
| 13 | moduli property to classification on Noetherian schemes over the same base. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ModeledTargetIsoExistence |
| 17 | |
| 18 | variable {R : Type} [CommRing R] [IsNoetherianRing R] |
| 19 | {g N : ℕ} {δ : Fin g → ℕ} |
| 20 | |
| 21 | theorem AbelianModuli.ReferenceFamily.Pure.Fine.PurePolarizedModel.classifies_spec_of_unitGraphFactory |
| 22 | (M : AbelianModuli.ReferenceFamily.Pure.Fine.PurePolarizedModel g δ N (Spec (.of R))) |
| 23 | (Q : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.QuasiProjectivePresentation M.space) |
| 24 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) (hNR : IsUnit (N : R)) |
| 25 | (Φ : ∀ d : ℕ, 0 < d → IsUnit (d : R) → AbelianModuli.HilbertConstruction.GraphPower.LocusPresentation.GraphPowerLocusFactory R g N d δ) |
| 26 | (hM : ∀ (V : Over (Spec (.of R))), IsNoetherian V.left → |
| 27 | ∀ (B : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N V.left), |
| 28 | ∃! c : V ⟶ M.space, Nonempty (AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (M.universal.pullback c.left) B)) |
| 29 | (C : CommRingCat) (q : Spec C ⟶ Spec (.of R)) |
| 30 | (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec C)) : |
| 31 | ∃! c : Over.mk q ⟶ M.space, |
| 32 | Nonempty (AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (M.universal.pullback c.left) A) := by |
| 33 | obtain ⟨V, hV, B, t, ⟨e⟩⟩ := A.exists_noetherianModel_over_spec C q hg hδ hN hNR Φ |
| 34 | obtain ⟨b, ⟨eb⟩, _⟩ := hM V hV B |
| 35 | let c : Over.mk q ⟶ M.space := t ≫ b |
| 36 | let ec : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (M.universal.pullback c.left) A := |
| 37 | (((AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp M.universal b.left t.left).symm.trans |
| 38 | (eb.pullback t.left)).trans e.symm) |
| 39 | refine ⟨c, ⟨ec⟩, ?_⟩ |
| 40 | intro k hk |
| 41 | obtain ⟨ek⟩ := hk |
| 42 | exact M.points_eq_of_noetherian_classification Q hδ hN hM k c ⟨ek.trans ec.symm⟩ |
| 43 | |
| 44 | theorem AbelianModuli.ReferenceFamily.Pure.Fine.PurePolarizedModel.isFine_of_unitGraphFactory |
| 45 | (M : AbelianModuli.ReferenceFamily.Pure.Fine.PurePolarizedModel g δ N (Spec (.of R))) |
| 46 | (Q : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.QuasiProjectivePresentation M.space) |
| 47 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) (hNR : IsUnit (N : R)) |
| 48 | (Φ : ∀ d : ℕ, 0 < d → IsUnit (d : R) → AbelianModuli.HilbertConstruction.GraphPower.LocusPresentation.GraphPowerLocusFactory R g N d δ) |
| 49 | (hM : ∀ (V : Over (Spec (.of R))), IsNoetherian V.left → |
| 50 | ∀ (B : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N V.left), |
| 51 | ∃! c : V ⟶ M.space, Nonempty (AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (M.universal.pullback c.left) B)) : |
| 52 | M.IsFine := by |
| 53 | classical |
| 54 | intro T A |
| 55 | let C := T.left.affineOpenCover.openCover |
| 56 | let U (i : C.I₀) : Over (Spec (.of R)) := Over.mk (C.f i ≫ T.hom) |
| 57 | have hpoints (i : C.I₀) : |
| 58 | ∃ c : U i ⟶ M.space, |
| 59 | Nonempty (AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (M.universal.pullback c.left) (A.pullback (C.f i))) := by |
| 60 | exact (M.classifies_spec_of_unitGraphFactory Q hg hδ hN hNR Φ hM |
| 61 | (T.left.affineOpenCover.X i) (C.f i ≫ T.hom) (A.pullback (C.f i))).exists |
| 62 | choose localPoint hlocalPoint using hpoints |
| 63 | let localIso (i : C.I₀) := (hlocalPoint i).some |
| 64 | have compatible (i j : C.I₀) : |
| 65 | pullback.fst (C.f i) (C.f j) ≫ (localPoint i).left = |
| 66 | pullback.snd (C.f i) (C.f j) ≫ (localPoint j).left := by |
| 67 | let p := pullback.fst (C.f i) (C.f j) |
| 68 | let q := pullback.snd (C.f i) (C.f j) |
| 69 | let V : Over (Spec (.of R)) := Over.mk (p ≫ C.f i ≫ T.hom) |
| 70 | let a : V ⟶ U i := Over.homMk p rfl |
| 71 | have hw : q ≫ (C.f j ≫ T.hom) = p ≫ (C.f i ≫ T.hom) := |
| 72 | (Category.assoc q (C.f j) T.hom).symm.trans |
| 73 | ((congrArg (fun r => r ≫ T.hom) |
| 74 | (pullback.condition (f := C.f i) (g := C.f j)).symm).trans |
| 75 | (Category.assoc p (C.f i) T.hom)) |
| 76 | let b : V ⟶ U j := Over.homMk q hw |
| 77 | let ea : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (M.universal.pullback (a ≫ localPoint i).left) |
| 78 | ((A.pullback (C.f i)).pullback p) := |
| 79 | (AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp M.universal (localPoint i).left p).symm.trans |
| 80 | ((localIso i).pullback p) |
| 81 | let eb : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (M.universal.pullback (b ≫ localPoint j).left) |
| 82 | ((A.pullback (C.f j)).pullback q) := |
| 83 | (AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp M.universal (localPoint j).left q).symm.trans |
| 84 | ((localIso j).pullback q) |
| 85 | let eab := AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.baseSquare A (C.f i) (C.f j) p q |
| 86 | (pullback.condition (f := C.f i) (g := C.f j)) |
| 87 | exact congrArg Over.Hom.left |
| 88 | (M.points_eq_of_noetherian_classification Q hδ hN hM |
| 89 | (a ≫ localPoint i) (b ≫ localPoint j) ⟨(ea.trans eab).trans eb.symm⟩) |
| 90 | let c : T ⟶ M.space := AbelianModuli.ReferenceFamily.OverOpenCoverGluing.glueOverOpenCover T M.space C (fun i => (localPoint i).left) |
| 91 | (fun i => (localPoint i).w) compatible |
| 92 | have hc (i : C.I₀) : C.f i ≫ c.left = (localPoint i).left := |
| 93 | AbelianModuli.ReferenceFamily.OverOpenCoverGluing.glueOverOpenCover_fac T M.space C (fun i => (localPoint i).left) |
| 94 | (fun i => (localPoint i).w) compatible i |
| 95 | let : IsNoetherian M.space.left := Q.noetherian |
| 96 | have hfamily (i : C.I₀) : Nonempty (AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback (C.f i)) |
| 97 | ((M.universal.pullback c.left).pullback (C.f i))) := by |
| 98 | let ec := AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.ofEqualBaseMaps M.universal (localPoint i).left |
| 99 | (C.f i ≫ c.left) (hc i).symm |
| 100 | exact ⟨((localIso i).symm.trans ec).trans |
| 101 | (AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp M.universal c.left (C.f i)).symm⟩ |
| 102 | obtain ⟨e⟩ := AbelianModuli.HilbertConstruction.ModeledTargetIsoExistence.levelIso_nonempty_of_openCover_modeledTarget M.universal c.left A hN C hfamily |
| 103 | refine ⟨c, ⟨e.symm⟩, ?_⟩ |
| 104 | intro b hb |
| 105 | obtain ⟨eb⟩ := hb |
| 106 | exact M.points_eq_of_noetherian_classification Q hδ hN hM b c ⟨eb.trans e⟩ |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry |