> While the minimum versions specified in go.mod are not necessarily the version of the dependencies used
This has not been true since Go 1.17 with the default -mod=readonly, which is why go.mod is a reliable lockfile.