Commit 2023-12-29 06:46 8f17470f
View on Github →refactor(*): change definition of Set.image2 etc (#9275)
- Redefine
Set.image2to use∃ a ∈ s, ∃ b ∈ t, f a b = cinstead of∃ a b, a ∈ s ∧ b ∈ t ∧ f a b = c. - Redefine
Set.seqasSet.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 ⊆ sinstead of∃ u v, u ∈ f ∧ v ∈ g ∧ ... - Update lemmas like
Set.mem_image2,Finset.mem_image₂,Set.mem_mul,Finset.mem_divetc The two reasons to make the change are: ∃ a ∈ s, ∃ b ∈ t, _is asimp-normal form, and- it looks a bit nicer.