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.Bundle |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.PullbackIso |
| 3 | |
| 4 | /-! # Projective Infinity Chart -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Free.ProjectiveInfinityChart.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual finite free projective charts with their infinity ideal |
| 11 | identifications. The data consists entirely of schemes, bases, cartesian |
| 12 | squares and sheaf isomorphisms. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | structure FreeProjectiveInfinityChart {E X : Scheme.{0}} (p : E ⟶ X) |
| 17 | (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E) (x : X) where |
| 18 | coefficient : CommRingCat.{0} |
| 19 | module : ModuleCat.{0} coefficient |
| 20 | rank : ℕ |
| 21 | basis : Module.Basis (Fin rank) coefficient module |
| 22 | baseMap : Spec coefficient ⟶ X |
| 23 | totalMap : SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme coefficient (coefficient × module) ⟶ E |
| 24 | open_base : IsOpenImmersion baseMap |
| 25 | open_total : IsOpenImmersion totalMap |
| 26 | contains : x ∈ Set.range baseMap |
| 27 | square : IsPullback (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase coefficient (coefficient × module)) totalMap baseMap p |
| 28 | idealIso : (L.pullback totalMap).sheaf ≅ (SymmetricInfinity.Bundle.Cycles.symmetricInfinityIdealLineBundle coefficient module).sheaf |
| 29 | |
| 30 | attribute [instance] FreeProjectiveInfinityChart.open_base FreeProjectiveInfinityChart.open_total |
| 31 | |
| 32 | def HasFreeProjectiveInfinityCharts {E X : Scheme.{0}} (p : E ⟶ X) (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E) : Prop := |
| 33 | ∀ x : X, Nonempty (FreeProjectiveInfinityChart p L x) |
| 34 | |
| 35 | def FreeProjectiveInfinityChart.compOpen {E X E' X' : Scheme.{0}} |
| 36 | {p : E ⟶ X} {L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E} {x : X} (C : FreeProjectiveInfinityChart p L x) |
| 37 | (q : E' ⟶ X') (i : X ⟶ X') (j : E ⟶ E') [IsOpenImmersion i] [IsOpenImmersion j] |
| 38 | (hs : IsPullback p j i q) (M : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E') (e : (M.pullback j).sheaf ≅ L.sheaf) : |
| 39 | FreeProjectiveInfinityChart q M (i x) where |
| 40 | coefficient := C.coefficient |
| 41 | module := C.module |
| 42 | rank := C.rank |
| 43 | basis := C.basis |
| 44 | baseMap := C.baseMap ≫ i |
| 45 | totalMap := C.totalMap ≫ j |
| 46 | open_base := inferInstance |
| 47 | open_total := inferInstance |
| 48 | contains := by |
| 49 | obtain ⟨y, hy⟩ := C.contains |
| 50 | exact ⟨y, congrArg i hy⟩ |
| 51 | square := C.square.paste_vert hs |
| 52 | idealIso := (LineBundle.PullbackIso.Cycles.lineBundlePullbackCompIso M C.totalMap j).symm ≪≫ |
| 53 | LineBundle.PullbackIso.Cycles.lineBundlePullbackIso e C.totalMap ≪≫ C.idealIso |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Free.ProjectiveInfinityChart.BundleCycles |