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.HilbertConstruction.VariableGraphLevelRecovery |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GraphPower.LocusPresentation |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GraphPower.EnhancementTransportIso |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GraphPower.EnhancementNormalization |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarized.ArbitraryBaseProjectivity |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.UnitDegreeEmbedding |
| 7 | |
| 8 | /-! # Degree Polarized Noetherian Model -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Arbitrary affine polarized families descend to actual Noetherian |
| 15 | families using graph embeddings whose degree is a unit on the original base. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | variable {R : Type} [CommRing R] [IsNoetherianRing R] |
| 20 | {S : Scheme.{0}} {g N : ℕ} {δ : Fin g → ℕ} |
| 21 | |
| 22 | theorem PolarizationData.PolarizedAbelianWithFullLevel.exists_noetherianModel_of_unitDegreeGraphEmbedding |
| 23 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 24 | (q : S ⟶ Spec (.of R)) (hg : 0 < g) (hδ : ∀ i, 0 < δ i) |
| 25 | (hN : 3 ≤ N) (hNR : IsUnit (N : R)) |
| 26 | (Φ : ∀ d : ℕ, 0 < d → IsUnit (d : R) → GraphPower.LocusPresentation.GraphPowerLocusFactory R g N d δ) |
| 27 | (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding A.graphBundle A.abelian.scheme.hom) |
| 28 | (hE : IsUnit (E.degree : R)) : |
| 29 | ∃ M : Over (Spec (.of R)), IsNoetherian M.left ∧ |
| 30 | ∃ B : PolarizationData.PolarizedAbelianWithFullLevel g δ N M.left, |
| 31 | ∃ t : Over.mk q ⟶ M, Nonempty (Moduli.Isomorphisms.LevelPreservingIso A (B.pullback t.left)) := by |
| 32 | let : NeZero N := ⟨by omega⟩ |
| 33 | have hunit : IsUnit (N : Γ(S, ⊤)) := by |
| 34 | simpa only [map_natCast] using hNR.map (Coefficient.ModulePresheaf.schemeCoefficientMap q) |
| 35 | let M := VariableGraphLevelRecovery.VariableGraphLevel.parameter (Spec (.of R)) A E |
| 36 | let F := VariableGraphLevelRecovery.VariableGraphLevel.universalFamily (Spec (.of R)) A E |
| 37 | let P := VariableGraphLevelRecovery.VariableGraphLevel.projective (Spec (.of R)) A E |
| 38 | let x := VariableGraphLevelRecovery.VariableGraphLevel.point (Spec (.of R)) A hg hN hunit E q |
| 39 | let e := VariableGraphLevelRecovery.VariableGraphLevel.recovery (Spec (.of R)) A hg hN hunit E q |
| 40 | let F₀ : Level.Data.AbelianSchemeWithFullLevel g N S := ⟨A.abelian, A.level⟩ |
| 41 | let H₀ : GraphPower.PolarizationEnhancementData.GraphPowerPolarizationEnhancement δ F₀ (A.graphBundle.tensorPower E.degree) E.degree := |
| 42 | ⟨A.dual, A.polarization, ⟨Iso.refl _⟩⟩ |
| 43 | have he : Line.Bundles.LineBundle.pullbackClass e.hom.left |
| 44 | (Line.Bundles.LineBundle.classOf (P.ampleLineBundle.pullback |
| 45 | (pullback.fst F.abelian.scheme.hom x.left))) = |
| 46 | Line.Bundles.LineBundle.classOf (A.graphBundle.tensorPower E.degree) := |
| 47 | Quotient.sound ⟨VariableGraphLevelRecovery.VariableGraphLevel.recoveryGraphPowerIso (Spec (.of R)) A hg hN hunit E q⟩ |
| 48 | have hl : F₀.level.transport e = (F.pullback x.left).level := |
| 49 | VariableGraphLevelRecovery.VariableGraphLevel.recovery_level (Spec (.of R)) A hg hN hunit E q |
| 50 | let H₁ : GraphPower.PolarizationEnhancementData.GraphPowerPolarizationEnhancement δ (F.pullback x.left) |
| 51 | (P.ampleLineBundle.pullback (pullback.fst F.abelian.scheme.hom x.left)) E.degree := |
| 52 | H₀.transportFamily e he |
| 53 | let H := H₁.normalizeParameter x.left |
| 54 | have hA : A.classOf = H.object.classOf := |
| 55 | (A.classOf_eq_iff H.object).mpr ⟨H₀.transportFamilyModuliIso e he hl⟩ |
| 56 | let D := Φ E.degree E.degree_pos hE M F P |
| 57 | obtain ⟨z, hz⟩ := (D.lifts_iff (Over.mk q) x).mpr ⟨H⟩ |
| 58 | let B := D.universalFamily |
| 59 | have hclass := D.universalFamily_classifies E.degree_pos hδ z |
| 60 | rw [hz] at hclass |
| 61 | have hzclass : (B.pullback z.left).classOf = H.object.classOf := hclass H |
| 62 | exact ⟨D.parameter, (D.quasiProjective (VariableGraphLevelRecovery.VariableGraphLevel.quasiProjective |
| 63 | (Spec (.of R)) A E)).noetherian, B, z, |
| 64 | (A.classOf_eq_iff (B.pullback z.left)).mp (hA.trans hzclass.symm)⟩ |
| 65 | |
| 66 | theorem PolarizationData.PolarizedAbelianWithFullLevel.exists_noetherianModel_over_spec |
| 67 | (C : CommRingCat) (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec C)) |
| 68 | (q : Spec C ⟶ Spec (.of R)) (hg : 0 < g) (hδ : ∀ i, 0 < δ i) |
| 69 | (hN : 3 ≤ N) (hNR : IsUnit (N : R)) |
| 70 | (Φ : ∀ d : ℕ, 0 < d → IsUnit (d : R) → GraphPower.LocusPresentation.GraphPowerLocusFactory R g N d δ) : |
| 71 | ∃ M : Over (Spec (.of R)), IsNoetherian M.left ∧ |
| 72 | ∃ B : PolarizationData.PolarizedAbelianWithFullLevel g δ N M.left, |
| 73 | ∃ t : Over.mk q ⟶ M, Nonempty (Moduli.Isomorphisms.LevelPreservingIso A (B.pullback t.left)) := by |
| 74 | obtain ⟨k, E, hE⟩ := A.graphBundle_isAmple_of_affine.exists_powerDegreeEmbedding |
| 75 | (f := A.abelian.scheme.hom) N (by omega) |
| 76 | have hunit : IsUnit (E.degree : R) := by |
| 77 | rw [hE, Nat.cast_pow] |
| 78 | exact hNR.pow k |
| 79 | exact A.exists_noetherianModel_of_unitDegreeGraphEmbedding q hg hδ hN hNR Φ E hunit |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |