正在加载视频...

视频加载失败

New project: a coding and formal verification agent for computational physics and applied mathematics. Auto-generate type-correct DSL code for equations and numerical schemes, autoformalize correctness properties in Lean/Isabelle/Rocq, then compile down to provably-correct C code

52,681 次观看 • 5 个月前 •via X (Twitter)

15 条评论

Guilherme O'Tina 的头像
Guilherme O'Tina5 个月前

the part i wonder about is the gap between 'code is formally correct' and 'the physics model is right'. in computational physics the hard errors are often in modeling assumptions (turbulence closures, boundary conditions), not in numerics. fv guarantees the implementation but the model itself stays experimental

Mathelirium 的头像
Mathelirium5 个月前

How do you plan to bridge the gap between the continuous math model and the discrete DSL without gettin stuck on floating point rounding and stanility issues

Jonathan Gorard 的头像
Jonathan Gorard5 个月前

This work is based on our existing DSL + theorem-prover work which axiomatized the IEEE-754 for floating-point arithmetic as an algebraic structure: All correctness theorems are proved up to machine precision.

Prashanth 的头像
Prashanth5 个月前

This might already be in one of your papers, but: I think the case for formal verification is clear wrt cryptography for example, or pure math. But I’m not sure I understand the case in physics. What does FV add in addition to the theory + experimentation loop?

Jonathan Gorard 的头像
Jonathan Gorard5 个月前

This project is essentially an extremely powerful agentic extension of which perhaps gives some insight into what formal verification means in the context of a numerical code.

FleetingBits 的头像
FleetingBits5 个月前

i think research on domain specific languages for llms would be quite interesting; sort of the next logical evolution of the racket program; like when do llms benefit from domain specific languages, can they create them usefully, etc...

Ahmed Ibrahim Hamdy 的头像
Ahmed Ibrahim Hamdy5 个月前

Now you are talking -- hope you will open source this -- this has so many good uses

𝑫𝒂𝒏𝒊𝒆𝒍 𝑺𝒄𝒐𝒕𝒕 𝑴𝒂𝒕𝒕𝒉𝒆𝒘𝒔 🇦🇺 的头像
𝑫𝒂𝒏𝒊𝒆𝒍 𝑺𝒄𝒐𝒕𝒕 𝑴𝒂𝒕𝒕𝒉𝒆𝒘𝒔 🇦🇺5 个月前

That is a big step toward this, Will you be adding deeper layers to deal with the behavioral differences between CISC and RISC CPU architectures so that determinism is nailed down completely? If you can the complete system can generate massive amounts of very high quality synthetic data for further LLM training.

alegator 的头像
alegator5 个月前

what happens if you give it something like this: tomorrow or over the next few days i will make a video explaining the total proof on paper from start to finish it's lean formalized as far as i can get it on vibes

Rob Coli 的头像
Rob Coli5 个月前

I am working on a similar harness! Strong typing and automatic projection to solvers is very valuable in operationalized proof frameworks. Do you mind sharing more of your plans for this project as software, broad release plans, etc.?

Cyclic-Amp 的头像
Cyclic-Amp5 个月前

Hmm..

Deepia 的头像
Deepia5 个月前

Incredible, I didn't know numerical simulations could even be provably correct

Richard Hu 的头像
Richard Hu5 个月前

How are you implementing the agent? Custom loop or using some framework?

Giedrius Trump 的头像
Giedrius Trump5 个月前

🤔

Eray Özkural, PhD - OG AI ⏭️🌟 的头像
Eray Özkural, PhD - OG AI ⏭️🌟5 个月前

We might have to stop you, you're getting too close to our stuff LOL!

相关视频

How do you actually formally verify the code underpinning Ethereum's future? In this episode (the finale of the lean Ethereum miniseries), Nico sits down with Alex Hicks (Alexander Hicks), lead of Protocol Snarkification at the Ethereum Foundation, to break down formal verification from first principles. They cover: – What formal verification actually is and the trust boundaries between proof assistants, SMT solvers, and kernels – The full verification stack for RISC-V ZKVMs: from SAIL specs to constraint extraction to soundness proofs – Why writing constraints directly in Lean makes proofs 10–100x more ergonomic – How AI is now proving hard theorems in hours for $200 — and what that unlocks for the whole pipeline They also explore the boundaries problem, why specs can have bugs too, and the end goal of a full Lean stack that bypasses Rust and LLVM entirely. Listen to the full episode ------------------------------------------------------------ TIMECODES: 09:16 – What is formal verification? Proof assistants vs SMT solvers 18:33 – Formal verification of code: specs, semantics, and trust boundaries 29:30 – Formally verifying the Lean Ethereum stack: RISC-V ZKVMs in focus 33:02 – Extracting ZKVM constraints into Lean and proving soundness 36:35 – Writing constraints directly in Lean: 10–100x better proof ergonomics 44:02 – Proving Polishchuk–Spielman in 8 hours for $200 with AI 51:01 – The end goal: a full Lean stack bypassing Rust and LLVM

Zero Knowledge Podcast

15,289 次观看 • 7 个月前