anagram
Enable an AI agent to recognise, validate, interpret and construct anagrams while making the letter-counting rules and linguistic acceptance criteria explicit.
Research draft, second pass
A second pass drafted this model: the structure a model of this thing needs, and what is known about it in the world. The line under this one says how the second half was obtained - researched against sources, or recalled without web access, in which case nothing here was read anywhere and every claim is a lead to verify. Unreviewed either way.
recalled by Codex without web access - no source was read
Researched by: Codex
Purpose and description
Enable an AI agent to recognise, validate, interpret and construct anagrams while making the letter-counting rules and linguistic acceptance criteria explicit.
An anagram is a word or phrase formed by rearranging all the letters of another word or phrase, using each letter exactly as many times as it occurs in the original, conventionally disregarding spaces, punctuation and capitalization.
It can be Check whether a proposed pair preserves every letter multiplicity under stated conventions.; Explain a failed check by identifying missing and surplus letters.; Generate candidate rearrangements subject to language, word-count and task constraints.; Assess linguistic acceptance separately from mechanical validity.; Compare candidates for readability, semantic relevance and fit to an intended use.; Present a validated pair with its rules, attribution evidence and unresolved judgments..
Distinguishing features
After declared normalization, each letter occurs equally often in the source and result; equal length alone is insufficient.
Letter order changes rather than letters being substituted, added or removed; unchanged and spacing-only results require an explicit acceptance policy.
An anagram preserves multiplicities, unlike a test that merely checks whether both expressions contain the same distinct letters.
Ordinary linguistic anagrams produce accepted words or phrases; an arbitrary permutation may satisfy the inventory test without satisfying that linguistic criterion.
The defining relationship concerns written letters rather than shared pronunciation, meaning or reversal symmetry.
Scope
+ The source expression, rearranged expression and direction in which they are presented
+ Exact preservation of letter multiplicities under explicit normalization rules
+ Language, lexical acceptance and meaningfulness of the rearranged expression
+ Distinction between a valid anagram, an unverified candidate and a rejected candidate
+ Use as wordplay, a puzzle answer, a name or an interpretive transformation
- General permutation mathematics beyond what is needed to validate or generate anagrams
- Crossword or puzzle systems containing anagram clues
- Palindromes, acrostics and other wordplay defined by different constraints
- Encryption systems and claims of cryptographic security
- The identity, biography or legal status of a person using an anagrammatic name
- Editions, physical carriers and rights administration of works containing anagrams
Characteristics
- Source and result expressions
- Paired expressions retaining their original spelling, spacing and punctuation An anagram cannot be checked or interpreted without knowing both expressions.
- Language context
- Source language and result language, including mixed or unresolved cases Language affects letter treatment and which words are accepted.
- Letter normalization policy
- Declared treatment of case, whitespace, punctuation, diacritics, ligatures and Unicode equivalence The same pair can pass or fail under different counting conventions.
- Counted letter total
- Number of letters in each expression under the declared counting policy Unequal totals immediately rule out an exact anagram under that policy.
- Letter inventory difference
- Signed count difference per counted letter, calculated as result minus source A zero difference for every letter establishes inventory equivalence.
- Rearrangement class
- Changed letter sequence, word-order-only change, spacing-or-punctuation-only change, unchanged sequence Communities and tasks may differ in which transformations they accept.
- Linguistic acceptance
- Accepted, disputed, rejected or unassessed against a named lexicon or stated language judgment Mechanical equivalence does not establish that the result is a usable word or phrase.
- Validation state
- Unverified, inventory-valid, fully accepted under task rules, or rejected with reason An agent must distinguish a proposed answer from a checked and acceptable one.
- Use context
- Standalone wordplay, puzzle solution, anagrammatic name, literary use or other declared use The intended use determines additional constraints beyond letter preservation.
Also called
Where this came from
wikidata · CC0 1.0
Drafted structure
Bundle to layer to finding to question, as the second pass will find it: 5 bundles · 9 layers · 15 findings · 23 questions.
Expression pair and boundary Establishes the expressions being compared and the sense in which their relationship is called an anagram.
A rearranged phrase in isolation does not identify its source or establish an anagram relationship.
Source-result pair
Records the exact expressions before any counting transformations.
Pair identification
Both expressions must remain recoverable, with presentation direction distinguished from the symmetric inventory-equivalence test.
- What are the exact source and proposed result, including their original spacing and punctuation? definition
- What evidence identifies which expression was used as the source in this instance? provenance
Rearrangement boundary
Distinguishes substantive rearrangement from unchanged strings and neighbouring wordplay.
Eligible transformation
Inventory equivalence and eligibility as a rearrangement are separate checks, especially for unchanged strings, respacing and word-order changes.
- Does the result change the counted letter sequence, only the order of intact words, or only spacing and punctuation? boundary
- Do the applicable rules accept this transformation class as an anagram? definition
Letter inventory validation Makes the counting conventions explicit and tests exact preservation of letters.
Letter multiplicity is the central mechanical constraint, but a reproducible check requires a declared interpretation of letters.
Normalization and counting
Defines which written elements are counted and which distinctions are retained.
Declared letter policy
Validation must state how case, separators and orthographic variants affect the counted inventory without silently altering the original expressions.
- Which case distinctions, spaces, punctuation marks and other nonletter symbols are ignored or retained? definition
- How are diacritics, ligatures and canonically equivalent Unicode sequences treated when identifying and counting letters? boundary
Inventory comparison
Compares counts for every letter and records a reproducible mechanical verdict.
Multiplicity verdict
An exact inventory match requires zero surplus or deficit for every counted letter, including repeated letters.
- What is the result-minus-source count difference for each letter under the declared policy? measurement
- Does the comparison establish an exact match, and if it fails, which surplus and missing letters explain the failure? measurement
Linguistic and semantic acceptance Evaluates whether an inventory-valid rearrangement functions as an acceptable expression for its intended audience.
A random permutation can preserve letters while failing the word, phrase or meaning requirements of an anagram task.
Lexical eligibility
Establishes the language and evidence supporting the words used.
Accepted vocabulary
Word acceptance depends on declared language resources and rules for names, inflections, abbreviations and unusual spellings.
- Which language and lexicon or other evidence support each word in the result? provenance
- Are proper names, abbreviations, archaic forms, inflections or words from multiple languages allowed for this use? boundary
Phrase and meaning
Separates readable linguistic construction from optional semantic connection to the source.
Meaningful result
Grammaticality, interpretability and thematic relevance are distinct judgments; semantic similarity is not established by matching letters.
- Can the result be interpreted as a word or coherent phrase, and what language judgment supports that assessment? definition
- Does the task require a thematic or humorous connection to the source, and how does this candidate meet that requirement? boundary
Use, generation and evidence Connects validation to candidate generation, contextual suitability and supported attribution.
Agents need to know which candidates they may present as answers and which historical or interpretive claims remain unverified.
Constrained candidate selection
Controls how candidates are generated and selected for a particular anagram task.
Task fit
Generation and selection must honour the complete source inventory together with explicit requirements such as answer length, word count and clue fit.
- What word-count, word-length, fixed-letter, vocabulary or clue constraints must a generated candidate satisfy? action
- Which candidates pass both inventory validation and the stated acceptance rules and can therefore be presented as answers? action
Attestation and presentation
Separates demonstrable letter relationships from claims about origin, intention and significance.
Supported context
Mechanical validation cannot prove who devised an anagram, whether it was intentional, or whether an interpretation was historically intended.
- What evidence supports any claimed creator, date, deliberate naming choice or published occurrence of this anagram? provenance
- When presenting the pair, which counting conventions, acceptance judgments and unresolved attribution claims must accompany it? action
Evidence and external alignment What the world already says about this thing, gathered so the model can be checked against it.
A model that cannot be lined up against existing standards, identifiers and practice cannot be adopted by anyone who already uses them.
Reported evidence
Findings from the breadth pass, kept separate from the structural claims.
Check these first
Recalled without web access and unsourced; every item is a lead to verify.
- This describes the ordinary linguistic and wordplay sense; no narrower registry sense was supplied.
- The kinds listed are practical distinctions, not a standardized taxonomy.
- No dedicated identifier scheme or governing standard is confidently recalled; individual puzzles may impose additional rules.
- Which of these check these first hold for the sense of anagram this model covers, and on what evidence? provenance
Kinds and varieties
Recalled without web access and unsourced; every item is a lead to verify.
- Single-word anagrams
- Multiword or phrase anagrams
- Anagrammatic names and pseudonyms
- Which of these kinds and varieties hold for the sense of anagram this model covers, and on what evidence? provenance
Real-world use
Recalled without web access and unsourced; every item is a lead to verify.
- Word games and recreational puzzles
- Cryptic crossword clues
- Literary wordplay
- Creation of pseudonyms
- Historically, concealment of scientific statements pending disclosure
- Which of these real-world use hold for the sense of anagram this model covers, and on what evidence? provenance
Typical measurements
Recalled without web access and unsourced; every item is a lead to verify.
- Letter count - Equal in the source and its anagram under the chosen normalization rules; no fixed upper limit - letters
- Distinct letter arrangements - For n letters with multiplicities n₁ through nₖ, n!/(n₁!⋯nₖ!); only some arrangements form acceptable words or phrases - arrangements
- Which of these typical measurements hold for the sense of anagram this model covers, and on what evidence? provenance
Failure modes and hazards
Recalled without web access and unsourced; every item is a lead to verify.
- Adding, omitting or substituting letters invalidates an exact anagram.
- Ignoring repeated-letter counts produces false matches.
- Unstated treatment of accents, ligatures or other orthographic features makes validity ambiguous.
- A matching letter inventory does not ensure a meaningful or grammatically acceptable result.
- Anagrammatic coincidences can be mistaken for evidence of authorship or hidden intent.
- Which of these failure modes and hazards hold for the sense of anagram this model covers, and on what evidence? provenance
Regional variation
Recalled without web access and unsourced; every item is a lead to verify.
- Accepted vocabulary depends on the language, dialect and dictionary used.
- Treatment of diacritics and orthographic units depends on language and puzzle conventions.
- Which of these regional variation hold for the sense of anagram this model covers, and on what evidence? provenance
Neighbouring kinds and how to tell them apart
Recalled without web access and unsourced; every item is a lead to verify.
- Letter permutation - Any rearrangement is a letter permutation; anagrams in ordinary wordplay use arrangements accepted as words, phrases or names.
- Palindrome - A palindrome reads identically forwards and backwards; an anagram preserves letter counts while changing their arrangement.
- Letter bank - Letter-bank puzzles may permit letters to be reused beyond their original counts; exact anagrams preserve every count.
- Cryptic crossword anagram clue - The clue supplies material and an indication to rearrange it; the anagram is the resulting letter rearrangement.
- Which of these neighbouring kinds and how to tell them apart hold for the sense of anagram this model covers, and on what evidence? provenance
What the second pass must settle
- Which authoritative definitions should govern the treatment of unchanged strings, spacing-only changes and rearrangements of intact words?
- Which counting conventions should be supported for different scripts, especially combining marks, ligatures and language-specific letter units?
- What level of lexical or grammatical evidence is sufficient to accept a novel multiword result, and how should disagreement be represented?
- Should qualified forms that add, omit or substitute letters be represented as related wordplay under neighbouring models or as explicitly non-exact extensions?
- Does an existing Vercy world model already cover the anagram relationship closely enough that this registry entry should link to it instead of receiving a separate publication?