Zulip Chat Archive

Stream: new members

Topic: combining two sums into one


Emma R. Hasson (Jul 05 2022 at 20:26):

One more problem- (thanks for your help!) how to change between summing over products and summing over pairs?

example (f : ×  ) (s t : finset ) :
   x in s,  y in t, f x, y =   x in (s.product t), f x  :=
begin
  sorry
end

Eric Wieser (Jul 05 2022 at 20:31):

My guess of the name would be docs#finset.sum_product

Eric Wieser (Jul 05 2022 at 20:31):

Indeed, that's your statement but reversed

Eric Wieser (Jul 05 2022 at 20:32):

Did you try library_search?

Emma R. Hasson (Jul 05 2022 at 21:10):

Yup that worked! I did try library_search but it didn't return anything.


Last updated: Dec 20 2023 at 11:08 UTC