Similar Items: Logic for exact real arithmetic