<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: mfornet</title><link>https://news.ycombinator.com/user?id=mfornet</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 19 Jun 2026 21:08:36 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=mfornet" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by mfornet in "Show HN: Talos – Open-source WASM interpreter for Lean"]]></title><description><![CDATA[
<p>Both.<p>You can write "annotate" your rust code using asserts. On the wasm side asserts are converted to trap instructions, so the Lean spec will simply be: For every input this code never traps.<p>Part of our focus is making sure that specs are both easy to write and read, since they are human facing. Eventually you could imagine how writing code will mostly be writing specs, and both the code and the proofs will be handled by AI agents. In this scenario it is very important that humans can easily audit and modify the specs.</p>
]]></description><pubDate>Fri, 19 Jun 2026 12:36:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=48597873</link><dc:creator>mfornet</dc:creator><comments>https://news.ycombinator.com/item?id=48597873</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48597873</guid></item><item><title><![CDATA[New comment by mfornet in "Show HN: Talos – Open-source WASM interpreter for Lean"]]></title><description><![CDATA[
<p>Initially we considered formalizing rust code, aeneas is a very promising project that would unlock a lot of features right way by transpiling to lean. However, we didn't want to lock ourselves to rust, so we decided to use a lower level target such that we could verify code from "any" language.<p>We considered LLVM-IR, and RISC-V.<p>Ultimately WASM felt like the right decisions. More importantly WASM spec is very well done in details, and it is written with formal verification in mind early on, and there are are plans from to include Lean as one of the targets for generating the spec automatically from SpecTec. Once this exist, we will formalize that our interpreter is correct under the definition generated from the official Wasm-Lean-Spec so we remove it from the Trusted-Base going forward.</p>
]]></description><pubDate>Fri, 19 Jun 2026 12:33:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=48597853</link><dc:creator>mfornet</dc:creator><comments>https://news.ycombinator.com/item?id=48597853</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48597853</guid></item><item><title><![CDATA[New comment by mfornet in "Show HN: Talos – Open-source WASM interpreter for Lean"]]></title><description><![CDATA[
<p>> what if I want to reason about larger programs that dynamically allocate, where the addresses may not be known statically? How can I make sure these do not overlap?<p>We are actively working on this, as it is a pre-condition :P to reason about the simplest of useful programs. The idea is to develop an API around separation logic that allows you to reason about logic that manipulate non-overlapping regions of memory.<p>It won't be relevant if address are not known statically since API theorems will be parametrized over non-relevant constants such as addresses, function indices, etc...<p>> And since this is a shallow embedding into lean, what’s the approach for verifying properties of non-terminating programs?<p>To use the interpreter there is the concept of fuel, which we explicitly hide from the reasoning layer. Using fuel you can write statements of the form, this function returns out of fuel for any value of fuel passed to the interpreter, which is equivalent to prove that your program doesn't terminate.</p>
]]></description><pubDate>Fri, 19 Jun 2026 12:28:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=48597811</link><dc:creator>mfornet</dc:creator><comments>https://news.ycombinator.com/item?id=48597811</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48597811</guid></item><item><title><![CDATA[Show HN: Talos – Open-source WASM interpreter for Lean]]></title><description><![CDATA[
<p>At Cajal (YC W26) we’re excited to share Talos (<a href="https://github.com/cajal-technologies/talos" rel="nofollow">https://github.com/cajal-technologies/talos</a>), an open source framework for formal verification of WebAssembly modules in Lean.<p>AI is now writing tons of the code that gets pushed to production. As code generation gets cheaper, verification becomes the bottleneck. We believe in a future where every piece of software comes with a mathematical proof that it does what its author intended - in doing so, eliminating many classes of exploits. Talos is part of the foundation for that.<p>Talos provides a Wasm interpreter optimized for reasoning at the binary level, together with a weakest-precondition calculus layer for proving properties about programs. Because we reason directly about WebAssembly, any language with a Wasm backend is in scope: Rust, C++, Go, C, Swift, Kotlin, Zig, C#, and many more.<p>To make this possible, we use Lean: a programming language and theorem prover that lets you both write software and mathematically prove that it's correct - all in one system. That's what lets Talos double as both an executable interpreter and the formal object Lean reasons about. Lean also integrates with modern AI proving tools, discharging goals automatically via both proof search and direct evaluation.<p>To see Talos in action check out a proof for Stein's GCD algorithm, implemented in the popular Rust crate num-integer: <a href="https://github.com/cajal-technologies/talos/blob/main/programs/lean/Project/NumInteger/Spec.lean#L562-L588" rel="nofollow">https://github.com/cajal-technologies/talos/blob/main/progra...</a>.<p>Our roadmap:<p>- Full Wasm coverage by first passing the official W3C testsuite, then later verifying against SpecTec (formal Wasm spec)
- Arbitrary crate verification - any Rust crate that compiles to Wasm should be in scope
- Building our proof library codelib, to make verifying increasingly complex programs tractable<p>We would love to hear the community’s feedback on Talos and comments on the state of formal verification right now. Contributions are also welcome!</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=48584761">https://news.ycombinator.com/item?id=48584761</a></p>
<p>Points: 89</p>
<p># Comments: 22</p>
]]></description><pubDate>Thu, 18 Jun 2026 13:10:44 +0000</pubDate><link>https://github.com/cajal-technologies/talos</link><dc:creator>mfornet</dc:creator><comments>https://news.ycombinator.com/item?id=48584761</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48584761</guid></item><item><title><![CDATA[New comment by mfornet in "Infini-Gram: Scaling unbounded n-gram language models to a trillion tokens"]]></title><description><![CDATA[
<p>As I see it, this model will be able to predict “easy” to derive tokens but will no chance on “hard” tokens.<p>For example doing a sum of random numbers. If the token you are trying to predict is not in the training data, even if similar patterns exist, this model defaults to the Neural Model.<p>I guess then it is an aide to the neural model on filling the easy patterns.</p>
]]></description><pubDate>Sun, 05 May 2024 22:35:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=40269216</link><dc:creator>mfornet</dc:creator><comments>https://news.ycombinator.com/item?id=40269216</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40269216</guid></item><item><title><![CDATA[New comment by mfornet in "Nightshade: Near Protocol Sharding Design [pdf]"]]></title><description><![CDATA[
<p>off topic: Regarding Figure 8: "a graph with 10 nodes, each having 4 neighbors and no two shards requiring more than 2 hops for cross-shard communication". This can be achieved with only 3 neighbors (Petersen graph) <a href="https://en.wikipedia.org/wiki/Petersen_graph" rel="nofollow">https://en.wikipedia.org/wiki/Petersen_graph</a><p>More about this here: <a href="https://en.wikipedia.org/wiki/Table_of_the_largest_known_graphs_of_a_given_diameter_and_maximal_degree" rel="nofollow">https://en.wikipedia.org/wiki/Table_of_the_largest_known_gra...</a></p>
]]></description><pubDate>Wed, 10 Jul 2019 19:30:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=20405573</link><dc:creator>mfornet</dc:creator><comments>https://news.ycombinator.com/item?id=20405573</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20405573</guid></item></channel></rss>