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.CycleClass.Thom.Diagonal.OpenNeighborhood |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.LocalIsolation |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PairSupportKernel |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.StalkSupport |
| 5 | |
| 6 | /-! # Support Open -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportOpen.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The genuine reduced product support restricts along the actual |
| 13 | product open immersion to the product of the original restricted supports. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenNeighborhood.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.LocalIsolation.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.StalkSupport.Constructions.Restriction OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PairSupportKernel.Constructions.Prime OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportScheme.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Integral.ProductSupport.Constructions |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (j : X ⟶ V.toOver) |
| 24 | [IsOpenImmersion j.left] [LocallyOfFiniteType X.hom] |
| 25 | (p q : ℕ) (A : Geometric.DimensionCycles.DimensionCycleSupport V p) (B : Geometric.DimensionCycles.DimensionCycleSupport V q) |
| 26 | (hA : IntersectionGeometry.supportPoint A.val ∈ Set.range j.left) (hB : IntersectionGeometry.supportPoint B.val ∈ Set.range j.left) |
| 27 | |
| 28 | local instance : LocallyOfFiniteType V.toOver.hom := inferInstanceAs (LocallyOfFiniteType V.structureMap) |
| 29 | |
| 30 | def sourcePairSupport : IrreducibleCloseds (pullback X.hom X.hom : Scheme) := |
| 31 | Affine.PairSupportKernel.Constructions.Prime.affinePairSupport X X (Open.StalkSupport.Constructions.Restriction.restrictedSupport j.left A.val hA) (Open.StalkSupport.Constructions.Restriction.restrictedSupport j.left B.val hB) |
| 32 | |
| 33 | theorem pair_support_preimage : |
| 34 | (Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j) ⁻¹' ((Diagonal.LocalIsolation.Constructions.pairedSupport V p q A B).val : Set (Diagonal.Ambient.Constructions.productVariety V V).carrier) = |
| 35 | (sourcePairSupport V X j p q A B hA hB : Set (pullback X.hom X.hom : Scheme)) := by |
| 36 | change (Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j) ⁻¹' |
| 37 | (SupportScheme.Constructions.productIrreducibleSupport V.toOver V.toOver A.val B.val (Diagonal.Ambient.Constructions.productVariety V V).toOver |
| 38 | (Diagonal.Ambient.Constructions.first V V) (Diagonal.Ambient.Constructions.second V V) (Diagonal.Ambient.Constructions.productLimit V V) : Set (Diagonal.Ambient.Constructions.productVariety V V).toOver.left) = _ |
| 39 | rw [SupportScheme.Constructions.productIrreducibleSupport_coe, sourcePairSupport, Affine.PairSupportKernel.Constructions.Prime.affinePairSupport_coe, |
| 40 | Open.StalkSupport.Constructions.Restriction.restrictedSupport_coe, Open.StalkSupport.Constructions.Restriction.restrictedSupport_coe] |
| 41 | have hf : Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j ≫ (Diagonal.Ambient.Constructions.first V V).left = pullback.fst X.hom X.hom ≫ j.left := |
| 42 | pullback.lift_fst _ _ _ |
| 43 | have hg : Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j ≫ (Diagonal.Ambient.Constructions.second V V).left = pullback.snd X.hom X.hom ≫ j.left := |
| 44 | pullback.lift_snd _ _ _ |
| 45 | ext z |
| 46 | change ((Diagonal.Ambient.Constructions.first V V).left (Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j z) ∈ (A.val : Set V.carrier) ∧ |
| 47 | (Diagonal.Ambient.Constructions.second V V).left (Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j z) ∈ (B.val : Set V.carrier)) ↔ |
| 48 | (j.left (pullback.fst X.hom X.hom z) ∈ (A.val : Set V.carrier) ∧ |
| 49 | j.left (pullback.snd X.hom X.hom z) ∈ (B.val : Set V.carrier)) |
| 50 | exact congrArg₂ (fun a b => a ∈ (A.val : Set V.carrier) ∧ b ∈ (B.val : Set V.carrier)) |
| 51 | (congrArg (fun f : pullback X.hom X.hom ⟶ V.carrier => f z) hf) |
| 52 | (congrArg (fun f : pullback X.hom X.hom ⟶ V.carrier => f z) hg) |>.to_iff |
| 53 | |
| 54 | theorem pair_support_genericPoint : |
| 55 | Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j (IntersectionGeometry.supportPoint (sourcePairSupport V X j p q A B hA hB)) = |
| 56 | IntersectionGeometry.supportPoint (Diagonal.LocalIsolation.Constructions.pairedSupport V p q A B).val := by |
| 57 | let C := sourcePairSupport V X j p q A B hA hB |
| 58 | let D := (Diagonal.LocalIsolation.Constructions.pairedSupport V p q A B).val |
| 59 | have hc : IntersectionGeometry.supportPoint C ∈ (C : Set (pullback X.hom X.hom : Scheme)) := |
| 60 | (C.isIrreducible.isGenericPoint_genericPoint C.isClosed).mem |
| 61 | have hd : Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j (IntersectionGeometry.supportPoint C) ∈ (D : Set (Diagonal.Ambient.Constructions.productVariety V V).carrier) := by |
| 62 | have h := congrArg (fun S : Set (pullback X.hom X.hom : Scheme) => IntersectionGeometry.supportPoint C ∈ S) |
| 63 | (pair_support_preimage V X j p q A B hA hB) |
| 64 | exact h.mpr hc |
| 65 | have hD := Open.StalkSupport.Constructions.Restriction.generic_mem_range (Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j) D (IntersectionGeometry.supportPoint C) hd |
| 66 | have he : Open.StalkSupport.Constructions.Restriction.restrictedSupport (Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j) D hD = C := by |
| 67 | apply SetLike.coe_injective |
| 68 | exact (Open.StalkSupport.Constructions.Restriction.restrictedSupport_coe (Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j) D hD).trans (pair_support_preimage V X j p q A B hA hB) |
| 69 | have h := Open.StalkSupport.Constructions.Restriction.restrictedSupport_genericPoint (Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j) D hD |
| 70 | rw [he] at h |
| 71 | exact h |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportOpen.Constructions |