Papers
Topics
Authors
Recent
Search
2000 character limit reached

Analogy Theorem: A Formal Transfer Principle

Updated 14 July 2026
  • Analogy Theorem is a family of rigorous transfer principles that formalize the schema 'A is to B as C is to D' by defining transformation equivalences across domains.
  • It encompasses universal algebra with rewrite rules, logic programming with modular forms, numerical analogies via power means, and computational classifiers preserving asymptotic complexity.
  • The theorem’s variants provide actionable criteria for sound transfer, ensuring uniqueness, isomorphism preservation, and feasibility through structured model justification.

Searching arXiv for the cited Analogy-related papers to ground the article in current arXiv records. Search 1: universal algebra / analogical proportions. Search 2: logic-program analogy / proportions. Search 3: numerical analogy via generalized means. Search 4: computational analogy / transfer / classifiers. In recent arXiv literature, the expression Analogy Theorem does not denote a single classical theorem, but a family of formally specified results that make precise the schema “AA is to BB as CC is to DD.” Across universal algebra, logic programming, numerical analysis, computation, learning theory, and program logic, these results replace informal similarity by explicit objects such as rewrite rules, forms, justifications, power transforms, preservation conditions, or metric-stability clauses. The common aim is to state when a transformation known in a source domain can be instantiated in a target domain, when the resulting target object is uniquely or characteristically justified, and when transfer is sound, feasible, or complexity-preserving (Antić, 2020, Antić, 2018, Lepage et al., 2024).

1. Universal-algebraic formulation

A general abstract basis is given in Antić’s framework of analogical proportions on algebras of a common language. For two LL-algebras A,B\mathfrak A,\mathfrak B, a rewrite rule is a pair of terms s(z)t(z)s(\mathbf z)\to t(\mathbf z) in which every variable of tt occurs in ss. For elements a,bAa,b\in A and BB0, the justification sets are defined by

BB1

and similarly on BB2. Arrow proportions, directed analogical proportions, and full analogical proportions are then built by intersecting justification sets and imposing maximality and symmetry conditions (Antić, 2020).

Within this setting, the central theorem is the Functional Proportion Theorem. If BB3 is an BB4-term, then for any BB5 and BB6,

BB7

characteristically justified by BB8. Under injectivity at the relevant points, this upgrades first to directed proportion and then to full analogical proportion:

BB9

The same paper proves a First Isomorphism Theorem and a Second Isomorphism Theorem: analogical proportions are preserved by isomorphisms, but not in general by homomorphisms (Antić, 2020).

This formulation is significant because it makes analogy a local algebraic property controlled by common justifications rather than by surface resemblance. It also sharply limits the classical axiomatics. Symmetry, inner symmetry, reflexivity, inner reflexivity, and determinism hold in general, but central permutation, strong reflexivity, strong inner reflexivity, commutativity, transitivity, inner transitivity, central transitivity, and monotonicity fail in general. The framework therefore rejects the idea that analogical proportion is uniformly an equivalence-like relation; it is instead a structured but nontransitive relation driven by available rewrite justifications (Antić, 2020).

2. Logic-program proportions and the directed Analogy Theorem

In logic programming, the theorem is instantiated on Horn programs over an unranked first-order language. The key technical move is to represent programs modularly by forms, i.e. meta-terms generated from concrete programs, program variables, and operations such as union, composition CC0, concatenation CC1, substitution, CC2, CC3, CC4, CC5, and CC6. A directed analogical proportion has the shape

CC7

read “CC8 transforms into CC9 as DD0 transforms into DD1.” A justification is a pair of forms DD2, with every variable in DD3 occurring in DD4, that simultaneously explains the source transformation and the target transformation (Antić, 2018).

The paper introduces two algebraic operations. Composition DD5 is a sequential-resolution operation on programs, and is generally non-associative. Concatenation DD6 is an argument-wise skeleton-preserving combination, associative on programs with matching skeletons. In both cases, least-model behavior is not modular in a straightforward way: neither DD7 nor DD8 factors simply through DD9 and LL0 (Antić, 2018).

The central result is again called the Functional Proportion Theorem, and in the logic-program setting it is the natural candidate for an Analogy Theorem:

LL1

for any form LL2 built over operations available in both domains, characteristically justified by the single justification LL3. If LL4, then LL5 is a functional solution of LL6. The Uniqueness Lemma adds a characteristic-justification criterion: if LL7 has a unique witness in the target domain, then LL8 uniquely pins down LL9 (Antić, 2018).

The worked examples show the constructive force of the theorem. A form extracted from unary naturals and the addition program yields an append program when instantiated with lists, giving the directed proportion “numbers are to addition what lists are to append.” A form

A,B\mathfrak A,\mathfrak B0

transfers evenness from the unary-natural generator to a list-reversing program, producing a program that reverses lists of even length. A membership form built from lists, when instantiated with naturals, yields a program computing a less-than relation on numerals (Antić, 2018).

3. Quantitative and structural variants

A distinct numerical version appears in the theory of analogies on positive real numbers via generalized means. For A,B\mathfrak A,\mathfrak B1, analogy in power A,B\mathfrak A,\mathfrak B2 is defined by

A,B\mathfrak A,\mathfrak B3

with A,B\mathfrak A,\mathfrak B4 the two-variable power mean; for A,B\mathfrak A,\mathfrak B5 this is equivalent to A,B\mathfrak A,\mathfrak B6, while A,B\mathfrak A,\mathfrak B7 gives A,B\mathfrak A,\mathfrak B8. The theorem states that if A,B\mathfrak A,\mathfrak B9 are positive, then there exists a unique s(z)t(z)s(\mathbf z)\to t(\mathbf z)0 such that

s(z)t(z)s(\mathbf z)\to t(\mathbf z)1

The same framework shows that every such analogy reduces to an arithmetic analogy through the transform s(z)t(z)s(\mathbf z)\to t(\mathbf z)2 for s(z)t(z)s(\mathbf z)\to t(\mathbf z)3 and s(z)t(z)s(\mathbf z)\to t(\mathbf z)4, so that

s(z)t(z)s(\mathbf z)\to t(\mathbf z)5

Analogical equations then admit explicit solutions:

s(z)t(z)s(\mathbf z)\to t(\mathbf z)6

and, for fixed real s(z)t(z)s(\mathbf z)\to t(\mathbf z)7, solvability extends to nonzero complex numbers (Lepage et al., 2024).

Another theorem explicitly framed as an analogy is the tensor version of Yuan’s theorem of the alternative. For even-order symmetric tensors s(z)t(z)s(\mathbf z)\to t(\mathbf z)8, assuming that a common linear transform makes them essentially nonpositive, exactly one of two alternatives holds: either there exists s(z)t(z)s(\mathbf z)\to t(\mathbf z)9 such that all homogeneous forms tt0, or there is a convex combination tt1 that lies in the SOS cone. This converts a quadratic alternative into a tensor/SOS certificate and leads to exact first-level SOS relaxation for polynomial optimization with essentially nonpositive coefficients (Hu et al., 2014).

These variants show that an Analogy Theorem need not be restricted to symbolic rewrite systems. In one case, analogy is parameterized by a unique power; in another, it is a structural transport from PSD-matrix certificates to SOS-tensor certificates. The unifying feature is that analogy is encoded by a formally checkable invariant rather than by informal similarity.

4. Computational analogy and analogy-preserving classifiers

In computability theory, Computational Analogy is a relation on computable functions tt2 defined through Enumerating Turing Machines and approximations of E-Turing machines. Two functions are computationally analog, written tt3, when E-Turing machines for one can serve as approximations for E-Turing machines of the other, with recovery overhead bounded by tt4 or tt5. The theorem-level consequences are strong: tt6 is an equivalence relation; if tt7, then

tt8

and computational irreducibility is preserved in both the strong and ordinary senses. The set of computable functions is thereby partitioned into classes whose members share asymptotic complexity and irreducibility properties (Zwirn, 2013).

In analogical classification, the central result takes the form of a Galois connection. A classifier tt9 is analogy-preserving relative to a pair ss0 of 4-ary relations when componentwise ss1-analogies in the feature space and solvability of the analogical equation in the label space force the label quadruple to satisfy ss2. The key theorem is

ss3

where ss4 augments ss5 by all unsolvable label quadruples. This turns analogical preservation into ordinary polymorphism preservation and permits a Galois theory of analogical classifiers. On the Boolean domain, the paper explicitly determines the closed classes for the five Antić relations ss6: depending on the pair ss7, the sound classifiers are exactly one of the affine clone ss8, the projections-and-constants clone ss9, the negations-and-constants clone a,bAa,b\in A0, or the constants-only clone a,bAa,b\in A1 (Couceiro et al., 2022).

Both theories replace vague claims that “computing one is like computing another” or that “a classifier respects analogy” by preservation theorems with explicit closure properties. In one case the preserved quantities are asymptotic computation time and irreducibility; in the other they are relational invariants under a Pol/Inv correspondence.

5. Feasibility, transfer gain, and verified transfer

A separate line of work studies when analogical transfer is feasible rather than merely definable. In a complexity-minimization framework based on model description length, a source model a,bAa,b\in A2 is weakly or strongly a,bAa,b\in A3-reusable for a target case depending on whether reusing a,bAa,b\in A4 reduces target description length by at least a,bAa,b\in A5. The associated Analogy Feasibility Theorem states that if a compatible source model is weakly a,bAa,b\in A6-reusable for some target output a,bAa,b\in A7, then the source compresses the target by at least a,bAa,b\in A8 bits relative to the best standalone target description; if the target MDL minimizer is unique and strong reusability holds, then the minimizing a,bAa,b\in A9 is a unique analogical solution. The same framework defines transferability coefficients BB00 and BB01 over compatible source models (Murena, 2022).

In evolutionary transfer optimization, analogical reasoning is decomposed into retrieval, mapping, and evaluation. The theoretical core consists of two performance-gain theorems. The Unconditionally Nonnegative Performance Gain Theorem states that the performance gain of an analogy-based knowledge transfer method is unconditionally nonnegative if and only if it includes the evaluation subprocess. The Conditionally Positive Performance Gain Theorem states that strictly positive gain can be guaranteed either by big-source retrieval, where useful source knowledge appears with probability tending to BB02 as the source pool grows, or by appropriate mapping, where the usefulness improvement BB03 is large enough to make the infimum gain positive. The framework relies on a monotonic relation between observable similarity BB04 and usefulness BB05 and gives a threshold

BB06

for cancelling harmful transfer (Xue et al., 27 Mar 2025).

Program-logic work pushes the theorem into verified domain transfer. In a first-order and Hoare-logic formulation, one fixes predicates BB07 and BB08, a metric BB09, a reference element BB10, and thresholds BB11. Under metric axioms, stability axioms, and a regularity condition, the FOL theorem proves

BB12

together with the existence of a counterexample outside the BB13-neighborhood. In Hoare logic, if a program BB14 is BB15-stable and preserves BB16, then

BB17

and a strengthened exterior precondition yields a violation postcondition. The practical condition is

BB18

and the paper instantiates BB19 with Wasserstein-type distances for MNISTBB20USPS adaptation (Nikita, 4 Oct 2025).

6. Epistemic interpretation, limitations, and recurrent structure

Across these formulations, a recurring pattern is the passage from a source-side dependency to a target-side dependency by means of a shared formal device: a term BB21, a form BB22, a rewrite justification, a power transform BB23, a translator between E-Turing machines, a polymorphism condition, a model-reuse code, or a stable program transformation. This suggests that the common content of an Analogy Theorem is not a particular formula but a proof principle: the same construction recipe is applied in both domains, and soundness depends on whether the recipe is characteristic, maximal, injective, or stability-preserving (Antić, 2020, Antić, 2018, Murena, 2022).

The limitations are equally systematic. In universal algebra, analogical proportion is local and generally nontransitive; many familiar axioms fail. In logic programming, composition is generally non-associative, least models do not distribute straightforwardly over composition or concatenation, trivial justifications may dominate, and computing generalization and justification sets is non-trivial. In complexity-based transfer, exact Kolmogorov complexity is unavailable and tractable practice depends on coding choices. In transfer optimization, the monotone similarity–usefulness relation, realizability of mappings, and IID source assumptions are substantive hypotheses. In Hoare-logic transfer, guarantees are local in the metric and narrow as BB24 grows (Antić, 2020, Antić, 2018, Murena, 2022, Xue et al., 27 Mar 2025, Nikita, 4 Oct 2025).

A complementary philosophical account comes from the study of reasoning by analogy in mathematics. There, analogical support is said to be genuine only when three conditions are met: Materiality, Relevance in the form of a robust mathematical connection, and No-Essential-Difference. On this view, deep analogies function as “relay-results,” whereas superficial analogies are merely “hookings.” That account does not give a single symbolic theorem schema for all domains, but it does clarify why formal Analogy Theorems aim to exclude manufactured similarities and to preserve dependency structure rather than mere resemblance (Cangiotti et al., 2022).

Taken together, the literature treats an Analogy Theorem as a rigorous transfer principle. Its strongest forms assert existence, uniqueness, preservation, or nonnegative gain; its weakest forms provide only justified candidate solutions. The term therefore names a family of theorem schemas whose shared ambition is to make “transform in the same way” mathematically explicit.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Analogy Theorem.