Bitcoin and rust

Joined October 2013
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
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
119
11
792
190,734
1. added a meaningful benchmark to ab-lab that reflects my personal exp with coding with agents 2. proved that skill frameworks are bad (clikbait, but I have something about it) 3. updates to my new personal website: old and wikis section article link in the following tweet 👇
1
3
113
Replying to @antirez
What you mean by "collaborating" they both try to solve the same problem and u pick best result or they actually collaborate?
63
joereis.substack.com/p/build… Without deep domain knowledge and a sense of taste, you lack the context to judge whether AI-generated outputs are generally useful or complete bullshit
42
Replying to @Astrob0i91
still experimenting for now not, I will keep you posted here
14
fi3 🏴‍☠️ 🦀 ₿ retweeted
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,198
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,280
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
I will make temperature settable via args in a next release
26
Replying to @deeponailabs
this is kind of exepected, as @makevoid make told me I could have set temperature to 0 but I'm more interested in differences that are large relative to the normal run-to-run variance defaults. With --parallelel you can runs same config N time and get the average.
1
44
You can use the included benchmarks or define tasks for your own repository. blog.filippomerli.com/articl…
1
79
I built ab-lab to test whether changes to a coding-agent workflow actually help. It lets you compare models, harnesses, instructions, and author/reviewer configurations against a fixed repository snapshot, with explicit budgets and independent evaluation. 👇
4
2
5
205
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,614
133,416
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,192
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,461
Replying to @elonmusk @spacexai
Not sure how anyone can take seriously a bench that put opus above astra...
1
27
Very interesting. Is not intuitive to me how is possible that the agents do not get stuck on the first good enaugh solution when able to communicate.
28