The theoretical spot rates for treasury securities represent the appropriate set of interest rates that should be used to value the risk from default-free cash flows. A treasury yield curve can be used to construct the default free theoretical spot rate curve. Default-free theoretical spot rate curve can be built with the help of observed Treasury yield curve.
Though a number of approaches are in practice, but one prominent approach is bootstrapping.