Bitcoin and rust

Joined October 2013
fi3 🏴‍☠️ 🦀 ₿ retweeted
It is a weird weird year to be a formal methods expert. Some unorganized thoughts on the new @AnthropicAI and @theoremlabs post on formal verification (anthropic.com/research/forma…): - This is very cool. - The main innovation is verifying a later stage of the program. Normally provers take the source code, LLM it into a theorem language, and then prove that, which means you have to make assumptions about source semantics and compilation properties. It's very easy to make a mistake in translating and prove the wrong thing! What they instead do is compile the code into assembly, and then (if I understand this correctly), compile that assembly into a theorem language (which they call LPS). So as long as the compiler is faithful you can skip the whole divergence problem. - I'm glad they clarify that you still have to trust the translation process, the "hardware, OS, OCaml" compiler, the LPS model, and also assume that the program is single threaded with fixed memory. The single biggest source of errors in formally verified code is when the proof assumes something that isn't true in practice. It's really, really important to state your assumptions! - I'm not clear why they need to compile the fuzzer into the theorem. Is it to act as a description of valid inputs and workload? Maybe to embed assertions in as theorems? - Holy crap, 180 million lines of Rocq. Is that more Rocq than exists in the world already? I notice they say a 600,000 line proof corresponds to roughly 20k CPU instructions. That would be like, 1-2k lines of source code at most? Really goes to show how inefficient this approach is and how it only works because you can throw LLMs at the problem. - This, probably deliberately, doesn't address the single biggest gap in AI-based verification: AIs cannot come up with good properties. Doesn't matter if you're doing unit testing, property testing, formal verification. I always assumed this was a "frontier labs haven't trained for it yet" thing, but if Anthropic hasn't talked about that here, maybe they've tried and haven't been successful yet. That's interesting to me. Instead, they take a known universal property (this code doesn't crash or get flagged by UBsan) and prove that instead. Still very useful, but makes it harder to generalize to proving arbitrary things about arbitrary programs. - Anybody reading the official post should also read their expert review appendix (www-cdn.anthropic.com/files/…). It points out some interesting things, like the fact that most of the code the LLM wrote wasn't used in the proof (over one billion lines of Rocq), that they had to prove the equivalence between fuzzed and unfuzzed programs, and (this is most interesting), some experiments find that the LLM-method of proofwriting may not scale to more complex things. - Also read the description of LPS (github.com/theorem-labs/oss-…) to understand the limitations of the assembly -> Rocq compilation. In particular, it does not handle concurrency at all (which is one of the main use cases for formal methods!) or OS signals. Also it can't prove things about program arguments with slash characters, meaning they can prove stuff about `rm foo` but not `rm foo/bar`. - The official skill (github.com/theorem-labs/oss-…) doesn't tell us much about the nature of FM and AI. Probably too much for me to hope of any skill. - Some of the article's specific caveats and throat clearings make me think someone at Anthropic reads my stuff ( ͡° ͜ʖ ͡°)
36
123
11
822
194,451
fi3 🏴‍☠️ 🦀 ₿ retweeted
Adam Back
@adam3usOct 8
Dubious. Do you think P=NP? Some problems are fundamentally higher complexity, and accelerating mathematically capability doesn't change that any more than gravity. Plus for what bitcoin cares about, even if all algebraic were hardness problems lost, we have hash-based SHRINCS.
20
20
4
528
64,203
fi3 🏴‍☠️ 🦀 ₿ retweeted
Programming Is Dead. Lyrics by Grok, song by Suno, Opus 5.5 for the video end-to-end.
🤖 Made with AI
9
18
2
74
9,286
fi3 🏴‍☠️ 🦀 ₿ retweeted
This approach works perfectly well when you're working with a frontier AI model. And it should be the approach you take, especially when you're early in exploring/solving a problem. It reduces friction and helps you hone in on a solution early and with little effort. It is also completely viable when you're not constrained by budget or AI token spend. But you should also learn the disciplines of engineering AI harnesses, such as how to preserve the accuracy of your agent while downgrading the backbone model to a faster/cheaper LLM. Or if you've reached a solution and want to be able to scale it to hundreds, thousands, or millions of repetitions per day. In those cases, having specific structure and rules in your instructions/harness can help reduce token consumption and AI costs.
I am surprised that people are surprised this is how I prompt Claude. Talk to Claude the way you would a coworker. There's no secret to prompting. There's no need to be overly scaffolded or prescriptive for most tasks -- give Claude a goal, and it will figure it out. Back in the Sonnet 3.5 days, your prompt mattered a lot. Nowadays, it's much more important to communicate to the model: 1. What you want it to do 2. How much effort you want it to spend 3. How it should verify that it did the right thing
2
3
9
1,555
fi3 🏴‍☠️ 🦀 ₿ retweeted
Henry Ford’s factory workers earned $5/day salary. At the time that salary bought 5oz of gold per month. Henry Ford paid his factory workers~$20k/month salary in today’s dollars. We don’t need a minimum wage, we need hard money.
107
710
57
4,613
133,421
fi3 🏴‍☠️ 🦀 ₿ retweeted
dax
@thdxrSep 30
the way these subscription plans work is there's a pool of compute and you maximize how many people it can serve that's the only way to justify not using it for high margin api demand the sales team keeps bringing in individuals with a lot of accounts makes it all less viable
I have 22 Claude max accounts, and the current promotion - an optional weekly reset that you can spend any time before Oct 22 -- is a lifesaver for fuel tuning. I know it makes it harder to predict their compute loads, but I'm super grateful for this reset form factor.
42
10
4
937
143,196
fi3 🏴‍☠️ 🦀 ₿ retweeted
Stop caring so much about model releases. Focus on the harness, and improving the environment your agent operates in. You'll find yourself far ahead of the curve.
142
147
40
3,952
169,471
fi3 🏴‍☠️ 🦀 ₿ retweeted
Does your Claude model really need Claude Code…? 🤔 We evaluate 7 models on Claude Code, Codex, and Pi. Three surprising findings emerge: 1️⃣Harness choice has little effect on task success rate, but can significantly affect the cost 2️⃣A simple harness can be competitive 3️⃣The native harness isn’t always the best. Millions of people are using coding agents, but the impact of harness choice remains unclear. (1/n) More details in the thread. 🧵
182
189
104
1,363
365,605
fi3 🏴‍☠️ 🦀 ₿ retweeted
Oof. See, this is why I’m not worried about “pure” LLMs in the long run. There’s new evidence that the human brain doesn’t use natural language centers for logical reasoning at all. Study just came out where stroke patients with complete aphasia (near-chance on written comprehension) performed….great on pure logic tasks! Even in healthy adults, fMRI showed language area activation didn’t scale with logical difficulty. tl;dr words are too ambiguous for formal thought and our brain doesn’t use language symbols for logic
322
540
163
5,667
292,770
fi3 🏴‍☠️ 🦀 ₿ retweeted
International Cyber Digest
@IntCyberDigestJul 16
‼️ Linus Torvalds told Linux kernel developers this week that Linux is not one of those anti-AI projects and that AI is now a clearly useful tool. He says AI's usefulness was still arguable a year ago but no longer is, and that the doubters simply haven't used the tools. Nobody is forced to use AI, but he will ignore anyone trying to stop others from using it. Anyone who wants an anti-AI project, he says, can fork the code or walk away. In 2024, Torvalds dismissed AI as mostly marketing. By this January he was shipping AI-generated Python in his own hobby repo, and the kernel now accepts AI-written code under disclosure rules.
202
612
164
7,260
734,839
fi3 🏴‍☠️ 🦀 ₿ retweeted
"This is not surveillance. This is love." #ChatControl 🇪🇺
21
84
17
375
61,730
fi3 🏴‍☠️ 🦀 ₿ retweeted
We will never switch an endpoint to signal for a BIP that hasn't reached consensus. Our miners can signal for anything they want. Both statements are true at the same time. That's the point. Miner Signaling via DMND StratumV2: blog.dmnd.work/miner-signali… #Bip110
1
7
18
1,371
fi3 🏴‍☠️ 🦀 ₿ retweeted
DMND has mined the first known Bitcoin block using Stratum V2 Job Declaration. Block 955,318, on mainnet, mined by @GoMining, who built and declared their own block template and included their GoBTC Pay transactions. mempool.space/block/00000000…
17
17
6
94
7,955
fi3 🏴‍☠️ 🦀 ₿ retweeted
Our @DMND_Sv2 pool just mined the first known Bitcoin Stratum V2 block, Block 955,318. Mainnet. A miner built their own block template and mined it through our pool. No pool deciding their transactions for them.
12
42
3
121
11,203
fi3 🏴‍☠️ 🦀 ₿ retweeted
Introducing a new side project called Model Regression. It tests daily Claude, GPT, and Grok on various benchmark statistics to determine how well its performing and to identify model degrades over time. @edskoudis had an idea for model testing before they conducted offensive testing to ensure the model was performing as expected, and @BlasikRandy pushed me down this road with actually going and doing it. The main intent here is the frontier models will experience outages, issues, bugs, intentional/unintentional nerfing of the models without notice. You can't typically trust day to day activities in these models for stability, so leveraging this on your daily routine to see how well the model is performing for that day is something I'll be using everyday. Runs every morning in my DGX sparks environment and automatically updates with how well its performing. Enjoy! modelregression.com/ Also open-sourced the project, can run on your own server as well and look at the benchmarks and how they are calculated: github.com/HackingDave/model…
30
72
1
318
20,797
fi3 🏴‍☠️ 🦀 ₿ retweeted
We’re excited to welcome @AntPoolofficial @blocks @f2pool @FoundryServices @MARAFoundation_  @SpiderPool_com @DMND_Sv2 to the Stratum V2 Working Group. With founding members @BraiinsMining, @spiral_btc, and FOSS community, their experience will help accelerate the protocol and adoption.
12
36
11
96
24,941
fi3 🏴‍☠️ 🦀 ₿ retweeted
New Stratum V2 website - stratumprotocol.org 💙 In 🇺🇸🇷🇺🇨🇳🇦🇪🇪🇸 How do you like it? Anything we can improve?
3
11
4
49
5,371
fi3 🏴‍☠️ 🦀 ₿ retweeted
People need to stop giving this guy's FUD the time of day. Literally *the* top two Bitcoin research orgs (Blockstream Research and Chaincode) have each put resources into figuring out what a post-quantum Bitcoin change should look like, and have had some interesting results! That *is* what it looks like when devs take a problem seriously - research into available options, new cryptographic primitives that are better for Bitcoin than available standard PQC options, etc. Yes, its not overnight, and its not generally people going on stage at a conference and talking about it. Yes, many bitcoiners mostly espouse cope rather than talk about the work being done, but that's because the work is mostly done by people who don't spend all their time posting about it on here. That doesn't mean its not happening.
everyone knows there are minuscule, scattered individual efforts Matt. what matters is the consensus of the most influential devs, as is always the case with any upgrade, again, as you know. the last two major upgrades to Bitcoin took 7-8 years from first proposal to meaningful adoption on chain. the only named BIP pertaining to quantum is BIP360 and even that has not been co-signed by any major dev. and BIP360 is only a first of many, many steps that need to be made. as you know, the consensus among the most influential devs is that quantum is - not a real concern - only driven by investors - driven by hype - driven by people who are long quantum stocks or whatever these same objections were raised in 2021 when taproot was being added (as it is not quantum resistant) and dismissed then. you were part of those discussions. the risk has become far more urgent since. until Bitcoin does something like Ethereum and makes quantum an explicit strategic priority, people will continue to desert it. you may not care about what capital thinks, but I can assure you, everyone else in Bitcoin does. coindesk.com/tech/2026/01/24…
38
43
7
475
85,474