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.Supported.Winding |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.WindingLoop |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RationalLocalPurity |
| 4 | import OAI.AlgebraicTopology.Cohomology.Singular.Contractible |
| 5 | |
| 6 | /-! # Normal Winding -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.NormalWinding |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # ChernClass: compare actual winding with the existing normal-coordinate group |
| 14 | |
| 15 | The positive-loop-normalized singular winding gives a nonzero relative class |
| 16 | on the actual normal complex line. Its coefficient in the existing geometric |
| 17 | normalization is defined by the genuine relative-cohomology coordinate map |
| 18 | and proved nonzero. Determining its sign requires comparing the geometric |
| 19 | Mayer–Vietoris orientation with the positive-loop normalization. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 23 | open OAI.AlgebraicTopology.Cohomology.Singular.Contractible OAI.AlgebraicGeometry.CycleClass.Geometric.RationalLocalPurity.Cycles |
| 24 | |
| 25 | set_option backward.isDefEq.respectTransparency false |
| 26 | set_option backward.isDefEq.respectTransparency.types false |
| 27 | set_option backward.defeqAttrib.useBackward true |
| 28 | |
| 29 | abbrev windingNormalLine : TopCat.{0} := TopCat.of (Fin 1 → ℂ) |
| 30 | abbrev windingNormalPunctured : Set windingNormalLine := {0}ᶜ |
| 31 | |
| 32 | /-- The actual complex coordinate on the punctured normal line. -/ |
| 33 | def normalPuncturedCoordinate : C(windingNormalPunctured, ℂ) := |
| 34 | ⟨fun x => x.val 0, (continuous_apply 0).comp continuous_subtype_val⟩ |
| 35 | |
| 36 | theorem normalPuncturedCoordinate_ne_zero (x : windingNormalPunctured) : normalPuncturedCoordinate x ≠ 0 := by |
| 37 | intro hx |
| 38 | apply x.property |
| 39 | change x.val = 0 |
| 40 | funext i |
| 41 | have hi : i = 0 := Subsingleton.elim _ _ |
| 42 | subst i |
| 43 | exact hx |
| 44 | |
| 45 | /-- The actual one-coordinate identification with the punctured plane. -/ |
| 46 | def normalPuncturedHomeomorph : TopCat.of windingNormalPunctured ≃ₜ WindingLoop.puncturedPlane where |
| 47 | toFun x := ⟨normalPuncturedCoordinate x, normalPuncturedCoordinate_ne_zero x⟩ |
| 48 | invFun z := ⟨fun _ => z.val, by |
| 49 | intro hz |
| 50 | apply z.property |
| 51 | exact congrFun hz 0⟩ |
| 52 | left_inv x := by |
| 53 | apply Subtype.ext |
| 54 | funext i |
| 55 | exact congrArg x.val (Subsingleton.elim 0 i) |
| 56 | right_inv _ := rfl |
| 57 | continuous_toFun := normalPuncturedCoordinate.continuous.subtype_mk _ |
| 58 | continuous_invFun := (continuous_pi (fun _ => continuous_subtype_val)).subtype_mk (fun z => by |
| 59 | intro hz |
| 60 | exact z.property (congrFun hz 0)) |
| 61 | |
| 62 | /-- The coordinate winding remains nonzero in the project's actual normal-line model. -/ |
| 63 | theorem normalCoordinateWinding_ne_zero : |
| 64 | WindingSingular.singularWindingClass (TopCat.of windingNormalPunctured) normalPuncturedCoordinate |
| 65 | normalPuncturedCoordinate_ne_zero ≠ 0 := by |
| 66 | intro hz |
| 67 | have h := WindingSingular.singularWindingClass_naturality (TopCat.isoOfHomeo normalPuncturedHomeomorph).inv |
| 68 | normalPuncturedCoordinate normalPuncturedCoordinate_ne_zero |
| 69 | change AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) (TopCat.isoOfHomeo normalPuncturedHomeomorph).inv 1 |
| 70 | (WindingSingular.singularWindingClass (TopCat.of windingNormalPunctured) normalPuncturedCoordinate |
| 71 | normalPuncturedCoordinate_ne_zero) = |
| 72 | WindingSingular.singularWindingClass WindingLoop.puncturedPlane WindingLoop.puncturedCoordinate WindingLoop.puncturedCoordinate_ne_zero at h |
| 73 | rw [hz, map_zero] at h |
| 74 | exact WindingLoop.singularWindingClass_punctured_ne_zero h.symm |
| 75 | |
| 76 | /-- The actual connecting isomorphism of the contractible normal line. -/ |
| 77 | def normalWindingConnectingIso : |
| 78 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of windingNormalPunctured) 1 ≅ |
| 79 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) windingNormalLine windingNormalPunctured 2 := |
| 80 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnectingIso (ModuleCat.of ℚ ℚ) windingNormalLine windingNormalPunctured 1 |
| 81 | (AlgebraicTopology.Cohomology.Singular.Contractible.isZero_singularCohomology_of_contractible _ _ 1 (by decide)) |
| 82 | (AlgebraicTopology.Cohomology.Singular.Contractible.isZero_singularCohomology_of_contractible _ _ 2 (by decide)) |
| 83 | |
| 84 | /-- The relative class normalized by actual positive logarithm winding. -/ |
| 85 | def normalSupportedWindingClass : |
| 86 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) windingNormalLine windingNormalPunctured 2 := |
| 87 | Supported.Winding.supportedWindingClass windingNormalLine windingNormalPunctured normalPuncturedCoordinate |
| 88 | normalPuncturedCoordinate_ne_zero |
| 89 | |
| 90 | theorem normalSupportedWindingClass_ne_zero : normalSupportedWindingClass ≠ 0 := by |
| 91 | intro hz |
| 92 | apply normalCoordinateWinding_ne_zero |
| 93 | apply normalWindingConnectingIso.toLinearEquiv.injective |
| 94 | change normalSupportedWindingClass = normalWindingConnectingIso.hom 0 |
| 95 | rw [hz, map_zero] |
| 96 | |
| 97 | /-- The exact comparison coefficient in the independently constructed geometric normal group. -/ |
| 98 | def normalWindingCoefficient : ℚ := |
| 99 | CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalTopCohomologyEquiv 1 normalSupportedWindingClass |
| 100 | |
| 101 | theorem normalWindingCoefficient_ne_zero : normalWindingCoefficient ≠ 0 := by |
| 102 | intro hz |
| 103 | apply normalSupportedWindingClass_ne_zero |
| 104 | apply (CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalTopCohomologyEquiv 1).injective |
| 105 | change normalWindingCoefficient = (CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalTopCohomologyEquiv 1) 0 |
| 106 | rw [hz, map_zero] |
| 107 | |
| 108 | /-- An unconditional comparison of the two actual classes, retaining the |
| 109 | normalization coefficient which still needs its orientation calculation. -/ |
| 110 | theorem normalSupportedWindingClass_eq_coefficient_smul : |
| 111 | normalSupportedWindingClass = normalWindingCoefficient • CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass 1 := by |
| 112 | apply (CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalTopCohomologyEquiv 1).injective |
| 113 | rw [map_smul, CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass_normalization] |
| 114 | change normalWindingCoefficient = normalWindingCoefficient * 1 |
| 115 | exact (mul_one _).symm |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.DivisorClass.Chern.NormalWinding |