Lambdapi

1 program Added 2026-03-05T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: lambda-pi, LambdaPi
Provenance: commit 89674408f9 · authored 2026-03-05T17:49:38+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

2 sources · pl_id: pl/lambdapi
LLM (this repo) · 1Linguist

Extensions claimed by this language

1 claim. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.lplinguistprimary513.6K files

Related languages

Lambda Prolog (0.25)LambdaProlog (0.25)MOO (0.23)Lambdatalk (0.21)AProlog (0.20)

LLM-contributed programs

Natural Numbers with Addition and Proofs

Provenance: commit 89674408f9 · authored 2026-03-05T17:49:38+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.lp · license: MIT · added: 2026-03-05T10:00:00Z
// Natural numbers
constant symbol Nat : TYPE;
constant symbol zero : Nat;
constant symbol succ : Nat → Nat;

// Addition
symbol add : Nat → Nat → Nat;
rule add zero $n ↪ $n;
rule add (succ $m) $n ↪ succ (add $m $n);

// Multiplication
symbol mul : Nat → Nat → Nat;
rule mul zero $n ↪ zero;
rule mul (succ $m) $n ↪ add (mul $m $n) $n;

// Proofs of basic properties
symbol Eq : Nat → Nat → TYPE;
constant symbol refl : Π x, Eq x x;
symbol eq_sym : Π x y, Eq x y → Eq y x;
rule eq_sym _ _ (refl _) ↪ refl _;

// add_zero: add n zero = n
symbol add_zero : Π n, Eq (add n zero) n;
rule add_zero zero ↪ refl zero;
rule add_zero (succ $n) ↪ refl (succ (add $n zero));

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Disambiguation rules

Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
RuleExtKindPredicates (truncated)
h/linguist/.lp/0.lppredicates[{"kind": "any", "regexes": ["(?:^|\\s)symbol(?:$|\\s)|(?:^|\\s)rule(?:$|\\s)"]}]

Contribute — propose a file extension

Tell us where to find evidence about Lambdapi (mapped to pl/lambdapi). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Lambdapi/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← LambdaLang LambdaProlog →