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.IntersectionTheory.ProjectionFormula.Finite.SupportAvoidance |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AdjacentCycleSeparation |
| 3 | |
| 4 | /-! # Positive Cycle Moving -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PositiveCycleMoving |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Cycles of any positive codimension can be rationally moved so that no |
| 11 | component is contained in any of finitely many positive-codimension supports. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped Classical |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports |
| 19 | |
| 20 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m r q : ℕ) |
| 21 | [SmoothOfRelativeDimension m X.structureMap] (hq : 0 < q) |
| 22 | |
| 23 | include m hq |
| 24 | |
| 25 | theorem move_single (S : Finset (X.DimensionCycleSupport q)) (C : X.DimensionCycleSupport (r + 1)) : |
| 26 | ∃ b : X.RationalDimensionCycle (r + 1), CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X (r + 1) (Finsupp.single C 1) b ∧ |
| 27 | ∀ B ∈ b.support, ∀ D ∈ S, ¬ B.val ≤ D.val := by |
| 28 | by_cases hC : ∃ D ∈ S, C.val ≤ D.val |
| 29 | · obtain ⟨D, hD, hCD⟩ := hC |
| 30 | obtain ⟨A, hCA, hA⟩ := Finite.SupportAvoidance.exists_support X m r q hq C S |
| 31 | let Z (B : S) : Closeds X.carrier := |
| 32 | ⟨(A.val : Set X.carrier) ∩ B.val.val, A.val.isClosed.inter B.val.val.isClosed⟩ |
| 33 | have hp (B : S) (E : IrreducibleCloseds X.carrier) (hE : (E : Set X.carrier) ⊆ Z B) : |
| 34 | r + 1 ≤ X.supportCodimension E := by |
| 35 | have hEA : E ≤ A.val := fun _ hx => (hE hx).1 |
| 36 | have hn : E ≠ A.val := by |
| 37 | intro he |
| 38 | exact hA B.val B.property (fun x hx => (hE (he ▸ hx)).2) |
| 39 | have hh := Supports.codimension_strictAnti X m (lt_of_le_of_ne hEA hn) |
| 40 | rw [A.property] at hh |
| 41 | omega |
| 42 | have hf (B : S) := Supports.finite_supports_in_proper_closed X m (r + 1) (Z B) (hp B) |
| 43 | let T := Finset.univ.biUnion (fun B : S => (hf B).toFinset) |
| 44 | have hmem (E : X.DimensionCycleSupport (r + 1)) (B : S) (hEA : E.val ≤ A.val) |
| 45 | (hEB : E.val ≤ B.val.val) : E ∈ T := by |
| 46 | apply Finset.mem_biUnion.mpr |
| 47 | refine ⟨B, Finset.mem_univ _, ?_⟩ |
| 48 | apply (hf B).mem_toFinset.mpr |
| 49 | have he := E.val.isIrreducible.isGenericPoint_genericPoint E.val.isClosed |
| 50 | exact ⟨hEA he.mem, hEB he.mem⟩ |
| 51 | obtain ⟨d, hd, hs, he⟩ := AdjacentCycleSeparation.exists_relation X m r A T C |
| 52 | (hmem C ⟨D, hD⟩ hCA hCD) hCA |
| 53 | refine ⟨Finsupp.single C 1 - d, ?_, ?_⟩ |
| 54 | · change Finsupp.single C 1 - (Finsupp.single C 1 - d) ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X (r + 1) |
| 55 | rwa [sub_sub_cancel] |
| 56 | · intro B hB E hE hBE |
| 57 | apply Finsupp.mem_support_iff.mp hB |
| 58 | by_cases hBC : B = C |
| 59 | · subst B |
| 60 | rw [Finsupp.sub_apply, Finsupp.single_eq_same, he C (hmem C ⟨D, hD⟩ hCA hCD), ite_eq_left rfl, sub_self] |
| 61 | · rw [Finsupp.sub_apply, Finsupp.single_eq_of_ne hBC] |
| 62 | by_cases hBA : B.val ≤ A.val |
| 63 | · rw [he B (hmem B ⟨E, hE⟩ hBA hBE), ite_eq_right hBC, sub_self] |
| 64 | · have hd0 : d B = 0 := by |
| 65 | by_contra hn |
| 66 | exact hBA (hs B (Finsupp.mem_support_iff.mpr hn)) |
| 67 | rw [hd0, sub_self] |
| 68 | · refine ⟨Finsupp.single C 1, CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X (r + 1) _, ?_⟩ |
| 69 | intro B hB D hD hBD |
| 70 | have he : B = C := by simpa using hB |
| 71 | subst B |
| 72 | exact hC ⟨D, hD, hBD⟩ |
| 73 | |
| 74 | theorem move (S : Finset (X.DimensionCycleSupport q)) (a : X.RationalDimensionCycle (r + 1)) : |
| 75 | ∃ b : X.RationalDimensionCycle (r + 1), CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X (r + 1) a b ∧ |
| 76 | ∀ B ∈ b.support, ∀ D ∈ S, ¬ B.val ≤ D.val := by |
| 77 | induction a using Finsupp.induction_linear with |
| 78 | | zero => |
| 79 | refine ⟨0, CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X (r + 1) 0, ?_⟩ |
| 80 | intro B hB |
| 81 | simp at hB |
| 82 | | add a b ha hb => |
| 83 | obtain ⟨a', ha', hsa⟩ := ha |
| 84 | obtain ⟨b', hb', hsb⟩ := hb |
| 85 | refine ⟨a' + b', ?_, ?_⟩ |
| 86 | · change (a + b) - (a' + b') ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X (r + 1) |
| 87 | have he : (a + b) - (a' + b') = (a - a') + (b - b') := by abel |
| 88 | rw [he] |
| 89 | exact Submodule.add_mem _ ha' hb' |
| 90 | · intro B hB D hD |
| 91 | rcases Finset.mem_union.mp (Finsupp.support_add hB) with hB | hB |
| 92 | · exact hsa B hB D hD |
| 93 | · exact hsb B hB D hD |
| 94 | | single C t => |
| 95 | obtain ⟨b, hb, hs⟩ := move_single X m r q hq S C |
| 96 | refine ⟨t • b, ?_, fun B hB D hD => hs B (Finsupp.support_smul hB) D hD⟩ |
| 97 | change Finsupp.single C t - t • b ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X (r + 1) |
| 98 | have hr : Finsupp.single C t = t • Finsupp.single C (1 : ℚ) := by simp |
| 99 | rw [hr, ← smul_sub] |
| 100 | exact Submodule.smul_mem _ t hb |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PositiveCycleMoving |