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.SymmetricProjective.Integral |
| 2 | |
| 3 | /-! # Finite Basis Iterated Equiv -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.FiniteBasisIteratedEquiv.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Explicit iterated augmentation supplies finite free modules |
| 12 | of each positive rank, with actual bases and projective charts. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | def iteratedAugmentedModule (R : Type) : ℕ → Type |
| 17 | | 0 => R |
| 18 | | n + 1 => R × iteratedAugmentedModule R n |
| 19 | |
| 20 | instance iteratedAugmentedModule_addCommGroup (R : Type) [CommRing R] : |
| 21 | (n : ℕ) → AddCommGroup (BundleCycles.iteratedAugmentedModule R n) |
| 22 | | 0 => inferInstanceAs (AddCommGroup R) |
| 23 | | n + 1 => by |
| 24 | let := iteratedAugmentedModule_addCommGroup R n |
| 25 | exact inferInstanceAs (AddCommGroup (R × BundleCycles.iteratedAugmentedModule R n)) |
| 26 | |
| 27 | instance iteratedAugmentedModule_module (R : Type) [CommRing R] : |
| 28 | (n : ℕ) → Module R (BundleCycles.iteratedAugmentedModule R n) |
| 29 | | 0 => inferInstanceAs (Module R R) |
| 30 | | n + 1 => by |
| 31 | let := iteratedAugmentedModule_module R n |
| 32 | exact inferInstanceAs (Module R (R × BundleCycles.iteratedAugmentedModule R n)) |
| 33 | |
| 34 | def iteratedAugmentedIndex : ℕ → Type |
| 35 | | 0 => Unit |
| 36 | | n + 1 => Unit ⊕ iteratedAugmentedIndex n |
| 37 | |
| 38 | instance iteratedAugmentedIndex_fintype : (n : ℕ) → Fintype (BundleCycles.iteratedAugmentedIndex n) |
| 39 | | 0 => inferInstanceAs (Fintype Unit) |
| 40 | | n + 1 => by |
| 41 | let := iteratedAugmentedIndex_fintype n |
| 42 | exact inferInstanceAs (Fintype (Unit ⊕ BundleCycles.iteratedAugmentedIndex n)) |
| 43 | |
| 44 | instance iteratedAugmentedIndex_nonempty : (n : ℕ) → Nonempty (BundleCycles.iteratedAugmentedIndex n) |
| 45 | | 0 => ⟨()⟩ |
| 46 | | _ + 1 => ⟨Sum.inl ()⟩ |
| 47 | |
| 48 | def iteratedAugmentedBasis (R : Type) [CommRing R] : |
| 49 | (n : ℕ) → Module.Basis (BundleCycles.iteratedAugmentedIndex n) R (BundleCycles.iteratedAugmentedModule R n) |
| 50 | | 0 => Module.Basis.singleton Unit R |
| 51 | | n + 1 => (Module.Basis.singleton Unit R).prod (iteratedAugmentedBasis R n) |
| 52 | |
| 53 | theorem iteratedAugmentedIndex_card (n : ℕ) : Nat.card (BundleCycles.iteratedAugmentedIndex n) = n + 1 := by |
| 54 | induction n with |
| 55 | | zero => exact Nat.card_eq_fintype_card.trans rfl |
| 56 | | succ n ih => |
| 57 | change Nat.card (Unit ⊕ BundleCycles.iteratedAugmentedIndex n) = (n + 1) + 1 |
| 58 | rw [Nat.card_sum, Nat.card_unique, ih] |
| 59 | omega |
| 60 | |
| 61 | instance iteratedAugmentedModule_finite (R : Type) [CommRing R] (n : ℕ) : |
| 62 | Module.Finite R (BundleCycles.iteratedAugmentedModule R n) := Module.Finite.of_basis (BundleCycles.iteratedAugmentedBasis R n) |
| 63 | |
| 64 | theorem iteratedProjective_sourceCharts (R : Type) [CommRing R] (n : ℕ) : |
| 65 | AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (BundleCycles.iteratedAugmentedModule R n)) n := by |
| 66 | have h := Symmetric.BasisAffineChart.BundleCycles.symmetricProjective_hasAffineSpaceSourceChartsOfRank (BundleCycles.iteratedAugmentedBasis R n) |
| 67 | rw [iteratedAugmentedIndex_card, Nat.add_sub_cancel] at h |
| 68 | exact h |
| 69 | |
| 70 | instance iteratedProjective_smooth (R : Type) [CommRing R] (n : ℕ) : |
| 71 | Smooth (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (BundleCycles.iteratedAugmentedModule R n)) := |
| 72 | (iteratedProjective_sourceCharts R n).forget.smooth |
| 73 | |
| 74 | instance iteratedProjective_geometricallyIntegral (R : Type) [CommRing R] (n : ℕ) : |
| 75 | GeometricallyIntegral (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (BundleCycles.iteratedAugmentedModule R n)) := |
| 76 | SymmetricProjective.IntegralFibers.BundleCycles.symmetricProjective_geometricallyIntegral (BundleCycles.iteratedAugmentedBasis R n) |
| 77 | |
| 78 | instance iteratedAugmentedProjective_smooth (R : Type) [CommRing R] (n : ℕ) : |
| 79 | Smooth (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (R × BundleCycles.iteratedAugmentedModule R n)) := |
| 80 | iteratedProjective_smooth R (n + 1) |
| 81 | |
| 82 | instance iteratedAugmentedProjective_geometricallyIntegral (R : Type) [CommRing R] (n : ℕ) : |
| 83 | GeometricallyIntegral (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (R × BundleCycles.iteratedAugmentedModule R n)) := |
| 84 | iteratedProjective_geometricallyIntegral R (n + 1) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | /-! A finite basis gives an actual linear isomorphism to the |
| 89 | explicit iterated augmented module of the same positive rank. -/ |
| 90 | |
| 91 | def finiteBasisIteratedEquiv {R M ι : Type} [CommRing R] [AddCommGroup M] [Module R M] |
| 92 | [Fintype ι] (b : Module.Basis ι R M) (n : ℕ) (hn : Nat.card ι = n + 1) : |
| 93 | M ≃ₗ[R] BundleCycles.iteratedAugmentedModule R n := |
| 94 | b.equiv (BundleCycles.iteratedAugmentedBasis R n) (Fintype.equivOfCardEq (by |
| 95 | rw [← Nat.card_eq_fintype_card, ← Nat.card_eq_fintype_card, hn, iteratedAugmentedIndex_card])) |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.Divisors.LineBundles.FiniteBasisIteratedEquiv.BundleCycles |