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.FormalGeometry.Completion.Proper.Normalization |
| 2 | |
| 3 | /-! # Affinization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.Affinization.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # Completion: proper affinization is surjective -/ |
| 10 | |
| 11 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsProper f] [IsAffine Y] |
| 19 | |
| 20 | include f |
| 21 | |
| 22 | /-- The map to the spectrum of global functions is proper over an affine proper base. -/ |
| 23 | theorem proper_toSpecΓ : IsProper X.toSpecΓ := by |
| 24 | have : IsProper (X.toSpecΓ ≫ Spec.map f.appTop) := by |
| 25 | rw [← Scheme.toSpecΓ_naturality] |
| 26 | infer_instance |
| 27 | exact IsProper.of_comp X.toSpecΓ (Spec.map f.appTop) |
| 28 | |
| 29 | /-- Properness and density make the actual affinization map surjective. -/ |
| 30 | theorem proper_toSpecΓ_surjective : Surjective X.toSpecΓ := by |
| 31 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 32 | have := proper_toSpecΓ f |
| 33 | constructor |
| 34 | exact Set.range_eq_univ.mp (by |
| 35 | rw [← X.toSpecΓ.isClosedMap.isClosed_range.closure_eq] |
| 36 | exact X.toSpecΓ.denseRange.closure_range) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.Affinization.Construction |