CFP - Rust Bangalore

Call for talks for monthly meet-ups

dhilipsiva

@dhilipsiva

Nibli - A Neuro-Symbolic reasoner (Theorem Prover) in Rust

Submitted Nov 13, 2026

Nibli is an open-source reasoning engine I build in Rust. You write facts and rules in nibli KR, a readable logic language, and it answers TRUE, FALSE, UNKNOWN or RESOURCE_EXCEEDED, with a proof when you ask for one. It never invents a fact, a rule or a proof step, and when it can’t decide, it says so. The neural half of the neuro-symbolic design sits outside the engine: an optional LLM drafts rules from plain English, the engine’s own compilers reject drafts that don’t parse or that use words outside a committed vocabulary, the errors go back to the model, and you review the draft before the engine reasons over it. The LLM drafts; the theorem prover decides.

Most of the session is about the Rust underneath. The parser is generated from a pest grammar, so the spec and the parser can’t drift. The vocabulary is committed Rust source behind a compile-time perfect hash. The reasoner does demand-driven backward chaining with iterative deepening and keeps proofs as a memoized DAG, and one pipeline ships as a WASI Preview 2 component, a browser build and a native crate. I’ll show how I test something whose job is to be right: differential tests against Vampire and clingo, Lean 4 proof files for parts of the design (not an end-to-end proof), fuzzing, and a CI check that fails if the WebAssembly component imports a clock or the filesystem. That check is why the toolchain is pinned to rustc 1.96.1: from 1.97, the wasm32-wasip2 standard library imports a clock even for a bare println!. I’ll close with my own benchmarks, including the workloads where Nibli is orders of magnitude slower than clingo and Soufflé, and why.

Takeaways

  • Where an LLM belongs next to a deterministic core: drafting rules at authoring time, behind compiler gates and human review, and never deciding at run time.
  • How to build correctness-critical Rust that fails closed: a generated parser, a compile-time vocabulary, four-valued results instead of guesses, and differential testing against established provers.

Who it’s for

Rust developers curious about logic programming, theorem proving or WebAssembly components, and engineers building AI features who need decisions they can audit. Familiarity with Rust is enough; I’ll introduce the logic as we go.

About me

I’m dhilipsiva (Dhilip C), an engineer in Bangalore with 16+ years building products with Python and 6+ years of Rust, and I work as a Technical Architect at STGI. I build Nibli, an open-source symbolic reasoning engine in Rust, and wrote a book, scheduled for December 2026, which uses Nibli as its running case study. Code: github.com/dhilipsiva

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

A community of Rust language contributors and end-users from Bangalore. We have presence on the following telegram channels https://t.me/RustIndia https://t.me/fpncr LinkedIn: https://www.linkedin.com/company/rust-india/ X/Twitter: https://x.com/IndiaRust more