[{"data":1,"prerenderedAt":321},["ShallowReactive",2],{"family-obj":3,"family-members-obj":261,"family-siblings":295},{"id":4,"title":5,"author":6,"body":7,"description":219,"extension":227,"family":228,"features":229,"homepage":236,"logo":237,"meta":238,"name":5,"navigation":239,"note":240,"path":241,"references":242,"relations":237,"seo":256,"status":257,"stem":258,"urls":237,"year":259,"__hash__":260},"families\u002Ffamilies\u002Fobj.md","OBJ","Joseph Goguen, José Meseguer, and the ADJ group (UCSD and SRI)",{"type":8,"value":9,"toc":218},"minimark",[10,15,19,23,76,80,187,194,198,201,205,208],[11,12,14],"h2",{"id":13},"overview","Overview",[16,17,18],"p",{},"The OBJ family is the lineage of algebraic specification languages that treat a\nprogram as an equational theory and its execution as term rewriting. Joseph\nGoguen's group at UCSD began it in 1976, and its module system — theories,\nviews, parameterized modules — spread into Ada, ML and C++.",[11,20,22],{"id":21},"distinctive-traits","Distinctive traits",[24,25,26,30,46,61,67,73],"ul",{},[27,28,29],"li",{},"One logical reading of every member: programs are sets of sentences, and\ncomputation is deduction in that logic. The semantics is not an add-on.",[27,31,32,36,37,41,42,45],{},[33,34,35],"strong",{},"Parameterized programming"," is the family's invention: a module takes a\n",[38,39,40],"em",{},"theory"," as a parameter and a ",[38,43,44],{},"view"," discharges it, so instantiation is a\nproof obligation rather than a type substitution.",[27,47,48,51,52,56,57,60],{},[33,49,50],{},"User-definable mixfix syntax",". Members declare ",[53,54,55],"code",{},"if_then_else_fi"," or ",[53,58,59],{},"_+_","\nas ordinary operators with precedence and gathering, so a specification can\nkeep the notation of the domain it models.",[27,62,63,66],{},[33,64,65],{},"Order-sorted typing"," makes subtypes, overloading and coercion one\nmechanism rather than three features layered on a core.",[27,68,69,72],{},[33,70,71],{},"Module expressions"," — summation, renaming, instantiation — make the module\nsystem itself an algebra, which is what later languages borrowed piecemeal.",[27,74,75],{},"Members disagree about the logic, not the shape: OBJ3 stays equational,\nrewriting logic (Maude) and hidden algebra (CafeOBJ, BOBJ) extend it.",[11,77,79],{"id":78},"members-and-what-each-one-changed","Members and what each one changed",[81,82,83,99],"table",{},[84,85,86],"thead",{},[87,88,89,93,96],"tr",{},[90,91,92],"th",{},"Language",[90,94,95],{},"Relationship to OBJ",[90,97,98],{},"What it changed",[100,101,102,117,131,145,159,173],"tbody",{},[87,103,104,111,114],{},[105,106,107],"td",{},[108,109,5],"a",{"href":110},"\u002Flanguages\u002Fobj",[105,112,113],{},"the family root — OBJ3 is its canonical implementation",[105,115,116],{},"order-sorted equational logic, mixfix syntax, parameterized programming",[87,118,119,125,128],{},[105,120,121],{},[108,122,124],{"href":123},"\u002Flanguages\u002Fmaude","Maude",[105,126,127],{},"OBJ3's equational sublanguage plus rewriting logic",[105,129,130],{},"rules as first-class statements, reflection, LTL model checking, the Maude module algebra",[87,132,133,139,142],{},[105,134,135],{},[108,136,138],{"href":137},"\u002Flanguages\u002Fcafeobj","CafeOBJ",[105,140,141],{},"modern successor, JAIST-led",[105,143,144],{},"hidden sorts and behavioural specification, institution-based multi-logic semantics, proof scores",[87,146,147,153,156],{},[105,148,149],{},[108,150,152],{"href":151},"\u002Flanguages\u002Fbobj","BOBJ",[105,154,155],{},"behavioural extension of OBJ3, written in Java",[105,157,158],{},"circular coinductive rewriting, automatic cobases, higher-order modules",[87,160,161,167,170],{},[105,162,163],{},[108,164,166],{"href":165},"\u002Flanguages\u002Feqlog","Eqlog",[105,168,169],{},"OBJ3 plus order-sorted unification and backtracking",[105,171,172],{},"narrowing as the default semantics, retracts for runtime typing",[87,174,175,181,184],{},[105,176,177],{},[108,178,180],{"href":179},"\u002Flanguages\u002Ffoops","FOOPS",[105,182,183],{},"declarative object-oriented layer on OBJ3",[105,185,186],{},"classes, declarative method axioms, a module interconnection language",[16,188,189,190,193],{},"The recurring move is ",[38,191,192],{},"keeping the logic while replacing the engine",": Maude\nre-implemented OBJ's equational core with AC-matching automata and added rules;\nCafeOBJ kept OBJ3's surface and generalised the semantics to a family of\ninstitutions; BOBJ kept the surface and changed what equality means. None\nrewrote the module system — every one of them still instantiates modules with\ntheories and views.",[11,195,197],{"id":196},"status","Status",[16,199,200],{},"The lineage is live through Maude 3.5.1 (2025) and CafeOBJ 1.6.2 (2024), both\nactively released. The original OBJ3 is dormant — version 2.06 (2000) was the\nlast release, now BSD-licensed and Common Lisp-hosted — but remains the\nreference for what the family's syntax and module system mean.",[11,202,204],{"id":203},"history","History",[16,206,207],{},"The first implementation of initial algebra semantics by term rewriting\nappeared in OBJ in the mid-1970s; the characteristic syntax arrived in Goguen's\n1977 paper. OBJ2 (1985) added Clear-style parameterized modules, OBJ3 (1988)\nrebuilt the operational semantics on order-sorted rewriting, and BOBJ followed\nwith behavioural specification. Maude's first public release came in 1999 and\nCafeOBJ was launched as a Japanese-funded consortium project in April 1997.",[16,209,210,211,217],{},"For the semantic background that all members share, see Goguen and Malcolm's\n",[108,212,216],{"href":213,"rel":214},"https:\u002F\u002Fcseweb.ucsd.edu\u002F~goguen\u002Fpubs\u002Fasbk.html",[215],"nofollow","Algebraic Semantics of Imperative Programs",",\nwhich teaches program semantics entirely in OBJ3.",{"title":219,"searchDepth":220,"depth":220,"links":221},"",2,[222,223,224,225,226],{"id":13,"depth":220,"text":14},{"id":21,"depth":220,"text":22},{"id":78,"depth":220,"text":79},{"id":196,"depth":220,"text":197},{"id":203,"depth":220,"text":204},"md","obj",[230,231,232,233,234,235],"equational-rewriting","mixfix-syntax","module-algebra","order-sorted-typing","parameterized-modules","theories-and-views","https:\u002F\u002Fcseweb.ucsd.edu\u002F~goguen\u002Fsys\u002Fobj.html",null,{},true,"The lineage defined by one idea: a program is an equational theory and computation is rewriting. OBJ introduced parameterized programming — theories, views and module expressions — and that module system is the ancestor of Ada, ML and C++ generics; Maude, CafeOBJ and BOBJ extend the logic.","\u002Ffamilies\u002Fobj",[243,245,248,251,254],{"url":236,"title":244},"The OBJ Family: OBJ3, BOBJ, CafeOBJ, Maude, Kumo, FOOPS, Eqlog — UCSD",{"url":246,"title":247},"https:\u002F\u002Fcseweb.ucsd.edu\u002F~goguen\u002Fpps\u002Fiobj.ps","Introducing OBJ — official OBJ3 manual (Goguen, Winkler, Meseguer, Futatsugi, Jouannaud)",{"url":249,"title":250},"https:\u002F\u002Fcseweb.ucsd.edu\u002F~goguen\u002Fprojs\u002Fcafepr.html","CafeOBJ Project Press Release, 22 April 1997 — UCSD",{"url":252,"title":253},"https:\u002F\u002Fmaude.cs.illinois.edu\u002Foverview","Maude Overview — Maude has been influenced in important ways by OBJ3",{"url":213,"title":255},"Algebraic Semantics of Imperative Programs (Goguen and Malcolm, MIT Press)",{"title":5,"description":219},"active","families\u002Fobj",1976,"lRPAdIocgfqXOSThtHHMT-R5IucCp_WRQ74OQiow9Pg",[262,275,280,283,287,291],{"name":152,"path":151,"logo":237,"year":237,"kind":263,"status":264,"note":265,"paradigms":266,"typing":274},"language","dormant","Java reimplementation of OBJ3 adding hidden algebra: behavioural theories, auto-generated cobases and circular coinductive rewriting. It is the family member built specifically to prove that two specifications are observationally equal, and the only one with higher-order parameterized programming.",[267,268,269,270,271,272,273],"concurrent","declarative","generic","logic","modular","object-oriented","specification","static",{"name":166,"path":165,"logo":237,"year":237,"kind":263,"status":276,"note":277,"paradigms":278,"typing":274},"historical","OBJ3 enriched with order-sorted unification and backtracking, so an equality becomes a constraint to solve rather than a rewrite rule. Default execution is order-sorted narrowing; retracts give it the flexibility of an untyped language without giving up strong typing.",[268,269,270,271,279,273],"query",{"name":180,"path":179,"logo":237,"year":237,"kind":263,"status":276,"note":281,"paradigms":282,"typing":274},"Declarative object-oriented language built on OBJ3, giving classes, inheritance with overriding and a module interconnection language one equational semantics. It carried the OBJ module system into the object paradigm and was used to develop the refinement methods that OOZE later reused.",[267,268,269,271,272,273],{"name":5,"path":110,"logo":237,"year":259,"kind":263,"status":264,"note":284,"paradigms":285,"typing":274},"Family of algebraic specification languages on order-sorted equational logic: programs are equational theories, computation is rewriting. OBJ pioneered parameterized programming and influenced Ada, ML and C++ modules; Maude and CafeOBJ continue the line.",[268,286,269,270,271,273],"functional",{"name":138,"path":137,"logo":237,"year":288,"kind":263,"status":257,"note":289,"paradigms":290,"typing":274},1997,"Successor to OBJ adding hidden sorts, behavioural specification and rewriting logic under one institution-based semantics. Its distinguishing practice is the proof score: a proof is CafeOBJ source, executed by reduction, so specification and verification share one tool.",[267,268,269,270,271,272,273],{"name":124,"path":123,"logo":237,"year":292,"kind":263,"status":257,"note":293,"paradigms":294,"typing":274},1999,"Reflective language and interpreter for rewriting logic, extending OBJ's equational core to concurrent and nondeterministic systems. Programs are rewrite theories; computation, search and LTL model checking are all deduction, which is why it doubles as a language framework.",[267,268,286,269,270,271,272,273],[296,299,302,305,308,311,314,315,318],{"name":297,"path":298},"ALGOL","\u002Ffamilies\u002Falgol",{"name":300,"path":301},"C","\u002Ffamilies\u002Fc",{"name":303,"path":304},"ECMAScript","\u002Ffamilies\u002Fecmascript",{"name":306,"path":307},"HCL","\u002Ffamilies\u002Fhcl",{"name":309,"path":310},"Lisp","\u002Ffamilies\u002Flisp",{"name":312,"path":313},"ML","\u002Ffamilies\u002Fml",{"name":5,"path":241},{"name":316,"path":317},"PL\u002FI","\u002Ffamilies\u002Fpl-i",{"name":319,"path":320},"Smalltalk","\u002Ffamilies\u002Fsmalltalk",1795219071695]