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.Comparison.Betti.Coordinate.LaurentAmbient |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Laurent.SectorTo |
| 3 | import Mathlib.Algebra.BigOperators.Group.Finset.Powerset |
| 4 | |
| 5 | /-! # Laurent Sectors -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Finite.LaurentSectors.Dolbeault |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite Laurent sign decomposition with preservation of prescribed zeros. -/ |
| 12 | |
| 13 | open _root_.TopologicalSpace Set |
| 14 | open scoped BigOperators |
| 15 | |
| 16 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 17 | |
| 18 | theorem exists_finiteLaurentSectors (s Z : Finset ι) (hZ : Disjoint s Z) |
| 19 | (f : (ι → ℂ) → ℂ) (hf : DifferentiableOn ℂ f (Laurent.SectorTo.Dolbeault.laurentCoordinateDomain s)) |
| 20 | (hz : ∀ j ∈ Z, ∀ x ∈ Laurent.SectorTo.Dolbeault.laurentCoordinateDomain s, x j = 0 → f x = 0) : |
| 21 | ∃ A : Finset ι → (ι → ℂ) → ℂ, |
| 22 | (∀ J ∈ s.powerset, Differentiable ℂ (A J) ∧ |
| 23 | ∀ j ∈ J ∪ Z, ∀ x : ι → ℂ, x j = 0 → A J x = 0) ∧ |
| 24 | (∀ x ∈ Laurent.SectorTo.Dolbeault.laurentCoordinateDomain s, |
| 25 | ∑ J ∈ s.powerset, A J (Laurent.SectorTo.Dolbeault.laurentInverseCoordinates J x) = f x) := by |
| 26 | induction s using Finset.induction_on generalizing Z f with |
| 27 | | empty => |
| 28 | have hall (x : ι → ℂ) : x ∈ Laurent.SectorTo.Dolbeault.laurentCoordinateDomain (∅ : Finset ι) := by |
| 29 | rw [Laurent.SectorTo.Dolbeault.laurentCoordinateDomain_empty] |
| 30 | trivial |
| 31 | have hdiff : Differentiable ℂ f := by |
| 32 | apply differentiableOn_univ.mp |
| 33 | simpa only [Laurent.SectorTo.Dolbeault.laurentCoordinateDomain_empty, Opens.coe_top] using hf |
| 34 | refine ⟨fun _ => f, ?_, ?_⟩ |
| 35 | · intro J hJ |
| 36 | have hJe : J = ∅ := by simpa using hJ |
| 37 | subst J |
| 38 | refine ⟨hdiff, ?_⟩ |
| 39 | intro j hj x hx |
| 40 | exact hz j (by simpa using hj) x (hall x) hx |
| 41 | · intro x _ |
| 42 | have hinv : Laurent.SectorTo.Dolbeault.laurentInverseCoordinates (∅ : Finset ι) x = x := by |
| 43 | funext i |
| 44 | simp [Laurent.SectorTo.Dolbeault.laurentInverseCoordinates] |
| 45 | simp only [Finset.powerset_empty, Finset.sum_singleton, hinv] |
| 46 | | @insert i s hi ih => |
| 47 | have hiZ : i ∉ Z := (Finset.disjoint_insert_left.mp hZ).1 |
| 48 | have hsZ : Disjoint s Z := (Finset.disjoint_insert_left.mp hZ).2 |
| 49 | obtain ⟨a, b, ha, hb, hb0, habz, hab⟩ := Coordinate.LaurentAmbient.Dolbeault.exists_laurentDomain_split s i hi f hf |
| 50 | have haz : ∀ j ∈ Z, ∀ x ∈ Laurent.SectorTo.Dolbeault.laurentCoordinateDomain s, x j = 0 → a x = 0 := by |
| 51 | intro j hj x hx hxj |
| 52 | exact (habz j (fun h => hiZ (h ▸ hj)) (hz j hj) x hx hxj).1 |
| 53 | have hbz : ∀ j ∈ insert i Z, ∀ x ∈ Laurent.SectorTo.Dolbeault.laurentCoordinateDomain s, x j = 0 → b x = 0 := by |
| 54 | intro j hj x hx hxj |
| 55 | rcases Finset.mem_insert.mp hj with rfl | hj |
| 56 | · exact hb0 x hx hxj |
| 57 | · exact (habz j (fun h => hiZ (h ▸ hj)) (hz j hj) x hx hxj).2 |
| 58 | obtain ⟨A, hA, hAe⟩ := ih Z hsZ a ha haz |
| 59 | obtain ⟨B, hB, hBe⟩ := ih (insert i Z) (Finset.disjoint_insert_right.mpr ⟨hi, hsZ⟩) b hb hbz |
| 60 | let C : Finset ι → (ι → ℂ) → ℂ := fun J => if i ∈ J then B (J.erase i) else A J |
| 61 | refine ⟨C, ?_, ?_⟩ |
| 62 | · intro J hJ |
| 63 | have hJs : J ⊆ insert i s := Finset.mem_powerset.mp hJ |
| 64 | by_cases hiJ : i ∈ J |
| 65 | · have herase : J.erase i ⊆ s := by |
| 66 | intro j hj |
| 67 | rcases Finset.mem_erase.mp hj with ⟨hji, hjJ⟩ |
| 68 | exact (Finset.mem_insert.mp (hJs hjJ)).resolve_left hji |
| 69 | change Differentiable ℂ (if i ∈ J then B (J.erase i) else A J) ∧ _ |
| 70 | simp only [C, ite_eq_left hiJ] |
| 71 | refine ⟨(hB _ (Finset.mem_powerset.mpr herase)).1, ?_⟩ |
| 72 | intro j hj x hx |
| 73 | have hjB : j ∈ J.erase i ∪ insert i Z := by |
| 74 | by_cases hji : j = i |
| 75 | · subst j |
| 76 | exact Finset.mem_union_right _ (Finset.mem_insert_self _ _) |
| 77 | · rcases Finset.mem_union.mp hj with hj | hj |
| 78 | · exact Finset.mem_union_left _ (Finset.mem_erase.mpr ⟨hji, hj⟩) |
| 79 | · exact Finset.mem_union_right _ (Finset.mem_insert_of_mem hj) |
| 80 | exact (hB _ (Finset.mem_powerset.mpr herase)).2 j hjB x hx |
| 81 | · have hsub : J ⊆ s := by |
| 82 | intro j hj |
| 83 | rcases Finset.mem_insert.mp (hJs hj) with hji | hj |
| 84 | · exact False.elim (hiJ (hji ▸ hj)) |
| 85 | · exact hj |
| 86 | change Differentiable ℂ (if i ∈ J then B (J.erase i) else A J) ∧ _ |
| 87 | simpa only [C, ite_eq_right hiJ] using hA J (Finset.mem_powerset.mpr hsub) |
| 88 | · intro x hx |
| 89 | have hxs : x ∈ Laurent.SectorTo.Dolbeault.laurentCoordinateDomain s := |
| 90 | Laurent.SectorTo.Dolbeault.laurentCoordinateDomain_antitone (Finset.subset_insert i s) hx |
| 91 | have hxu : Function.update x i (x i)⁻¹ ∈ Laurent.SectorTo.Dolbeault.laurentCoordinateDomain s := |
| 92 | Laurent.SectorTo.Dolbeault.laurentCoordinateDomain_update hi hxs _ |
| 93 | rw [Finset.sum_powerset_insert hi] |
| 94 | calc |
| 95 | (∑ J ∈ s.powerset, C J (Laurent.SectorTo.Dolbeault.laurentInverseCoordinates J x)) + |
| 96 | ∑ J ∈ s.powerset, C (insert i J) (Laurent.SectorTo.Dolbeault.laurentInverseCoordinates (insert i J) x) = |
| 97 | (∑ J ∈ s.powerset, A J (Laurent.SectorTo.Dolbeault.laurentInverseCoordinates J x)) + |
| 98 | ∑ J ∈ s.powerset, B J (Laurent.SectorTo.Dolbeault.laurentInverseCoordinates J (Function.update x i (x i)⁻¹)) := by |
| 99 | apply congrArg₂ (· + ·) |
| 100 | · apply Finset.sum_congr rfl |
| 101 | intro J hJ |
| 102 | have hiJ : i ∉ J := fun hj => hi (Finset.mem_powerset.mp hJ hj) |
| 103 | simp only [C, ite_eq_right hiJ] |
| 104 | · apply Finset.sum_congr rfl |
| 105 | intro J hJ |
| 106 | have hiJ : i ∉ J := fun hj => hi (Finset.mem_powerset.mp hJ hj) |
| 107 | simp only [C, Finset.mem_insert_self, ite_true, Finset.erase_insert hiJ, |
| 108 | Laurent.SectorTo.Dolbeault.laurentInverseCoordinates_insert J i hiJ] |
| 109 | _ = a x + b (Function.update x i (x i)⁻¹) := |
| 110 | congrArg₂ (· + ·) (hAe x hxs) (hBe _ hxu) |
| 111 | _ = f x := hab x hx |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.Comparison.Betti.Finite.LaurentSectors.Dolbeault |