CAS to EAS is dependent on the compressibility error.
IAS to EAS is dependent on instrument, position and compressiblity
errors.
EAS to TAS is dependent on density error.
The only connection between CAS and EAS is therefore compressibility,
which alters with altitude.