Text this: Logic for exact real arithmetic