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.AbelianModuli.HilbertConstruction.Over.AffineCoverLifts |
| 2 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 3 | import Mathlib.AlgebraicGeometry.Noetherian |
| 4 | |
| 5 | /-! # Mono Locus Transport -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.MonoLocusTransport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Equivalent lifting conditions on locally Noetherian tests |
| 12 | identify actual monomorphic parameter loci, provided the loci and |
| 13 | the ambient pullback are locally Noetherian. The resulting square |
| 14 | is Cartesian on all tests. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} {M N X Y : Over S} |
| 18 | variable (i : X ⟶ M) (j : Y ⟶ N) (a : N ⟶ M) [Mono i] [Mono j] |
| 19 | variable [IsLocallyNoetherian Y.left] |
| 20 | variable (H : ∀ (T : Over S), IsLocallyNoetherian T.left → ∀ x : T ⟶ N, |
| 21 | (∃! u : T ⟶ X, u ≫ i = x ≫ a) ↔ (∃! v : T ⟶ Y, v ≫ j = x)) |
| 22 | |
| 23 | include H |
| 24 | |
| 25 | omit [Mono i] in |
| 26 | theorem noetherianMonoLocusTransport_existsUnique : |
| 27 | ∃! f : Y ⟶ X, f ≫ i = j ≫ a := by |
| 28 | apply (H Y inferInstance j).mpr |
| 29 | refine ⟨𝟙 Y, Category.id_comp j, fun v hv => ?_⟩ |
| 30 | exact (cancel_mono j).mp (hv.trans (Category.id_comp j).symm) |
| 31 | |
| 32 | def noetherianMonoLocusTransport : Y ⟶ X := |
| 33 | (noetherianMonoLocusTransport_existsUnique i j a H).choose |
| 34 | |
| 35 | omit [Mono i] in |
| 36 | theorem noetherianMonoLocusTransport_factor : |
| 37 | noetherianMonoLocusTransport i j a H ≫ i = j ≫ a := |
| 38 | (noetherianMonoLocusTransport_existsUnique i j a H).choose_spec.1 |
| 39 | |
| 40 | theorem noetherianMonoLocusTransport_isPullback |
| 41 | [IsLocallyNoetherian (pullback i a).left] : |
| 42 | IsPullback (noetherianMonoLocusTransport i j a H) j i a := by |
| 43 | obtain ⟨v, hv, _⟩ := (H (pullback i a) inferInstance (pullback.snd i a)).mp |
| 44 | ⟨pullback.fst i a, pullback.condition, |
| 45 | fun w hw => (cancel_mono i).mp (hw.trans pullback.condition.symm)⟩ |
| 46 | refine { w := noetherianMonoLocusTransport_factor i j a H, isLimit' := ⟨?_⟩ } |
| 47 | apply PullbackCone.isLimitAux' |
| 48 | intro s |
| 49 | let t := pullback.lift s.fst s.snd s.condition |
| 50 | have ht : (t ≫ v) ≫ j = s.snd := by |
| 51 | rw [Category.assoc, hv] |
| 52 | exact pullback.lift_snd _ _ _ |
| 53 | refine ⟨t ≫ v, ?_, ht, ?_⟩ |
| 54 | · apply (cancel_mono i).mp |
| 55 | change ((t ≫ v) ≫ noetherianMonoLocusTransport i j a H) ≫ i = s.fst ≫ i |
| 56 | rw [Category.assoc, noetherianMonoLocusTransport_factor, ← Category.assoc, ht] |
| 57 | exact s.condition.symm |
| 58 | · intro w _ hw |
| 59 | exact (cancel_mono j).mp (hw.trans ht.symm) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.MonoLocusTransport |