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.Resolution.Blowups.Pointed.BoundaryCenterReplacement |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.DerivationHom |
| 3 | import Mathlib.Logic.Equiv.Fin.Basic |
| 4 | |
| 5 | /-! # Adapted Center Chart -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.AdaptedCenterChart.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual affine open charts whose center frame contains every prescribed boundary equation. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | /-- Insert the new boundary at index zero and retain all old boundary |
| 18 | indices in the complementary center frame. -/ |
| 19 | def insertRetainedCenterIndex {α : Type u} {n : ℕ} |
| 20 | (e : Fin n ↪ α) (i : α) (hi : ∀ j, i ≠ e j) : |
| 21 | Fin (n + 1) ↪ Option {j : α // i ≠ j} := |
| 22 | (finSuccEquiv n).toEmbedding.trans |
| 23 | (Function.Embedding.optionMap |
| 24 | ⟨(fun j => ⟨e j, hi j⟩), fun _ _ h => e.injective (congrArg Subtype.val h)⟩) |
| 25 | |
| 26 | theorem insertRetainedCenterIndex_zero {α : Type u} {n : ℕ} |
| 27 | (e : Fin n ↪ α) (i : α) (hi : ∀ j, i ≠ e j) : insertRetainedCenterIndex e i hi 0 = none := rfl |
| 28 | |
| 29 | theorem insertRetainedCenterIndex_succ {α : Type u} {n : ℕ} |
| 30 | (e : Fin n ↪ α) (i : α) (hi : ∀ j, i ≠ e j) (j : Fin n) : |
| 31 | insertRetainedCenterIndex e i hi j.succ = some ⟨e j, hi j⟩ := by |
| 32 | change Option.map (fun j => (⟨e j, hi j⟩ : {j : α // i ≠ j})) ((finSuccEquiv n) j.succ) = _ |
| 33 | rw [finSuccEquiv_succ] |
| 34 | rfl |
| 35 | |
| 36 | /-- The actual point over the source prime and the exact center ideal |
| 37 | are retained along with a dual frame and an injective indexing of all |
| 38 | prescribed boundary equations among the center generators. -/ |
| 39 | structure BoundaryAdaptedCenterOpenChart (k : Type u) [CommRing k] |
| 40 | (R : CommRingCat.{u}) [Algebra k R] (I : Ideal R) {n : ℕ} (w : Fin n → R) |
| 41 | (p : PrimeSpectrum R) where |
| 42 | carrier : CommRingCat.{u} |
| 43 | algebra : Algebra k carrier |
| 44 | map : R →ₐ[k] carrier |
| 45 | isOpenImmersion : IsOpenImmersion (Spec.map (CommRingCat.ofHom map.toRingHom)) |
| 46 | point : PrimeSpectrum carrier |
| 47 | point_over : PrimeSpectrum.comap map.toRingHom point = p |
| 48 | indices : Type u |
| 49 | finite : Fintype indices |
| 50 | decidableEq : DecidableEq indices |
| 51 | generators : indices → carrier |
| 52 | derivations : indices → Derivation k carrier carrier |
| 53 | dual : ∀ i j, derivations i (generators j) = if i = j then 1 else 0 |
| 54 | centerSpan : Ideal.span (Set.range generators) = I.map map.toRingHom |
| 55 | boundaryIndex : Fin n ↪ indices |
| 56 | boundaryCoordinates : ∀ i, generators (boundaryIndex i) = map (w i) |
| 57 | |
| 58 | attribute [instance] BoundaryAdaptedCenterOpenChart.algebra BoundaryAdaptedCenterOpenChart.isOpenImmersion |
| 59 | BoundaryAdaptedCenterOpenChart.finite BoundaryAdaptedCenterOpenChart.decidableEq |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.AdaptedCenterChart.Construction |