very much or a lot [= considerably]:
substantially higher prices
The deer population has increased substantially in recent years.
used to say that in many ways something is true, the same, different etc [= essentially]:
There are one or two minor differences, but they're substantially the same text.