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.SheafCohomology.Projective.GradedAugmentationBasisLift |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedNakayamaGeneration |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.HomogeneousPolynomialMatrix |
| 4 | |
| 5 | /-! # Graded Minimal Free Cover -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedMinimalFreeCover |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Lifts of the augmentation basis form a finite homogeneous free cover. -/ |
| 12 | |
| 13 | open DirectSum |
| 14 | universe u |
| 15 | variable {K : Type u} [Field K] {σ : Type} [Fintype σ] |
| 16 | |
| 17 | def augmentationFreeModule (D : HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule σ K) : |
| 18 | HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule σ K := by |
| 19 | letI := GradedAugmentationBasisLift.augmentationBasisIndexFintype D |
| 20 | exact { Carrier := GradedAugmentationBasisLift.AugmentationBasisIndex D →₀ MvPolynomial σ K |
| 21 | grading := HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading K (fun i : GradedAugmentationBasisLift.AugmentationBasisIndex D => i.1) } |
| 22 | |
| 23 | def augmentationFreeProjection (D : HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule σ K) : |
| 24 | (augmentationFreeModule D).Carrier →ₗ[MvPolynomial σ K] D.Carrier := |
| 25 | Finsupp.linearCombination (MvPolynomial σ K) (GradedAugmentationBasisLift.augmentationBasisLift D) |
| 26 | |
| 27 | theorem augmentationFreeProjection_single (D : HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule σ K) |
| 28 | (i : GradedAugmentationBasisLift.AugmentationBasisIndex D) : |
| 29 | augmentationFreeProjection D (Finsupp.single i 1) = GradedAugmentationBasisLift.augmentationBasisLift D i := by |
| 30 | erw [augmentationFreeProjection, Finsupp.linearCombination_single, one_smul] |
| 31 | |
| 32 | theorem augmentationFreeProjection_homogeneous (D : HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule σ K) |
| 33 | (d : ℤ) (x : (augmentationFreeModule D).Carrier) |
| 34 | (hx : x ∈ (augmentationFreeModule D).grading d) : |
| 35 | augmentationFreeProjection D x ∈ D.grading d := |
| 36 | HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFree_linearCombination_homogeneous K D.grading |
| 37 | (fun i : GradedAugmentationBasisLift.AugmentationBasisIndex D => i.1) (GradedAugmentationBasisLift.augmentationBasisLift D) |
| 38 | (GradedAugmentationBasisLift.augmentationBasisLift_homogeneous D) d x hx |
| 39 | |
| 40 | theorem augmentationFreeProjection_range_homogeneous (D : HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule σ K) : |
| 41 | (augmentationFreeProjection D).range.IsHomogeneous D.grading := by |
| 42 | intro d y hy |
| 43 | obtain ⟨x, rfl⟩ := hy |
| 44 | refine ⟨(decompose (augmentationFreeModule D).grading x d).val, ?_⟩ |
| 45 | exact HilbertScheme.Presentations.Graded.ModuleGenerators.GradedModules.map_homogeneous_component (augmentationFreeModule D).grading D.grading |
| 46 | (augmentationFreeProjection D).toAddMonoidHom (augmentationFreeProjection_homogeneous D) d x |
| 47 | |
| 48 | theorem augmentationFreeProjection_surjective (D : HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule σ K) : |
| 49 | Function.Surjective (augmentationFreeProjection D) := by |
| 50 | let P := (augmentationFreeProjection D).range |
| 51 | let I := GradedNakayama.polynomialAugmentationIdeal (R := K) (σ := σ) • |
| 52 | (⊤ : Submodule (MvPolynomial σ K) D.Carrier) |
| 53 | have hmap : P.map (GradedAugmentationBasisLift.augmentationProjection D) = ⊤ := by |
| 54 | have hb : Submodule.span K (Set.range (GradedAugmentationBasisLift.augmentationBasis D)) ≤ |
| 55 | (P.map (GradedAugmentationBasisLift.augmentationProjection D)).restrictScalars K := by |
| 56 | apply Submodule.span_le.mpr |
| 57 | rintro _ ⟨i, rfl⟩ |
| 58 | exact ⟨GradedAugmentationBasisLift.augmentationBasisLift D i, |
| 59 | ⟨Finsupp.single i 1, augmentationFreeProjection_single D i⟩, |
| 60 | GradedAugmentationBasisLift.augmentationProjection_basisLift D i⟩ |
| 61 | rw [Module.Basis.span_eq] at hb |
| 62 | exact top_unique hb |
| 63 | have hsup : I ⊔ P = ⊤ := (I.map_mkQ_eq_top P).mp hmap |
| 64 | have hP : P = ⊤ := GradedNakayamaGeneration.gradedPolynomial_eq_top_of_augmentation D P |
| 65 | (augmentationFreeProjection_range_homogeneous D) (by rw [sup_comm]; exact hsup) |
| 66 | exact LinearMap.range_eq_top.mp hP |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedMinimalFreeCover |