Pragmatic mathematics : representations of thought and action