r/compsci • • 2h ago

Someone claims to have a Lean proof that a rule 54 cellular automaton is Turing complete

Thumbnail github.com
24 Upvotes

Someone on Discord said they'd been working on a proof of this for a while. They decided to try using AI, but first asked it what was already known, and it pointed them to this apparently. I asked my Claude and it says it looked into this and apparently thinks it's real. For context, something called rule 110 was the only other of the simplest non-trivial cellular automata proven Turing complete, though this one's been suspected for a while but not proved till now(?) https://mathworld.wolfram.com/Rule110.html


r/compsci • • 6h ago

BIPLAN - An interpreted language implemented in 24KB and less than 2k LOC

Thumbnail github.com
4 Upvotes

In 2017 I built a couple of standalone programmable computers with a screen and a keyboard using Arduino boards and I wanted to run software I could understand. After some time spent looking for solutions I was forced to use TinyBasicPlus because it was the only interpreted language that could fit into such tight memory constraints. The result was a machine with features comparable to an IBM 5150 booted into BASIC.

Looking at it I asked myself: "How can BASIC, the first attempt to popularize programming, now 57 years old, still be the only viable option?" I just needed a simple and modern programming language implemented in C, with very few dependencies and layers of abstraction. After some experiments I decided to design and implement that myself.

The development of BIPLAN started in 2017. I wrote both the compiler and the interpreter from scratch avoiding external libraries, frameworks and the influence of compiler and interpreter design studies, learning by doing and evaluating results. In 9 years of experiments I wrote BCC, a pre-processor and a multi-pass compiler capable of syntax and lexical analysis (701 lines of code), and BIPLAN, a register-based virtual machine implemented with a recursive descent parser (874 lines of code).

I crave for your feedback :)


r/compsci • • 15h ago

What can we reconstruct about how SEC 2 chose its prime-field Koblitz generators?

0 Upvotes

I reconstructed a shared generator-selection pattern across the four SEC 2 prime-field Koblitz curves, including secp256k1. It’s a provenance and rigidity anomaly, and its broader significance remains an open conjecture. In a prime-order group, choosing a generator does not by itself create a discrete-log trapdoor. The same scan found no comparable pattern in the r1 curves.

I’d welcome independent checks of the reconstruction and archival references that explain how the base points were selected.

https://rickmark.me/blog/undisclosed-generation-procedure-sec-2-prime-koblitz-curves/

https://rickmark.me/blog/concealment-not-security-free-generator/