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.CechAxisFunctional |
| 2 | import Mathlib.AlgebraicGeometry.AffineScheme |
| 3 | |
| 4 | /-! # Axis Cech Chart -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.Local.AxisCechChart |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An affine local base has a Cech chart containing its entire axis: |
| 11 | choose a chart at the closed point, then use generalization. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | universe u |
| 16 | variable (S : Scheme.{u}) [IsAffine S] [IsLocalRing Γ(S, ⊤)] |
| 17 | |
| 18 | def affineLocalClosedPoint : S := S.isoSpec.inv (IsLocalRing.closedPoint Γ(S, ⊤)) |
| 19 | |
| 20 | theorem affineLocalClosedPoint_mem_iff (U : S.Opens) : |
| 21 | affineLocalClosedPoint S ∈ U ↔ U = ⊤ := by |
| 22 | constructor |
| 23 | · intro h |
| 24 | have hp : S.isoSpec.inv ⁻¹ᵁ U = ⊤ := |
| 25 | (IsLocalRing.closedPoint_mem_iff _).mp h |
| 26 | apply top_unique |
| 27 | intro x _ |
| 28 | have hx : S.isoSpec.inv (S.isoSpec.hom x) ∈ U := by |
| 29 | change S.isoSpec.hom x ∈ S.isoSpec.inv ⁻¹ᵁ U |
| 30 | rw [hp] |
| 31 | trivial |
| 32 | have he : S.isoSpec.inv (S.isoSpec.hom x) = x := |
| 33 | congrArg (fun f : S ⟶ S => f x) S.isoSpec.hom_inv_id |
| 34 | exact he ▸ hx |
| 35 | · rintro rfl |
| 36 | trivial |
| 37 | |
| 38 | variable {S} {X : Scheme.{u}} (s : S ⟶ X) |
| 39 | |
| 40 | include s in |
| 41 | theorem exists_axis_cech_chart {I : Type u} [LinearOrder I] (U : I → X.Opens) |
| 42 | (hU : iSup U = ⊤) : |
| 43 | ∃ i : I, (⊤ : S.Opens) ≤ s ⁻¹ᵁ OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrderedCechEq.Construction.OrderedCechZeroCoordinates.intersection U 0 |
| 44 | (OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrderedCechEq.Construction.OrderedCechZeroCoordinates.single i) := by |
| 45 | have hx : s (affineLocalClosedPoint S) ∈ iSup U := by |
| 46 | rw [hU] |
| 47 | trivial |
| 48 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp hx |
| 49 | have ht : s ⁻¹ᵁ U i = ⊤ := (affineLocalClosedPoint_mem_iff S _).mp hi |
| 50 | refine ⟨i, ?_⟩ |
| 51 | rw [OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrderedCechEq.Construction.OrderedCechZeroCoordinates.single_open, ht] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.RepresentationTheory.Theta.Geometric.Local.AxisCechChart |