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.SheafCohomology.Projective.OrderedCechSupportContraction |
| 2 | |
| 3 | /-! # Ordered Cech Zero Cycles -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedCechZeroCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Degree-zero cycles with empty required support are constant cochains. -/ |
| 10 | |
| 11 | open _root_.AlgebraicGeometry |
| 12 | universe u v |
| 13 | variable (R : Type u) [CommRing R] {ι : Type v} [LinearOrder ι] |
| 14 | |
| 15 | def orderedSupportSingleton (i : ι) : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 0 := |
| 16 | ⟨![i], by |
| 17 | apply Fin.strictMono_iff_lt_succ.2 |
| 18 | intro k |
| 19 | exact Fin.elim0 k⟩ |
| 20 | |
| 21 | def orderedSupportPair (i j : ι) (hij : i < j) : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 1 := |
| 22 | ⟨![i, j], by |
| 23 | apply Fin.strictMono_iff_lt_succ.2 |
| 24 | intro k |
| 25 | fin_cases k |
| 26 | exact hij⟩ |
| 27 | |
| 28 | theorem orderedSupportSingleton_of_index (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 0) : |
| 29 | orderedSupportSingleton (a.1 0) = a := by |
| 30 | apply Subtype.ext |
| 31 | funext k |
| 32 | fin_cases k |
| 33 | rfl |
| 34 | |
| 35 | theorem orderedSupportPair_delete_zero (i j : ι) (hij : i < j) : |
| 36 | (orderedSupportPair i j hij).delete 0 = orderedSupportSingleton j := by |
| 37 | apply Subtype.ext |
| 38 | funext k |
| 39 | fin_cases k |
| 40 | rfl |
| 41 | |
| 42 | theorem orderedSupportPair_delete_one (i j : ι) (hij : i < j) : |
| 43 | (orderedSupportPair i j hij).delete 1 = orderedSupportSingleton i := by |
| 44 | apply Subtype.ext |
| 45 | funext k |
| 46 | fin_cases k |
| 47 | rfl |
| 48 | |
| 49 | theorem orderedSupportZeroCycle_pair |
| 50 | (s : (OrderedCechSupportContraction.orderedCechSupportDifferential R (∅ : Set ι) 0).ker) |
| 51 | (i j : ι) (hij : i < j) : |
| 52 | s.val.val (orderedSupportSingleton j) = s.val.val (orderedSupportSingleton i) := by |
| 53 | have h := congrArg (fun z => z.val (orderedSupportPair i j hij)) s.property |
| 54 | change (∑ k : Fin 2, (-1 : R) ^ (k : ℕ) * |
| 55 | s.val.val ((orderedSupportPair i j hij).delete k)) = 0 at h |
| 56 | simp only [Fin.sum_univ_two, Fin.val_zero, pow_zero, one_mul, |
| 57 | orderedSupportPair_delete_zero, Fin.val_one, pow_one, |
| 58 | orderedSupportPair_delete_one, neg_one_mul] at h |
| 59 | exact eq_of_sub_eq_zero (by simpa only [sub_eq_add_neg] using h) |
| 60 | |
| 61 | theorem orderedSupportZeroCycle_constant |
| 62 | (s : (OrderedCechSupportContraction.orderedCechSupportDifferential R (∅ : Set ι) 0).ker) |
| 63 | (i : ι) (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 0) : |
| 64 | s.val.val a = s.val.val (orderedSupportSingleton i) := by |
| 65 | rw [← orderedSupportSingleton_of_index a] |
| 66 | rcases lt_trichotomy i (a.1 0) with h | h | h |
| 67 | · exact orderedSupportZeroCycle_pair R s i (a.1 0) h |
| 68 | · rw [h] |
| 69 | · exact (orderedSupportZeroCycle_pair R s (a.1 0) i h).symm |
| 70 | |
| 71 | def orderedConstantZeroCycle (r : R) : |
| 72 | (OrderedCechSupportContraction.orderedCechSupportDifferential R (∅ : Set ι) 0).ker := |
| 73 | ⟨⟨fun _ => r, fun _ h => (h (Set.empty_subset _)).elim⟩, by |
| 74 | apply Subtype.ext |
| 75 | funext a |
| 76 | change (∑ k : Fin 2, (-1 : R) ^ (k : ℕ) * r) = 0 |
| 77 | simp [Fin.sum_univ_succ]⟩ |
| 78 | |
| 79 | def orderedZeroCycleEvaluation (i : ι) : |
| 80 | (OrderedCechSupportContraction.orderedCechSupportDifferential R (∅ : Set ι) 0).ker →ₗ[R] R where |
| 81 | toFun s := s.val.val (orderedSupportSingleton i) |
| 82 | map_add' _ _ := rfl |
| 83 | map_smul' _ _ := rfl |
| 84 | |
| 85 | def orderedZeroCyclesEquiv (i : ι) : |
| 86 | (OrderedCechSupportContraction.orderedCechSupportDifferential R (∅ : Set ι) 0).ker ≃ₗ[R] R := |
| 87 | LinearEquiv.ofBijective (orderedZeroCycleEvaluation R i) ⟨by |
| 88 | intro s t h |
| 89 | apply Subtype.ext |
| 90 | apply Subtype.ext |
| 91 | funext a |
| 92 | rw [orderedSupportZeroCycle_constant R s i a, |
| 93 | orderedSupportZeroCycle_constant R t i a] |
| 94 | exact h, |
| 95 | fun r => ⟨orderedConstantZeroCycle R r, rfl⟩⟩ |
| 96 | |
| 97 | def orderedEmptySupportCyclesEquiv (N : Set ι) (hN : N = ∅) (i : ι) : |
| 98 | (OrderedCechSupportContraction.orderedCechSupportDifferential R N 0).ker ≃ₗ[R] R := by |
| 99 | subst N |
| 100 | exact orderedZeroCyclesEquiv R i |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedCechZeroCycles |