over is closed under polynomial time reductions
OpenBSS.decisionInP_of_polyTimeReducesThe class over is closed under polynomial time reductions.
Let and be decision problems over , and suppose that reduces to in polynomial time: there is a machine over , in class on , whose output map satisfies for all and
Suppose moreover that is in , i.e. some machine in class on halts on every with answer or , answering exactly on . Then is in .
This is the composition step used in the Corollary of §6: running on the instance and then on decides membership in , and the total cost is polynomial in , because is itself bounded by a polynomial in — a machine running for steps can leave nonzero entries only in coordinates whose index is bounded in terms of and the size of its input. Formally the statement asserts the existence of a single machine over that solves and is in class on ; its construction is the sequential composition of and , in which the output of is re-encoded as an input state (its length placed in coordinate ) before is entered.
import Definitions.Def_BSSFeasibility
namespace BSS
theorem decisionInP_of_polyTimeReduces (Z Zyes Y Yyes : Set (Rinf ℝ))
(hred : PolyTimeReduces Z Zyes Y Yyes) (hY : DecisionInP Y Yyes) :
DecisionInP Z Zyes := by sorry
end BSS