Commit 2023-12-29 06:46 8f17470f
View on Github →refactor(*): change definition of Set.image2
etc (#9275)
- Redefine
Set.image2
to use∃ a ∈ s, ∃ b ∈ t, f a b = c
instead of∃ a b, a ∈ s ∧ b ∈ t ∧ f a b = c
. - Redefine
Set.seq
asSet.image2
. The new definition is equal to the old one butrw [Set.seq]
gives a different result. - Redefine
Filter.map₂
to use∃ u ∈ f, ∃ v ∈ g, image2 m u v ⊆ s
instead of∃ u v, u ∈ f ∧ v ∈ g ∧ ...
- Update lemmas like
Set.mem_image2
,Finset.mem_image₂
,Set.mem_mul
,Finset.mem_div
etc The two reasons to make the change are: ∃ a ∈ s, ∃ b ∈ t, _
is asimp
-normal form, and- it looks a bit nicer.