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.Generated.DegreeFlatRank |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.DegreeProjection |
| 3 | |
| 4 | /-! # Degree Affine Lifting -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.DegreeAffineLifting |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The single Grassmann projection has an exact affine lifting criterion in terms of finitely many actual degree quotients. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} {n B N : ℕ} {r : ℕ → ℕ} (hN : N ≤ B) |
| 17 | variable (R : CommRingCat.{u}) (f : Spec R ⟶ S) |
| 18 | |
| 19 | def generatedDegreeAffinePointEquiv : |
| 20 | {Q : Module.Grassmannian R (MvPolynomial.homogeneousSubmodule (Fin (n + 1)) R N) (r N) // |
| 21 | DegreeFlatRank.GeneratedDegreeFlatRank (B := B) Q} ≃ |
| 22 | (Over.mk f ⟶ Truncated.GeneratedParameters.truncatedGeneratedParameters S n B r N) := |
| 23 | (DegreeFlatRank.generatedDegreeFlatRankEquiv hN).symm.trans (Truncated.GeneratedParameters.truncatedGeneratedAffinePointEquiv R f) |
| 24 | |
| 25 | theorem generatedDegreeAffinePointEquiv_projection |
| 26 | (Q : {Q : Module.Grassmannian R (MvPolynomial.homogeneousSubmodule (Fin (n + 1)) R N) (r N) // |
| 27 | DegreeFlatRank.GeneratedDegreeFlatRank (B := B) Q}) : |
| 28 | generatedDegreeAffinePointEquiv hN R f Q ≫ DegreeProjection.truncatedGeneratedDegreeProjection S n B r N hN = |
| 29 | Homogeneous.QuotientParameters.homogeneousQuotientAffinePointEquiv.{u, 0} (Fin (n + 1)) N (r N) R f Q.val := by |
| 30 | change Truncated.GeneratedParameters.truncatedGeneratedAffinePointEquiv R f |
| 31 | ⟨DegreeFlatRank.generatedDegreeData Q.val Q.property, DegreeFlatRank.generatedDegreeData_generated Q.val Q.property⟩ ≫ |
| 32 | (Truncated.GeneratedParameters.truncatedGeneratedInclusion S n B r N ≫ |
| 33 | Truncated.GradedParameters.truncatedGradedProjection (Fin (n + 1)) B r S ⟨N, Nat.lt_succ_of_le hN⟩) = _ |
| 34 | rw [← Category.assoc, Truncated.GeneratedParameters.truncatedGeneratedAffinePointEquiv_inclusion, |
| 35 | Truncated.GradedClassification.TruncatedGradedQuotientData.classifyingMap_projection, DegreeFlatRank.generatedDegreeData_at _ _ hN] |
| 36 | |
| 37 | theorem generatedDegreeProjection_flatRank |
| 38 | (x : Over.mk f ⟶ Truncated.GeneratedParameters.truncatedGeneratedParameters S n B r N) : |
| 39 | DegreeFlatRank.GeneratedDegreeFlatRank (B := B) |
| 40 | ((Homogeneous.QuotientParameters.homogeneousQuotientAffinePointEquiv.{u, 0} (Fin (n + 1)) N (r N) R f).symm |
| 41 | (x ≫ DegreeProjection.truncatedGeneratedDegreeProjection S n B r N hN)) := by |
| 42 | let j := Truncated.GeneratedParameters.truncatedGeneratedInclusion S n B r N |
| 43 | let d : Fin (B + 1) := ⟨N, Nat.lt_succ_of_le hN⟩ |
| 44 | let p := Truncated.GradedParameters.truncatedGradedProjection (Fin (n + 1)) B r S d |
| 45 | have he : x ≫ DegreeProjection.truncatedGeneratedDegreeProjection S n B r N hN = (x ≫ j) ≫ p := |
| 46 | (Category.assoc x j p).symm |
| 47 | rw [he] |
| 48 | exact (Truncated.GradedRepresentation.truncatedGradedPointData (x ≫ j)).generatingQuotient_flatRank hN |
| 49 | (Truncated.GeneratedParameters.truncatedGeneratedPoint_condition x) |
| 50 | |
| 51 | theorem generatedDegreeProjection_affine_lift_iff |
| 52 | (q : Over.mk f ⟶ Homogeneous.QuotientParameters.homogeneousQuotientParameterScheme.{u, 0} (Fin (n + 1)) N (r N) S) : |
| 53 | DegreeFlatRank.GeneratedDegreeFlatRank (B := B) |
| 54 | ((Homogeneous.QuotientParameters.homogeneousQuotientAffinePointEquiv.{u, 0} (Fin (n + 1)) N (r N) R f).symm q) ↔ |
| 55 | ∃! x : Over.mk f ⟶ Truncated.GeneratedParameters.truncatedGeneratedParameters S n B r N, |
| 56 | x ≫ DegreeProjection.truncatedGeneratedDegreeProjection S n B r N hN = q := by |
| 57 | constructor |
| 58 | · intro hq |
| 59 | let Q := (Homogeneous.QuotientParameters.homogeneousQuotientAffinePointEquiv.{u, 0} (Fin (n + 1)) N (r N) R f).symm q |
| 60 | let x := generatedDegreeAffinePointEquiv hN R f ⟨Q, hq⟩ |
| 61 | have hx : x ≫ DegreeProjection.truncatedGeneratedDegreeProjection S n B r N hN = q := |
| 62 | (generatedDegreeAffinePointEquiv_projection hN R f ⟨Q, hq⟩).trans |
| 63 | ((Homogeneous.QuotientParameters.homogeneousQuotientAffinePointEquiv.{u, 0} (Fin (n + 1)) N (r N) R f).apply_symm_apply q) |
| 64 | exact ⟨x, hx, fun y hy => DegreeProjection.truncatedGeneratedDegreeProjection_affine_injective hN (hy.trans hx.symm)⟩ |
| 65 | · rintro ⟨x, hx, _⟩ |
| 66 | have h := generatedDegreeProjection_flatRank hN R f x |
| 67 | rwa [hx] at h |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.DegreeAffineLifting |