factual

Sorting Algorithm Shows Delayed Gratification

When a digit in a sorting algorithm is broken so it cannot move, the unchanged algorithm still sorts by routing around it, and crucially the degree of sortedness temporarily goes down to enable better order later — a behavioral scientist would recognize this as delayed gratification, a competency nowhere in the algorithm's few lines of code, unlike two magnets that cannot go around a barrier.

factualpending

Speaker

Michael Levin

Evidence Quote

“You could stare at the algorithm all day long. You would not see that this thing can do delayed gratification. It isn’t there.”

Source

Michael Levin— Lex Fridman Podcast
Created: 6/13/2026, 3:37:44 AM

Your notes

Loading notes...