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.FiniteIntersection.Arrows |
| 2 | |
| 3 | /-! # Unions -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiniteIntersection.Unions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Singletons and unions describe the cover and the pairwise intersections in the finite diagram. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] (X : Over (Spec (.of R))) [CompactSpace X.left] |
| 16 | |
| 17 | def finiteIntersectionSingleton (i : Finite.AffineIntersections.finiteAffineCoverIndex X) : Finite.AffineIntersections.finiteIntersectionIndex X := |
| 18 | ⟨{i}, Finset.singleton_nonempty i⟩ |
| 19 | |
| 20 | theorem finiteIntersectionOpen_singleton (i : Finite.AffineIntersections.finiteAffineCoverIndex X) : |
| 21 | Finite.AffineIntersections.finiteIntersectionOpen X (finiteIntersectionSingleton X i) = Finite.AffineIntersections.finiteAffineChartOpen X i := by |
| 22 | classical |
| 23 | simp [Finite.AffineIntersections.finiteIntersectionOpen, finiteIntersectionSingleton] |
| 24 | |
| 25 | def finiteIntersectionUnion (S T : Finite.AffineIntersections.finiteIntersectionIndex X) : Finite.AffineIntersections.finiteIntersectionIndex X := by |
| 26 | classical |
| 27 | exact ⟨S.val ∪ T.val, S.property.mono Finset.subset_union_left⟩ |
| 28 | |
| 29 | theorem finiteIntersection_subset_union_left (S T : Finite.AffineIntersections.finiteIntersectionIndex X) : |
| 30 | S.val ⊆ (finiteIntersectionUnion X S T).val := by |
| 31 | classical |
| 32 | exact Finset.subset_union_left |
| 33 | |
| 34 | theorem finiteIntersection_subset_union_right (S T : Finite.AffineIntersections.finiteIntersectionIndex X) : |
| 35 | T.val ⊆ (finiteIntersectionUnion X S T).val := by |
| 36 | classical |
| 37 | exact Finset.subset_union_right |
| 38 | |
| 39 | theorem finiteIntersectionUnion_comm (S T : Finite.AffineIntersections.finiteIntersectionIndex X) : |
| 40 | finiteIntersectionUnion X S T = finiteIntersectionUnion X T S := by |
| 41 | classical |
| 42 | apply Subtype.ext |
| 43 | exact Finset.union_comm _ _ |
| 44 | |
| 45 | theorem finiteIntersectionUnion_assoc (S T U : Finite.AffineIntersections.finiteIntersectionIndex X) : |
| 46 | finiteIntersectionUnion X (finiteIntersectionUnion X S T) U = |
| 47 | finiteIntersectionUnion X S (finiteIntersectionUnion X T U) := by |
| 48 | classical |
| 49 | apply Subtype.ext |
| 50 | exact Finset.union_assoc _ _ _ |
| 51 | |
| 52 | theorem finiteIntersectionUnion_self (S : Finite.AffineIntersections.finiteIntersectionIndex X) : |
| 53 | finiteIntersectionUnion X S S = S := by |
| 54 | classical |
| 55 | apply Subtype.ext |
| 56 | exact Finset.union_self _ |
| 57 | |
| 58 | theorem finiteIntersectionOpen_union (S T : Finite.AffineIntersections.finiteIntersectionIndex X) : |
| 59 | Finite.AffineIntersections.finiteIntersectionOpen X (finiteIntersectionUnion X S T) = |
| 60 | Finite.AffineIntersections.finiteIntersectionOpen X S ⊓ Finite.AffineIntersections.finiteIntersectionOpen X T := by |
| 61 | classical |
| 62 | apply le_antisymm |
| 63 | · exact le_inf (Arrows.finiteIntersectionOpen_antitone X Finset.subset_union_left) |
| 64 | (Arrows.finiteIntersectionOpen_antitone X Finset.subset_union_right) |
| 65 | · apply le_iInf |
| 66 | intro i |
| 67 | obtain hi | hi := Finset.mem_union.mp i.property |
| 68 | · exact (inf_le_left : Finite.AffineIntersections.finiteIntersectionOpen X S ⊓ Finite.AffineIntersections.finiteIntersectionOpen X T ≤ |
| 69 | Finite.AffineIntersections.finiteIntersectionOpen X S).trans |
| 70 | (iInf_le (fun k : S.val => Finite.AffineIntersections.finiteAffineChartOpen X k.val) ⟨i.val, hi⟩) |
| 71 | · exact (inf_le_right : Finite.AffineIntersections.finiteIntersectionOpen X S ⊓ Finite.AffineIntersections.finiteIntersectionOpen X T ≤ |
| 72 | Finite.AffineIntersections.finiteIntersectionOpen X T).trans |
| 73 | (iInf_le (fun k : T.val => Finite.AffineIntersections.finiteAffineChartOpen X k.val) ⟨i.val, hi⟩) |
| 74 | |
| 75 | theorem finiteIntersectionOpen_cover (x : X.left) : |
| 76 | ∃ S, x ∈ Finite.AffineIntersections.finiteIntersectionOpen X S := by |
| 77 | obtain ⟨i, hi⟩ := Finite.AffineIntersections.finiteAffineChartOpen_cover X x |
| 78 | exact ⟨finiteIntersectionSingleton X i, (finiteIntersectionOpen_singleton X i).symm ▸ hi⟩ |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiniteIntersection.Unions |