STRIPS
1 program
Added 2026-02-07T14:45:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Stanford Research Institute Problem Solver
Provenance: commit 744f2a3320 · authored 2026-02-07T15:45:29+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/stripsRelated languages
LLM-contributed programs
Blocks World Planning Problem
Provenance: commit 744f2a3320 · authored 2026-02-07T15:45:29+01:00 · agent claude-code · model sonnet · WebSearch disabled
;;; Blocks World Planning Problem in STRIPS
(define (problem blocks-world-1)
(:domain blocks)
(:objects a b c table)
(:init
(on a table)
(on b table)
(on c a)
(clear b)
(clear c)
(handempty))
(:goal
(and
(on a b)
(on b c))))
(define (domain blocks)
(:requirements :strips)
(:predicates
(on ?x ?y)
(clear ?x)
(holding ?x)
(handempty))
(:action pickup
:parameters (?ob)
:precondition (and (clear ?ob) (on ?ob table) (handempty))
:effect (and (holding ?ob) (not (on ?ob table)) (not (clear ?ob)) (not (handempty))))
(:action putdown
:parameters (?ob)
:precondition (holding ?ob)
:effect (and (on ?ob table) (clear ?ob) (handempty) (not (holding ?ob))))
(:action stack
:parameters (?ob ?underob)
:precondition (and (holding ?ob) (clear ?underob))
:effect (and (on ?ob ?underob) (clear ?ob) (handempty) (not (holding ?ob)) (not (clear ?underob))))
(:action unstack
:parameters (?ob ?underob)
:precondition (and (on ?ob ?underob) (clear ?ob) (handempty))
:effect (and (holding ?ob) (clear ?underob) (not (on ?ob ?underob)) (not (clear ?ob)) (not (handempty)))))
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.)