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.AbelianModuli.HilbertConstruction.Closed.ConditionRepresentation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ImmersionFactorization |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ParameterLoci |
| 4 | |
| 5 | /-! # Condition Intersections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ConditionIntersections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Simultaneous closed conditions are represented by the sum of their defining |
| 13 | ideals. This constructs intersections of parameter loci with their full |
| 14 | scheme structure and unique factorization property. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | variable {S : Scheme.{u}} {M : Over S} {α : Type v} |
| 22 | variable (P : α → Subfunctor (yoneda.obj M)) (D : ∀ i, ConditionIdeals.ClosedConditionModel (P i)) |
| 23 | |
| 24 | def closedConditionIntersection : Subfunctor (yoneda.obj M) where |
| 25 | obj T := {f | ∀ i, f ∈ (P i).obj T} |
| 26 | map g _f hf i := (P i).map g (hf i) |
| 27 | |
| 28 | def closedConditionIntersectionIdeal : M.left.IdealSheafData := ⨆ i, (D i).ideal |
| 29 | |
| 30 | theorem closedConditionIntersectionIdeal_vanish_iff {T : Over S} (f : T ⟶ M) : |
| 31 | (closedConditionIntersectionIdeal P D).comap f.left = ⊥ ↔ |
| 32 | f ∈ (closedConditionIntersection P).obj (.op T) := by |
| 33 | rw [ConditionIdeals.ideal_comap_eq_bot_iff] |
| 34 | change (⨆ i, (D i).ideal) ≤ f.left.ker ↔ ∀ i, f ∈ (P i).obj (.op T) |
| 35 | rw [iSup_le_iff] |
| 36 | exact forall_congr' (fun i => (ConditionIdeals.ideal_comap_eq_bot_iff (D i).ideal f.left).symm.trans |
| 37 | ((D i).ideal_vanish_iff f)) |
| 38 | |
| 39 | def closedConditionIntersectionScheme : Over S := |
| 40 | Over.mk ((closedConditionIntersectionIdeal P D).subschemeι ≫ M.hom) |
| 41 | |
| 42 | def closedConditionIntersectionInclusion : closedConditionIntersectionScheme P D ⟶ M := |
| 43 | Over.homMk (closedConditionIntersectionIdeal P D).subschemeι rfl |
| 44 | |
| 45 | instance closedConditionIntersectionInclusion_closed : |
| 46 | IsClosedImmersion (closedConditionIntersectionInclusion P D).left := |
| 47 | inferInstanceAs (IsClosedImmersion (closedConditionIntersectionIdeal P D).subschemeι) |
| 48 | |
| 49 | def closedConditionIntersectionModel : ConditionIdeals.ClosedConditionModel (closedConditionIntersection P) where |
| 50 | scheme := closedConditionIntersectionScheme P D |
| 51 | inclusion := closedConditionIntersectionInclusion P D |
| 52 | closed := closedConditionIntersectionInclusion_closed P D |
| 53 | factorization T f := by |
| 54 | have h := ImmersionFactorization.closedImmersion_ideal_factorization (closedConditionIntersectionInclusion P D) f |
| 55 | change (closedConditionIntersectionIdeal P D).subschemeι.ker.comap f.left = ⊥ ↔ _ at h |
| 56 | rw [(closedConditionIntersectionIdeal P D).ker_subschemeι] at h |
| 57 | exact (closedConditionIntersectionIdeal_vanish_iff P D f).symm.trans h |
| 58 | |
| 59 | def closedConditionIntersectionRepresentation : |
| 60 | yoneda.obj (closedConditionIntersectionScheme P D) ≅ (closedConditionIntersection P).toFunctor := |
| 61 | (closedConditionIntersectionModel P D).representation |
| 62 | |
| 63 | def closedConditionIntersectionProjective (Q : Projective.ProjectivePresentations.ProjectivePresentation M) : |
| 64 | Projective.ProjectivePresentations.ProjectivePresentation (closedConditionIntersectionScheme P D) := |
| 65 | Q.ofClosedImmersion (closedConditionIntersectionInclusion P D) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ConditionIntersections |