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.Divisors.LineBundles.Periodic.FactorKill |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Periodic.FactorSequence |
| 3 | |
| 4 | /-! # Factor Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Periodic.FactorEuler.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: composition of scalar factors in the periodic Euler invariant |
| 12 | |
| 13 | The explicit cone sequence and its constructed homotopy equivalence |
| 14 | prove e(ab,c) = e(a,bc) + e(b,ac). All homology finiteness conditions |
| 15 | refer to the actual complexes. |
| 16 | -/ |
| 17 | |
| 18 | variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 19 | |
| 20 | theorem endomorphismPeriodicHomology_swap_length |
| 21 | (φ ψ : M →ₗ[R] M) (hφψ : ψ.comp φ = 0) (hψφ : φ.comp ψ = 0) (i : Bool) : |
| 22 | Module.length R ((PeriodicComplex.BundleCycles.endomorphismPeriodicComplex ψ φ hψφ hφψ).homology i) = |
| 23 | Module.length R ((PeriodicComplex.BundleCycles.endomorphismPeriodicComplex φ ψ hφψ hψφ).homology (!i)) := by |
| 24 | cases i |
| 25 | · rw [Bool.not_false, |
| 26 | (Exact.BundleCycles.endomorphismPeriodicComplex_homology_false_iso ψ φ hψφ hφψ).toLinearEquiv.length_eq, |
| 27 | (Exact.BundleCycles.endomorphismPeriodicComplex_homology_true_iso φ ψ hφψ hψφ).toLinearEquiv.length_eq] |
| 28 | · rw [Bool.not_true, |
| 29 | (Exact.BundleCycles.endomorphismPeriodicComplex_homology_true_iso ψ φ hψφ hφψ).toLinearEquiv.length_eq, |
| 30 | (Exact.BundleCycles.endomorphismPeriodicComplex_homology_false_iso φ ψ hφψ hψφ).toLinearEquiv.length_eq] |
| 31 | |
| 32 | theorem equationPeriodicHomology_swap_length (a b : R) (h : ∀ m : M, (a * b) • m = 0) |
| 33 | (i : Bool) : |
| 34 | Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex b a (EquationPeriodicComplex.BundleCycles.equationPeriodic_kill_swap a b h)).homology i) = |
| 35 | Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b h).homology (!i)) := |
| 36 | endomorphismPeriodicHomology_swap_length _ _ _ _ i |
| 37 | |
| 38 | theorem periodicEulerLength_factor_comp (a b c : R) (h : ∀ m : M, (a * b * c) • m = 0) |
| 39 | (hAB₀ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex (a * b) c h).homology false) ≠ ⊤) |
| 40 | (hAB₁ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex (a * b) c h).homology true) ≠ ⊤) |
| 41 | (hA₀ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a (b * c) |
| 42 | (FactorKill.BundleCycles.factorCone_kill_source a b c h)).homology false) ≠ ⊤) |
| 43 | (hA₁ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a (b * c) |
| 44 | (FactorKill.BundleCycles.factorCone_kill_source a b c h)).homology true) ≠ ⊤) |
| 45 | (hB₀ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex b (a * c) |
| 46 | (FactorKill.BundleCycles.factorCone_kill_middle a b c h)).homology false) ≠ ⊤) |
| 47 | (hB₁ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex b (a * c) |
| 48 | (FactorKill.BundleCycles.factorCone_kill_middle a b c h)).homology true) ≠ ⊤) : |
| 49 | PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex (a * b) c h) hAB₀ hAB₁ = |
| 50 | PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a (b * c) |
| 51 | (FactorKill.BundleCycles.factorCone_kill_source a b c h)) hA₀ hA₁ + |
| 52 | PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex b (a * c) |
| 53 | (FactorKill.BundleCycles.factorCone_kill_middle a b c h)) hB₀ hB₁ := by |
| 54 | let hQ := EquationPeriodicComplex.BundleCycles.equationPeriodic_kill_swap a (b * c) (FactorKill.BundleCycles.factorCone_kill_source a b c h) |
| 55 | have hQ₀ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex (b * c) a hQ).homology false) ≠ ⊤ := by |
| 56 | rw [equationPeriodicHomology_swap_length] |
| 57 | exact hA₁ |
| 58 | have hQ₁ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex (b * c) a hQ).homology true) ≠ ⊤ := by |
| 59 | rw [equationPeriodicHomology_swap_length] |
| 60 | exact hA₀ |
| 61 | have hC₀ : Module.length R ((FactorKill.BundleCycles.periodicFactorCone a b c h).homology false) ≠ ⊤ := by |
| 62 | rw [(FactorKill.BundleCycles.factorConeHomologyIso a b c h false).toLinearEquiv.length_eq] |
| 63 | exact hB₀ |
| 64 | have hC₁ : Module.length R ((FactorKill.BundleCycles.periodicFactorCone a b c h).homology true) ≠ ⊤ := by |
| 65 | rw [(FactorKill.BundleCycles.factorConeHomologyIso a b c h true).toLinearEquiv.length_eq] |
| 66 | exact hB₁ |
| 67 | have he := PeriodicComplex.BundleCycles.periodicEulerLength_additive (FactorSequence.BundleCycles.factorConeSequence a b c h) |
| 68 | (FactorSequence.BundleCycles.factorConeSequence_shortExact a b c h) hAB₀ hAB₁ hC₀ hC₁ hQ₀ hQ₁ |
| 69 | have hswap := EquationPeriodicComplex.BundleCycles.equationPeriodicEulerLength_swap a (b * c) |
| 70 | (FactorKill.BundleCycles.factorCone_kill_source a b c h) hA₀ hA₁ hQ₀ hQ₁ |
| 71 | have hc : PeriodicComplex.BundleCycles.periodicEulerLength (FactorKill.BundleCycles.periodicFactorCone a b c h) hC₀ hC₁ = |
| 72 | PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex b (a * c) |
| 73 | (FactorKill.BundleCycles.factorCone_kill_middle a b c h)) hB₀ hB₁ := by |
| 74 | unfold PeriodicComplex.BundleCycles.periodicEulerLength |
| 75 | rw [(FactorKill.BundleCycles.factorConeHomologyIso a b c h false).toLinearEquiv.length_eq, |
| 76 | (FactorKill.BundleCycles.factorConeHomologyIso a b c h true).toLinearEquiv.length_eq] |
| 77 | change PeriodicComplex.BundleCycles.periodicEulerLength (FactorKill.BundleCycles.periodicFactorCone a b c h) hC₀ hC₁ = |
| 78 | PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex (a * b) c h) hAB₀ hAB₁ + |
| 79 | PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex (b * c) a hQ) hQ₀ hQ₁ at he |
| 80 | rw [hc, hswap] at he |
| 81 | omega |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Periodic.FactorEuler.BundleCycles |