Restructure extensionality proof.