Zulip Chat Archive

Stream: lean4

Topic: exact? -> congr()?


Julian Berman (Sep 24 2024 at 22:29):

Is it feasible / has it been considered to have exact? suggest uses of congr() rather than congrArg / congrFun etc.? Looking at have foo := congr($this * (foo bar)) is so much easier on the eyes than exact? suggesting have foo := congrFun (congrArg HMul.hMul this) (foo bar)

Kim Morrison (Sep 25 2024 at 00:01):

I think step 1 would be to write a delaborator that expresses congrFun and congrArg in terms of congr. If that could be made to work, even if it is not turned on by default, one could probably engineer exact? to make use of it.


Last updated: May 02 2025 at 03:31 UTC