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.RepresentationTheory.Theta.Geometric.Finite.TensorUnits |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.AffineChartSectionCoordinates |
| 3 | |
| 4 | /-! # Affine Chart Units -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.Finite.AffineChartUnits |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite family of actual regular units on flat affine charts |
| 11 | descends to one finitely generated parameter subalgebra. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | theorem exists_fg_subalgebra_finite_affine_chart_units |
| 17 | {A R ι : Type} [CommRing A] [CommRing R] [Algebra A R] [Fintype ι] |
| 18 | (B : ι → Type) [∀ i, CommRing (B i)] [∀ i, Algebra A (B i)] [∀ i, Module.Flat A (B i)] |
| 19 | (XR : ι → Scheme) (XS : Subalgebra A R → ι → Scheme) |
| 20 | (eR : ∀ i, XR i ≅ Spec (.of (B i ⊗[A] R))) |
| 21 | (eS : ∀ S i, XS S i ≅ Spec (.of (B i ⊗[A] S))) |
| 22 | (b : ∀ S i, XR i ⟶ XS S i) |
| 23 | (hb : ∀ S i, (eR i).hom ≫ |
| 24 | Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.map (AlgHom.id A (B i)) S.val).toRingHom) = |
| 25 | b S i ≫ (eS S i).hom) |
| 26 | (u : ∀ i, Γ(XR i, ⊤)ˣ) : |
| 27 | ∃ S : Subalgebra A R, S.FG ∧ ∃ v : ∀ i, Γ(XS S i, ⊤)ˣ, |
| 28 | ∀ i, Units.map (b S i).appTop.hom.toMonoidHom (v i) = u i := by |
| 29 | obtain ⟨S, hS, w, hw⟩ := TensorUnits.exists_fg_subalgebra_finite_right_tensor_units B |
| 30 | (fun i => Units.map (AffineChartSectionCoordinates.affineChartSectionEquiv (eR i)).toMonoidHom (u i)) |
| 31 | refine ⟨S, hS, (fun i => Units.map (AffineChartSectionCoordinates.affineChartSectionEquiv (eS S i)).symm.toMonoidHom (w i)), ?_⟩ |
| 32 | intro i |
| 33 | apply Units.ext |
| 34 | apply (AffineChartSectionCoordinates.affineChartSectionEquiv (eR i)).injective |
| 35 | change AffineChartSectionCoordinates.affineChartSectionEquiv (eR i) |
| 36 | ((b S i).appTop ((AffineChartSectionCoordinates.affineChartSectionEquiv (eS S i)).symm (w i : B i ⊗[A] S))) = |
| 37 | AffineChartSectionCoordinates.affineChartSectionEquiv (eR i) (u i : Γ(XR i, ⊤)) |
| 38 | rw [AffineChartSectionCoordinates.affineChartSectionEquiv_natural (eR i) (eS S i) (b S i) _ (hb S i), RingEquiv.apply_symm_apply] |
| 39 | exact hw i |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.RepresentationTheory.Theta.Geometric.Finite.AffineChartUnits |