Scott core theorem