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.ZeroCycleCompatibility |
| 8 | |
| 9 | /-! # Zero Cycle Lifting -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.ZeroCycleLifting.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_component_eq {V : Opens X} (i₀ : ι) |
| 22 | (hV : V ≤ U i₀) (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_left : |
| 26 | (V ⊓ (∏ᶜ fun k : Fin 1 => U (i k))) ≤ V)).op |
| 27 | (F.obj.map (eqToHom (congrArg op (ZeroCycleIndices.IntrinsicCech.cechConstIntersection_eq U i₀ hV))) |
| 28 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 0 V s (ZeroCycleIndices.IntrinsicCech.cechConstIndex i₀))) = |
| 29 | IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 0 V s i := by |
| 30 | let j := ZeroCycleIndices.IntrinsicCech.cechPairIndex i₀ i |
| 31 | have hToPair : |
| 32 | V ⊓ (∏ᶜ fun k : Fin 1 => U (i k)) ≤ |
| 33 | ∏ᶜ fun k : Fin 2 => U (j k) := by |
| 34 | exact leOfHom (Pi.lift fun k : Fin 2 => homOfLE (by |
| 35 | fin_cases k |
| 36 | · exact inf_le_left.trans hV |
| 37 | · exact inf_le_right.trans |
| 38 | (leOfHom (Pi.π (fun k : Fin 1 => U (i k)) 0)))) |
| 39 | have hBack : |
| 40 | V ⊓ (∏ᶜ fun k : Fin 1 => U (i k)) ≤ |
| 41 | V ⊓ (∏ᶜ fun k : Fin 2 => U (j k)) := |
| 42 | le_inf inf_le_left hToPair |
| 43 | calc |
| 44 | _ = F.obj.map (homOfLE hBack).op |
| 45 | (F.obj.map (homOfLE (inf_le_inf_left V (ZeroCycleIndices.IntrinsicCech.cechPairLEOne U i₀ i))).op |
| 46 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 0 V s (ZeroCycleIndices.IntrinsicCech.cechConstIndex i₀))) := by |
| 47 | change (F.obj.map _ ≫ F.obj.map _) _ = |
| 48 | (F.obj.map _ ≫ F.obj.map _) _ |
| 49 | exact ConcreteCategory.congr_hom |
| 50 | ((F.obj.map_comp _ _).symm.trans |
| 51 | ((congrArg F.obj.map (Subsingleton.elim _ _)).trans |
| 52 | (F.obj.map_comp _ _))) _ |
| 53 | _ = F.obj.map (homOfLE hBack).op |
| 54 | (F.obj.map (homOfLE (inf_le_inf_left V (ZeroCycleIndices.IntrinsicCech.cechPairLEZero U i₀ i))).op |
| 55 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 0 V s i)) := |
| 56 | congrArg (fun y => F.obj.map (homOfLE hBack).op y) |
| 57 | (ZeroCycleCompatibility.IntrinsicCech.cechZeroCycle_pair_restrictions_eq F U i₀ s hs i).symm |
| 58 | _ = _ := by |
| 59 | change (F.obj.map _ ≫ F.obj.map _) _ = _ |
| 60 | exact ConcreteCategory.congr_hom |
| 61 | ((F.obj.map_comp _ _).symm.trans |
| 62 | ((congrArg F.obj.map (Subsingleton.elim _ _)).trans |
| 63 | (F.obj.map_id _))) _ |
| 64 | |
| 65 | /-- A degree-zero Cech cycle on an open contained in one cover member is the |
| 66 | augmentation of a section on that open. -/ |
| 67 | theorem exists_preimage_cechAugmentation_of_le {V : Opens X} (i₀ : ι) |
| 68 | (hV : V ≤ U i₀) (s : (IntrinsicCech.SheafTerms.cechTerm F U 0).obj.obj (op V)) |
| 69 | (hs : (SheafDifferential.IntrinsicCech.cechDifferential F U 0).hom.app (op V) s = 0) : |
| 70 | ∃ t : F.obj.obj (op V), |
| 71 | (SheafAugmentation.IntrinsicCech.cechAugmentation F U).hom.app (op V) t = s := by |
| 72 | let t := F.obj.map (eqToHom (congrArg op (ZeroCycleIndices.IntrinsicCech.cechConstIntersection_eq U i₀ hV))) |
| 73 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 0 V s (ZeroCycleIndices.IntrinsicCech.cechConstIndex i₀)) |
| 74 | refine ⟨t, (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U 0 V).injective ?_⟩ |
| 75 | funext i |
| 76 | rw [SheafAugmentation.IntrinsicCech.cechAugmentation_apply] |
| 77 | exact cechZeroCycle_component_eq F U i₀ hV s hs i |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.ZeroCycleLifting.IntrinsicCech |