Similar Items: From coinductive proofs to exact real arithmetic: theory and applications