I think really what the edges is doing is much like this demonstration in photoshop, with the exception that the edges curve is applied via wavelets and this photoshop demonstration uses combined blending of sharpness with lightness and darken blend modes applied locally with a bush using a mask…This is a good demonstration though of the basic concept of applying sharpness and how it relates to contrast and halos esp along edges…and ways to mitigate it… https://www.youtube.com/watch?v=Slkj-Xz4nHM