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.Intrinsic.FamilyGraphOpen |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.OverOpenFactorization |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Has |
| 4 | |
| 5 | /-! # Graph Tuple Open -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.GraphTupleOpen.Hom |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite tuples of native Hilbert families have an actual open graph |
| 12 | locus satisfying the statement's graph predicate on every test scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} (X Y : Over S) [IsProper X.hom] |
| 18 | variable {n : ℕ} {B : Over S} (F : Fin n → Hilbert.Functor.Family (X ⨯ Y) B) |
| 19 | |
| 20 | def nativeGraphTupleOpen : B.left.Opens := ⨅ i, FamilyGraphOpen.Hom.nativeFamilyGraphOpen X Y (F i) |
| 21 | |
| 22 | theorem mem_nativeGraphTupleOpen (b : B.left) : |
| 23 | b ∈ nativeGraphTupleOpen X Y F ↔ ∀ i, b ∈ FamilyGraphOpen.Hom.nativeFamilyGraphOpen X Y (F i) := by |
| 24 | change b ∈ ((⨅ i, FamilyGraphOpen.Hom.nativeFamilyGraphOpen X Y (F i) : B.left.Opens) : Set B.left) ↔ _ |
| 25 | rw [TopologicalSpace.Opens.coe_iInf, Set.mem_iInter] |
| 26 | rfl |
| 27 | |
| 28 | theorem nativeGraphTupleOpen_baseChange_iff_range [IsLocallyNoetherian B.left] |
| 29 | {T : Over S} (a : T ⟶ B) : |
| 30 | Has.Core.IsGraphTuple X Y n (fun i => Hilbert.Functor.pullbackFamily (X ⨯ Y) a (F i)) ↔ |
| 31 | Set.range a.left ⊆ (nativeGraphTupleOpen X Y F : Set B.left) := by |
| 32 | have hi (i : Fin n) : |
| 33 | IsIso ((Hilbert.Functor.pullbackFamily (X ⨯ Y) a (F i)).val.subschemeι ≫ |
| 34 | (HomFunctor.Hom.graphProjection X Y T).left) ↔ |
| 35 | Set.range a.left ⊆ (FamilyGraphOpen.Hom.nativeFamilyGraphOpen X Y (F i) : Set B.left) := |
| 36 | (isIso_iff_of_reflects_iso |
| 37 | (GraphLocus.Hom.subschemeProjection X Y (Hilbert.Functor.pullbackFamily (X ⨯ Y) a (F i)).val) |
| 38 | (Over.forget S)).trans (FamilyGraphOpen.Hom.nativeFamilyGraphOpen_baseChange_iff_range X Y (F i) a) |
| 39 | change (∀ i, _) ↔ _ |
| 40 | simp_rw [hi] |
| 41 | constructor |
| 42 | · intro h b hb |
| 43 | exact (mem_nativeGraphTupleOpen X Y F b).mpr (fun i => h i hb) |
| 44 | · intro h i b hb |
| 45 | exact (mem_nativeGraphTupleOpen X Y F b).mp (h hb) i |
| 46 | |
| 47 | def nativeGraphTupleOver : Over S := OverOpenFactorization.openOver B (nativeGraphTupleOpen X Y F) |
| 48 | |
| 49 | def nativeGraphTupleInclusion : nativeGraphTupleOver X Y F ⟶ B := |
| 50 | OverOpenFactorization.openOverInclusion B (nativeGraphTupleOpen X Y F) |
| 51 | |
| 52 | instance nativeGraphTupleInclusion_isOpenImmersion : |
| 53 | IsOpenImmersion (nativeGraphTupleInclusion X Y F).left := |
| 54 | inferInstanceAs (IsOpenImmersion (OverOpenFactorization.openOverInclusion B (nativeGraphTupleOpen X Y F)).left) |
| 55 | |
| 56 | instance nativeGraphTupleInclusion_mono : Mono (nativeGraphTupleInclusion X Y F) := |
| 57 | Over.mono_of_mono_left _ |
| 58 | |
| 59 | theorem nativeGraphTupleOpen_iff_unique_lift [IsLocallyNoetherian B.left] |
| 60 | {T : Over S} (a : T ⟶ B) : |
| 61 | Has.Core.IsGraphTuple X Y n (fun i => Hilbert.Functor.pullbackFamily (X ⨯ Y) a (F i)) ↔ |
| 62 | ∃! b : T ⟶ nativeGraphTupleOver X Y F, b ≫ nativeGraphTupleInclusion X Y F = a := |
| 63 | (nativeGraphTupleOpen_baseChange_iff_range X Y F a).trans |
| 64 | (OverOpenFactorization.range_subset_open_iff_unique_over_lift B (nativeGraphTupleOpen X Y F) a) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.GraphTupleOpen.Hom |