[PDF] halton till
[PDF] ham cooking temperature chart
[PDF] ham cooking time calculator
[PDF] ham radio codes 10 codes
[PDF] ham radio programming software for mac
[PDF] ham roasting times
[PDF] hamiltonian of coupled harmonic oscillators
[PDF] hamiltonian path
[PDF] hamiltonian path and circuit
[PDF] hamlet act 1
[PDF] hamlet act 2
[PDF] hamlet passage
[PDF] hamlet pdf with footnotes
[PDF] hamlet website
[PDF] hamlet with explanatory notes
Lecturer: Lale Özkahya
Undecidability
ReductionsInformal Overview
Definition and PropertiesReductions
A reduction is a w ayof converting one p robleminto another problem such that a solution to the second problem can be used to solve the first problem. We say the first problem reduces to the second problem.Informal Examples:Measuring the a reaof rectangle reduces to measuring the length of the sides; Solving a system of linear equations reduces to inverting a matrixThe problemLdreduces to the problemAtmas follows: "To see ifw2Ldcheck ifhw,wi 2Atm."Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesReductions
A reduction is a w ayof converting one p robleminto another problem such that a solution to the second problem can be used to solve the first problem. We say the first problem reduces to the second problem.Informal Examples:Measuring the a reaof rectangle reduces to measuring the length of the sides; Solving a system of linear equations reduces to inverting a matrixThe problemLdreduces to the problemAtmas follows: "To see ifw2Ldcheck ifhw,wi 2Atm."Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesReductions
A reduction is a w ayof converting one p robleminto another problem such that a solution to the second problem can be used to solve the first problem. We say the first problem reduces to the second problem.Informal Examples:Measuring the a reaof rectangle reduces to measuring the length of the sides; Solving a system of linear equations reduces to inverting a matrixThe problemLdreduces to the problemAtmas follows: "To see ifw2Ldcheck ifhw,wi 2Atm."Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesReductions
A reduction is a w ayof converting one p robleminto another problem such that a solution to the second problem can be used to solve the first problem. We say the first problem reduces to the second problem.Informal Examples:Measuring the a reaof rectangle reduces to measuring the length of the sides; Solving a system of linear equations reduces to inverting a matrixThe problemLdreduces to the problemAtmas follows: "To see ifw2Ldcheck ifhw,wi 2Atm."Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesUndecidability using Reductions
Proposition
Suppose L
1reduces to L2and L1is undecidable. Then L2is
undecidable.Proof Sketch. Suppose for contradictionL2is decidable. Then there is aMthat always halts and decidesL2. Then the following algorithm decides L
1On inputw, apply reduction to transformwinto an inputw?
for problem 2RunMonw?, and use its answer.Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesUndecidability using Reductions
Proposition
Suppose L
1reduces to L2and L1is undecidable. Then L2is
undecidable.Proof Sketch. Suppose for contradictionL2is decidable. Then there is aMthat always halts and decidesL2. Then the following algorithm decides L
1On inputw, apply reduction to transformwinto an inputw?
for problem 2RunMonw?, and use its answer.Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesUndecidability using Reductions
Proposition
Suppose L
1reduces to L2and L1is undecidable. Then L2is
undecidable.Proof Sketch. Suppose for contradictionL2is decidable. Then there is aMthat always halts and decidesL2. Then the following algorithm decides L
1On inputw, apply reduction to transformwinto an inputw?
for problem 2RunMonw?, and use its answer.Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesSchematic View
Algorithm for Problem 1
ReductionfAlgorithm for
Problem 2wf(w)yes
no
Reductions schematically
Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesSchematic View
Algorithm for Problem 1
ReductionfAlgorithm for
Problem 2wf(w)yes
no
Reductions schematically
Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesSchematic View
Algorithm for Problem 1
ReductionfAlgorithm for
Problem 2wf(w)yes
no
Reductions schematically
Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesSchematic View
Algorithm for Problem 1
ReductionfAlgorithm for
Problem 2wf(w)yes
no
Reductions schematically
Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesThe Halting Problem
Proposition
The language HALT=fhM,wi jM halts on input wgis
undecidable.Proof. We will reduceAtmto HALT. Based on a machineM, let us consider a new machinef(M) as follows:On inputx
RunMonx
IfMaccepts then halt and accept
IfMrejects then go into an infinite loopObserve thatf(M) halts on inputwif and only ifMaccepts w!Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesThe Halting Problem
Proposition
The language HALT=fhM,wi jM halts on input wgis
undecidable.Proof. We will reduceAtmto HALT. Based on a machineM, let us consider a new machinef(M) as follows:On inputx
RunMonx
IfMaccepts then halt and accept
IfMrejects then go into an infinite loopObserve thatf(M) halts on inputwif and only ifMaccepts w!Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesThe Halting Problem
Proposition
The language HALT=fhM,wi jM halts on input wgis
undecidable.Proof. We will reduceAtmto HALT. Based on a machineM, let us consider a new machinef(M) as follows:On inputx
RunMonx
IfMaccepts then halt and accept
IfMrejects then go into an infinite loopObserve thatf(M) halts on inputwif and only ifMaccepts w!Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesThe Halting Problem
Proposition
The language HALT=fhM,wi jM halts on input wgis
undecidable.Proof. We will reduceAtmto HALT. Based on a machineM, let us consider a new machinef(M) as follows:On inputx
RunMonx
IfMaccepts then halt and accept
IfMrejects then go into an infinite loopObserve thatf(M) halts on inputwif and only ifMaccepts w!Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesThe Halting Problem
Completing the proofProof (contd).
Suppose HALT is decidable. Then there is a Turing machineH that always halts andL(H) = HALT.Consider the following programT
On inputhM,wi
Construct programf(M)
RunHonhf(M),wi
Accept ifHaccepts and reject ifHrejectsTdecidesAtm.But,Atmis undecidable, which gives us the contradiction.?Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesThe Halting Problem
Completing the proofProof (contd).
Suppose HALT is decidable. Then there is a Turing machineH that always halts andL(H) = HALT.Consider the following programT
On inputhM,wi
Construct programf(M)
RunHonhf(M),wi
Accept ifHaccepts and reject ifHrejectsTdecidesAtm.But,Atmis undecidable, which gives us the contradiction.?Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesThe Halting Problem
Completing the proofProof (contd).
Suppose HALT is decidable. Then there is a Turing machineH that always halts andL(H) = HALT.Consider the following programT
On inputhM,wi
Construct programf(M)
RunHonhf(M),wi
Accept ifHaccepts and reject ifHrejectsTdecidesAtm.But,Atmis undecidable, which gives us the contradiction.?Agha-ViswanathanCS373
Undecidability
ReductionsInformal Overview
Definition and PropertiesThe Halting Problem
quotesdbs_dbs17.pdfusesText_23