Greg Meredith · concept dictionary

Reading Greg Meredith in the original

18 terms, 8 of them Meredith’s own coinage. Every entry cites the work it is drawn from.

C D L M N O P R S U W

C

Correct-by-Construction borrowed

prove it as you build it, rather than testing for bugs afterwards

A development methodology in which an artefact's correctness argument is produced together with the artefact instead of sought afterwards by testing. In formal-methods practice this means deriving an implementation from a specification by steps that each preserve meaning, so the finished program arrives with its proof attached. The benefits he lists are concrete rather than aesthetic: no bytecode injection attacks, none of the concurrency bugs the derivation rules out, and no accumulation of technical debt from assumptions that were never written down.

In Meredith's work: he treats a written operational semantics as the precondition for the method being a real practice rather than an ideal to be striven for. His MeTTa compiler is the demonstration: the translation into the rho-calculus is defined so that the bisimulation between source and target is exhibited by the definitions themselves — for each kind of state, the two sides of the defining equation are the two sides of a bisimulation pair — so correctness is the construction and not a separate theorem. It is also F1R3FLY's product claim, applied to smart contracts and to agent systems.

See also wysiwyg operational semantics, rholang, oslf, metta, spatial behavioural types

methodologyverification

Lucius Gregory Meredith, Ben Goertzel, Jonathan Warrell & Adam Vandervorst, "Meta-MeTTa: an operational semantics for MeTTa," arXiv:2305.17218 (2023), section 3.1 and Theorem 1
Written by Opus 5 gloss, grounded in cited sources

D

Dynamical Data central

data whose content is behaviour — and the query language it still lacks

Data whose content is behaviour over time rather than static attributes: pathways, protocols, interactions, programs. His worked example is a biological pathway database such as KEGG. The dynamics are already sitting in it, but a biologist can only search by name, so she has to know in advance that the thing she wants is called the TCA cycle — and, he observes, naming conventions for processes are agreed on about as well as the genre labels of popular music. Relational search is blind to dynamics by construction.

In Meredith's work: he states the gap as a proportion — relational algebra is to SQL as process algebra is to X — and treats solving for X as the task. The query he wants a biologist to be able to write is behavioural: find every pathway P and small molecule D such that introducing D into P eventually blocks a communication and the combination reaches a state decomposing into a healthy part and a toxic part at given concentrations. That is a formula in a process logic. Namespace logic, spatial-behavioural types and OSLF are the same ambition, later, aimed at code instead of cells.

See also mobile process calculi, namespace logic, spatial behavioural types, oslf, rho calculus

biologysearch

Greg Meredith (Biosimilarity LLC), "Convergent revolutions: computer science and biology," Theory Lunch, Department of Systems Biology, Harvard Medical School, 17 February 2006
Written by Opus 5 gloss, grounded in cited sources

L

Logic as a Distributive Law coined

LADL — derive the type system from the calculus, mechanically

An algorithm, developed with Mike Stay, that takes a formal presentation of a computational calculus and returns a spatial-behavioural type system for it. The construction is categorical: a 2-monad for the free calculus on a category of terms and rewrites, a 2-monad for the free Boolean algebra, their sum giving a category of formulae and proofs, and a distributive law that swaps the order of the two so formulae can be interpreted as subsets of terms. The interpretation is consistent both with the Curry-Howard isomorphism and with realizability.

In Meredith's work: the abbreviation LADL is his and Stay's, and this paper is where the programme gets its slogan. Two results give its flavour: the "possibly" modality is implemented parameterised by a two-hole term context, and — surprisingly, they say — the lambda-calculus's arrow type turns out to be a particular case of it. They also exhibit non-trivial formulae encoding confinement and liveness properties for the rho-calculus. He later reports that the pure distributive-law formulation ran into no-go theorems for the parameterisation they wanted, and rebuilt the construction on presheaves; that rebuilt version is OSLF.

See also spatial behavioural types, oslf, namespace logic, rho calculus, wysiwyg operational semantics

category theorytype theory

Mike Stay & Lucius Gregory Meredith, "Logic as a distributive law," arXiv:1610.02247 (2016)
Written by Opus 5 gloss, grounded in cited sources

M

MeTTa borrowed

the language in which humans and AGIs write the behaviour of AGIs

The programming language at the centre of SingularityNET's OpenCog Hyperon framework, designed by Ben Goertzel's group as the language in which humans and AGI systems alike write AGI behaviour. Its core operation is pattern matching with unification over a metagraph of atoms, and it is deliberately a meta-language: type systems and inference regimes are things you implement in it rather than fixed features of it. Hyperon positions it as the scripting layer of a decentralised cognitive architecture, embedded in networks of independent compute nodes.

In Meredith's work: it is not his language — his contribution is its semantics and its execution substrate. He is first author of the operational semantics, which presents MeTTa as a register machine with input, working and output registers plus a knowledge space, defines its rewrite rules, and then compiles that machine into the rho-calculus and, for the resource-bounded variant, into Rholang. The correctness statement is a bisimulation between MeTTa computations and their translations. This is the join between thirty years of process calculi and AGI: compiled MeTTa inherits Rholang's concurrency, replay and denial-of-service resistance.

See also rholang, rspace, correct by construction, wysiwyg operational semantics, oslf

AGIlanguage

Ben Goertzel et al., "OpenCog Hyperon: A Framework for AGI at the Human Level and Beyond," arXiv:2310.18318 (2023); semantics in Meredith et al., "Meta-MeTTa," arXiv:2305.17218
Written by Opus 5 gloss, grounded in cited sources

Mobile Process Calculi borrowed

Milner's line — computation as interaction, with the wiring free to change

The family of formalisms that describes a system by the messages its parts exchange rather than by a function from inputs to outputs. Algebraic specification of processes begins with Milner's CCS and Hoare's CSP; "mobile" enters with Milner, Parrow and Walker's pi-calculus, in which names themselves travel inside messages, so the communication topology is rewired at run time. Two properties make the family powerful: behaviour composes from the behaviour of components with no global view of the system, and bisimulation supplies an effective, parameterised notion of when two processes are equal.

In Meredith's work: he places himself inside this lineage and is scrupulous about the attribution — his own contribution, "Meredith and Radestock's reflective calculi", appears in his surveys alongside the pi-calculus and Cardelli and Caires's spatial logics, not in place of them. What he changes is one thing: pi-calculus names are atoms drawn from a set supplied by an ancillary theory, and the rho-calculus closes that opening. He also insists on the family's reach — telecoms, protocols, language semantics, web services, blockchain and biological systems — which is why he treats concurrency theory as a general modelling language rather than a specialist tool.

See also rho calculus, reflection, name equivalence, spatial behavioural types, dynamical data

process calculilineage

Lucius Gregory Meredith & Mike Stay, "Operational semantics in logical form" (2023), section 8.1; cited as [Mer23] in the OpenCog Hyperon paper
Written by Opus 5 gloss, grounded in cited sources

N

Name Equivalence coined

when two quotations count as the same name

Because names in the rho-calculus are quoted processes rather than atoms, asking whether two names are the same name stops being a matter of comparing symbols. Name equivalence, written with a subscripted N, is the least congruence satisfying two rules: quote-drop, @*x is name-equivalent to x, so quoting the process you get by dereferencing a name returns that name; and struct-equiv, if P is structurally congruent to Q then @P is name-equivalent to @Q. Communication fires when the sender's and the receiver's channels are name-equivalent, not when they are syntactically identical.

In Meredith's work: this small definition carries a lot of weight. Names and processes are mutually recursive, so alpha-equivalence, structural congruence and name equivalence are all defined by mutual recursion — a subtlety he flags explicitly and then works through. It buys freshness for free: no name of the form @P is ever free in P, so a fresh channel can always be constructed rather than bound, which is why the calculus needs neither the nu operator nor a Gabbay-Pitts freshness primitive. It is also what makes namespaces well-defined objects: a namespace is a set of names taken up to this equivalence.

See also rho calculus, reflection, namespace, rholang

formal theoryprocess calculi

Lucius Gregory Meredith & Mike Stay, "Operational semantics in logical form" (2023), Definitions 5-6 and the COMM rule; cited as [Mer23] in the OpenCog Hyperon paper
Written by Opus 5 gloss, grounded in cited sources

Namespace borrowed

a set of names — and, since names are quoted processes, a set of programs

In ordinary programming a namespace is an administrative scope: a bag of identifiers kept apart from other bags so that names do not collide. In the rho-calculus it becomes a mathematical object with teeth. Since a name is a quoted process, a set of names is a set of programs, and a namespace can be specified by a property instead of enumerated — "all the names whose quoted process behaves like this" is a namespace. And because communication happens only over names, confining a process to a namespace confines everything it can say and everything it can hear.

In Meredith's work: namespaces are simultaneously the unit of security and the unit of scale. Confinement becomes a claim of namespace containment that a logic can check rather than a convention that documentation asserts; access control becomes membership. He then reuses the same object one level up, where an RChain shard is defined by the namespace it owns and cross-shard interaction is interaction between namespaces. This is the load-bearing departure from the pi-calculus, in which names are atoms and a set of names carries no internal structure worth reasoning about.

See also namespace logic, rho calculus, name equivalence, namespace sharding, unforgeable name

core conceptsecurity

L. Gregory Meredith & Matthias Radestock, "Namespace Logic: A Logic for a Reflective Higher-Order Calculus." TGC 2005, LNCS 3705:353-369. DOI 10.1007/11580850_19
Written by Opus 5 gloss, grounded in cited sources

Namespace Logic coined

a Hennessy-Milner logic whose formulae can also denote sets of names

A modal logic for the rho-calculus. A standard Hennessy-Milner logic gives formulae whose meaning is a set of processes — satisfy the formula and you belong to the set. Namespace logic keeps that and adds a second class of formula whose meaning is a set of names, that is, a namespace. Because names are quoted processes, the two classes interlock: a formula can talk about the behaviour of the process sitting inside a name, and can quantify over exactly those names whose contents behave that way.

In Meredith's work: introduced with Radestock in 2005 as the companion to the rho-calculus, and aimed from the start at security and at data. The applications he names are confinement (this process only ever communicates within that namespace), access control, and search over stored data by behaviour. He later showed the logic is not an ad-hoc construction but a generated one: the LADL/OSLF algorithm produces monoidal logic as a proper fragment of namespace logic, and the same formula that picks out the primes of a monoid picks out the single-threaded processes of the rho-calculus — a connection between primality and sequentiality he calls unexpected.

See also namespace, rho calculus, spatial behavioural types, logic as a distributive law, policy as types

formal theorysecurity

L. Gregory Meredith & Matthias Radestock, "Namespace Logic: A Logic for a Reflective Higher-Order Calculus." TGC 2005, LNCS 3705:353-369. DOI 10.1007/11580850_19
Written by Opus 5 gloss, grounded in cited sources

Namespace Sharding central

a shard is a namespace — scale by splitting the names, not the chain

RChain's approach to scale: rather than making one chain faster, partition the space of names and give each partition its own validators. A shard is a set of validators, each staking the network's token, who agree among themselves about the names they own; other shards do not re-check their work. Shards nest like a directory tree beneath a root shard, and validators of a child shard are also clients of its parent, listening for events there. The tradeoff is stated openly — more parallelism, less mutual verification.

In Meredith's work: the design falls straight out of the calculus. In Rholang, names are the natural element on which to base sharding: some names, like the quoted process @1, are universal and may exist in any shard, while an unforgeable name holding a purse reference must be localised to the one shard that can act on it. So a shard boundary is a namespace boundary, and the logic that specifies confinement also specifies residence. He is candid about the cost: unforgeable names cannot cross shards, so object-capability security stops at the edge and cross-shard flows have to begin at a public name both sides can write down.

See also namespace, unforgeable name, rholang, rspace, rho calculus

blockchainconcurrency

"Sharding Via 'Localized Processes'" and "Sharding proposal," RChain developer documentation; see also Meredith, "Sharding and RChain" (RChain channel, YouTube)
Written by Opus 5 gloss, grounded in cited sources

O

OSLF coined

operational semantics in logical form — a rewrite system in, a type system out

The mature form of the LADL programme. Hand it a model of computation specified as a rewrite system and it returns a spatial-behavioural type system for that model. The recipe: specify the syntax with binders using Fiore-style higher-order abstract syntax, augment it with a theory of graphs giving the sources and targets of the rewrite rules, apply the Yoneda embedding to get presheaves, turn the hom-objects into complete Heyting algebras, then take the Grothendieck construction. A type falls out as a pair — a sort from the original theory, and a filter on it.

In Meredith's work: he wants this because hand-built type systems for concurrency have taken decades to reach programmers, and because a generated logic is not ad hoc — his own namespace logic turns out to be an instance of the construction. In the Hyperon collaboration OSLF is the proposed route to a type system for MeTTa carrying spatial and behavioural information. He also frames it commercially, as F1R3FLY does: types as a query language, so a repository can be searched by what its programs do rather than by their metadata.

See also logic as a distributive law, spatial behavioural types, namespace logic, metta, wysiwyg operational semantics

category theorytype theory

Lucius Gregory Meredith & Mike Stay, "Operational semantics in logical form" (2023); cited as [Mer23] in Goertzel et al., "OpenCog Hyperon," arXiv:2310.18318
Written by Opus 5 gloss, grounded in cited sources

P

Policy as Types coined

a security policy is a proposition; a program that obeys it is the proof

The proposal that the policies governing an object-capability system — who may do what to whom, under which conditions — be written as types rather than as prose or as run-time checks. The move goes through the Curry-Howard isomorphism: if a policy is a proposition, then a program satisfying it is a proof of that proposition, and the type checker is the enforcement mechanism. Violations are rejected before deployment instead of detected after it, and the policy travels with the code as part of its published interface rather than living in a separate document.

In Meredith's work: written with Mike Stay and Sophia Drossopoulou, taking up Drossopoulou and Noble's argument that object-capability systems need any means at all of expressing policy. Their vehicle is a behavioural type system for the rho-calculus, and that choice is the point: policies about a concurrent system are claims about interaction over time, which a behavioural type can state and an ordinary data type cannot. It is the earliest clean statement of the thread running through all his later work — that the type system is where a system's security and liveness commitments belong.

See also spatial behavioural types, namespace logic, unforgeable name, rho calculus, oslf

securitytype theory

Lucius G Meredith, Mike Stay & Sophia Drossopoulou, "Policy as Types," arXiv:1307.7766 (2013)
Written by Opus 5 gloss, grounded in cited sources

R

Reflection borrowed

quote a process to get a name; dereference a name to run its code

Reflection in computing is a system's capacity to represent its own code as data it can inspect and manipulate, and then turn that data back into running code — the tradition running from Lisp's quote and eval through Brian Cantwell Smith's reflective interpreters. In the rho-calculus it is carried by two dual operators. Quoting, written @P, turns a process into a name; dereferencing, written *x, turns a name back into the process it names. Names are therefore the code of processes, reified as objects that other processes can send, pattern-match on, and construct.

In Meredith's work: reflection is not a convenience feature bolted onto a calculus but the thing that closes it. Because names are quoted processes, name-passing becomes code-passing, which yields higher-order behaviour without introducing process variables at all. He argues that a dynamic quote — assembling a process and only then reifying it as a name — is what buys computational completeness, and that it simultaneously does the work of the pi-calculus's nu operator. In Rholang the same pair surfaces as @ and *, and this reflective layer is what lets a contract treat another contract as data.

See also rho calculus, name equivalence, rholang, unforgeable name

core conceptprocess calculi

L. G. Meredith & Matthias Radestock, "A Reflective Higher-order Calculus." Electronic Notes in Theoretical Computer Science 141(5):49-67 (2005). DOI 10.1016/j.entcs.2005.05.016
Written by Opus 5 gloss, grounded in cited sources

Rho-Calculus coined

the process calculus that supplies its own names, by quoting processes

A process calculus for concurrent communicating systems whose distinguishing move is that it supplies its own names. In Milner's pi-calculus the set of channel names is handed in from outside the theory; the rho-calculus instead builds names out of processes — a name is a quoted process, written @P — and processes out of names, in mutual recursion. The grammar is tiny: the null process, an input for(y <- x)P, an output x!(Q), a dereference *x, and parallel composition P|Q. Communication is the only reduction rule, and there is no name-restriction operator at all.

In Meredith's work: he and Matthias Radestock introduced it in 2005 to answer a foundational question — is there a closed theory of processes, one in which the theory of names arises from and is wholly determined by the theory of processes? Quoting makes names structured and inspectable, so higher-order behaviour arrives without process variables, and replication and recursion become derivable rather than primitive. The consequence he leans on hardest is freshness: since @P is never among the free names of P, a fresh name is always constructible, which supplants the pi-calculus's nu operator entirely. Rholang, RChain and F1R3FLY are this calculus, implemented.

See also reflection, name equivalence, rholang, mobile process calculi, namespace logic

core conceptprocess calculiformal theory

L. G. Meredith & Matthias Radestock, "A Reflective Higher-order Calculus." Electronic Notes in Theoretical Computer Science 141(5):49-67 (FInCo@ETAPS 2005). DOI 10.1016/j.entcs.2005.05.016
Written by Opus 5 gloss, grounded in cited sources

Rholang coined

the rho-calculus made into a deployable programming language

The smart-contract language of RChain and now F1R3FLY, and a direct implementation of the rho-calculus. Programs are processes; there are no variables and no mutable global state, only messages sent and received over names. Everything is a process, literals included — numbers, booleans and strings are terms on a level with the process constructors, in the way that they are terms in the lambda-calculus. Contracts that do not contend for the same channel can be evaluated in parallel across cores and across validator nodes, because parallel composition is the language's basic connective rather than a library feature.

In Meredith's work: he states the design relation as a proportion — lambda-calculus is to ML as rho-calculus is to Rholang — and the point of it is that no mainstream language had ever been built out of a concurrency calculus the way SML was built out of the lambda-calculus. Rholang supplies what a deployable language needs and the bare calculus deliberately lacks: a new operator producing unforgeable names, ground types, pattern matching, and metered execution. It is also the compilation target for MeTTa in the Hyperon collaboration, which is how his concurrency work reaches multi-agent AI.

See also rho calculus, unforgeable name, rspace, correct by construction, metta

languageblockchain

Lucius Gregory Meredith, Ben Goertzel, Jonathan Warrell & Adam Vandervorst, "Meta-MeTTa: an operational semantics for MeTTa," arXiv:2305.17218 (2023), section 2.1; and Meredith & Stay, "Operational semantics in logical form," section 8.1
Written by Opus 5 gloss, grounded in cited sources

RSpace coined

a key-value store that keeps continuations next to data

The storage engine underneath the RChain and F1R3FLY node software. Meredith describes it, in the Hyperon paper, as "a novel key-value database (KVDB) called RSpace" whose "main novelty is that both data and continuations are stored at keys in RSpace." A send parks data at a name; a receive parks a continuation — the remainder of the program — at that same name; when the two match, the store fires the continuation on the data. Execution is therefore the store doing lookups and matches, not an interpreter walking a call stack.

In Meredith's work: this is where the rho-calculus's single communication rule becomes an implementation. Matching at a key is guarded by name equivalence and by pattern matching, so unrelated names never contend and independent communications commit in parallel; his stated figure is roughly a thousand committed, durable data transfers per second per processor, scaling as the network adds nodes with more processors. It is also why the execution history is replayable and auditable — the store's contents are the state. Linda-style tuple spaces are the ancestor; storing continuations alongside data is the departure.

See also rholang, correct by construction, namespace sharding, metta, name equivalence

implementationconcurrency

Ben Goertzel et al., "OpenCog Hyperon: A Framework for AGI at the Human Level and Beyond," arXiv:2310.18318 (2023), section on the MeTTa/Rholang integration, quoting Meredith directly
Written by Opus 5 gloss, grounded in cited sources

S

Spatial-Behavioural Types central

types that say where a program's parts sit and what they will do next

A type discipline for concurrent programs carrying two kinds of content. Spatial types describe the structure of a running system — that it decomposes into these parts, that a subterm sits in that position — and descend from the spatial logics of Caires and Cardelli. Behavioural types describe what the system will do over time — that a communication is eventually blocked, that a resource is eventually released — the province of session and behavioural type systems. Between them they catch classes of error, liveness and security failures, that mainstream type systems are structurally unable to see: Java's cannot catch liveness errors, Rust's cannot catch security errors.

In Meredith's work: his standing complaint is that these techniques have been understood for thirty years and still are not in working programmers' hands, and his answer is to stop hand-crafting them — OSLF generates one from a language's operational semantics. He then puts the result to a second use he rates equally highly: search. A type expressive enough to tell sort from shuffle, which share a signature, turns type checking into a query engine over code. That is the same ambition as his 2006 argument about biological data, moved to a new corpus.

See also logic as a distributive law, oslf, namespace logic, policy as types, rholang

type theoryformal theory

Mike Stay & Lucius Gregory Meredith, "Logic as a distributive law," arXiv:1610.02247 (2016); Meredith & Stay, "Operational semantics in logical form" (2023)
Written by Opus 5 gloss, grounded in cited sources

U

Unforgeable Name borrowed

a channel you cannot construct, only be handed

A channel created by Rholang's new operator. Such a channel has no source-level representation: there is no production in the language that turns its bits back into a name, even though on a public blockchain those bits are plainly visible. The only way to obtain one is to be handed it by something that already holds it. This is the object-capability discipline inherited from the Actor and E-language traditions — possession of the reference is the permission, and authority spreads only by explicit delegation, never by guessing.

In Meredith's work: unforgeable names are how the rho-calculus's reflective openness is made safe in practice. Reflection means any process can be quoted into a name, so without a private construct every channel would in principle be constructible; new restores the scoping the bare calculus does without. They also draw the hard edge of an RChain shard: validators in one shard may be clients of another but cannot exchange unforgeable names, so object-capability security does not cross the shard boundary. That is the cost he states plainly for sharding, rather than the one he hides.

See also rholang, namespace, namespace sharding, policy as types, rho calculus

securitylanguage

"Names and Processes" and "Shards in RChain," Rholang / RChain developer documentation
Written by Opus 5 gloss, grounded in cited sources

W

WYSIWYG Operational Semantics borrowed

the state of the machine is the text of the program

A property of a semantics, named with the old word-processing acronym. A semantics is WYSIWYG when the states of the abstract machine are exactly the terms of the language: the lambda-calculus, the pi-calculus and the rho-calculus all qualify. The JVM does not — a JVM state is a term plus a stack, a heap and several registers — and neither does the SECD machine. The practical consequence is that static analysis only ever has to look at program text, because there is no hidden machine state for an analyser to have to model.

In Meredith's work: he raises it inside a larger argument that a language's semantics should have a specific shape — an algebra of states given by a grammar (a monad), a structural congruence quotienting it (an algebra of that monad), and Plotkin-style SOS rewrite rules — a shape he says physics, mathematics and computer science independently converged on. WYSIWYG is the extra property that makes such a presentation analysable and makes OSLF-generated type systems tractable. It is also what lets him compile MeTTa's register machine into Rholang and still prove things about the result.

See also rho calculus, correct by construction, metta, rholang, mobile process calculi

semanticsverification

Lucius Gregory Meredith, Ben Goertzel, Jonathan Warrell & Adam Vandervorst, "Meta-MeTTa: an operational semantics for MeTTa," arXiv:2305.17218 (2023), section 2.1
Written by Opus 5 gloss, grounded in cited sources

← All AGI-26 speakers