Better HN
topnewbestaskshowjobs
Log inSign up

ProfHewitt

250 karma · joined Aug 15, 2019 (7y ago) · 419 submissions

Submissions

comment 6y ago · link · parent

In powerful mathematical theories for the foundations of Computer Science the sentence G does not exist.

In fact there is no particular proposition that is known to be inferentially undecidable.

See the following:

https://papers.ssrn.com/abstract=3457802

comment 6y ago · link · parent

You are very welcome!

Comments and suggestions for the linked article are greatly appreciated!

comment 6y ago · link · parent

Perhaps a higher-order theory of the ordinals is better than ZFC for the mathematical foundations of computer science.

For example, see the following:

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3457802

comment 6y ago · link · parent

Incompleteness in the sense of inferential undecidability still must be proven for higher-order strongly-typed theories in computer science.

For an example of such as proof see the following:

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3459566

comment 6y ago · link · parent

[Gödel 1931] is not applicable to the foundations of computer science for the reasons stated here:

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3603021

comment 6y ago · link · parent

Wittgenstein wrote about the incorrectness of Godel's famous 1931 argument for incompleteness of Russell's Principia Mathematica because Wittgenstein showed that the [Godel 1931] proposition I'mUnprovable leads to inconsistency in mathematics.

For more information, please see the following: https://papers.ssrn.com/abstract=3603021

comment 6y ago · link · parent

Wittgenstein was one of the first to argue that adding the [Gödel 1931] proposition I’mUnprovable results in contradiction by providing the following correct but somewhat convoluted argument [Wittgenstein 1937-1944] which has been explained by adding explanations of steps in brackets:

    “Let us suppose [Gödel 1931 was correct and therefore] I prove the unprovability (in Russell’s system) of [Gödel’s proposition] P [that is, ⊢⊬P where P⇔⊬P]; then by this proof I have proved P [⊢P because P⇔⊬P]. Now if this proof were one in Russell’s system [⊢⊢P] — I should in this case have proved at once that it belonged [⊢P] and did not belong [⊢¬P because ¬P⇔⊢P] to Russell’s system. But there is a contradiction here! [⊢P as well as ⊢¬P] 
  …[This] is what comes of making up such propositions.”
However, Wittgenstein did not point out that the [Gödel 1931] proposition I’mUnprovable is not allowed by the rules of Russell’s system because of restrictions on orders of propositions.

Nothing of practical importance depends on the existence of Gödel’s proposition I’mUnprovable. As discussed in https://papers.ssrn.com/abstract=3603021 , the important property of inferential undecidability (incompleteness) of Russell’s system can be proved in a different way without using I’mUnprovable. Furthermore, having Gödel's monster proposition I’mUnprovable comes at the heavy cost of introducing another monster, namely, “A powerful theory cannot prove its own consistency” as discussed here: https://papers.ssrn.com/abstract=3603021

comment 6y ago · link · parent

Wittgenstein was one of the first to realize incorrectness of Gödel's famous 1931 article on the inferential undecidability (incompleteness) of Russell's system Principia Mathematica. For more information please see the following: https://papers.ssrn.com/abstract=3603021

Professionals (including Gödel) ridiculed Wittgenstein's work on logic and ignored his correct important argument against [Gödel 1931].

comment 6y ago · link · parent

You might be interested in knowing that there are some nondeterministic computations that cannot be performed by a Turing Machine.

For a simple example, see the following:

https://papers.ssrn.com/abstract=3418003

https://papers.ssrn.com/abstract=3459566

comment 6y ago · link · parent

Scott Aaronson's post is very interesting. Unfortunately, Scott's proofs in the above blog post do not work for strongly-typed foundations of Computer Science.

For more information, see the following:

https://papers.ssrn.com/abstract=3418003

comment 6y ago · link · parent

Unfortunately, the above proof sketch does not work. Mathematics becomes inconsistent if a proposition G is allowed such that G<=>¬⊦G.

For a simple proof that allowing such a G makes mathematics inconsistent, please see the following:

https://papers.ssrn.com/abstract=3603021

comment 6y ago · link · parent

Of course, I meant to say "inferentially undecidable" instead of "preferentially undecidable".

Being inferentially undecidable means that it is not the case that for every proposition, there is either a proof of the proposition or its negation.

Inferential undecidablity implies "incompleteness" in the sense that it is not the case that every true proposition can be proved.

comment 6y ago · link · parent

Yes, this is the way to correctly prove "incompleteness", i.e that there are preferentially undecidable propositions in powerful theories of computer science.

See the following for a proof: https://papers.ssrn.com/abstract=3603021

comment 6y ago · link · parent

Actually, the [Gödel 1931] proof does not work as advertised for Principia Mathematica because the Gödel number of a proposition does not include the order of the proposition.

Consequently, the rules on orders of propositions mean that the [Gödel 1931] proposition I'mUnprovable does not exist in Principia Mathematica where

            I'mUnprovable <=> ¬⊦I'mUnprovable
For details see the following: https://papers.ssrn.com/abstract=3603021

comment 6y ago · link · parent

There is a simple explanation why the [Gödel 1931] proof for Russell's system does not work here:

https://papers.ssrn.com/abstract=3603021

comment 6y ago · link · parent

Russell's rules for orders on propositions rule out the existence of the [Gödel 1931] proposition I'mUnprovable (such that I'mUnprovable <=> ~⊢I'mUnprovable)

There is no fixed point (Diagonal Lemma) for the mapping Ψ↦~⊢Ψ because the order of the proposition ~⊢Ψ is one greater than the order of the proposition Ψ because Ψ is a propositional variable.

For a correct formal proof that there are true but unprovable propositions in the most powerful foundations see the following:

    Physical Indeterminacy in Digital Computation
https://papers.ssrn.com/abstract=3459566

comment 6y ago · link · parent

[Gödel 1931] tried to formally prove the proposition that there are true but unprovable propositions, which had been previously intuited by others.

Unfortunately, the [Gödel 1931] proof fails for the claimed Russell's system for the foundations of mathematics.

The following has an explanation of what went wrong in this and many other cases in foundations of mathematics for computer science:

    Vanquishing ‘Monsters’ in Foundations of Computer Science: Euclid, Dedekind, Russell, Gödel, Wittgenstein, Church, and Turing didn't get them all ...
https://papers.ssrn.com/abstract=3603021

comment 6y ago · link · parent

For those interested in the underlying theory of Actors see the following:

    Information Security Requires Strongly-Typed Actors and Theories
       https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3418003
    Physical Indeterminacy in Digital Computation
        https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3459566

comment 6y ago · link · parent

> Code should not be peppered something like the following:

     receive cancel -> throw cancel after 0 -> ok end
Instead, cancellation should trigger cleanup to make it easier to recover. If no clean up is needed, then it doesn't have to be done.

Actors were designed for massively concurrent systems that are often physically distributed. Behavior change (including state change) is essential for Actors, e.g., security, performance, etc.

comment 6y ago · link · parent

Erlang has been used for many important practical practical implementations :-)

However, we need much better tools to implement Reusable Secure Intelligent Systems by 2030! See the following for some ideas:

https://papers.ssrn.com/abstract=3428114

comment 6y ago · link · parent

Joe was a fantastic colleague with whom I had great conversations, e.g., see the following:

https://www.youtube.com/watch?v=uORIxJhOjkI

I miss him dearly.

comment 6y ago · link · parent

Erlang can kill a process, but does not have cancellation, which causes a process to be halted and throw a cancellation exception from the point at which it was halted so that clean up can be performed while unwinding.

Crowds are a way to keep track of processes performing activities so that they can be cancelled, etc.

A boot request is sent to a controller to boot up a processor returning a termination report. A run request is sent to code to run returning a value.

The Erlang approach to implementing behavior change by recursing on a single procedure passing the variables in a tail call has issues implementing holes in regions of mutual exclusion similar to ones encountered in JavaScript. Because tail calls with state variables do not always work and Erlang does not have an assignment command, Erlang programs often use helper processes to temporarily hold state.

The above Actor implementation illustrates how the above interact in a way that can make Erlang implementations more complicated. Such interactions are common in implementing intelligent systems.

comment 6y ago · link · parent

You are very welcome gmfawcett!

What Erlang programs have you found to be needlessly complicated?

comment 6y ago · link · parent

With respect to your question: "I don't really understand the version number means in this case?" An item can be booted only if its version number has not regressed in to prevent replay attacks.

There are no cancellation ids in the Actor implementation, however a cancellation exception can be thrown when an activity is cancelled.

comment 6y ago · link · parent

The code is just binary code, which can only be run.

The Actor implementation of a Controller just runs the code and so the controller does not have to itself perform a become.

The variables currentVersion and the crowd running hold the state of the changing behavior of the controller.

A tricky part for Erlang is that the variable running must updated even if code.run is cancelled.

comment 6y ago · link · parent

Looks like you are still not implementing the signature of a Controller, which as follows:

    Controller *interface*
       boot[*itemIs* Item, *signedIs* Signed] → TerminationReport  
           // boot request with an item and signed returns
             // a termination report from the boot request
       shutDown → Void     // shut down request returns Void     
A boot request checks the item which is a Package with code and packageVersion and then runs the code. The boot request returns a termination report that results from running the code.

However, when the boot request is still operating, the controller might receive a shutDown request, which will cause the cancellation of the running code that will caught within the run request and turned into a termination report.

Note that there is no timing error in the Actor implementation because, a shutDown request cannot be received until code.run has released the region of mutual exclusion.

comment 6y ago · link · parent

toast0: Doesn't look like your Erlang code implements the required signature for a Controller?

Also, I don't see where it updates the version number and whether the code is running?

Furthermore, where does it perform code.run?

comment 6y ago · link · parent

The signature for a controller to implement is as follows:

    Controller *interface*
       boot[*itemIs* Item, *signedIs* Signed] → TerminationReport  
           // boot request with an item and signed returns
             // a termination report from the boot request
       shutDown → Void     // shut down request returns Void     
The challenge in Erlang is to allow the shutDown request to be received even though the boot request has not yet returned with a termination report.

The cancellation exception is caught within the implementation of the run request and turned into a termination report.

PS. The definition the type Item is as follows:

  Item ≡ Package[*imageIs* Binary, *versionIs* Version]
1
91011
14