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.Divisors.LineBundles.Projective.CoordinateSectionMap |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.RegularRestriction |
| 3 | |
| 4 | /-! # Linear Chart Basis -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.LinearChartBasis.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Affine subopens of linear projective charts give a genuine |
| 11 | basis, with compatible restricted homogeneous coordinate fractions. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | |
| 15 | variable {A σ : Type} [CommRing A] [SetLike σ A] [AddSubgroupClass σ A] |
| 16 | (𝒜 : ℕ → σ) [GradedRing 𝒜] |
| 17 | |
| 18 | def projectiveLinearChartBasis : Set (Proj 𝒜).Opens := |
| 19 | {U | IsAffineOpen U ∧ ∃ v : A, v ∈ 𝒜 1 ∧ U ≤ Proj.basicOpen 𝒜 v} |
| 20 | |
| 21 | theorem projectiveLinearChartBasis_isBasis |
| 22 | (hcover : ∀ x : Proj 𝒜, ∃ v : A, v ∈ 𝒜 1 ∧ x ∈ Proj.basicOpen 𝒜 v) : |
| 23 | Opens.IsBasis (projectiveLinearChartBasis 𝒜) := by |
| 24 | apply Opens.isBasis_iff_nbhd.mpr |
| 25 | intro U x hx |
| 26 | obtain ⟨v, hv, hxv⟩ := hcover x |
| 27 | obtain ⟨V, hV, hxV, hVU⟩ := exists_isAffineOpen_mem_and_subset (show x ∈ U ⊓ Proj.basicOpen 𝒜 v from ⟨hx, hxv⟩) |
| 28 | exact ⟨V, ⟨hV, v, hv, hVU.trans inf_le_right⟩, hxV, hVU.trans inf_le_left⟩ |
| 29 | |
| 30 | def projectiveLinearChartDenominator (U : projectiveLinearChartBasis 𝒜) : A := U.2.2.choose |
| 31 | |
| 32 | theorem projectiveLinearChartDenominator_degree (U : projectiveLinearChartBasis 𝒜) : |
| 33 | projectiveLinearChartDenominator 𝒜 U ∈ 𝒜 1 := U.2.2.choose_spec.1 |
| 34 | |
| 35 | theorem projectiveLinearChartDenominator_bound (U : projectiveLinearChartBasis 𝒜) : |
| 36 | U.1 ≤ Proj.basicOpen 𝒜 (projectiveLinearChartDenominator 𝒜 U) := U.2.2.choose_spec.2 |
| 37 | |
| 38 | def projectiveLinearChartSection (t : A) (ht : t ∈ 𝒜 1) (U : projectiveLinearChartBasis 𝒜) : Γ(Proj 𝒜, U.1) := |
| 39 | (Proj 𝒜).presheaf.map (homOfLE (projectiveLinearChartDenominator_bound 𝒜 U)).op |
| 40 | (CoordinateSectionMap.BundleCycles.projectiveCoordinateSection 𝒜 (projectiveLinearChartDenominator 𝒜 U) t |
| 41 | (projectiveLinearChartDenominator_degree 𝒜 U) ht) |
| 42 | |
| 43 | theorem projectiveLinearChartSection_regular (t : A) (ht : t ∈ 𝒜 1) (hreg : IsRegular t) |
| 44 | (U : projectiveLinearChartBasis 𝒜) : IsRegular (projectiveLinearChartSection 𝒜 t ht U) := |
| 45 | Affine.RegularRestriction.BundleCycles.affineRestriction_regular |
| 46 | ⟨Proj.basicOpen 𝒜 (projectiveLinearChartDenominator 𝒜 U), |
| 47 | Proj.isAffineOpen_basicOpen 𝒜 _ (projectiveLinearChartDenominator_degree 𝒜 U) (by decide)⟩ |
| 48 | ⟨U.1, U.2.1⟩ (projectiveLinearChartDenominator_bound 𝒜 U) _ |
| 49 | (CoordinateSectionMap.BundleCycles.projectiveCoordinateSection_regular 𝒜 _ t (projectiveLinearChartDenominator_degree 𝒜 U) ht hreg) |
| 50 | |
| 51 | theorem projectiveLinearChartSection_cross (t u : A) (ht : t ∈ 𝒜 1) (hu : u ∈ 𝒜 1) |
| 52 | (U V : projectiveLinearChartBasis 𝒜) (h : U.1 ≤ V.1) : |
| 53 | projectiveLinearChartSection 𝒜 t ht U * (Proj 𝒜).presheaf.map (homOfLE h).op (projectiveLinearChartSection 𝒜 u hu V) = |
| 54 | projectiveLinearChartSection 𝒜 u hu U * (Proj 𝒜).presheaf.map (homOfLE h).op (projectiveLinearChartSection 𝒜 t ht V) := by |
| 55 | have hr (a : Γ(Proj 𝒜, Proj.basicOpen 𝒜 (projectiveLinearChartDenominator 𝒜 V))) : |
| 56 | (Proj 𝒜).presheaf.map (homOfLE h).op |
| 57 | ((Proj 𝒜).presheaf.map (homOfLE (projectiveLinearChartDenominator_bound 𝒜 V)).op a) = |
| 58 | (Proj 𝒜).presheaf.map (homOfLE (h.trans (projectiveLinearChartDenominator_bound 𝒜 V))).op a := by |
| 59 | rw [← ConcreteCategory.comp_apply, ← Functor.map_comp] |
| 60 | rfl |
| 61 | unfold projectiveLinearChartSection |
| 62 | rw [hr, hr] |
| 63 | exact CoordinateSectionMap.BundleCycles.projectiveCoordinateSection_cross 𝒜 _ _ t u (projectiveLinearChartDenominator_degree 𝒜 U) |
| 64 | (projectiveLinearChartDenominator_degree 𝒜 V) ht hu U.1 |
| 65 | (projectiveLinearChartDenominator_bound 𝒜 U) (h.trans (projectiveLinearChartDenominator_bound 𝒜 V)) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.LinearChartBasis.BundleCycles |