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.Projection.RestrictionComposition |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.ProjectionCoincidence |
| 3 | |
| 4 | /-! # Defined Pair -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DefinedPair |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The partial incidence locus is the actual equalizer whenever |
| 11 | the two maps of the pair scheme avoid the projection center. -/ |
| 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 | namespace Projection |
| 19 | |
| 20 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (k : ℕ) |
| 21 | (L : Fin (k + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) |
| 22 | {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} (u v : T ⟶ X.toOver) |
| 23 | (hu : ∀ x, u.left x ∈ PartialLinear.Projection.domain X k L) |
| 24 | (hv : ∀ x, v.left x ∈ PartialLinear.Projection.domain X k L) |
| 25 | |
| 26 | def projection : T ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase k) := |
| 27 | Over.homMk (Projective.ProjectionRestriction.projection (Projection.FiniteProjective.FromForms.coordinates X k L) |
| 28 | (u.left ≫ X.embedding) hu) (by |
| 29 | change Projective.ProjectionRestriction.projection (Projection.FiniteProjective.FromForms.coordinates X k L) |
| 30 | (u.left ≫ X.embedding) hu ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase k = T.hom |
| 31 | rw [Projective.ProjectionRestriction.over_base _ _ _ (Projection.FiniteProjective.FromForms.constants X k L), |
| 32 | Category.assoc, X.embedding_over] |
| 33 | exact u.w) |
| 34 | |
| 35 | theorem first_eq : (Projection.Coincidence.first X k L u v).left = |
| 36 | (Projection.Coincidence.domain X k L u v).ι ≫ (projection X k L u hu).left := |
| 37 | Projection.RestrictionComposition.restricted X k L u.left hu _ inf_le_left |
| 38 | |
| 39 | theorem second_eq : (Projection.Coincidence.second X k L u v).left = |
| 40 | (Projection.Coincidence.domain X k L u v).ι ≫ (projection X k L v hv).left := |
| 41 | Projection.RestrictionComposition.restricted X k L v.left hv _ inf_le_right |
| 42 | |
| 43 | variable [LocallyOfFiniteType T.hom] |
| 44 | |
| 45 | theorem mem_iff_closed (x : T.left) (hx : IsClosed ({x} : Set T.left)) : |
| 46 | x ∈ Projection.Coincidence.locus X k L u v ↔ |
| 47 | (projection X k L u hu).left x = (projection X k L v hv).left x := by |
| 48 | let U := Projection.Coincidence.domain X k L u v |
| 49 | let y : U := ⟨x, ⟨hu x, hv x⟩⟩ |
| 50 | have hset : U.ι ⁻¹' ({x} : Set T.left) = ({y} : Set (U : Scheme)) := by |
| 51 | ext z |
| 52 | change z.val = x ↔ z = y |
| 53 | constructor |
| 54 | · exact fun hz => Subtype.ext hz |
| 55 | · rintro rfl |
| 56 | rfl |
| 57 | have hy : IsClosed ({y} : Set (U : Scheme)) := hset ▸ hx.preimage U.ι.continuous |
| 58 | have he := Projection.Coincidence.mem_iff_closed X k L u v y hy |
| 59 | rw [first_eq X k L u v hu, second_eq X k L u v hv] at he |
| 60 | exact he |
| 61 | |
| 62 | theorem locus_eq : Projection.Coincidence.locus X k L u v = |
| 63 | Closed.Equalizer.locus (projection X k L u hu) (projection X k L v hv) := by |
| 64 | apply le_antisymm |
| 65 | · apply Projection.ProjectionCoincidence.closed_subset T.hom |
| 66 | intro x hx hc |
| 67 | exact Closed.Equalizer.mem_of_closed _ _ x hc ((mem_iff_closed X k L u v hu hv x hc).mp hx) |
| 68 | · apply Projection.ProjectionCoincidence.closed_subset T.hom |
| 69 | intro x hx hc |
| 70 | exact (mem_iff_closed X k L u v hu hv x hc).mpr (Closed.Equalizer.eq_of_mem _ _ x hx) |
| 71 | |
| 72 | end Projection |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DefinedPair |