Download data/lean/OAI/AlgebraicGeometry/HodgeConjecture/CMReduction/Contraction.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.3 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/HodgeConjecture/CMReduction/Contraction.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/HodgeConjecture/CMReduction/Contraction.lean
-
curl -L -o Contraction.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/HodgeConjecture/CMReduction/Contraction.lean
2.3 kB
| import Mathlib.LinearAlgebra.TensorProduct.Associator | |
| import Mathlib.LinearAlgebra.TensorProduct.Basic | |
| import Mathlib.LinearAlgebra.BilinearMap | |
| /-! # Contraction -/ | |
| namespace OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.Contraction.CM.Construction | |
| noncomputable section | |
| /-! | |
| The linear-algebra calculation used in CMReduction's composition step. The pairing | |
| is an actual bilinear form, and the contraction is built from tensor-product | |
| associators and evaluation. This module makes no cycle-algebraicity assumption. | |
| -/ | |
| open scoped TensorProduct | |
| variable {K U V W : Type*} [Field K] | |
| [AddCommGroup U] [Module K U] | |
| [AddCommGroup V] [Module K V] | |
| [AddCommGroup W] [Module K W] | |
| /-- Contract the two middle slots with the specified bilinear pairing. -/ | |
| def middleContraction (Q : V ββ[K] V ββ[K] K) : | |
| (U β[K] V) β[K] (V β[K] W) ββ[K] U β[K] W := | |
| (TensorProduct.map (LinearMap.id : U ββ[K] U) | |
| (TensorProduct.lid K W).toLinearMap).comp | |
| ((TensorProduct.map (LinearMap.id : U ββ[K] U) | |
| (TensorProduct.map (TensorProduct.lift Q) (LinearMap.id : W ββ[K] W))).comp | |
| ((TensorProduct.map (LinearMap.id : U ββ[K] U) | |
| (TensorProduct.assoc K V V W).symm.toLinearMap).comp | |
| (TensorProduct.assoc K U V (V β[K] W)).toLinearMap)) | |
| /-- The contraction multiplies the endpoint tensor by the middle pairing. -/ | |
| theorem middleContraction_tmul (Q : V ββ[K] V ββ[K] K) | |
| (u : U) (v v' : V) (w : W) : | |
| middleContraction Q ((u ββ[K] v) ββ[K] (v' ββ[K] w)) = | |
| Q v v' β’ (u ββ[K] w) := by | |
| simp [middleContraction, TensorProduct.tmul_smul] | |
| /-- A nonzero middle pairing lets one recover the endpoint from its | |
| contracted multiple in any linear subspace, including a cycle-class image. -/ | |
| theorem endpoint_mem_of_contraction_mem (Q : V ββ[K] V ββ[K] K) | |
| (S : Submodule K (U β[K] W)) | |
| (u : U) (v v' : V) (w : W) | |
| (hQ : Q v v' β 0) | |
| (h : middleContraction Q ((u ββ[K] v) ββ[K] (v' ββ[K] w)) β S) : | |
| u ββ[K] w β S := by | |
| rw [middleContraction_tmul] at h | |
| have hscaled := S.smul_mem (Q v v')β»ΒΉ h | |
| simpa only [smul_smul, inv_mul_cancelβ hQ, one_smul] using hscaled | |
| end | |
| end OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.Contraction.CM.Construction | |