-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As a computer science theorist, I want to thank Japanese polices #47
Comments
That is the statute of limitations (of the punishment) [刑の時効] which applies to the case it takes time for confirmation of penalty/pronouncement of penalty to the execution of the sentence. Do you mean statute of limitations (of the prosecution) [公訴時効]? According to “Crimes Related to Electromagnetic Records of Unauthorized Commands (Chapter XIX-2, Penal Code, known as “crimes regarding computer viruses”)”, The statute of limitations (of the prosecution) of the crime which has a maximum penalty for 3 years imprisonment, is 3 years, not 30 years. You have 3-years to wait. |
We can also create "let-police-solve" repo and post many implementations! |
TheoremEvery definable set of programs is one-to-one reducible to Japanese polices. ProofLet φ(P) be a formal statement which asserts something about the program P. Given a program P, distribute the program P attached with a readme.txt "φ(P) is true". Then φ(P) is true if and only if Japanese polices consider the distribution is not criminal according to the Article 168-2. □ |
Considering the halting problem relativised to the Japanese police HaltJPPolice brings a contradiction, because JPPolice computes HaltJPPolice in the same way... |
Which means the arithmetical hierarchy collapses contradicting an unconditional result based on Peano Arithmetic. This might mean that Peano Arithmetic is not a good set theoretical model in real life... We might need JPPolice Arithmetic as our standard arithmetic model! |
tl;dr: Japanese polices have just solved the halting problem
Background
Definition: Halting problem is: Given any Turing Machine
M
and an inputs
, decide whetherM(s)
halts.In common words, halting problem is saying, given a program, and some inputs, determining whether the program exits at all.
In 1936, Alan Turing proved that there is no hope we can write a program to solve such a problem. But now in 2019, with the help of Japanese polices, we can actually solve halting problem in an elegant way.
Proof
Given any Turing Machine
M
and an inputs
, consider the following procedure:M
, since javascript is a Turing-complete language, it is easy to do so.alert('!');
after it.M(s)
never halts, otherwiseM(s)
haltsNow, if
M(s)
halts, then we are not posting a link with infinite alerts, so there is no ground for Japanese polices to arrest us. OtherwiseM(s)
never halts, then they will raid us and we will learn thatM(s)
must halt. Hence, Japanese polices are the oracle for the halting problem. ∎Yay! We have tackled the impossible!
Caveat: Statute of limitations applies, and wiki says the Japanese statue of limitations is as long as 30 years. So we may need to sit at home for 30 years to wait for the result. But luckily, we can solve many problems at once.
It is really thrilling to be born at this time to witness such a breakthrough in computablility theory. I think Japanese polices should get the next Turing award for their fantastic job.
The text was updated successfully, but these errors were encountered: