HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
webyrd
mediKanren
Racket2018–2024
webyrd / mediKanren

mediKanren

Proof-of-concept for reasoning over the SemMedDB knowledge base, using miniKanren + heuristics + indexing.

12Distinct people
15Mentions
0Explicit recommenders
338GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Proof-of-concept for reasoning over the SemMedDB knowledge base, using miniKanren + heuristics + indexing.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year15 dated mentions

Observed mentions: 2018-06-12 14:50:02 UTC to 2024-07-18 19:27:00 UTC.

02462018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 7 mentions; 0 submissions, 7 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC211
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC211
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC707
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC202
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101

What Hacker News says

15 sources
Not really production, but probably THE most impressive biomedicine research work I've seen (and I'm an academic MD): https://github.com/webyrd/mediKanren This is a FOL theorem prover that uses medical research articles as terms. They use it to do genetics and drug repurposing metaresearch. It's like the wet dream of all the biomed machine learning fanboys out there, except that: 1. it's not machine learning and 2. it really works
In Annotated implementation of microKanren: an embeddable logic language
IMO, you overstate the issue of syntax. As a hobbyist in both programming and math, Coq's syntax has never been the reason I failed to complete a proof. But perhaps I'm just too dumb and my difficulties lie elsewhere, so that's just my 2c. I think there's room for a spectrum of theorem provers made for academic pure mathematicians, industry programmers and everything in between. Those should perhaps not have identical syntax, neither should they have the same goals. To support my point, here's an example of an exotic theorem prover: https://github.com/webyrd/mediKanren It is aimed at medical researchers, and computes proofs about the medical literature, no less! This is a very different system and audience than which you are thinking about, but it's still a theorem prover.
In An automatic theorem proving project
This question is tangential, but why do you think it is that there are so many people in the "new philanthropist" class who do have the money to fund such research privately, but instead partner with the big pharma companies? If the costs for these types of solutions can be SO much lower, it surprises me that there isn't a more robust subculture working on it with money they've made when their last tech startups went public. Almost everybody knows somebody with a rare or expensive-to-treat disease, right? Is it just too early? Are we only just learning how to figure out exactly which mutations cause exactly the wrong protein production errors in the cells, and then can assess the effects of off-patent generics to treat them? Or is there more to it than that? I only learned about Medikanren[0] a couple weeks ago, and since this isn't my fi
Read the rest
eld, immediately felt like I was behind on some very important knowledge, and I'm fascinated by the thought of trying to figure out how to address this problem by thinking this far outside the big pharma box. It reminds me of FOSS in that the funding challenges may be similar, but for treating disease. [0] https://github.com/webyrd/mediKanren
In “Pay for success” contracts – a model to develop new therapies from old drugs
I recently got my full genome sequenced via a website called nebula.org. I don't have any backgrounds in genetics but I was playing around with the raw data with some github apps. Thanks so much for this - I may be able to link this app in to my custom data. That would be so awesome if we could hook this up to personal genetics results. Even people who aren't sick do have mutations and it would be so cool seeing AI running some kind of search on their personal genome and suggesting a drug for that! Here's the link to the github app they mentioned: https://github.com/webyrd/mediKanren
In With a nudge from AI, ketamine emerges as a potential rare disease treatment
Hi Kamaal! I know Cisco is using core.logic, which is David Nolen's Clojure variant of miniKanren, in their ThreatGrid product. I think the Enterprisey uses of mediKanren are a bit different than the purely relational programming that I find most interesting, though. Having said that, we are now on our second generation of mediKanren, which is software that performs reasoning over large biomedical knowledge graphs: https://github.com/webyrd/mediKanren/tree/master/medikanren2 mediKanren is being developed by the Hugh Kaul Precision Medicine Institute at the University of Alabama at Birmingham (HKPMI). HKPMI is run by Matt Might, who you may know from his work on abstract interpretation and parsing with derivatives, or from his more recent work on precision medicine. mediKanren is part of the NIH NCATS Biomedical Data Translator Project,
Read the rest
and is funded by NCATS: https://ncats.nih.gov/translator Greg Rosenblatt, who sped up Barliman's relational interpreter many order of magnitude, has been hacking on dbKanren, which augments miniKanren with automatic goal reordering, stratified queries/aggregation, a graph database engine, and many other goodies. dbKanren is the heart of mediKanren 2. I can imagine co-writing a book on mediKanren 2, and its uses for precision medicine... Cheers, --Will
In William Byrd on logic and relational programming, miniKanren (2014)
The Precision Medicine Institute that I now run produces mediKanren: https://github.com/webyrd/mediKanren It's an open source logical reasoning engine (read: 1960's AI) for drug repurposing that we deploy routinely to help patients. There is always a need for better relationalization of biological data sets that feed such tools too. For example, SemMedDB is really showing its age for NLP of the scientific literature and yet it is still astonishingly useful for helping patients even as is.
In Bertrand Might: Life, legacy and next steps
It was fun to read this because I happened to study at Indiana University where most of the work on *Kanren happened. If anyone is interested in practical applications, Will Byrd (mentioned in the story) went on to work with Matt Might (HN's favorite CS-prof-turned-doctor). One of the products of that was mediKanren[0] which operates over medical research. There was some publicity around mediKanren last year.[1] [0] https://github.com/webyrd/mediKanren [1] https://www.uab.edu/news/health/item/10703-diagnosis-in-2-12...
In Unifying the Technical Interview
Here is mediKanren (from the same authors): https://github.com/webyrd/mediKanren It's used for automated search through medical databases for drug discovery: https://www.uab.edu/mix/stories/a-high-speed-dr-house-for-me... Here is the Gerrit code review system: https://www.gerritcodereview.com/ It allows you to specify complex rules for workflows, who may sign off on what patches etc. Those rules are written in Prolog, but I guess they might as well be written in some other logic language. Here is (or rather, will be) Gigahorse, an Ethereum smart contract decompiler: https://2019.icse-conferences.org/event/icse-2019-technical-... The abstract doesn't say what "declarative, logic-based specification" is used in the implementation, but I know that two of the authors do a lot of work in Datalog, so it's Datalog.
In Minikanren – An embedded DSL for logic programming

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.