Continuous mathematics over discrete structures