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.HilbertScheme.Presentations.Affine.ProjectiveAmbientNaturality |
| 2 | |
| 3 | /-! # Over Hom Induction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.OverHomInduction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every morphism between affine test schemes over a fixed |
| 10 | base is induced by its actual coefficient homomorphism. This |
| 11 | eliminator retains dependent source base maps and Over morphisms. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.ProjectiveAmbientNaturality.GradedHilbert |
| 14 | universe u |
| 15 | |
| 16 | theorem affineOverHom_ring_induction {S : Scheme.{u}} {R A : Type u} [CommRing R] [CommRing A] |
| 17 | (f : Spec (.of R) ⟶ S) |
| 18 | (Q : ∀ (g : Spec (.of A) ⟶ S), (Over.mk g ⟶ Over.mk f) → Prop) |
| 19 | (h : ∀ φ : R →+* A, Q (Spec.map (CommRingCat.ofHom φ) ≫ f) (HilbertScheme.Presentations.Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap f φ)) |
| 20 | (g : Spec (.of A) ⟶ S) (b : Over.mk g ⟶ Over.mk f) : Q g b := by |
| 21 | rcases b with ⟨q, r, w⟩ |
| 22 | change Spec (.of A) ⟶ Spec (.of R) at q |
| 23 | change q ≫ f = g at w |
| 24 | cases w |
| 25 | have he : (⟨q, r, rfl⟩ : Over.mk (q ≫ f) ⟶ Over.mk f) = |
| 26 | Over.homMk q rfl := Over.OverMorphism.ext rfl |
| 27 | rw [he] |
| 28 | have ht := h (Spec.preimage q).hom |
| 29 | change Q (Spec.map (Spec.preimage q) ≫ f) (Over.homMk (Spec.map (Spec.preimage q)) rfl) at ht |
| 30 | exact (Spec.map_preimage q) ▸ ht |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.OverHomInduction |