Commit 1c8a611
committed
refactor(Vorspiel): rename Matrix.map to Matrix.vecMap to avoid Mathlib clash
Foundation.Vorspiel.Matrix defined its own Matrix.map, a vector map
(Fin k → α) → (Fin k → β), shadowing Mathlib's Matrix.map. Both auto-generate
Matrix.map.eq_1, so importing Foundation alongside any Mathlib module that
materializes Mathlib's Matrix.map.eq_1 (e.g. Bochner integration, matrix-heavy
analysis) fails with an 'environment already contains Matrix.map.eq_1' clash.
Because Vorspiel.Matrix sits in Foundation's prelude, this blocks co-importing
Foundation with large parts of Mathlib.
Rename the def to vecMap. The postfix notation ⨟ and all lemmas are unchanged in
behavior; no qualified Matrix.map (vector) references exist elsewhere in the tree.1 parent 1527b59 commit 1c8a611
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
249 | 252 | | |
250 | 253 | | |
251 | 254 | | |
252 | | - | |
| 255 | + | |
253 | 256 | | |
254 | 257 | | |
255 | 258 | | |
256 | 259 | | |
257 | 260 | | |
258 | 261 | | |
259 | 262 | | |
260 | | - | |
| 263 | + | |
261 | 264 | | |
262 | 265 | | |
263 | 266 | | |
264 | | - | |
| 267 | + | |
265 | 268 | | |
266 | 269 | | |
267 | 270 | | |
| |||
0 commit comments