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.Support.Pair |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.FiberPoints |
| 3 | |
| 4 | /-! # Pair Closed Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.PairClosedPoints |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Closed points of two supports determine a closed point of their |
| 11 | actual scheme product over the complex base. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Pair |
| 19 | |
| 20 | theorem exists_pair (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (W Z : IrreducibleCloseds X.carrier) |
| 21 | (x y : X.carrier) (hx : IsClosed {x}) (hy : IsClosed {y}) (hxW : x ∈ W) (hyZ : y ∈ Z) : |
| 22 | ∃ a : Pair.space X W Z, IsClosed {a} ∧ (Pair.first X W Z).left a = x ∧ (Pair.second X W Z).left a = y := by |
| 23 | have hxW' : x ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι W) := by rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι]; exact hxW |
| 24 | have hyZ' : y ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι Z) := by rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι]; exact hyZ |
| 25 | obtain ⟨w, hw⟩ := hxW' |
| 26 | obtain ⟨z, hz⟩ := hyZ' |
| 27 | have hwc : IsClosed ({w} : Set (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) := |
| 28 | Closed.FiberPoints.closed (CycleClass.Geometric.GenericPoint.reducedSupportι W) w (hw.symm ▸ hx) |
| 29 | have hzc : IsClosed ({z} : Set (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z)) := |
| 30 | Closed.FiberPoints.closed (CycleClass.Geometric.GenericPoint.reducedSupportι Z) z (hz.symm ▸ hy) |
| 31 | let f := CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ X.structureMap |
| 32 | let g := CycleClass.Geometric.GenericPoint.reducedSupportι Z ≫ X.structureMap |
| 33 | let p := pointOfClosedPoint f w hwc |
| 34 | let q := pointOfClosedPoint g z hzc |
| 35 | have hp : p ≫ f = 𝟙 _ := pointOfClosedPoint_comp _ _ _ |
| 36 | have hq : q ≫ g = 𝟙 _ := pointOfClosedPoint_comp _ _ _ |
| 37 | let r := pullback.lift p q (hp.trans hq.symm) |
| 38 | have hr : r ≫ Pair.base X W Z = 𝟙 _ := by |
| 39 | change (pullback.lift p q _) ≫ pullback.fst f g ≫ f = _ |
| 40 | rw [pullback.lift_fst_assoc] |
| 41 | exact hp |
| 42 | refine ⟨r (IsLocalRing.closedPoint ℂ), |
| 43 | ((pointEquivClosedPoint (Pair.base X W Z)) ⟨r, hr⟩).property, ?_, ?_⟩ |
| 44 | · have he := congrArg (fun a : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ CycleClass.Geometric.GenericPoint.reducedSupportScheme W => a (IsLocalRing.closedPoint ℂ)) |
| 45 | (pullback.lift_fst p q (hp.trans hq.symm)) |
| 46 | change CycleClass.Geometric.GenericPoint.reducedSupportι W (pullback.fst f g (r (IsLocalRing.closedPoint ℂ))) = x |
| 47 | exact (congrArg (CycleClass.Geometric.GenericPoint.reducedSupportι W) (he.trans (pointOfClosedPoint_apply f w hwc _))).trans hw |
| 48 | · have he := congrArg (fun a : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ CycleClass.Geometric.GenericPoint.reducedSupportScheme Z => a (IsLocalRing.closedPoint ℂ)) |
| 49 | (pullback.lift_snd p q (hp.trans hq.symm)) |
| 50 | change CycleClass.Geometric.GenericPoint.reducedSupportι Z (pullback.snd f g (r (IsLocalRing.closedPoint ℂ))) = y |
| 51 | exact (congrArg (CycleClass.Geometric.GenericPoint.reducedSupportι Z) (he.trans (pointOfClosedPoint_apply g z hzc _))).trans hz |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.PairClosedPoints |