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.Free.ProjectiveInfinityChart |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Augmented.BasisSourceCharts |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Global.DeformationProperties |
| 4 | |
| 5 | /-! # Infinity Charts -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.Divisors.LineBundles.Free.InfinityCharts.BundleCycles |
| 12 | open _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory |
| 14 | section |
| 15 | |
| 16 | /-! Actual finite free projective charts transfer target-local |
| 17 | geometric properties to the global projection. -/ |
| 18 | |
| 19 | theorem freeInfinityCharts_property (P : MorphismProperty Scheme.{0}) [IsZariskiLocalAtTarget P] |
| 20 | (hP : ∀ (R M ι : Type) [CommRing R] [AddCommGroup M] [Module R M] [Fintype ι], |
| 21 | Module.Basis ι R M → P (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (R × M))) |
| 22 | {E X : Scheme.{0}} (p : E ⟶ X) (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E) (H : ProjectiveInfinityChart.BundleCycles.HasFreeProjectiveInfinityCharts p L) : P p := by |
| 23 | let C (x : X) := Classical.choice (H x) |
| 24 | let V : X.OpenCover := Scheme.Cover.mkOfCovers X (fun x => Spec (C x).coefficient) |
| 25 | (fun x => (C x).baseMap) (fun x => ⟨x, (C x).contains⟩) (fun x => (C x).open_base) |
| 26 | exact Global.DeformationProperties.BundleCycles.morphismProperty_of_cover_pullbacks P p V |
| 27 | (fun x => SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme (C x).coefficient ((C x).coefficient × (C x).module)) |
| 28 | (fun x => (C x).totalMap) |
| 29 | (fun x => SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase (C x).coefficient ((C x).coefficient × (C x).module)) |
| 30 | (fun x => (C x).square) (fun x => hP (C x).coefficient (C x).module (Fin (C x).rank) (C x).basis) |
| 31 | |
| 32 | theorem freeInfinityCharts_smooth {E X : Scheme.{0}} (p : E ⟶ X) (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E) |
| 33 | (H : ProjectiveInfinityChart.BundleCycles.HasFreeProjectiveInfinityCharts p L) : Smooth p := by |
| 34 | let : IsZariskiLocalAtTarget (@Smooth.{0}) := HasRingHomProperty.instIsZariskiLocalAtTarget _ |
| 35 | exact freeInfinityCharts_property (@Smooth) (fun _R _M _ι _ _ _ _ b => |
| 36 | (Augmented.BasisSourceCharts.BundleCycles.symmetricAugmentedBasis_sourceCharts b).forget.smooth) p L H |
| 37 | |
| 38 | theorem freeInfinityCharts_geometricallyIntegral {E X : Scheme.{0}} (p : E ⟶ X) (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E) |
| 39 | (H : ProjectiveInfinityChart.BundleCycles.HasFreeProjectiveInfinityCharts p L) : GeometricallyIntegral p := |
| 40 | freeInfinityCharts_property (@GeometricallyIntegral) |
| 41 | (fun _R _M _ι _ _ _ _ b => Augmented.BasisSourceCharts.BundleCycles.symmetricAugmentedBasis_geometricallyIntegral b) p L H |
| 42 | |
| 43 | end |
| 44 | |
| 45 | /-! A specified constant rank of actual projective infinity |
| 46 | charts gives source affine-space charts of that same rank. -/ |
| 47 | |
| 48 | def HasFreeProjectiveInfinityChartsOfRank {E X : Scheme.{0}} (p : E ⟶ X) (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E) (r : ℕ) : Prop := |
| 49 | ∀ x : X, ∃ C : ProjectiveInfinityChart.BundleCycles.FreeProjectiveInfinityChart p L x, C.rank = r |
| 50 | |
| 51 | theorem HasFreeProjectiveInfinityChartsOfRank.forget {E X : Scheme.{0}} |
| 52 | {p : E ⟶ X} {L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E} {r : ℕ} (H : HasFreeProjectiveInfinityChartsOfRank p L r) : |
| 53 | ProjectiveInfinityChart.BundleCycles.HasFreeProjectiveInfinityCharts p L := by |
| 54 | intro x |
| 55 | obtain ⟨C, _⟩ := H x |
| 56 | exact ⟨C⟩ |
| 57 | |
| 58 | theorem HasFreeProjectiveInfinityChartsOfRank.sourceCharts {E X : Scheme.{0}} |
| 59 | {p : E ⟶ X} {L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E} {r : ℕ} (H : HasFreeProjectiveInfinityChartsOfRank p L r) : |
| 60 | AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank p r := by |
| 61 | intro y |
| 62 | obtain ⟨C, hC⟩ := H (p y) |
| 63 | obtain ⟨x, hx⟩ := C.contains |
| 64 | obtain ⟨a, ha, hay⟩ := Scheme.exists_preimage_of_isPullback C.square x y hx |
| 65 | have hq : AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank |
| 66 | (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase C.coefficient (C.coefficient × C.module)) r := by |
| 67 | have h := Augmented.BasisSourceCharts.BundleCycles.symmetricAugmentedBasis_sourceCharts C.basis |
| 68 | rw [Nat.card_fin, hC] at h |
| 69 | exact h |
| 70 | obtain ⟨U, i, ι, hι, j, hi, hj, haU, hs, hr⟩ := hq a |
| 71 | let := hi |
| 72 | let := hj |
| 73 | refine ⟨U, i ≫ C.baseMap, ι, hι, j ≫ C.totalMap, inferInstance, inferInstance, ?_, ?_, hr⟩ |
| 74 | · obtain ⟨a', ha'⟩ := haU |
| 75 | exact ⟨a', (congrArg C.totalMap ha').trans hay⟩ |
| 76 | · rw [← Category.assoc, hs, Category.assoc, C.square.w, Category.assoc] |
| 77 | |
| 78 | end AlgebraicGeometry.Divisors.LineBundles.Free.InfinityCharts.BundleCycles |
| 79 | |
| 80 | namespace AlgebraicGeometry.Divisors.LineBundles.Free |
| 81 | |
| 82 | /-! Genuine sheaf isomorphisms transport actual free infinity charts. -/ |
| 83 | |
| 84 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 85 | |
| 86 | def ProjectiveInfinityChart.BundleCycles.FreeProjectiveInfinityChart.changeLineBundle {E X : Scheme.{0}} {p : E ⟶ X} |
| 87 | {L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E} {x : X} (C : ProjectiveInfinityChart.BundleCycles.FreeProjectiveInfinityChart p L x) |
| 88 | (M : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E) (e : M.sheaf ≅ L.sheaf) : ProjectiveInfinityChart.BundleCycles.FreeProjectiveInfinityChart p M x where |
| 89 | coefficient := C.coefficient |
| 90 | module := C.module |
| 91 | rank := C.rank |
| 92 | basis := C.basis |
| 93 | baseMap := C.baseMap |
| 94 | totalMap := C.totalMap |
| 95 | open_base := C.open_base |
| 96 | open_total := C.open_total |
| 97 | contains := C.contains |
| 98 | square := C.square |
| 99 | idealIso := LineBundle.PullbackIso.Cycles.lineBundlePullbackIso e C.totalMap ≪≫ C.idealIso |
| 100 | |
| 101 | theorem InfinityCharts.BundleCycles.HasFreeProjectiveInfinityChartsOfRank.changeLineBundle {E X : Scheme.{0}} {p : E ⟶ X} |
| 102 | {L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E} {r : ℕ} (H : InfinityCharts.BundleCycles.HasFreeProjectiveInfinityChartsOfRank p L r) |
| 103 | (M : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E) (e : M.sheaf ≅ L.sheaf) : InfinityCharts.BundleCycles.HasFreeProjectiveInfinityChartsOfRank p M r := by |
| 104 | intro x |
| 105 | obtain ⟨C, hC⟩ := H x |
| 106 | exact ⟨C.changeLineBundle M e, hC⟩ |
| 107 | |
| 108 | end AlgebraicGeometry.Divisors.LineBundles.Free |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI |