Euclidian geometry would be the same in any universe though, as it does not depend on objective physical reality.
The abstraction came later.
Didn't Hume already prove we cannot invent anything not related to our prior experience (which ultimate goes to the universe's natural laws we experience).
Do you mind elaborating on this, or pointing to some resources where I can read more?