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.DivisorClass.Chern.OrthantBoundaryRepresentatives |
| 2 | import OAI.AlgebraicTopology.Cohomology.Singular.EvaluationNaturality |
| 3 | import OAI.AlgebraicTopology.Duality.Poincare.ConnectingRepresentatives |
| 4 | import Mathlib.Algebra.Homology.HomologicalComplexBiprod |
| 5 | |
| 6 | /-! # Orthant Small Cycle -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.OrthantSmallCycle |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The explicit oriented sphere has its actual small-chain connecting representative. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | open OAI.AlgebraicTopology.Cohomology.Singular.EvaluationNaturality OAI.AlgebraicTopology.Duality.Poincare.ConnectingRepresentatives |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | variable (n : ℕ) |
| 22 | |
| 23 | local notation "CU" => OAI.AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (OAI.AlgebraicGeometry.DivisorClass.Chern.OrthantBoundaryRepresentatives.orthantFirstChart n) |
| 24 | local notation "CV" => OAI.AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (OAI.AlgebraicGeometry.DivisorClass.Chern.OrthantBoundaryRepresentatives.orthantSecondChart n) |
| 25 | local notation "S" => OAI.AlgebraicGeometry.CycleClass.Geometric.SmallMayerVietoris.Cycles.smallMayerVietorisSequence (OAI.AlgebraicGeometry.CycleClass.Geometric.SphereHomologyInduction.Cycles.standardSphere (n + 1)) |
| 26 | (CycleClass.Geometric.SphereCover.Cycles.spherePoleOpen (CycleClass.Geometric.SphereCover.Cycles.standardSphereNorthPole (n + 1))) (CycleClass.Geometric.SphereCover.Cycles.spherePoleOpen (-CycleClass.Geometric.SphereCover.Cycles.standardSphereNorthPole (n + 1))) |
| 27 | local notation "jU" => OAI.AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChainFunctor.map (OAI.AlgebraicGeometry.DivisorClass.Chern.OrthantBoundaryRepresentatives.orthantOverlapFirstInclusion n) |
| 28 | local notation "jV" => OAI.AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChainFunctor.map (OAI.AlgebraicGeometry.DivisorClass.Chern.OrthantBoundaryRepresentatives.orthantOverlapSecondInclusion n) |
| 29 | |
| 30 | def orthantEquatorCycle : AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (OrthantBoundaryRepresentatives.orthantSphereOverlap n)) n := |
| 31 | AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainCycleMap (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChainFunctor.map (OrthantSphereEquator.orderedEquatorOverlap n)) n (OrthantSphereCycle.orientedOrthantSphereCycle n) |
| 32 | |
| 33 | theorem orthantEquatorCycle_val : (orthantEquatorCycle n).val = OrthantBoundaryRepresentatives.orthantEquatorChain n := by |
| 34 | change (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChainFunctor.map (OrthantSphereEquator.orderedEquatorOverlap n)).f n |
| 35 | (OrthantSphereCycle.orientedOrthantSphereChain n) = _ |
| 36 | rw [OrthantSphereCycle.orientedOrthantSphereChain, OrthantBoundaryRepresentatives.orthantEquatorChain, map_sum] |
| 37 | apply Finset.sum_congr rfl |
| 38 | intro η _ |
| 39 | rw [map_zsmul, OrthantBoundaryRepresentatives.integralSimplexChain_map] |
| 40 | rfl |
| 41 | |
| 42 | def orthantMiddleChain : (S).X₂.X (n + 1) := |
| 43 | (biprod.inl : CU ⟶ CU ⊞ CV).f (n + 1) (OrthantBoundaryRepresentatives.orthantFirstHemisphereChain n) + |
| 44 | (biprod.inr : CV ⟶ CU ⊞ CV).f (n + 1) (OrthantBoundaryRepresentatives.orthantSecondHemisphereChain n) |
| 45 | |
| 46 | theorem orthantMiddleChain_boundary : |
| 47 | (S).f.f n (-(OrthantBoundaryRepresentatives.orthantEquatorChain n)) = (S).X₂.d (n + 1) n (orthantMiddleChain n) := by |
| 48 | have hu : (jU).f n (-(OrthantBoundaryRepresentatives.orthantEquatorChain n)) = (CU).d (n + 1) n (OrthantBoundaryRepresentatives.orthantFirstHemisphereChain n) := by |
| 49 | rw [map_neg, OrthantBoundaryRepresentatives.orthantFirstHemisphereChain_boundary] |
| 50 | have hv : (jV).f n (-(OrthantBoundaryRepresentatives.orthantEquatorChain n)) = -((CV).d (n + 1) n (OrthantBoundaryRepresentatives.orthantSecondHemisphereChain n)) := by |
| 51 | rw [map_neg, OrthantBoundaryRepresentatives.orthantSecondHemisphereChain_boundary] |
| 52 | have hf : (S).f = (jU) ≫ (biprod.inl : CU ⟶ CU ⊞ CV) - |
| 53 | (jV) ≫ (biprod.inr : CV ⟶ CU ⊞ CV) := by |
| 54 | simp only [CycleClass.Geometric.SmallMayerVietoris.Cycles.smallMayerVietorisSequence_f, biprod.lift_eq, Preadditive.neg_comp, sub_eq_add_neg, |
| 55 | OrthantBoundaryRepresentatives.orthantOverlapFirstInclusion, OrthantBoundaryRepresentatives.orthantOverlapSecondInclusion] |
| 56 | have hl := ConcreteCategory.congr_hom ((biprod.inl : CU ⟶ CU ⊞ CV).comm (n + 1) n) |
| 57 | (OrthantBoundaryRepresentatives.orthantFirstHemisphereChain n) |
| 58 | have hr := ConcreteCategory.congr_hom ((biprod.inr : CV ⟶ CU ⊞ CV).comm (n + 1) n) |
| 59 | (OrthantBoundaryRepresentatives.orthantSecondHemisphereChain n) |
| 60 | change (CU ⊞ CV).d (n + 1) n ((biprod.inl : CU ⟶ CU ⊞ CV).f (n + 1) _) = |
| 61 | (biprod.inl : CU ⟶ CU ⊞ CV).f n ((CU).d (n + 1) n _) at hl |
| 62 | change (CU ⊞ CV).d (n + 1) n ((biprod.inr : CV ⟶ CU ⊞ CV).f (n + 1) _) = |
| 63 | (biprod.inr : CV ⟶ CU ⊞ CV).f n ((CV).d (n + 1) n _) at hr |
| 64 | change (S).f.f n (-(OrthantBoundaryRepresentatives.orthantEquatorChain n)) = (CU ⊞ CV).d (n + 1) n (orthantMiddleChain n) |
| 65 | rw [orthantMiddleChain, map_add, hl, hr, hf] |
| 66 | simp only [HomologicalComplex.sub_f_apply, HomologicalComplex.comp_f, |
| 67 | ModuleCat.hom_sub, LinearMap.sub_apply, ConcreteCategory.comp_apply] |
| 68 | have hL := congrArg (fun x : (CU).X n => (biprod.inl : CU ⟶ CU ⊞ CV).f n x) hu |
| 69 | have hR := congrArg (fun x : (CV).X n => (biprod.inr : CV ⟶ CU ⊞ CV).f n x) hv |
| 70 | refine (congrArg₂ (fun x y : (CU ⊞ CV).X n => x - y) hL hR).trans ?_ |
| 71 | rw [map_neg, sub_neg_eq_add] |
| 72 | |
| 73 | def orientedOrthantSmallCycle : AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles (S).X₃ (n + 1) := |
| 74 | ⟨(S).g.f (n + 1) (orthantMiddleChain n), by |
| 75 | rw [AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.mem_chainCycles_iff_succ] |
| 76 | have h := ConcreteCategory.congr_hom ((S).g.comm (n + 1) n) (orthantMiddleChain n) |
| 77 | change (S).X₃.d (n + 1) n ((S).g.f (n + 1) (orthantMiddleChain n)) = |
| 78 | (S).g.f n ((S).X₂.d (n + 1) n (orthantMiddleChain n)) at h |
| 79 | rw [← orthantMiddleChain_boundary] at h |
| 80 | exact h.trans (ConcreteCategory.congr_hom |
| 81 | (congrArg (fun f => f.f n) (S).zero) (-(OrthantBoundaryRepresentatives.orthantEquatorChain n)))⟩ |
| 82 | |
| 83 | def orientedOrthantSmallClass : CycleClass.Geometric.SmallSphereHomology.Cycles.spherePoleSmallHomology (CycleClass.Geometric.SphereCover.Cycles.standardSphereNorthPole (n + 1)) (n + 1) := |
| 84 | AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass (S).X₃ (n + 1) (orientedOrthantSmallCycle n) |
| 85 | |
| 86 | theorem orientedOrthantSmallClass_boundary : |
| 87 | CycleClass.Geometric.SmallMayerVietoris.Cycles.smallMayerVietorisBoundary (CycleClass.Geometric.SphereHomologyInduction.Cycles.standardSphere (n + 1)) |
| 88 | (CycleClass.Geometric.SphereCover.Cycles.spherePoleOpen (CycleClass.Geometric.SphereCover.Cycles.standardSphereNorthPole (n + 1))) (CycleClass.Geometric.SphereCover.Cycles.spherePoleOpen (-CycleClass.Geometric.SphereCover.Cycles.standardSphereNorthPole (n + 1))) n |
| 89 | (orientedOrthantSmallClass n) = |
| 90 | AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (OrthantBoundaryRepresentatives.orthantSphereOverlap n)) n (-(orthantEquatorCycle n)) := by |
| 91 | apply AlgebraicTopology.Duality.Poincare.ConnectingRepresentatives.homologyConnecting_eq_of_lift (S) |
| 92 | (CycleClass.Geometric.SmallMayerVietoris.Cycles.smallMayerVietorisSequence_shortExact (CycleClass.Geometric.SphereHomologyInduction.Cycles.standardSphere (n + 1)) _ _) n |
| 93 | (orientedOrthantSmallCycle n) (orthantMiddleChain n) (-(orthantEquatorCycle n)) rfl |
| 94 | change (S).f.f n (-(orthantEquatorCycle n).val) = _ |
| 95 | rw [orthantEquatorCycle_val] |
| 96 | exact orthantMiddleChain_boundary n |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.DivisorClass.Chern.OrthantSmallCycle |