# clojure/core.logic

A logic programming library for Clojure & ClojureScript

Repository: https://github.com/clojure/core.logic
Canonical: https://ross.abutalabs.com/products/corelogic
Language: Clojure
License: EPL-1.0
License Family: copyleft
Last push: 2025-12-30T18:57:45+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 59, release rhythm 35, longevity 100
- inputs: {"age_days": 5607, "days_push": 246, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1504, forks 121 (observed 2026-08-28T04:04:54.856862+00:00)

## What it is
A logic programming library for Clojure and ClojureScript implementing miniKanren with Prolog-like relational and constraint logic programming. It supports extensions such as cKanren and αKanren and is designed to be extensible to other logic programming forms.

## Use cases
- embed a miniKanren logic engine in Clojure programs
- solve relational and constraint logic problems
- run Prolog-style relational programming on the JVM
- write logic programs that compile to ClojureScript for the browser
- work through The Reasoned Schemer exercises in Clojure
- build custom logic programming extensions on a miniKanren core

## When to choose
- you need declarative relational or constraint logic programming in Clojure or ClojureScript
- you want a mature, well-maintained miniKanren implementation on the JVM
- you need unification and goal-based search integrated with your Clojure code

## When to avoid
- you need a full standalone Prolog system with ISO semantics
- your problem is better solved with plain functional programming without backtracking search
- you work outside the Clojure/JVM/JavaScript ecosystem

## Facets
- artifact type: library
- maturity: stable
- function: interpreter, parser
- domain: programming-languages, developer-tools
- platform: jvm, cross-platform
- tags: logic-programming, minikanren, prolog, clojure, clojurescript, relational-programming, constraint-solving, algorithms

## Member repositories
- clojure/core.logic (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:54.856862+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:44.812765+00:00, confidence not recorded.
  - readme: https://github.com/clojure/core.logic (fetched 2026-08-28T04:04:54.856862+00:00, sha bc4d4e41af72)
- Data as of 2026-08-30T08:39:29.467469+00:00.
