Zulip Chat Archive

Stream: general

Topic: simplify `(a, b).fst` to `a`


Yury G. Kudryashov (Apr 08 2020 at 08:57):

Does Lean need a simp lemma for this?

Kenny Lau (Apr 08 2020 at 08:58):

I think it's one of the simp options (delta? iota?)

Yury G. Kudryashov (Apr 08 2020 at 09:31):

dsimp unfolds it, simp (sometimes?) fails.

Yury G. Kudryashov (Apr 08 2020 at 09:42):

The problem with all those "greek letter" reductions is that those who understand them probably don't understand why, e.g., wiki is not very helpful for others.

Yury G. Kudryashov (Apr 08 2020 at 09:42):

I hope someone will do #2102

Reid Barton (Apr 08 2020 at 13:58):

If simp fails when dsimp succeeds then I would guess it's because something else depends on this value and adding a simp lemma would make no difference.


Last updated: Dec 20 2023 at 11:08 UTC