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.Albanese.Construction.Smooth |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.Coordinates |
| 3 | |
| 4 | /-! # Projective Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ProjectiveCover.Constructions.Products |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | open MonoidalCategory CartesianMonoidalCategory |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.Albanese.Construction.Smooth |
| 14 | |
| 15 | /-- The polynomial coordinate chart as a scheme over the complex base. -/ |
| 16 | abbrev polynomialChartOver (n : ℕ) (i : Fin (n + 1)) : Over Foundations.Scheme.ProjectiveSpace.complexBase := |
| 17 | Over.mk (Foundations.Scheme.ProjectiveChart.projectiveChartPolynomialToBase n i) |
| 18 | |
| 19 | /-- The actual chart inclusion over the complex base. -/ |
| 20 | def polynomialChartOverMap (n : ℕ) (i : Fin (n + 1)) : |
| 21 | polynomialChartOver n i ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) := |
| 22 | Over.homMk (Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n i) (Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap_over n i) |
| 23 | |
| 24 | instance polynomialChart_smooth (n : ℕ) (i : Fin (n + 1)) : |
| 25 | Smooth (polynomialChartOver n i).hom := by |
| 26 | change Smooth (Spec.map (CommRingCat.ofHom (MvPolynomial.C : ℂ →+* Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i))) |
| 27 | rw [HasRingHomProperty.Spec_iff (P := @Smooth)] |
| 28 | change (MvPolynomial.C : ℂ →+* Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i).Smooth |
| 29 | rw [← MvPolynomial.algebraMap_eq, RingHom.smooth_algebraMap] |
| 30 | exact {} |
| 31 | |
| 32 | /-- Every projective point lies in the image of an actual polynomial chart. -/ |
| 33 | theorem exists_polynomialChart_preimage (n : ℕ) (x : Foundations.Scheme.ProjectiveSpace.projectiveSpace n) : |
| 34 | ∃ (i : Fin (n + 1)) (y : (polynomialChartOver n i).left), |
| 35 | (polynomialChartOverMap n i).left y = x := by |
| 36 | obtain ⟨i, hi⟩ := Foundations.Scheme.ProjectiveCoordinateCover.exists_mem_projectiveCoordinateOpen n x |
| 37 | refine ⟨i, (Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec n i).hom ⟨x, hi⟩, ?_⟩ |
| 38 | change ((Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec n i).hom ≫ (Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec n i).inv ≫ |
| 39 | (Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i).ι) ⟨x, hi⟩ = x |
| 40 | simp |
| 41 | |
| 42 | /-- The finite polynomial-chart cover of projective space. -/ |
| 43 | def polynomialProjectiveCover (n : ℕ) : (Foundations.Scheme.ProjectiveSpace.projectiveSpace n).OpenCover := |
| 44 | Scheme.Cover.mkOfCovers (Fin (n + 1)) (fun i => (polynomialChartOver n i).left) |
| 45 | (fun i => (polynomialChartOverMap n i).left) (exists_polynomialChart_preimage n) |
| 46 | (fun i => inferInstanceAs (IsOpenImmersion (Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n i))) |
| 47 | |
| 48 | set_option backward.isDefEq.respectTransparency false in |
| 49 | /-- Projective space is smooth over the complex base, as checked on the |
| 50 | actual polynomial affine charts. -/ |
| 51 | theorem projectiveSpace_smooth (n : ℕ) : Smooth (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) := by |
| 52 | have : ∀ i, IsAffine ((polynomialProjectiveCover n).X i) := |
| 53 | fun i => inferInstanceAs (IsAffine (Spec (.of (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i)))) |
| 54 | apply HasRingHomProperty.of_source_openCover (P := @Smooth) (polynomialProjectiveCover n) |
| 55 | intro i |
| 56 | have h : Smooth (Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n i ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) := by |
| 57 | rw [Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap_over] |
| 58 | exact polynomialChart_smooth n i |
| 59 | exact HasRingHomProperty.appTop (P := @Smooth) _ h |
| 60 | |
| 61 | /-- The range of a product map is detected on both factors. -/ |
| 62 | theorem range_tensorHom {X X' Y Y' : Over Foundations.Scheme.ProjectiveSpace.complexBase} (a : X' ⟶ X) (b : Y' ⟶ Y) : |
| 63 | Set.range (a ⊗ₘ b).left = |
| 64 | (fst X Y).left ⁻¹' Set.range a.left ∩ (snd X Y).left ⁻¹' Set.range b.left := by |
| 65 | rw [Over.tensorHom_left, Scheme.Pullback.range_map] |
| 66 | rfl |
| 67 | |
| 68 | /-- Products of polynomial charts cover the product of projective spaces. -/ |
| 69 | def projectiveProductCover (m n : ℕ) : |
| 70 | (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m) ⊗ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n)).left.OpenCover := by |
| 71 | refine Scheme.Cover.mkOfCovers (Fin (m + 1) × Fin (n + 1)) |
| 72 | (fun ij => (polynomialChartOver m ij.1 ⊗ polynomialChartOver n ij.2).left) |
| 73 | (fun ij => (polynomialChartOverMap m ij.1 ⊗ₘ polynomialChartOverMap n ij.2).left) ?_ ?_ |
| 74 | · intro x |
| 75 | obtain ⟨i, u, hu⟩ := exists_polynomialChart_preimage m |
| 76 | ((fst (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n))).left x) |
| 77 | obtain ⟨j, v, hv⟩ := exists_polynomialChart_preimage n |
| 78 | ((snd (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n))).left x) |
| 79 | have hx : x ∈ Set.range (polynomialChartOverMap m i ⊗ₘ polynomialChartOverMap n j).left := by |
| 80 | rw [range_tensorHom] |
| 81 | exact ⟨⟨u, hu⟩, ⟨v, hv⟩⟩ |
| 82 | exact ⟨(i, j), hx⟩ |
| 83 | · intro ij |
| 84 | rw [Over.tensorHom_left] |
| 85 | have : IsOpenImmersion (polynomialChartOverMap m ij.1).left := |
| 86 | inferInstanceAs (IsOpenImmersion (Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap m ij.1)) |
| 87 | have : IsOpenImmersion (polynomialChartOverMap n ij.2).left := |
| 88 | inferInstanceAs (IsOpenImmersion (Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n ij.2)) |
| 89 | infer_instance |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.CycleClass.Thom.ProjectiveCover.Constructions.Products |