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.Symmetric.BasisAffineChart |
| 2 | |
| 3 | /-! # Rank One Projective -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.RankOneProjective.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual projective spectrum of a free module of rank one is |
| 10 | the coefficient spectrum via its native structure morphism. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 13 | |
| 14 | variable (R : Type) [CommRing R] |
| 15 | |
| 16 | instance symmetricRankOneChart_isIso : |
| 17 | IsIso (BasisAffineChart.BundleCycles.symmetricBasisAffineChartMap (Module.Basis.singleton Unit R) ()) := by |
| 18 | apply isIso_of_isOpenImmersion_of_opensRange_eq_top |
| 19 | apply top_unique |
| 20 | intro x _ |
| 21 | obtain ⟨i, y, rfl⟩ := (BasisCover.BundleCycles.symmetricBasisCover (Module.Basis.singleton Unit R)).openCover.exists_eq x |
| 22 | cases i |
| 23 | have hr : Set.range ((BasisCover.BundleCycles.symmetricBasisCover (Module.Basis.singleton Unit R)).f ()) = |
| 24 | Set.range (BasisAffineChart.BundleCycles.symmetricBasisAffineChartMap (Module.Basis.singleton Unit R) ()) := |
| 25 | congrArg (fun U : (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R R).Opens => (U : Set (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R R))) |
| 26 | ((BasisCover.BundleCycles.symmetricBasisCover_opensRange (Module.Basis.singleton Unit R) ()).trans |
| 27 | (BasisAffineChart.BundleCycles.symmetricBasisAffineChartMap_opensRange (Module.Basis.singleton Unit R) ()).symm) |
| 28 | change ((BasisCover.BundleCycles.symmetricBasisCover (Module.Basis.singleton Unit R)).f ()) y ∈ |
| 29 | Set.range (BasisAffineChart.BundleCycles.symmetricBasisAffineChartMap (Module.Basis.singleton Unit R) ()) |
| 30 | exact hr ▸ Set.mem_range_self y |
| 31 | |
| 32 | instance symmetricRankOneProjectiveToBase_isIso : IsIso (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R R) := by |
| 33 | let j := BasisAffineChart.BundleCycles.symmetricBasisAffineChartMap (Module.Basis.singleton Unit R) () |
| 34 | let p := (AffineSpace {j : Unit // j ≠ ()} (Spec (.of R)) ↘ Spec (.of R)) |
| 35 | let : IsIso j := symmetricRankOneChart_isIso R |
| 36 | let : IsEmpty {j : Unit // j ≠ ()} := ⟨fun j => j.property (Subsingleton.elim _ _)⟩ |
| 37 | let : IsIso p := inferInstanceAs (IsIso (AffineSpace {j : Unit // j ≠ ()} (Spec (.of R)) ↘ Spec (.of R))) |
| 38 | have hjp : j ≫ SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R R = p := |
| 39 | BasisAffineChart.BundleCycles.symmetricBasisAffineChartMap_over (Module.Basis.singleton Unit R) () |
| 40 | have hp : SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R R = inv j ≫ p := by |
| 41 | exact (IsIso.inv_hom_id_assoc j (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R R)).symm.trans |
| 42 | (congrArg (fun q => inv j ≫ q) hjp) |
| 43 | rw [hp] |
| 44 | infer_instance |
| 45 | |
| 46 | def symmetricRankOneProjectiveIso : SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R R ≅ Spec (.of R) := |
| 47 | asIso (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R R) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.RankOneProjective.BundleCycles |