Its clear that being able to restore only an approximation of the original file would be lossy, and being able to restore an exactly identical copy of the original file is lossless.

What is the correct terminology for a compressor that restores an exact logical reproduction of the original file's data, even though that is not byte-identical?

For example, if you know the use the file is being put to, and you know that the decompression is exactly equivalent?

An example might be a compressor for 3D model meshes that lists the vertices in the restored file in a different order from the input, whilst restoring correctly the exact positions of those vertices and all the edges between them.

Another example might be an XML compressor that removes redundant whitespace within tags. And so on.