Optimal regularity for nonlocal elliptic equations and free boundary problems | Synapse