In all seriousness, this seems unbelievably neat. I have a pretty fancy gaming PC that doesn't get utilized nearly enough; being able to brute force my TLA+ seems like a responsible way to use it.
"PaxosCommit RM = 3 uses about 26.4 GB of the RTX 5090’s 32 GB this way" How practical would this be on an FPGA, given its even more limited with memory?
I've tried verifying some simple vibe-coded TLA+ models based on linux mm/ locks using this project, and it seems the bottleneck isn't the GPU workload itself, but rather the Rust-to-PTX compiler. So I think the idea of TLA+ on GPUs is still waiting for a good engineer to implement it properly, rather than just blindly vibe-coding it.
I've wondered if something similar could be done to perform model checking on an FPGA. It would probably be easier to start with Spin, where the Promela spec and logic to check it are used to produce C code. That could then be translated to Verilog.
I've got local ... mostly AI created... work that does routing and placement to FPGA from a yosys synthesized ... thing. And I have it sped up to several multiples faster than the equivalent run in Vivado by using CUDA & the integrated GPU of my DGX Spark to optimize The Algorithms(tm).
Routing/placement/timing analysis, it's all very multithreaded and parts getting CUDA acceleration, and it's way faster than using Xilinx's painful stuff.
Not really wanting to publish it for the world to tear apart, but it works for me to flash the hardware I'm flashing and I'm doing some rather crazy stuff... All born from getting sick of the iteration times and wanting a much faster development cycle.
tombert | 5 hours ago
In all seriousness, this seems unbelievably neat. I have a pretty fancy gaming PC that doesn't get utilized nearly enough; being able to brute force my TLA+ seems like a responsible way to use it.
snizovtsev | 4 hours ago
genxy | 3 hours ago
snizovtsev | 2 hours ago
I've tried verifying some simple vibe-coded TLA+ models based on linux mm/ locks using this project, and it seems the bottleneck isn't the GPU workload itself, but rather the Rust-to-PTX compiler. So I think the idea of TLA+ on GPUs is still waiting for a good engineer to implement it properly, rather than just blindly vibe-coding it.
senderista | 5 hours ago
0xcafefood | 3 hours ago
I've wondered if something similar could be done to perform model checking on an FPGA. It would probably be easier to start with Spin, where the Promela spec and logic to check it are used to produce C code. That could then be translated to Verilog.
cmrdporcupine | 2 hours ago
Routing/placement/timing analysis, it's all very multithreaded and parts getting CUDA acceleration, and it's way faster than using Xilinx's painful stuff.
Not really wanting to publish it for the world to tear apart, but it works for me to flash the hardware I'm flashing and I'm doing some rather crazy stuff... All born from getting sick of the iteration times and wanting a much faster development cycle.
codebje | an hour ago
oulipo | 3 hours ago
seddonm1 | an hour ago