Better HN
topnewbestaskshowjobs
Log inSign up

ProfHewitt

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

Submissions

comment 5y ago · link · parent

Thanks Tom!

Being a linguist of note, Colmerauer evidently didn't know (or didn't

want to admit) that Kowalski had been carefully studying

Planner and Shrdlu (Winograd's Phd thesis based on Planner)

for quite a while in Edinburgh, where he felt quite in the

minority defending pure mathematical logic against the

onslaught of Popler (Pop2 Planner), etc.

    The formalization issue was addressed by the invention of
    Actors for all of digital computation including many
    computations that cannot be performed using pure logic
    programming (including Colmerauer's Prolog).
    Furthermore, many practical applications can be implemented
    using Actors hundreds of times faster than they can be 
    implemented using pure logic programming.
PS. Have you actually read the article

"Middle History of Logic Programming: Resolution, Planner, Prolog and the Japanese Fifth Generation Project"

ArXiv 2009.

https://dev.arxiv.org/abs/0904.3036

comment 5y ago · link · parent

Unfortunately, the author Timm Lampert did not quote the most

powerful Wittgenstein proof that existence of I'mUnprovable

means that mathematical foundations are inconsistent.

Wittgenstein's more powerful version is much more

devastating.

As mentioned previously in this discussion, the following

article explains why I'mUnprovable must not and does not

exist in foundations:

"Recrafting Foundations of Mathematics"

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

comment 5y ago · link · parent

Strict logic programs (including Prolog) do not implement concurrency, which motivated the invention of Actors.

For more information see the following:

"Information Security Requires Strongly-Typed Actors and Theories"

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

comment 5y ago · link · parent

As Kowalski has acknowledged and reported by others, Prolog was invented as a subset of Planner that only implemented backward chaining.

See the following for further information:

"Middle History of Logic Programming: Resolution, Planner, Prolog and the Japanese Fifth Generation Project" ArXiv 2009.

https://dev.arxiv.org/abs/0904.3036

comment 5y ago · link · parent

Sorry for the incorrect URL, which was at first posted incorrectly here:

https://professorhewitt.blogspot.com/

The correct URL is as follows:

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

comment 5y ago · link · parent

Deligtful: Have you actually read the article?

comment 5y ago · link · parent

The Church/Turing Thesis is false because there are digital computations that cannot be implemented by a nondeterministic Turing Machine.

See the following for more information:

"Recrafting Foundations of Mathematics"

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

comment 5y ago · link · parent

You are very welcome!

In addition to the article linked in this discussion, see the following:

Hao Wang. "Reflections on Kurt Gödel" MIT Press. 1987.

comment 5y ago · link · parent

Wittgenstein's devastating critique of [Gödel 1931] came afterward.

See the article referenced in this discussion.

comment 5y ago · link · parent

Thanks!

The complete sentence is as follows: For example, that “theorems are provably computational enumerable” [Euclid approximately 300 BC] is a monster was only discovered after millennia when [Church 1934] used it to identify fundamental inconsistency in the foundations of mathematics that is resolved in this article."

comment 5y ago · link · parent

For something a little more rigorous see the following:

"Robust Inference for Universal Intelligent Systems"

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

comment 5y ago · link · parent

For state of the art on foundations of mathematics, see

"Recrafting Foundations of Mathematics"

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

comment 5y ago · link · parent

Consider the following example:

    open:[String]->FileDescrptor

    ReadWrite restriction FileDescriptor to 
                                  read -> Item,
                                  write[item] -> Void

    ReadWriteOpen:[String]->ReadWrite 
     [aString] |-> 
                 aDescriptor <- Open.[aString], 
                 Implementation ReadWrite
                              read |-> aDescriptor.read,
                              write[anItem] |-> aDescriptor.write[anItem] 

    fd <- ReadWriteOpen.["/etc/passwd"]
Now we have an Actor fd that can only do reads and writes on

the opened file.

Consequently, fd is just one thing in Actors as opposed to

kind of being two separated things in Pony.

Is the separation in Pony really a good idea?

comment 5y ago · link · parent

State machines are incompatible with concurrent systems. For example there is no nondeterministic state machine for the following program:

   IndeterminateLargeNumber:[]→Natural ≡
       []↦
          aCounting←Counting.[], // Bind aCounting to a newly created Counting
          aCounting.go|||  // Send aCounting a go message while concurrently
          aCounting.stop   // sending aCounting a stop message

    Counting:[ ]→Interface go→Void, stop→Natural 
       ≡ []  ↦↦   // constructor has no arguments 
          count:=0,   // The variable count is initially 0
          continue:=False|  // The variable continue is initially False
          go ↦      // When a go message is received: 
            continue cases   // Cases for continue are as follows:
                     True then  // If continue is True,  
                        count:=count+1;         // then increment count and afterward
                        Hole (This Counting).go      // in a hole in the region of mutual exclusion,  send a go message this instance of Counting
                     else Void     // If continue is False, then return Void
          stop ↦    // When a stop message is received:
              continue:=False;       // Assign continue the value False and then
              count     // return the value of count
See the following for an explanation:

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

comment 5y ago · link · parent

Although the JVM has many limitations, it has important capabilities

that are lacking in BEAM. The limitations of BEAM are severe,

especially for implementing Universal Intelligent Systems,

which is the primary challenge of Computer Science for this decade.

See the following:

Project Liftoff: Universal Intelligent Systems (UIS) by 2030

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

comment 5y ago · link · parent

It could be very difficult to implement an industrial-strength

Java on BEAM :-(

comment 5y ago · link · parent

Erlang made a fundamentally good design decision in reinventing

the Actor paradigm [Hewitt, Bishop, and Steiger 1973].

However, many of the language design decisions were compromised.

It's amazing that Armstrong, et. al. got as far as they did

without formal foundational principles. Unfortunately, Erlang

still lacks a rigorous formal foundation :-(

comment 5y ago · link · parent

You are very welcome.

There is additional information available here:

https://professorhewitt.blogspot.com/

comment 5y ago · link · parent

The Actor paradigm is indeed very powerful. It has been

reinvented many times since it was first published in 1973.

For example, Erlang was a reinvention that put the paradigm

into many practical applications :-)

However, only more recently has it been characterized up to a

unique isomorphism. See the following article:

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

The most important code to be written now is for the

foundations of Universal Intelligent Systems :-)

comment 5y ago · link · parent

Excellent question! Types can provide very strong security

for messages by having the type system do crypto so that

applications can benefit without requiring application

programmers to manage keys and crypto code.

comment 5y ago · link · parent

In general, an Actor receiving a message enters its region of

mutual exclusion (which can have holes), which is explained

here:

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

Is there a rigorous formalization of Erlang message passing?

comment 5y ago · link · parent

There are a number of very useful systems written for BEAM!

Consensus protocols are too slow for Universal Intelligent Systems (UIS) :-(

See the following for UIS:

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

comment 5y ago · link · parent

Strong types are very important for concurrency.

However, by themselves, strong types do not provide proofs.

See the following for proofs of strongly-typed concurrent systems:

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

Strongly-typed programming languages need to provide

additional capabilities for error processing and recovery.

comment 5y ago · link · parent

Excellent point!

Attempts are being made to graft types onto Erlang. However,

they are limited by compatibility requirements with existing

large existing programs and libraries :-(

comment 5y ago · link · parent

This is an excellent summary of rationale for

Erlang with the goals stated at the beginning of the article!

However, the Erlang language itself is now rather dated :-(

In order to implement next generation Universal

Intelligent Systems [Hewitt 2019], the following extensions

to Erlang are needed:

• Automatic reclamation of processes. For example,

Erlang uses Process Identifiers (PIDs) to communicate between

processes. However, a process that has a process identifier

(say ProcessIdentifier) of a process with which it

communicates can launch a denial of service attack to kill

that process using exit(ProcessIdentifier, kill). An Erlang

process can be orphaned if its Process Identifier (PID)

becomes inaccessible. By default, the send operation in

Erlang always succeeds (even if the target is a non-existing process).

• Strong parameterized types with no type Any.

• Region of mutual exclusion for an Erlang process.

An Erlang process does not have a region of mutual exclusion,

which can lead to internal conflicts within processes.

• Behavior change using variables in a region of mutual

exclusion instead of having to create auxiliary processes to

hold state with callbacks. [Swain 2014] In particular,

o Better support for holes in the region of mutual exclusion

of an Actor implementation. For example, in Erlang it is

necessary for application programmers to explicitly code a

request handler for each re-entry into the region of mutual

exclusion potentially enabling cyberattacks from outside the

process.

o Better ways to upgrade Actors in place without losing work in progress.

comment 6y ago · link · parent

There is a small typo in the above:

Undecidable ≡ Halt<ExpressionFromString<Natural>>[⦅RunOne.[]⦆] is

inferentially undecidable in the theory Actors, that is,

⊬Undecidable and ⊬¬Undecidable where

RunOne.[]≡Eval.[SelectOne.[0]] and ⦅RunOne.[]⦆ is the

expression for the procedure application RunOne.[]

comment 6y ago · link · parent

Although [Gödel 1931] failed to proved inferential

undecidability of Russell's Principia Mathematica, there is a

fairly simple undecidable proposition namely, the proposition

   *Undecidable*≡Halt<ExpressionFromString<Natural>>[RunOne.[]]
where RunOne.[]≡Eval.[SelectOne.[0]] such that

   SelectOne.[i:Natural]≡ExpressionFromString<Natural>.[i] *finishesFirst* SelectOne.[i+1]
Eval.[anExpression] evaluates anExpression and where the expression

    (expression1 *finishesFirst* expression2)
returns the value of whichever of the expressions expression1

and expression2 evaluation finishes first.

The procedure SelectOne selects one of the expressions

created from strings.

For details see: https://papers.ssrn.com/abstract=3603021

comment 6y ago · link · parent

Hi Amboo7!

The article "What Gödel Discovered" improves on the Quanta

article linked above by using Lisp expressions instead of

Gödel numbers.

The proof in "What Gödel Discovered" is still incorrect

because the Lisp expressions it uses leave out the crucial

orders on propositions in Russell's Principia Mathematica.

comment 6y ago · link · parent

The author of "What Gödel Discovered" has a good point that

Gödel numbers are not a convenient representation of a

proposition of Russell's Principia Mathematica (PM). (Nor

are Gödel numbers adequate because they omit the order of a

proposition.)

Lisp expressions are an improvement. However, a Lisp

expression, as used in the article, is also not adequate

because it also omits the order of the proposition.

See the following for a high-level representation of

propositions of PM that includes the crucial orders on

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

1
789
14