Aleph

1 program Added 2026-02-26T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Aleph ILP
Provenance: commit 12220a97c2 · authored 2026-02-26T23:21:21+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

2 sources · pl_id: pl/aleph
LLM (this repo) · 1Pldb

Related languages

Alef (0.20)Aleo (0.20)Alda (0.12)Alms (0.12)Seph (0.12)

LLM-contributed programs

Animal Classification

Provenance: commit 12220a97c2 · authored 2026-02-26T23:21:21+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.pl · added: 2026-02-26T10:00:00Z
:- use_module(library(aleph)).
:- if(current_predicate(use_rendering/1)).
:- use_rendering(prolog).
:- endif.
:- aleph.

:- set(i,2).
:- set(clauselength,4).

:- modeh(1,class(+animal,-class)).
:- modeb(1,has_legs(+animal,#int)).
:- modeb(1,has_tail(+animal)).
:- modeb(1,has_gills(+animal)).
:- modeb(1,has_feathers(+animal)).
:- modeb(1,isa(+animal,#type)).

has_legs(dog,4).
has_legs(cat,4).
has_legs(trout,0).
has_legs(herring,0).
has_legs(shark,0).
has_legs(eel,0).
has_legs(cobra,0).
has_legs(rattlesnake,0).
has_legs(boa,0).
has_legs(tortoise,4).
has_legs(eagle,2).
has_legs(albatross,2).

has_tail(dog).
has_tail(cat).
has_tail(trout).
has_tail(herring).
has_tail(shark).
has_tail(eel).
has_tail(cobra).
has_tail(rattlesnake).
has_tail(boa).
has_tail(tortoise).
has_tail(eagle).
has_tail(albatross).

has_gills(trout).
has_gills(herring).
has_gills(shark).
has_gills(eel).

has_feathers(eagle).
has_feathers(albatross).

isa(dog,mammal).
isa(cat,mammal).
isa(trout,fish).
isa(herring,fish).
isa(shark,fish).
isa(eel,fish).
isa(cobra,reptile).
isa(rattlesnake,reptile).
isa(boa,reptile).
isa(tortoise,reptile).
isa(eagle,bird).
isa(albatross,bird).

:- begin_in_pos.
class(dog,mammal).
class(cat,mammal).
class(trout,fish).
class(herring,fish).
class(shark,fish).
class(eel,fish).
class(cobra,reptile).
class(rattlesnake,reptile).
class(boa,reptile).
class(tortoise,reptile).
class(eagle,bird).
class(albatross,bird).
:- end_in_pos.

:- induce.

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.)

Contribute — propose a file extension

Tell us where to find evidence about Aleph (mapped to pl/aleph). 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/Aleph/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Aleo Aleph One Marathon Markup Language →