DLTs (blockchains) solve the double spending problem in a decentral (trustless) way. Thats "the definition" and what separates it from other similar tech like git, a synced databases or a write-only database.
PoW/PoS are just rather stupid ways to implement this its not needed at all. Lookup federated byzantine agreement (FBA) for DLT systems without it.