Commit b51890a
feat(Algebra/Group/Indicator): add Pi. mulIndicator_singleton (leanprover-community#34083)
Add `Pi.mulIndicator_singleton ` and `Pi.indicator_singleton ` (via `@[to_additive]`), showing that on non-dependent functions:
```lean
Set.mulIndicator {i} f = Pi.mulSingle i (f i)
Set.indicator {i} f = Pi.single i (f i)
```
This is the direct `Pi` analog of [`Finsupp.single_eq_set_indicator`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Data/Finsupp/Single.html#Finsupp.single_eq_set_indicator), without involving Finsupp.
Also add confluence lemmas about `NNReal.toReal` to fix compile.
Co-authored-by: IlPreteRosso <will1541286313@gmail.com>
Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>1 parent a0d377a commit b51890a
2 files changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
199 | 212 | | |
200 | 213 | | |
201 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
43 | 58 | | |
44 | 59 | | |
45 | 60 | | |
| |||
0 commit comments