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.AffineSpaceBaseChange |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.AffineIsomorphism |
| 3 | |
| 4 | /-! # Bundle Rank Zero -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.AffineSpace.BundleRankZero.Cycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! # LineBundleCycles: actual affine-space charts of a specified relative rank -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | def HasAffineSpaceChartsOfRank {E X : Scheme.{0}} (p : E ⟶ X) (r : ℕ) : Prop := |
| 17 | ∀ x : X, ∃ (U : Scheme.{0}) (i : U ⟶ X) (ι : Type) (_ : Finite ι) |
| 18 | (j : AffineSpace ι U ⟶ E), IsOpenImmersion i ∧ IsOpenImmersion j ∧ |
| 19 | x ∈ Set.range i ∧ IsPullback (AffineSpace ι U ↘ U) j i p ∧ Nat.card ι = r |
| 20 | |
| 21 | theorem HasAffineSpaceChartsOfRank.forget {E X : Scheme.{0}} {p : E ⟶ X} {r : ℕ} |
| 22 | (h : HasAffineSpaceChartsOfRank p r) : Affine.SpaceChartBaseChange.BundleCycles.HasAffineSpaceCharts p := by |
| 23 | intro x |
| 24 | obtain ⟨U, i, ι, hι, j, hi, hj, hx, hs, _⟩ := h x |
| 25 | exact ⟨U, i, ι, hι, j, hi, hj, hx, hs⟩ |
| 26 | |
| 27 | theorem HasAffineSpaceChartsOfRank.baseChange {E X Y : Scheme.{0}} {p : E ⟶ X} {r : ℕ} |
| 28 | (h : HasAffineSpaceChartsOfRank p r) (g : Y ⟶ X) : |
| 29 | HasAffineSpaceChartsOfRank (pullback.snd p g) r := by |
| 30 | intro y |
| 31 | obtain ⟨U, i, ι, hι, j, hi, hj, hy, hs, hr⟩ := h (g y) |
| 32 | let := hi |
| 33 | refine ⟨pullback g i, pullback.fst g i, ι, hι, |
| 34 | Affine.SpaceChartBaseChange.BundleCycles.affineSpaceChartBaseChangeMap p g i ι j hs, inferInstance, inferInstance, ?_, |
| 35 | Affine.SpaceChartBaseChange.BundleCycles.affineSpaceChartBaseChange_isPullback p g i ι j hs, hr⟩ |
| 36 | obtain ⟨u, hu⟩ := hy |
| 37 | obtain ⟨v, hv, _⟩ := Scheme.exists_preimage_of_isPullback (IsPullback.of_hasPullback g i) y u hu.symm |
| 38 | exact ⟨v, hv⟩ |
| 39 | |
| 40 | end |
| 41 | |
| 42 | /-! An actual affine-space bundle of rank zero is an isomorphism, |
| 43 | as follows from its cartesian affine-space charts over the base. -/ |
| 44 | |
| 45 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 46 | |
| 47 | theorem affineBundleRankZero_isIso {E X : Scheme.{0}} (p : E ⟶ X) (h : HasAffineSpaceChartsOfRank p 0) : |
| 48 | IsIso p := by |
| 49 | choose U i ι hι j hi hj hx hs hr using h |
| 50 | let C : X.OpenCover := Scheme.Cover.mkOfCovers X U i (fun x => ⟨x, hx x⟩) hi |
| 51 | apply Relative.AffineIsomorphism.BundleCycles.isIso_of_cover_pullbacks p C (fun x => AffineSpace (ι x) (U x)) j |
| 52 | (fun x => (AffineSpace (ι x) (U x) ↘ U x)) hs |
| 53 | intro x |
| 54 | let := hι x |
| 55 | let := Fintype.ofFinite (ι x) |
| 56 | let : IsEmpty (ι x) := Fintype.card_eq_zero_iff.mp (Nat.card_eq_fintype_card.symm.trans (hr x)) |
| 57 | exact inferInstanceAs (IsIso (AffineSpace (ι x) (U x) ↘ U x)) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Divisors.LineBundles.AffineSpace.BundleRankZero.Cycles |