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 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/ForMathlib/SheafCechSheafZeroExact.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.ZeroCycleIndices |
| 8 | |
| 9 | /-! # Zero Cycle Compatibility -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.ZeroCycleCompatibility.IntrinsicCech |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 16 | universe u |
| 17 | variable {X : TopCat.{u}} |
| 18 | variable (F : TopCat.Sheaf AddCommGrpCat.{u} X) |
| 19 | variable {ι : Type u} (U : ι → Opens X) |
| 20 | |
| 21 | theorem cechZeroCycle_pair_restrictions_eq {V : Opens X} (i₀ : ι) |
| 22 | (s : (IntrinsicCech.SheafTerms.cechTerm F U 0).obj.obj (op V)) |
| 23 | (hs : (SheafDifferential.IntrinsicCech.cechDifferential F U 0).hom.app (op V) s = 0) |
| 24 | (i : Fin 1 → ι) : |
| 25 | F.obj.map (homOfLE (inf_le_inf_left V (ZeroCycleIndices.IntrinsicCech.cechPairLEZero U i₀ i))).op |
| 26 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 0 V s i) = |
| 27 | F.obj.map (homOfLE (inf_le_inf_left V (ZeroCycleIndices.IntrinsicCech.cechPairLEOne U i₀ i))).op |
| 28 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 0 V s (ZeroCycleIndices.IntrinsicCech.cechConstIndex i₀)) := by |
| 29 | let iZero := ZeroCycleIndices.IntrinsicCech.cechPairIndex i₀ i ∘ |
| 30 | (SimplexCategory.δ (0 : Fin 2)).toOrderHom |
| 31 | let iOne := ZeroCycleIndices.IntrinsicCech.cechPairIndex i₀ i ∘ |
| 32 | (SimplexCategory.δ (1 : Fin 2)).toOrderHom |
| 33 | have hd := congrArg (fun y => IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 1 V y |
| 34 | (ZeroCycleIndices.IntrinsicCech.cechPairIndex i₀ i)) hs |
| 35 | rw [SheafDifferential.IntrinsicCech.cechDifferential_apply] at hd |
| 36 | simp only [Nat.reduceAdd, Int.reduceNeg, OrderHom.toFun_eq_coe, |
| 37 | homOfLE_leOfHom, Fin.sum_univ_two, Fin.isValue, Fin.coe_ofNat_eq_mod, |
| 38 | Nat.zero_mod, pow_zero, one_smul, Nat.mod_succ, pow_one, neg_smul, |
| 39 | map_zero, Pi.zero_apply] at hd |
| 40 | have htermZero : |
| 41 | F.obj.map (homOfLE (inf_le_inf_left V |
| 42 | (leOfHom (((FormalCoproduct.mk _ U).mapPower |
| 43 | (SimplexCategory.δ (0 : Fin 2)).toOrderHom.toFun).φ |
| 44 | (ZeroCycleIndices.IntrinsicCech.cechPairIndex i₀ i))))).op |
| 45 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 0 V s iZero) = |
| 46 | F.obj.map (homOfLE (inf_le_inf_left V (ZeroCycleIndices.IntrinsicCech.cechPairLEZero U i₀ i))).op |
| 47 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 0 V s i) := by |
| 48 | rw [← LocalContractionSections.IntrinsicCech.cechTermSectionsAddEquiv_transport U F 0 V s (ZeroCycleIndices.IntrinsicCech.cechPairDeleteZero i₀ i)] |
| 49 | change F.obj.map _ _ = (F.obj.map _ ≫ F.obj.map _) _ |
| 50 | exact ConcreteCategory.congr_hom |
| 51 | ((congrArg F.obj.map (Subsingleton.elim _ _)).trans |
| 52 | (F.obj.map_comp _ _)) _ |
| 53 | have htermOne : |
| 54 | F.obj.map (homOfLE (inf_le_inf_left V |
| 55 | (leOfHom (((FormalCoproduct.mk _ U).mapPower |
| 56 | (SimplexCategory.δ (1 : Fin 2)).toOrderHom.toFun).φ |
| 57 | (ZeroCycleIndices.IntrinsicCech.cechPairIndex i₀ i))))).op |
| 58 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 0 V s iOne) = |
| 59 | F.obj.map (homOfLE (inf_le_inf_left V (ZeroCycleIndices.IntrinsicCech.cechPairLEOne U i₀ i))).op |
| 60 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 0 V s (ZeroCycleIndices.IntrinsicCech.cechConstIndex i₀)) := by |
| 61 | rw [← LocalContractionSections.IntrinsicCech.cechTermSectionsAddEquiv_transport U F 0 V s (ZeroCycleIndices.IntrinsicCech.cechPairDeleteOne i₀ i)] |
| 62 | change F.obj.map _ _ = (F.obj.map _ ≫ F.obj.map _) _ |
| 63 | exact ConcreteCategory.congr_hom |
| 64 | ((congrArg F.obj.map (Subsingleton.elim _ _)).trans |
| 65 | (F.obj.map_comp _ _)) _ |
| 66 | let a := F.obj.map |
| 67 | (homOfLE (inf_le_inf_left V (ZeroCycleIndices.IntrinsicCech.cechPairLEZero U i₀ i))).op |
| 68 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 0 V s i) |
| 69 | let b := F.obj.map |
| 70 | (homOfLE (inf_le_inf_left V (ZeroCycleIndices.IntrinsicCech.cechPairLEOne U i₀ i))).op |
| 71 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 0 V s (ZeroCycleIndices.IntrinsicCech.cechConstIndex i₀)) |
| 72 | rw [htermZero, htermOne] at hd |
| 73 | change a + -b = 0 at hd |
| 74 | apply sub_eq_zero.mp |
| 75 | simpa only [sub_eq_add_neg] using hd |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.ZeroCycleCompatibility.IntrinsicCech |