Better HN
topnewbestaskshowjobs
Log inSign up

disjunction181

5 karma · joined May 12, 2023 (3y ago) · 1 submissions

Submissions

comment 3y ago · link · parent

It's not that humans don't write such large programs, it's that the kind of pattern that causes the exponential behavior doesn't naturally occur in long chains in any kind of written code. You can provide the pathological inputs yourself and quickly freeze e.g. OCaml's typechecker, they just don't ever naturally occur to the point of becoming a problem.

Here's an example of the pathological pattern in OCaml: https://cs.stackexchange.com/questions/6617/concise-example-...