... IF we are comparing good, non-compressed recordings only, then the advantages of digital over vinyl are substantial ...
If you’re talking about commercial recordings, it is an exceptionally rare commercial release that does not include some compression. That’s one of the reasons that I enjoy making my own recordings and - get ready for this - many benefit from slight amounts of cautious compression. Just ask anyone who has experience with recording.
Regardless, LP contains a potential advantage over CD when it comes to HF frequency response. There's a lot of measured data supporting that, so it's dicey to say digital's advantage over analog is necessarily "substantial." It isn't quite that simple, although let's face it - establishing the value of relative differences is really subjective.