@@ -174,29 +174,28 @@ Multilinear-maps
174174 {N : Module R ℓn}
175175 → Module-on R (Multilinear-map n Ms N)
176176Multilinear-maps {n = n} {Ms = Ms} {N = N} = to-module-on mk where
177- private
178- module Ms i = Module-on (Ms i .snd)
179- module N = Module-on (N .snd)
180- instance
181- _ = module-notation N
182- _ : ∀ {i : Fin n} → Module-notation R ⌞ Ms i ⌟
183- _ = module-notation (Ms _)
184-
185- -- Normally there would be no way in hell these helpers would ever
186- -- be useful... except this module needs lossy-unification for
187- -- performance reasonsl so we might as well abuse it for style!
188- _⟨_⟩
189- : Multilinear-map n Ms N
190- → {_ : Πᶠ (λ i → ⌞ Ms i ⌟)} {i : Fin n} → ⌞ Ms i ⌟ → ⌞ N ⌟
191- _⟨_⟩ f {xs} {i} x = applyᶠ (f .map) (updateₚ xs i x)
192-
193- _⟨_⟩ᵤ
194- : ∀ {n ℓ'} {ℓ : Fin n → Level} {P : (i : Fin n) → Type (ℓ i)} {X : Type ℓ'}
195- → Arrᶠ P X → {_ : Πᶠ P} {i : Fin n} → P i → X
196- _⟨_⟩ᵤ f {xs} {i} x = applyᶠ f (updateₚ xs i x)
197-
198- infix 300 _⟨_⟩
199- infix 300 _⟨_⟩ᵤ
177+ module Ms i = Module-on (Ms i .snd)
178+ module N = Module-on (N .snd)
179+ instance
180+ _ = module-notation N
181+ _ : ∀ {i : Fin n} → Module-notation R ⌞ Ms i ⌟
182+ _ = module-notation (Ms _)
183+
184+ -- Normally there would be no way in hell these helpers would ever
185+ -- be useful... except this module needs lossy-unification for
186+ -- performance reasonsl so we might as well abuse it for style!
187+ _⟨_⟩
188+ : Multilinear-map n Ms N
189+ → {_ : Πᶠ (λ i → ⌞ Ms i ⌟)} {i : Fin n} → ⌞ Ms i ⌟ → ⌞ N ⌟
190+ _⟨_⟩ f {xs} {i} x = applyᶠ (f .map) (updateₚ xs i x)
191+
192+ _⟨_⟩ᵤ
193+ : ∀ {n ℓ'} {ℓ : Fin n → Level} {P : (i : Fin n) → Type (ℓ i)} {X : Type ℓ'}
194+ → Arrᶠ P X → {_ : Πᶠ P} {i : Fin n} → P i → X
195+ _⟨_⟩ᵤ f {xs} {i} x = applyᶠ f (updateₚ xs i x)
196+
197+ infix 300 _⟨_⟩
198+ infix 300 _⟨_⟩ᵤ
200199```
201200-->
202201
0 commit comments