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 | /- |
| 2 | Copyright (c) 2026 The AINTLIB contributors. All rights reserved. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | Authors: AINTLIB ModularCurves project |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleAlternation |
| 8 | |
| 9 | /-! # Tuple Permutation Faces -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TuplePermutationFaces |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Category _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite _root_.TopologicalSpace |
| 16 | universe u |
| 17 | |
| 18 | open Set |
| 19 | |
| 20 | theorem cechTupleAlternatingProjection_boundary_single_of_strictMono |
| 21 | {ι : Type u} [LinearOrder ι] (n : ℕ) |
| 22 | (i : Fin (n + 2) → ι) (hi : StrictMono i) : |
| 23 | TupleChains.cechTupleBoundary n |
| 24 | (TupleAlternation.cechTupleAlternatingProjection (n + 1) (Finsupp.single i 1)) = |
| 25 | TupleAlternation.cechTupleAlternatingProjection n |
| 26 | (TupleChains.cechTupleBoundary n (Finsupp.single i 1)) := by |
| 27 | rw [TupleAlternation.cechTupleAlternatingProjection_single, |
| 28 | TupleAlternation.cechTupleAlternatingProjectionBasis_of_strictMono i hi, one_smul] |
| 29 | simp only [TupleChains.cechTupleBoundary_single, one_smul] |
| 30 | unfold TupleChains.cechTupleBoundaryBasis |
| 31 | rw [map_sum] |
| 32 | apply Finset.sum_congr rfl |
| 33 | intro k _ |
| 34 | rw [TupleAlternation.cechTupleAlternatingProjection_single, |
| 35 | TupleAlternation.cechTupleAlternatingProjectionBasis_of_strictMono] |
| 36 | · simp |
| 37 | · exact hi.comp (Fin.strictMono_succAbove k) |
| 38 | |
| 39 | theorem cechTupleDelete_comp_cechPermDelete |
| 40 | {ι : Type u} {n : ℕ} (i : Fin (n + 2) → ι) |
| 41 | (σ : Equiv.Perm (Fin (n + 2))) (r : Fin (n + 2)) : |
| 42 | TupleChains.cechTupleDelete i (σ r) ∘ |
| 43 | Cech.PermutedTupleSigns.cechPermDelete σ r = |
| 44 | TupleChains.cechTupleDelete (i ∘ σ) r := by |
| 45 | funext x |
| 46 | exact congrArg i |
| 47 | (Cech.PermutedTupleSigns.succAbove_cechPermDelete σ r x) |
| 48 | |
| 49 | theorem cechTupleAlternatingProjectionBasis_delete_perm |
| 50 | {ι : Type u} [LinearOrder ι] {n : ℕ} |
| 51 | (i : Fin (n + 2) → ι) (σ : Equiv.Perm (Fin (n + 2))) |
| 52 | (hiσ : StrictMono (i ∘ σ)) (r : Fin (n + 2)) : |
| 53 | TupleAlternation.cechTupleAlternatingProjectionBasis n (TupleChains.cechTupleDelete i (σ r)) = |
| 54 | (Equiv.Perm.sign |
| 55 | (Cech.PermutedTupleSigns.cechPermDelete σ r) : ℤ) • |
| 56 | Finsupp.single (TupleChains.cechTupleDelete (i ∘ σ) r) 1 := by |
| 57 | let ρ := Cech.PermutedTupleSigns.cechPermDelete σ r |
| 58 | have htuple : |
| 59 | TupleChains.cechTupleDelete i (σ r) ∘ ρ = |
| 60 | TupleChains.cechTupleDelete (i ∘ σ) r := |
| 61 | cechTupleDelete_comp_cechPermDelete i σ r |
| 62 | have hperm := |
| 63 | TupleAlternation.cechTupleAlternatingProjectionBasis_comp_perm |
| 64 | (TupleChains.cechTupleDelete i (σ r)) ρ |
| 65 | rw [htuple, TupleAlternation.cechTupleAlternatingProjectionBasis_of_strictMono |
| 66 | (TupleChains.cechTupleDelete (i ∘ σ) r) |
| 67 | (hiσ.comp (Fin.strictMono_succAbove r))] at hperm |
| 68 | have hs : |
| 69 | (Equiv.Perm.sign ρ : ℤ) * (Equiv.Perm.sign ρ : ℤ) = 1 := |
| 70 | Int.units_coe_mul_self (Equiv.Perm.sign ρ) |
| 71 | calc |
| 72 | TupleAlternation.cechTupleAlternatingProjectionBasis n (TupleChains.cechTupleDelete i (σ r)) = |
| 73 | 1 • TupleAlternation.cechTupleAlternatingProjectionBasis n |
| 74 | (TupleChains.cechTupleDelete i (σ r)) := by rw [one_smul] |
| 75 | _ = ((Equiv.Perm.sign ρ : ℤ) * (Equiv.Perm.sign ρ : ℤ)) • |
| 76 | TupleAlternation.cechTupleAlternatingProjectionBasis n |
| 77 | (TupleChains.cechTupleDelete i (σ r)) := |
| 78 | congrArg (fun a : ℤ => a • |
| 79 | TupleAlternation.cechTupleAlternatingProjectionBasis n |
| 80 | (TupleChains.cechTupleDelete i (σ r))) hs.symm |
| 81 | _ = (Equiv.Perm.sign ρ : ℤ) • |
| 82 | ((Equiv.Perm.sign ρ : ℤ) • |
| 83 | TupleAlternation.cechTupleAlternatingProjectionBasis n |
| 84 | (TupleChains.cechTupleDelete i (σ r))) := by rw [smul_smul] |
| 85 | _ = (Equiv.Perm.sign ρ : ℤ) • |
| 86 | Finsupp.single (TupleChains.cechTupleDelete (i ∘ σ) r) 1 := |
| 87 | congrArg ((Equiv.Perm.sign ρ : ℤ) • ·) hperm.symm |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TuplePermutationFaces |