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.CoincidenceExtension |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.CoordinateExtension |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoincidenceClosedPointTest |
| 4 | |
| 5 | /-! # Coincidence Base Locus -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoincidenceBaseLocus |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Adding a coordinate can create new coincidence only where both |
| 12 | points belonged to the old base locus. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.Coincidence |
| 20 | |
| 21 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (k : ℕ) |
| 22 | (L : Fin (k + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) |
| 23 | {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} (u v : T ⟶ X.toOver) |
| 24 | |
| 25 | def bothBase : Closeds T.left := |
| 26 | ⟨(u.left ⁻¹ᵁ PartialLinear.Projection.domain X k L : Set T.left)ᶜ ∩ |
| 27 | (v.left ⁻¹ᵁ PartialLinear.Projection.domain X k L : Set T.left)ᶜ, |
| 28 | (u.left ⁻¹ᵁ PartialLinear.Projection.domain X k L).isOpen.isClosed_compl.inter |
| 29 | (v.left ⁻¹ᵁ PartialLinear.Projection.domain X k L).isOpen.isClosed_compl⟩ |
| 30 | |
| 31 | theorem map_finiteType [LocallyOfFiniteType T.hom] : LocallyOfFiniteType u.left := by |
| 32 | have hc : LocallyOfFiniteType (u.left ≫ X.structureMap) := by |
| 33 | change LocallyOfFiniteType (u.left ≫ X.toOver.hom) |
| 34 | rw [u.w] |
| 35 | infer_instance |
| 36 | let := hc |
| 37 | exact locallyOfFiniteType_of_comp u.left X.structureMap |
| 38 | |
| 39 | theorem subset [LocallyOfFiniteType T.hom] (a : Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) : |
| 40 | (Projection.Coincidence.locus X (k + 1) (Fin.cons a L) u v : Set T.left) ⊆ |
| 41 | Projection.Coincidence.locus X k L u v ⊔ bothBase X k L u v := by |
| 42 | let U := Projection.Coincidence.domain X (k + 1) (Fin.cons a L) u v |
| 43 | let : JacobsonSpace T.left := LocallyOfFiniteType.jacobsonSpace T.hom |
| 44 | let : JacobsonSpace X.carrier := LocallyOfFiniteType.jacobsonSpace X.structureMap |
| 45 | let : JacobsonSpace X.toOver.left := inferInstanceAs (JacobsonSpace X.carrier) |
| 46 | let : LocallyOfFiniteType u.left := map_finiteType X u |
| 47 | let : LocallyOfFiniteType v.left := map_finiteType X v |
| 48 | refine CoincidenceClosedPointTest.subset U |
| 49 | (Projection.Coincidence.first X (k + 1) (Fin.cons a L) u v) (Projection.Coincidence.second X (k + 1) (Fin.cons a L) u v) |
| 50 | (Projection.Coincidence.locus X k L u v ⊔ bothBase X k L u v) ?_ |
| 51 | intro x hx hmem |
| 52 | have he := Closed.Equalizer.eq_of_mem |
| 53 | (Projection.Coincidence.first X (k + 1) (Fin.cons a L) u v) (Projection.Coincidence.second X (k + 1) (Fin.cons a L) u v) x hmem |
| 54 | rw [CoincidenceExtension.first_value, CoincidenceExtension.second_value] at he |
| 55 | have hstatus := Projection.CoordinateExtension.domain_status_iff X k L a |
| 56 | ⟨u.left x.val, x.property.1⟩ ⟨v.left x.val, x.property.2⟩ he |
| 57 | by_cases hxu : u.left x.val ∈ PartialLinear.Projection.domain X k L |
| 58 | · have hxv := hstatus.mp hxu |
| 59 | have hxc : IsClosed ({x.val} : Set T.left) := U.ι.closePoints_subset_preimage_closedPoints hx |
| 60 | have huc : IsClosed ({u.left x.val} : Set X.carrier) := |
| 61 | (U.ι ≫ u.left).closePoints_subset_preimage_closedPoints hx |
| 62 | have hvc : IsClosed ({v.left x.val} : Set X.carrier) := |
| 63 | (U.ι ≫ v.left).closePoints_subset_preimage_closedPoints hx |
| 64 | have huc' : IsClosed ({(⟨u.left x.val, hxu⟩ : PartialLinear.Projection.domain X k L)} : |
| 65 | Set ((PartialLinear.Projection.domain X k L) : Scheme)) := |
| 66 | Closed.FiberPoints.closed (PartialLinear.Projection.domain X k L).ι _ huc |
| 67 | have hvc' : IsClosed ({(⟨v.left x.val, hxv⟩ : PartialLinear.Projection.domain X k L)} : |
| 68 | Set ((PartialLinear.Projection.domain X k L) : Scheme)) := |
| 69 | Closed.FiberPoints.closed (PartialLinear.Projection.domain X k L).ι _ hvc |
| 70 | have heold := Projection.CoordinateExtension.old_images_eq X k L a |
| 71 | ⟨u.left x.val, hxu⟩ ⟨v.left x.val, hxv⟩ huc' hvc' he |
| 72 | let y : Projection.Coincidence.domain X k L u v := ⟨x.val, hxu, hxv⟩ |
| 73 | have hyc : IsClosed ({y} : Set ((Projection.Coincidence.domain X k L u v) : Scheme)) := |
| 74 | Closed.FiberPoints.closed (Projection.Coincidence.domain X k L u v).ι y hxc |
| 75 | apply Or.inl |
| 76 | apply (Projection.Coincidence.mem_iff_closed X k L u v y hyc).mpr |
| 77 | rw [CoincidenceExtension.first_value, CoincidenceExtension.second_value] |
| 78 | exact heold |
| 79 | · exact Or.inr ⟨hxu, fun h => hxu (hstatus.mpr h)⟩ |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoincidenceBaseLocus |