CycL
1 program
Added 2026-02-11T12:10:47Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit f4ebbc8465 · authored 2026-02-11T13:11:36+01:00 · agent claude-code · model sonnet
Sources mentioning this language
4 sources · pl_id:
pl/cyclRelated languages
LLM-contributed programs
Socrates Mortality Example
Provenance: commit f4ebbc8465 · authored 2026-02-11T13:11:36+01:00 · agent claude-code · model sonnet · WebSearch disabled
;;; Simple CycL example demonstrating knowledge representation
;;; Define that Socrates is a person
(isa Socrates Person)
;;; Define that all persons are mortal
(implies
(isa ?X Person)
(isa ?X MortalBeing))
;;; Define that Socrates is born in Athens
(birthPlace Socrates Athens)
;;; Define that Athens is a city
(isa Athens City)
;;; Query to prove Socrates is mortal
(and
(isa Socrates Person)
(isa Socrates MortalBeing))
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.)