Two different sentences can be equivalent for one task and not equivalent for another. A helpdesk might treat “The document arrived” and “The document was received” as interchangeable when it only needs to establish that an upload reached a queue. Yet neither sentence means the document was approved, that the upload passed integrity checks or that anyone authorised its public release. Vocabulary Coding and Engineering proposes Observational Meaning Equivalence: define exactly which source-grounded outcomes matter to a receiver, then compare the decisions produced by two expressions on ordinary and boundary cases. Equivalence is a claim with a specific source, audience, purpose and effective date—not a permanent label attached to two dictionary words.
Formal programming-language semantics provides a useful but limited analogy. The freely available Software Foundations chapter on Program Equivalence defines behavioural equivalence across all relevant states of a specified programming language. Its Small-Step Operational Semantics chapter explains why intermediate actions may matter in addition to final results. Human language has context, implicit meaning and changing institutions, so these computer-science theorems do not automatically become universal language proofs. The proposed method needs clear reference cases, independent review and honest uncertainty.
- Source: Which definition, issuer and version govern the comparison?
- Observer: Which facts and decisions must the receiver preserve?
- Pair: What are the exact source and candidate expressions?
- Case: Where should both expressions produce the same outcome?
- Counterexample: Which valid case could distinguish them?
- Status: Equivalent for the tested scope, different, or unresolved.
- Boundary: Text equivalence does not grant real-world action permission.
Chapter index
- 1. Similar spelling can hide different duties
- 2. What program equivalence teaches us
- 3. The receiver determines the observation
- 4. A context can include more than a sentence
- 5. The may and must boundary
- 6. The exact age-65 case
- 7. Equal final status can hide unequal actions
- 8. Unknown is not the same as false
- 9. Broader and narrower are not exact
- 10. Who did what is often the decisive detail
- 11. Politeness can matter in the task
- 12. A translated phrase can be task equivalent
- 13. Active customers: a fictional cross-company error
- 14. A version change can invalidate an old mapping
- 15. A small test set is never all human contexts
- 16. Source evidence prevents circular judgments
- 17. Meaning agreement does not authorise action
- 18. An inspectable equivalence card
- 19. Test three observers in one pilot
- 20. Let the equivalence claim be corrected
1. Similar spelling can hide different duties
“The report is approved” and “the report is almost approved” share nearly every word. Yet an external publishing workflow should not treat them as interchangeable. A language model may report high text similarity while the status remains decisively different.
The reverse also occurs. “At least 65” and “65 or older” can express the same inclusive numerical threshold under a specified source. Their spelling differs, but the age-condition outcomes agree.
A valid test must identify the decision boundary rather than equate high word overlap with meaning preservation. A paraphrase is safe only under the conditions it actually preserves.
Back to chapter index · Next chapter
2. What program equivalence teaches us
Software Foundations defines equivalence for arithmetic expressions, Boolean expressions and commands under a formally specified language. An expression is equivalent when its evaluation agrees in all states covered by the formal definition.
For commands, whether execution terminates and which final state is reached can matter. This precision is available because the programming model supplies rules for what every relevant operation means.
Human language does not have one complete universally accepted evaluator. Our engineering adaptation must restrict the domain, identify observations and distinguish tested equivalence from mathematical proof about every possible social context.
Back to chapter index · Next chapter
3. The receiver determines the observation
A delivery worker wants to know whether a parcel arrived. An inspector needs to know whether it passed checks. A payment officer may require proof of payment. One receipt cannot always answer all three questions.
A pair of statements can be interchangeable for the delivery worker and inadequate for the other two. This does not make either speaker wrong; it means the application relies on different source-defined details.
The proposed result should name the receiver and required output fields. An equivalence claim without an audience and task is more likely to be misapplied.
Back to chapter index · Next chapter
4. A context can include more than a sentence
A phrase such as “the document is complete” may refer to drafting, editing or final approval. A previous message, source policy and date can establish the intended sense. Without them, the isolated words may be underspecified.
Compare two candidates under the same recorded context. If one system is using an earlier policy and another the current rule, a difference may arise from source selection rather than the sentence.
Record context and unknown fields so a reviewer can see whether the reference meaning is actually established. A fluent model response cannot supply missing institutional authority.
Back to chapter index · Next chapter
5. The may and must boundary
Compare “Applicants may request review” with “Applicants must request review.” Under an ordinary source-defined distinction, a person who chooses not to apply is a counterexample to equivalence.
Both sentences name the same review process, but one permits a choice while the other asserts a duty. A model that checks only topic similarity overlooks the difference that matters to the person.
A proper report identifies the changed modal operator, governing source and distinguishing case. It should not assert a real applicant’s legal obligations from a fictional rule.
Back to chapter index · Next chapter
6. The exact age-65 case
“Residents aged 65 or older” includes people exactly 65 under an ordinary numerical reading. “Residents older than 65” does not. A test containing only ages 40 and 80 would miss that difference.
The age-65 boundary case is a compact counterexample. It demonstrates a change to one condition, not necessarily a change to a whole eligibility decision containing additional requirements.
Preserve the exact threshold and effective source version. A later amendment may alter the current rule while the old interpretation remains correct for its historical period.
Back to chapter index · Next chapter
7. Equal final status can hide unequal actions
Two agents may finish with a display saying NOT_SENT. One never sent a document; another sent it to a private recipient and attempted to recall it. Their final labels match, but their observable histories differ.
The Software Foundations Smallstep chapter shows why intermediate states and computation steps can matter. An AI tool workflow likewise needs traces of actual external actions when privacy or authorisation matters.
The observation contract must include the relevant events, not just the final sentence. A reassuring message cannot undo a previously completed disclosure.
Back to chapter index · Next chapter
8. Unknown is not the same as false
One assistant answers “The deadline is Friday.” Another says “The source does not specify a deadline.” If the reference document is genuinely silent, the two replies do not communicate the same evidence.
An observational contract should include unresolved, absent source and disputed source states. An invented exact date must not be rewarded merely because the answer is direct.
Over-abstention is also a problem. Evaluate whether the system asks for clarification only where the missing information materially affects the task.
Back to chapter index · Next chapter
9. Broader and narrower are not exact
A sedan is a vehicle, but many vehicles are not sedans. A mapping from the narrow term to a broad one can help category search, while the reverse implication does not generally hold.
W3C SKOS has relationships for broader, narrower, close and exact mappings within knowledge-organisation systems. These are not automatic proofs that two legal or administrative categories can be exchanged.
The test must examine both directions and relevant excluded examples. A consumer may accept a close match for discovery and reject it for a decision about rights.
Back to chapter index · Next chapter
10. Who did what is often the decisive detail
“Alice reviewed Bob’s report” and “Bob reviewed Alice’s report” contain the same names and verb but reverse responsibility. A simple topic classifier may assign the same general label to both.
An accountability tool needs explicit actor and object fields. If these are excluded from the observation set, the test may announce equivalence while losing the distinction the user actually needed.
A parsed name is not proof of real-world identity. Independent document or account evidence may be required to determine which person authorised an operation.
Back to chapter index · Next chapter
11. Politeness can matter in the task
“Could you review this?” and “Review this” can request related work while differing in politeness, urgency or apparent authority. A casual email-writing service may treat them as functional alternatives.
An official instruction may not. The proposed test should identify whether register and normative force are relevant observations before simplifying or translating the sentence.
Do not claim that all social meaning is irrelevant because one narrow computer workflow happens to return the same category.
Back to chapter index · Next chapter
12. A translated phrase can be task equivalent
Different languages may express the same source task using different grammatical structures. A good translation preserves who acts, the target object, relevant conditions and dates without needing identical word order.
But a culturally scoped or institution-specific term may lack an exact translation. A close phrase may be suitable for general explanation and unsuitable for an operative form.
Use qualified bilingual review, source-linked reference cases and an explicit mapping status. A fluent back-translation does not itself establish exact equivalence.
Back to chapter index · Next chapter
13. Active customers: a fictional cross-company error
Organisation A calls someone active after a login within 30 days. Organisation B uses active for a completed purchase during that time. Both can be valid local definitions under their stated tasks.
A customer who logged in but did not purchase belongs to the first group and not the second. This source-grounded counterexample defeats exact equivalence for a shared revenue count.
A responsible system keeps both concept identifiers and explains their difference. A new combined metric, if needed, must be defined and approved explicitly.
Back to chapter index · Next chapter
14. A version change can invalidate an old mapping
A word may keep the same label after the institution revises its inclusion conditions. A previously tested mapping might then become unsafe for current decisions while remaining useful to interpret historical records.
Record both concept versions, date of change and the evidence for the updated relationship. Applying the newest mapping to every past decision can rewrite the meaning of old data.
The proposed ZTime work can represent when a rule applied. It cannot discover institutional authority simply from a timestamp.
Back to chapter index · Next chapter
15. A small test set is never all human contexts
A collection of ordinary sentences can show that two expressions agree on those examples. It cannot establish that no conceivable exception, culture or future use would distinguish them.
Formal program equivalence proves a broader claim only relative to a complete specified programming semantics. Natural-language studies need the same intellectual discipline about what was and was not modelled.
Report the observation set, test distribution, reference source and unresolved cases. A narrow, reproducible positive result can still be useful.
Back to chapter index · Next chapter
16. Source evidence prevents circular judgments
A model that proposes a paraphrase and then grades its own paraphrase can reproduce its own mistake. Several AI systems can share sources or training assumptions, so agreement among them is not automatically independent corroboration.
A qualified source authority may define an institutional term, while independent reviewers check whether the implementation used it properly. These roles must be kept separate.
The Semantic Test Oracle explains how to construct such references and preserve disagreement when the source remains uncertain.
Back to chapter index · Next chapter
17. Meaning agreement does not authorise action
Two summaries may be equivalent for understanding a document while neither provides permission for the AI to email it. A lower-trust webpage can accurately describe a command without being the current user’s instruction.
Actual action requires an authorised user, valid object reference, permitted destination and separate tool checks. An equivalence label must never be treated as a security capability.
Record the model’s proposed action and the real execution result distinctly. A confident “done” sentence is not proof that an authorised operation occurred.
Back to chapter index · Next chapter
18. An inspectable equivalence card
A useful card stores source A, candidate B, governing issuer and version, observation fields, test cases, expected and observed results, reviewer and counterexamples.
The conclusion might read “equivalent for identifying completed uploads under the Version 2 queue rules on the reviewed cases, with no claim about final approval.” This is more informative than “same meaning.”
For failures, the record identifies one distinguishing case, such as a login without purchase. That makes future repairs and mapping decisions much easier to audit.
Back to chapter index · Next chapter
19. Test three observers in one pilot
Construct a fictional document process whose observers check arrival, review completion and authorised publication. Compare candidate expressions at each level with independent reference decisions.
A text-similarity baseline, a typed source-rule evaluator and the proposed Z representation may produce different answers. Measure false equivalence, false mismatch, appropriate uncertainty and human review time.
This article reports no real experiment. A successful trial would support a particular process and sample, not the premise that one AI can certify all natural-language equivalence.
Back to chapter index · Next chapter
20. Let the equivalence claim be corrected
A new policy or valid counterexample may show that an earlier mapping was too broad. Preserve the old source and finding while recording a revised relation for future use.
A good engineering system makes these changes visible. It can explain why a once-useful synonym became misleading without declaring that the source speaker acted wrongly.
The aim is not a frozen universal thesaurus. It is a versioned, falsifiable account of when different expressions actually preserve a receiver’s legitimate task.
Frequently asked questions
Is observational equivalence the same as similarity?
No. It compares source-defined results under a particular observer and task, not lexical resemblance.
Can a pair be equivalent for one process and not another?
Yes. Arrival and receipt may be equivalent for queue tracking but not for final publication permission.
Can finite language tests prove universal equivalence?
No. They support a scoped empirical result. All-state proofs require complete formal semantics and appropriate assumptions.
Can a broader term be substituted for a narrower one?
Only if the consumer’s task permits that one-directional relationship. It must not silently become exact identity.
Does a tested equivalence allow an agent to act?
No. Trust, institutional source authority and tool permissions remain separate.
Semantics and knowledge-organisation sources
- Software Foundations: Program Equivalence.
- Software Foundations: Small-Step Operational Semantics.
- W3C SKOS: concept mapping relations.
- W3C PROV: provenance and source history.
- Stanford Encyclopedia of Philosophy: Theories of Meaning.
Related Vocabulary Coding and Engineering
- Counterfactual Meaning Tests
- Semantic Contract Testing
- Semantic Differential Testing
- Part 105: The Semantic State Machine
Editorial status: Program equivalence is established for defined formal languages. Observational Meaning Equivalence is a proposed bounded vocabulary-engineering technique, not an adopted standard for universal synonymy. Fictional cases illustrate the tests.
