Zulip Chat Archive
Stream: new members
Topic: exact tactic
Joseph O (Apr 23 2022 at 00:21):
I looked at the documentation for exact, but I still cant understand how this works image.png
Arthur Paulino (Apr 23 2022 at 00:55):
If you check the definition of mul you'll see that m * 1 can be unfolded to m * 0 + m, which can be simplified to 0 + m. Thus, what you have to prove becomes 0 + m = m, which is exactly zero_add
Jireh Loreaux (Apr 23 2022 at 00:56):
"can be simplified" -> "is definitionally equal to"
Arthur Paulino (Apr 23 2022 at 00:58):
The exact tactic is flexible enough to unify things that are definitionally equal but aren't spelled in the exact same way
Joseph O (Apr 25 2022 at 15:48):
Arthur Paulino said:
If you check the definition of
mulyou'll see thatm * 1can be unfolded tom * 0 + m, which can be simplified to0 + m. Thus, what you have to prove becomes0 + m = m, which is exactlyzero_add
now my question is where does it simplify this under the hood?
Notification Bot (Apr 25 2022 at 15:48):
Joseph O has marked this topic as unresolved.
Last updated: May 02 2025 at 03:31 UTC
