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.IntersectionTheory.ProjectionFormula.PartialPairs |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoincidenceClosedPointTest |
| 3 | |
| 4 | /-! # Coincidence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.Coincidence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Closed coincidence loci for partial linear projections on an |
| 11 | arbitrary scheme of pairs of points of a projective presentation. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | instance target_separated (k : ℕ) : IsSeparated (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase k)).hom := |
| 19 | inferInstanceAs (IsSeparated (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase k)) |
| 20 | |
| 21 | instance target_finiteType (k : ℕ) : LocallyOfFiniteType (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase k)).hom := |
| 22 | inferInstanceAs (LocallyOfFiniteType (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase k)) |
| 23 | |
| 24 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (k : ℕ) |
| 25 | (L : Fin (k + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) |
| 26 | {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} (u v : T ⟶ X.toOver) |
| 27 | |
| 28 | def domain : T.left.Opens := |
| 29 | u.left ⁻¹ᵁ PartialLinear.Projection.domain X k L ⊓ |
| 30 | v.left ⁻¹ᵁ PartialLinear.Projection.domain X k L |
| 31 | |
| 32 | theorem projection_over (U : T.left.Opens) |
| 33 | (hU : U ≤ u.left ⁻¹ᵁ PartialLinear.Projection.domain X k L) : |
| 34 | (u.left.resLE (PartialLinear.Projection.domain X k L) U hU ≫ |
| 35 | PartialLinear.Projection.map X k L) ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase k = U.ι ≫ T.hom := by |
| 36 | rw [Category.assoc, PartialLinear.Projection.over_base, |
| 37 | ← Category.assoc, Scheme.Hom.resLE_comp_ι, Category.assoc] |
| 38 | exact congrArg (fun f : T.left ⟶ Foundations.Scheme.ProjectiveSpace.complexBase => U.ι ≫ f) u.w |
| 39 | |
| 40 | def first : Over.mk ((domain X k L u v).ι ≫ T.hom) ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase k) := |
| 41 | Over.homMk (u.left.resLE (PartialLinear.Projection.domain X k L) (domain X k L u v) inf_le_left ≫ |
| 42 | PartialLinear.Projection.map X k L) (projection_over X k L u _ inf_le_left) |
| 43 | |
| 44 | def second : Over.mk ((domain X k L u v).ι ≫ T.hom) ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase k) := |
| 45 | Over.homMk (v.left.resLE (PartialLinear.Projection.domain X k L) (domain X k L u v) inf_le_right ≫ |
| 46 | PartialLinear.Projection.map X k L) (projection_over X k L v _ inf_le_right) |
| 47 | |
| 48 | def locus : Closeds T.left := |
| 49 | CoincidenceClosedPointTest.OpenClosure.locus (domain X k L u v) (first X k L u v) (second X k L u v) |
| 50 | |
| 51 | theorem not_mem_of_ne (x : domain X k L u v) |
| 52 | (hx : (first X k L u v).left x ≠ (second X k L u v).left x) : |
| 53 | x.val ∉ locus X k L u v := |
| 54 | CoincidenceClosedPointTest.OpenClosure.not_mem_of_ne (domain X k L u v) |
| 55 | (first X k L u v) (second X k L u v) x hx |
| 56 | |
| 57 | theorem mem_iff_closed [LocallyOfFiniteType T.hom] (x : domain X k L u v) |
| 58 | (hx : IsClosed ({x} : Set ((domain X k L u v) : Scheme))) : |
| 59 | x.val ∈ locus X k L u v ↔ (first X k L u v).left x = (second X k L u v).left x := |
| 60 | CoincidenceClosedPointTest.OpenClosure.mem_iff_closed (domain X k L u v) |
| 61 | (first X k L u v) (second X k L u v) x hx |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.Coincidence |