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.Stable.BalancedFrameIndex |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.FrameOpenCover |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 4 | |
| 5 | /-! # Frame Coverage -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.FrameCoverage.StableHilbertCoverage |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Geometrically sparse, nonzero vector configurations are covered by |
| 12 | the actual stable balanced frame charts. The cover consists of the |
| 13 | principal opens of their existing determinant denominators. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped Classical |
| 17 | universe u |
| 18 | |
| 19 | variable {S : Scheme.{u}} {r m : ℕ} |
| 20 | |
| 21 | def frameDenominator (v : Fin m → Fin r → Γ(S, ⊤)) |
| 22 | (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} r m) : Γ(S, ⊤) := |
| 23 | Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) j.exponent |
| 24 | |
| 25 | theorem frameDenominator_map {A : Type u} [CommRing A] |
| 26 | (φ : Γ(S, ⊤) →+* A) (v : Fin m → Fin r → Γ(S, ⊤)) |
| 27 | (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} r m) : |
| 28 | φ (frameDenominator v j) = |
| 29 | Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ (fun z k => φ (v z k))) j.exponent := by |
| 30 | rw [frameDenominator, MonomialExponentExtension.exponentMonomial_map] |
| 31 | congr 1 |
| 32 | funext τ |
| 33 | exact LabeledDeterminantPolynomials.labeledDeterminant_map φ τ v |
| 34 | |
| 35 | variable (v : Fin m → Fin r → Γ(S, ⊤)) (hr : 2 ≤ r) (hm : 2 ≤ m) |
| 36 | (hnonzero : ∀ (K : Type u) [Field K] [IsAlgClosed K] (q : Spec (.of K) ⟶ S), |
| 37 | ∀ z, (fun k => Geometric.FrameOpenCover.fieldPointGlobalScalarMap q (v z k)) ≠ 0) |
| 38 | (hsparse : ∀ (K : Type u) [Field K] [IsAlgClosed K] (q : Spec (.of K) ⟶ S), |
| 39 | ∀ W : Submodule K (Fin r → K), W ≠ ⊤ → |
| 40 | r * (Finset.univ.filter (fun z => (fun k => Geometric.FrameOpenCover.fieldPointGlobalScalarMap q (v z k)) ∈ W)).card < m) |
| 41 | |
| 42 | include hr hm hnonzero hsparse in |
| 43 | theorem frameDenominators_cover (x : S) : |
| 44 | ∃ j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} r m, x ∈ S.basicOpen (frameDenominator v j) := by |
| 45 | let K := AlgebraicClosure (S.residueField x) |
| 46 | let q : Spec (.of K) ⟶ S := |
| 47 | Spec.map (CommRingCat.ofHom (algebraMap (S.residueField x) K)) ≫ S.fromSpecResidueField x |
| 48 | have hq : q (IsLocalRing.closedPoint K) = x := S.fromSpecResidueField_apply x _ |
| 49 | obtain ⟨j, hj⟩ := Stable.BalancedFrameIndex.sparseConfiguration_has_stableBalancedFrameIndex |
| 50 | (fun z k => Geometric.FrameOpenCover.fieldPointGlobalScalarMap q (v z k)) (hnonzero K q) hr hm (hsparse K q) |
| 51 | have hu : IsUnit (Geometric.FrameOpenCover.fieldPointGlobalScalarMap q (frameDenominator v j)) := by |
| 52 | rw [frameDenominator_map] |
| 53 | exact isUnit_iff_ne_zero.mpr hj |
| 54 | exact ⟨j, hq ▸ Geometric.FrameOpenCover.fieldPoint_mem_basicOpen_of_unit q _ hu⟩ |
| 55 | |
| 56 | def frameOpenCover : Scheme.OpenCover.{0} S where |
| 57 | I₀ := Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} r m |
| 58 | X j := (S.basicOpen (frameDenominator v j)).toScheme |
| 59 | f j := (S.basicOpen (frameDenominator v j)).ι |
| 60 | mem₀ := by |
| 61 | rw [Scheme.presieve₀_mem_precoverage_iff] |
| 62 | refine ⟨fun x => ?_, inferInstance⟩ |
| 63 | obtain ⟨j, hj⟩ := frameDenominators_cover v hr hm hnonzero hsparse x |
| 64 | exact ⟨j, ⟨⟨x, hj⟩, rfl⟩⟩ |
| 65 | |
| 66 | theorem frameOpenCover_denominator_unit (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} r m) : |
| 67 | IsUnit (Balanced.MonomialAlgebra.exponentMonomial |
| 68 | (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ (fun z k => |
| 69 | ((frameOpenCover v hr hm hnonzero hsparse).f j).appTop (v z k))) j.exponent) := by |
| 70 | let U := S.basicOpen (frameDenominator v j) |
| 71 | have hp : U.ι ⁻¹ᵁ S.basicOpen (frameDenominator v j) = ⊤ := by |
| 72 | ext x |
| 73 | exact iff_true_intro x.property |
| 74 | have hu : IsUnit (U.ι.appTop (frameDenominator v j)) := |
| 75 | (Scalar.Nonvanishing.global_isUnit_iff_basicOpen_eq_top _).mpr ((U.ι.preimage_basicOpen_top _).symm.trans hp) |
| 76 | exact (frameDenominator_map U.ι.appTop.hom v j) ▸ hu |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.FrameCoverage.StableHilbertCoverage |