Buckets:
| import Mathlib | |
| import OAI.Geometry.Borsuk.Simplicial.LinearMapSupport | |
| import OAI.Geometry.Borsuk.Simplicial.BarycenterNeg | |
| namespace OAI | |
| namespace BorsukNine.SimplicialChains | |
| open Finset | |
| open scoped RealInnerProductSpace | |
| noncomputable def crossEmbedding (n : ℕ) (v : SignedVertex) : EuclideanSpace ℝ (Fin n) := | |
| if h : v.1 < n then (if v.2 then (-1:ℝ) else 1) • EuclideanSpace.single ⟨v.1,h⟩ 1 else 0 | |
| lemma crossEmbedding_norm (n : ℕ) (v : SignedVertex) (hv : v.1 < n) : | |
| ‖crossEmbedding n v‖ = 1 := by | |
| simp only [crossEmbedding, dite_eq_left hv, norm_smul, PiLp.norm_single] | |
| cases v.2 <;> norm_num | |
| lemma crossEmbedding_flip (n : ℕ) (v : SignedVertex) : | |
| crossEmbedding n (flip v) = -crossEmbedding n v := by | |
| rcases v with ⟨i,b⟩ | |
| cases b <;> simp only [crossEmbedding, flip_apply] <;> split_ifs <;> simp_all | |
| lemma crossEmbedding_inner_ne (n : ℕ) {v w : SignedVertex} | |
| (hvw : v.1 ≠ w.1) : ⟪crossEmbedding n v, crossEmbedding n w⟫ = 0 := by | |
| unfold crossEmbedding | |
| split_ifs <;> simp_all [EuclideanSpace.inner_single_left] | |
| lemma crossEmbedding_inner_self (n : ℕ) (v : SignedVertex) (hv : v.1 < n) : | |
| ⟪crossEmbedding n v, crossEmbedding n v⟫ = 1 := by | |
| rw [real_inner_self_eq_norm_sq, crossEmbedding_norm n v hv] | |
| norm_num | |
| lemma crossEmbedding_face (n : ℕ) (s : Finset SignedVertex) (hs : s ∈ cross n) : | |
| s.image (crossEmbedding n) ∈ hemisphereComplex (n:ℝ) := by | |
| refine ⟨hs.1.image _, ∑ v ∈ s, crossEmbedding n v, ?_, ?_⟩ | |
| · calc | |
| ‖∑ v ∈ s, crossEmbedding n v‖ ≤ ∑ v ∈ s, ‖crossEmbedding n v‖ := norm_sum_le _ _ | |
| _ = s.card := by simp only [Finset.sum_congr rfl (fun v hv => crossEmbedding_norm n v (hs.2.1 v hv)), Finset.sum_const, nsmul_eq_mul, mul_one] | |
| _ ≤ (n:ℝ) := by exact_mod_cast cross_card n s hs | |
| · intro x hx | |
| obtain ⟨v,hv,rfl⟩ := Finset.mem_image.mp hx | |
| refine ⟨le_of_eq (crossEmbedding_norm n v (hs.2.1 v hv)), ?_⟩ | |
| rw [sum_inner, Finset.sum_eq_single v] | |
| · exact crossEmbedding_inner_self n v (hs.2.1 v hv) | |
| · intro w hw hwv | |
| exact crossEmbedding_inner_ne n (fun he => hwv (hs.2.2 hw hv he)) | |
| · exact fun hn => False.elim (hn hv) | |
| noncomputable def crossGeometricMap (n : ℕ) : | |
| Chain (cross n) →ₗ[F₂] Chain (hemisphereComplex (n:ℝ) : | |
| PreAbstractSimplicialComplex (EuclideanSpace ℝ (Fin n))) := | |
| mapChains (cross n) (hemisphereComplex (n:ℝ)) (crossEmbedding n) | |
| lemma crossGeometricMap_boundary (n : ℕ) : | |
| (boundary (hemisphereComplex (n:ℝ))).comp (crossGeometricMap n) = | |
| (crossGeometricMap n).comp (boundary (cross n)) := | |
| mapChains_boundary _ _ _ (crossEmbedding_face n) | |
| lemma crossGeometricMap_augmentation (n : ℕ) : | |
| (augmentation (hemisphereComplex (n:ℝ))).comp (crossGeometricMap n) = | |
| augmentation (cross n) := mapChains_augmentation _ _ _ (crossEmbedding_face n) | |
| lemma crossGeometricMap_degree (n d : ℕ) : | |
| degreeChains (cross n) d ≤ (degreeChains (hemisphereComplex (n:ℝ)) d).comap | |
| (crossGeometricMap n) := mapChains_degree _ _ _ (crossEmbedding_face n) d | |
| lemma crossGeometricMap_norm (n : ℕ) : | |
| (normMap (hemisphereComplex (n:ℝ)) (Equiv.neg _)).comp (crossGeometricMap n) = | |
| (crossGeometricMap n).comp (normMap (cross n) flip) := by | |
| apply mapChains_norm _ _ flip (Equiv.neg _) (cross_flip n) (hemisphere_neg (n:ℝ)) | |
| intro s hs x hx | |
| exact crossEmbedding_flip n x | |
| end BorsukNine.SimplicialChains | |
| end OAI | |
Xet Storage Details
- Size:
- 3.48 kB
- Xet hash:
- 01b0a6645e4ba50c907adedb6c5ea435ee7efb9078b1f044bdc8a9ebc4555031
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.