There’s no such thing as ‘the economy’. There is only ‘lots of people making independent decisions’
Inflation is a measurement one of the observable effects of all of those decisions over time. Businesses deciding how to set prices and when to offer discounts and what products or services to offer. Customers deciding what businesses to purchase from.
Inflation isn’t something that ‘does things’. It is a thing that happens.
And inflation alone isn’t a very interesting number - what really matters is economic activity.
Like, if Alice sells widgets for $10, and Bob has $100 to budget for widgets, he’ll buy ten widgets.
If Alice increases her prices by 10%, if Bob can’t also increase his widget budget, he’s going to wind up only buying 9 widgets. But if Bob also finds he can increase his budget by 10% he’ll still go ahead and buy 10 widgets.
The distinction you’re making above is just between cases where the same degree of inflation is accompanied by different changes in economic activity.
And the causal relationships between inflation and economic growth are not simple, linear, universal, or unidirectional.