Mathematics consists of identifying a pattern and then generalising it to fit other circumstances.
My personal definition is given in the diagram that follows. I think that when one does mathematics one goes through these stages . Sometimes a stage may be quick another maybe slow but these stages make up the process of mathematics.