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.Resolution.Blowups.Boundary.MonomialSchedule |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.LabelledBoundaryMonomialTransform |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.CountReduction |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.CoefficientStep |
| 5 | |
| 6 | /-! # Schedule -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.Schedule.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The common combinatorial face update holds on actual boundary-intersection blowup charts. -/ |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | /-- Every set of boundary components through a point is contained in a recorded face. -/ |
| 17 | def BoundaryFacesCover {R : Type u} [CommRing R] {ι : Type v} |
| 18 | (w : ι → R) (L : List (Finset ι)) : Prop := |
| 19 | ∀ p : PrimeSpectrum R, ∃ S ∈ L, ∀ j, w j ∈ p.asIdeal → j ∈ S |
| 20 | |
| 21 | theorem boundaryFacesCover_univ {R : Type u} [CommRing R] {ι : Type v} [Fintype ι] |
| 22 | (w : ι → R) : BoundaryFacesCover w [Finset.univ] := |
| 23 | fun _ => ⟨Finset.univ, List.mem_singleton_self _, fun _ _ => Finset.mem_univ _⟩ |
| 24 | |
| 25 | theorem BoundaryFacesCover.map {R A : Type u} [CommRing R] [CommRing A] {ι : Type v} |
| 26 | {w : ι → R} {L : List (Finset ι)} (h : BoundaryFacesCover w L) (f : R →+* A) : |
| 27 | BoundaryFacesCover (fun j => f (w j)) L := by |
| 28 | intro p |
| 29 | obtain ⟨S, hS, hw⟩ := h (PrimeSpectrum.comap f p) |
| 30 | exact ⟨S, hS, hw⟩ |
| 31 | |
| 32 | theorem BoundaryFacesCover.mul_units {R : Type u} [CommRing R] {ι : Type v} |
| 33 | {w : ι → R} {L : List (Finset ι)} (h : BoundaryFacesCover w L) |
| 34 | (v : ι → R) (hv : ∀ j, IsUnit (v j)) : BoundaryFacesCover (fun j => v j * w j) L := by |
| 35 | intro p |
| 36 | obtain ⟨S, hS, hw⟩ := h p |
| 37 | exact ⟨S, hS, fun j hj => hw j ((p.asIdeal.unit_mul_mem_iff_mem (hv j)).mp hj)⟩ |
| 38 | |
| 39 | def boundaryIntersectionGenerator {R : Type u} [CommRing R] {ι : Type v} |
| 40 | (w : ι → R) (C : Finset ι) (i : C) : CountReduction.Construction.boundaryIntersectionIdeal w C := |
| 41 | ⟨w i.val, Ideal.subset_span ⟨i, rfl⟩⟩ |
| 42 | |
| 43 | theorem boundaryIntersection_mem {R : Type u} [CommRing R] {ι : Type v} |
| 44 | (w : ι → R) (C : Finset ι) (j : ι) (hj : j ∈ C) : |
| 45 | w j ∈ CountReduction.Construction.boundaryIntersectionIdeal w C := Ideal.subset_span ⟨⟨j, hj⟩, rfl⟩ |
| 46 | |
| 47 | theorem blowupMixedBoundaryFamily_denominator_one {R : Type u} [CommRing R] {ι : Type v} |
| 48 | (w : ι → R) (C : Finset ι) (i : C) : |
| 49 | MixedBoundary.Equations.Construction.blowupMixedBoundaryFamily (CountReduction.Construction.boundaryIntersectionIdeal w C) (boundaryIntersectionGenerator w C i) |
| 50 | C w (boundaryIntersection_mem w C) (some i.val) = 1 := by |
| 51 | classical |
| 52 | rw [MixedBoundary.Equations.Construction.blowupMixedBoundaryFamily, dite_eq_left i.property] |
| 53 | exact Etale.CoefficientStep.Construction.blowupChartRatio_self _ _ |
| 54 | |
| 55 | theorem BoundaryFacesCover.blowup_intersection {R : Type u} [CommRing R] |
| 56 | {ι : Type v} [DecidableEq ι] {w : ι → R} {L : List (Finset ι)} |
| 57 | (h : BoundaryFacesCover w L) (C : Finset ι) (i : C) : |
| 58 | BoundaryFacesCover |
| 59 | (MixedBoundary.Equations.Construction.blowupMixedBoundaryFamily (CountReduction.Construction.boundaryIntersectionIdeal w C) (boundaryIntersectionGenerator w C i) |
| 60 | C w (boundaryIntersection_mem w C)) (MonomialSchedule.Construction.boundaryScheduleFaces C L) := by |
| 61 | classical |
| 62 | let I := CountReduction.Construction.boundaryIntersectionIdeal w C |
| 63 | let d := boundaryIntersectionGenerator w C i |
| 64 | let v := MixedBoundary.Equations.Construction.blowupMixedBoundaryFamily I d C w (boundaryIntersection_mem w C) |
| 65 | let f := Blowup.Charts.Construction.blowupChartConstants I d |
| 66 | intro p |
| 67 | obtain ⟨S, hS, hw⟩ := h (PrimeSpectrum.comap f p) |
| 68 | have hsome (j : ι) (hj : v (some j) ∈ p.asIdeal) : j ∈ S := by |
| 69 | apply hw j |
| 70 | change f (w j) ∈ p.asIdeal |
| 71 | rw [MixedBoundary.Equations.Construction.blowupMixedBoundaryFamily_factorization I d C w (boundaryIntersection_mem w C) j] |
| 72 | exact p.asIdeal.mul_mem_left _ hj |
| 73 | have hiunit : v (some i.val) = 1 := blowupMixedBoundaryFamily_denominator_one w C i |
| 74 | by_cases hCS : C ⊆ S |
| 75 | · refine ⟨MonomialSchedule.Construction.boundaryExceptionalFace S i.val, ?_, ?_⟩ |
| 76 | · apply List.mem_flatMap.mpr |
| 77 | refine ⟨S, hS, ?_⟩ |
| 78 | rw [MonomialSchedule.Construction.boundaryFaceBranches, ite_eq_left hCS] |
| 79 | exact List.mem_map.mpr ⟨i.val, Finset.mem_toList.mpr i.property, rfl⟩ |
| 80 | · intro j hj |
| 81 | cases j with |
| 82 | | none => exact Finset.mem_insert_self _ _ |
| 83 | | some j => |
| 84 | have hji : j ≠ i.val := by |
| 85 | intro he |
| 86 | subst j |
| 87 | change v (some i.val) ∈ p.asIdeal at hj |
| 88 | rw [hiunit] at hj |
| 89 | exact p.asIdeal.notMem_of_isUnit isUnit_one hj |
| 90 | apply Finset.mem_insert_of_mem |
| 91 | exact Finset.mem_map.mpr ⟨j, Finset.mem_erase.mpr ⟨hji, hsome j hj⟩, rfl⟩ |
| 92 | · have hn : v none ∉ p.asIdeal := by |
| 93 | intro hn |
| 94 | apply hCS |
| 95 | intro j hj |
| 96 | apply hw j |
| 97 | change f (w j) ∈ p.asIdeal |
| 98 | rw [MixedBoundary.Equations.Construction.blowupMixedBoundaryFamily_factorization I d C w (boundaryIntersection_mem w C) j, |
| 99 | ite_eq_left hj, pow_one (f d.val)] |
| 100 | exact p.asIdeal.mul_mem_right _ hn |
| 101 | refine ⟨S.map Function.Embedding.some, ?_, ?_⟩ |
| 102 | · apply List.mem_flatMap.mpr |
| 103 | refine ⟨S, hS, ?_⟩ |
| 104 | rw [MonomialSchedule.Construction.boundaryFaceBranches, ite_eq_right hCS] |
| 105 | exact List.mem_singleton_self _ |
| 106 | · intro j hj |
| 107 | cases j with |
| 108 | | none => exact False.elim (hn hj) |
| 109 | | some j => exact Finset.mem_map.mpr ⟨j, hsome j hj, rfl⟩ |
| 110 | |
| 111 | theorem boundarySchedule_controlledTransform {R : Type u} [CommRing R] |
| 112 | {ι : Type u} [Fintype ι] [DecidableEq ι] (w : ι → R) (a : ι → ℕ) |
| 113 | (b : ℕ) (C : Finset ι) (hC : MonomialTermination.Construction.MinimalMonomialCenter a b C) (i : C) : |
| 114 | ControlledTransform.Construction.blowupControlledTransform (CountReduction.Construction.boundaryIntersectionIdeal w C) |
| 115 | (Ideal.span {LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement w a}) b (boundaryIntersectionGenerator w C i) = |
| 116 | Ideal.span {LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement |
| 117 | (MixedBoundary.Equations.Construction.blowupMixedBoundaryFamily (CountReduction.Construction.boundaryIntersectionIdeal w C) (boundaryIntersectionGenerator w C i) |
| 118 | C w (boundaryIntersection_mem w C)) (MonomialSchedule.Construction.boundaryScheduleExponents a b C)} := by |
| 119 | exact LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement_controlledTransform _ _ C w (boundaryIntersection_mem w C) a b hC.2.1 |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.Schedule.Construction |