Zulip Chat Archive

Stream: general

Topic: Should `set.forall_range_iff` be taged `simp`?


Eric Wieser (Sep 11 2020 at 09:25):

While reviewing 4087, I noticed a proof is repeated for both (∀ a ∈ range f, p a) and (∀ i, p (f i)). Is one of these considered more canonical? If its the latter, should docs#set.forall_range_iff be tagged @[simp]?

Johan Commelin (Sep 11 2020 at 09:26):

I prefer the second variant. And I think set.forall_range_iff would be a reasonable simp lemma.

Johan Commelin (Sep 11 2020 at 09:26):

@Eric Wieser Btw, thanks for reviewing!

Eric Wieser (Sep 11 2020 at 09:28):

No worries, seems like if I'm going to get something useful with geometric algebra in lean, I should look at how euclidean geometry is done

Eric Wieser (Sep 11 2020 at 09:29):

Shall I make a PR that tags it simp and see what blows up?

Johan Commelin (Sep 11 2020 at 09:30):

You can always try (-;

Eric Wieser (Sep 11 2020 at 09:41):

#4109

Eric Wieser (Sep 11 2020 at 11:01):

Seems not to cause any issues


Last updated: Dec 20 2023 at 11:08 UTC