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.SymmetricInfinity.RestrictedEquiv |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Free.InfinityCharts |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.BasisHyperplane |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Free.SymmetricProjectiveChowInjective |
| 5 | |
| 6 | /-! # Restricted Chart -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SymmetricInfinity.RestrictedChart.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! On the projective spectrum of a nonzero free module, the |
| 13 | actual restricted infinity ideal has genuine free infinity charts. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | variable {R M ι : Type} [CommRing R] [AddCommGroup M] [Module R M] [Fintype ι] |
| 18 | (basis : Module.Basis ι R M) (i : ι) |
| 19 | |
| 20 | def symmetricInfinityRestriction_freeChart (x : Spec (.of R)) : |
| 21 | Free.ProjectiveInfinityChart.BundleCycles.FreeProjectiveInfinityChart (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R M) |
| 22 | ((Bundle.Cycles.symmetricInfinityIdealLineBundle R M).pullback (Inclusion.BundleCycles.symmetricInfinityInclusion R M)) x := by |
| 23 | classical |
| 24 | let N := {j : ι // j ≠ i} → R |
| 25 | let e := BasisCoordinateSplit.BundleCycles.basisCoordinateSplit basis i |
| 26 | exact { |
| 27 | coefficient := .of R |
| 28 | module := ModuleCat.of R N |
| 29 | rank := Fintype.card {j : ι // j ≠ i} |
| 30 | basis := (Pi.basisFun R {j : ι // j ≠ i}).reindex (Fintype.equivFin _) |
| 31 | baseMap := 𝟙 _ |
| 32 | totalMap := (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveIso e).inv |
| 33 | open_base := inferInstance |
| 34 | open_total := inferInstance |
| 35 | contains := ⟨x, rfl⟩ |
| 36 | square := IsPullback.of_vert_isIso ⟨by |
| 37 | rw [Category.comp_id] |
| 38 | exact (SymmetricProjective.Base.BundleCycles.symmetricProjectiveMap_over e.toLinearMap e.surjective).symm⟩ |
| 39 | idealIso := RestrictedEquiv.BundleCycles.symmetricInfinityRestriction_splitIso e } |
| 40 | |
| 41 | theorem symmetricInfinityRestriction_freeChart_rank (x : Spec (.of R)) : |
| 42 | (symmetricInfinityRestriction_freeChart basis i x).rank = Nat.card ι - 1 := by |
| 43 | classical |
| 44 | change Fintype.card {j : ι // j ≠ i} = Nat.card ι - 1 |
| 45 | exact Nat.card_eq_fintype_card.symm.trans (Free.SymmetricProjectiveChowInjective.BundleCycles.finiteBasisComplement_card i) |
| 46 | |
| 47 | omit i in |
| 48 | include basis in |
| 49 | theorem symmetricInfinityRestriction_hasFreeChartsOfRank [Nonempty ι] : |
| 50 | Free.InfinityCharts.BundleCycles.HasFreeProjectiveInfinityChartsOfRank (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R M) |
| 51 | ((Bundle.Cycles.symmetricInfinityIdealLineBundle R M).pullback (Inclusion.BundleCycles.symmetricInfinityInclusion R M)) (Nat.card ι - 1) := by |
| 52 | let i : ι := Classical.choice inferInstance |
| 53 | intro x |
| 54 | exact ⟨symmetricInfinityRestriction_freeChart basis i x, symmetricInfinityRestriction_freeChart_rank basis i x⟩ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SymmetricInfinity.RestrictedChart.BundleCycles |