frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Lean4 Datalog DSL Based on Google Zanzibar for AI Projects

https://github.com/jagg-ix/zil-lean
12•kbradero•4h ago
Google Zanzibar datalog lang lets you describe concepts and express how they are related. I generalize it to DSL you can use on Lean4 (and other languages) this lets you represent a knowledge base you can construct, store and evaluate, have it under git and improve without big engines or relaying on external infrastructure.

Google's Zanzibar paper: https://storage.googleapis.com/gweb-research2023-media/pubto...

Comments

sterlind•1h ago
as a lean noob but a datalog novice, could you explain how it ties to lean? I thought of lean as a proof language rather than a programming language. don't you have to write out every step yourself? or.. hrm. is lean actually a pure functional language with dependent types, and the tactics are just functions? or are tactics like type-level functions, but lean can support regular functions too?
kbradero•1h ago
Lean4 tactics are related to Clojure/Lisp based macros (https://lean-lang.org/theorem_proving_in_lean4/Tactics/)

Lean4 core is a functional programming lang and Zil it's a DSL implemented ontop, that means it would define a set of abstractions lean4 accepts such as theorems and lemmas, im also learning !

initial implementation uses clojure, I used claude to port it to Lean4 for my projects, it helps AI agents specially well because it allows it to keep context about how concepts are related and define rules and have a query system(datalog) to recover. If you try it pls report back ! if doesnt work, just mention how what what was the context, maybe there's a way to improve it for that case too. cheers and happy hacking.

Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

https://github.com/twalichiewicz/HNewhere
253•twalichiewicz•8h ago•64 comments

Show HN: Lean4 Datalog DSL Based on Google Zanzibar for AI Projects

https://github.com/jagg-ix/zil-lean
12•kbradero•4h ago•2 comments

Show HN: How far do I have to go to run into 100k people?

https://imjasonh.github.io/playground/population-rays/
63•ImJasonH•5d ago•41 comments

Show HN: XY – A Fast, composable, GPU-accelerated interactive plotting library

https://github.com/reflex-dev/xy
121•apetuskey•14h ago•44 comments

Show HN: PR review time decreased by N3MO:impact analyzer (15 days free trial)

https://n3mo.vercel.app
2•RajX_dev•1h ago•1 comments

Show HN: Firemaps Spain – Live wildfire map with wind flow for ES and PT

https://firemapsspain.online/
2•kalamarico•2h ago•0 comments

Show HN: Formally verified 3D CSG: Trust 93 lines spec, not 1000 lines AI code

https://github.com/schildep/verified-3d-mesh-intersection
109•permute•17h ago•47 comments

Show HN: Robust Blockchain Infrastructure

https://onfinality.io/en
2•cyrbuzz•2h ago•1 comments

Show HN: Learning Rust by writing a Markdown to HTML compiler

https://andreadimatteo.com/md-to-html-compiler.html
14•deotman•5h ago•3 comments

Show HN: Scala Tutorials – interactive Scala 3 lessons in the browser

https://scalatutorials.com
77•eranation•4d ago•35 comments

Show HN: MetrIQ – An AI fitness coach who supports you

https://metriq.fitness
2•zinas•3h ago•1 comments

Show HN: I spent 3 years building the CRM I wanted to use

https://ninjapipe.com
2•dinuka_jay•3h ago•0 comments

Show HN: Magpie, a CLI to Turn Your AI Agent into a Bookkeeper

https://github.com/kyle-visner/magpie
6•kvisner•7h ago•0 comments

Show HN: tale.fyi, we deserve a home for fiction

https://tale.fyi/@sam/announcing-tale-fyi-read-or-listen-to-an-entire-book-from-a-single-link
71•samuelcole•17h ago•65 comments

Show HN: Cynative – Read-only CLI in Go that explains your live infrastructure

https://github.com/cynative/cynative
15•szin•14h ago•4 comments

Show HN: AiTextToHandwriting] – Text to Handwriting Converter

https://aitexttohandwriting.com/
2•zhou594660747•4h ago•0 comments

Show HN: SeaTicket – Duplicate Bug Finder for GitHub

4•Daniel-Pan•4h ago•1 comments

Show HN: MegaDSP an effects plugin for DAWs with 50 effects

5•locusofself•4h ago•0 comments

Show HN: Yap – OSS on-device voice dictation for macOS with no model to download

https://github.com/FrigadeHQ/yap
99•pancomplex•1d ago•41 comments

Show HN: Beakdown – a game inspired by Joust/Skirmish

https://beakdown.fun/
10•novlrdotcom•11h ago•16 comments

Show HN: MD Flow – native macOS/iOS app for browsing and reading Markdown files

https://www.markdownfinder.app/en
2•azambrano•5h ago•0 comments

Show HN: Segue – Save context in one AI, load it in another by a short handle

https://segue.ai/
30•csaguiar•18h ago•21 comments

Show HN: FeyNoBg – Automatic background removal model and training library

https://usefeyn.com/blog/feynobg/
118•snyy•1d ago•29 comments

Show HN: Can you distinguish NBA shooting streaks from randomness?

https://www.hothand.study/
2•Tippedcellar405•6h ago•1 comments

Show HN: Sleepsignal.app

https://sleepsignal.app/
3•coldbreeze•6h ago•0 comments

Show HN: Local meeting notes transcriber, but linuxy

https://github.com/tomelliot/all-ears
2•tomelliot•6h ago•0 comments

Show HN: Cloudflarebase – open-source Firebase alternative on Cloudflare

https://github.com/cloudflarebase/cloudflarebase
5•alex_equimake•7h ago•0 comments

Show HN: Flashpaper – Self-destructing secret sharing with no database

https://flashpaper.app/
25•minpym•15h ago•9 comments

Show HN: BrowserAct: Browser Layer for Your AI Agent

https://github.com/browser-act/skills
14•aanthonymax•21h ago•2 comments

Show HN: Resultant Engineering Website

https://resultant.tools/
3•will2092347•7h ago•0 comments