Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passverified 2026-08-06 (claude-opus-5)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

If ff and gg are functions then gfg \circ f is a function with domain f1[domg]f^{-1}[\operatorname{dom} g] and (gf)(x)=g(f(x))(g \circ f)(x) = g(f(x)) there; ΔA\Delta_A is a function with ΔA(a)=a\Delta_A(a) = a; and fΔA=f=ΔBff \circ \Delta_A = f = \Delta_B \circ f for f:ABf : A \to B

Statement

Let ff and gg be functions and let AA, BB be sets. Then

  • (i) gfg \circ f is a function, dom(gf)=f1[domg]\operatorname{dom}(g \circ f) = f^{-1}[\operatorname{dom} g], and (gf)(x)=g(f(x))(g \circ f)(x) = g(f(x)) for every xx in that domain;
  • (ii) ΔA\Delta_A is a function with domΔA=A\operatorname{dom} \Delta_A = A and ΔA(a)=a\Delta_A(a) = a for every aAa \in A;
  • (iii) if f:ABf : A \to B then fΔA=ff \circ \Delta_A = f and ΔBf=f\Delta_B \circ f = f.

Facts & Assumptions

Given: functions ff and gg, and sets AA, BB.

[L1]
[L2]

(a,c)SR(a,c) \in S \circ R holds if and only if (a,b)R(a,b) \in R and (b,c)S(b,c) \in S for some bb (The inverse relation R1R^{-1}, the composite SRS \circ R, and the restriction RAR \restriction A).

[L3]

domR:={a:b (a,b)R}\operatorname{dom} R := \{\, a : \exists b\ (a,b) \in R \,\} (Relation, domR\operatorname{dom} R, ranR\operatorname{ran} R, fldR\operatorname{fld} R, and the specialisations "relation from AA to BB" and "relation on AA").

[L4]

aR1[B]a \in R^{-1}[B] holds if and only if (a,b)R(a,b) \in R for some bBb \in B (The image R[A]R[A] and the preimage R1[B]R^{-1}[B] of a set under a relation).

Proof

technique · direct
1.1

Claim (i), single-valuedness: gfg \circ f is a relation, and if (a,c)(a,c) and (a,c)(a,c') both lie in it, there are bb and bb' with (a,b),(a,b)f(a,b),(a,b') \in f and (b,c),(b,c)g(b,c),(b',c') \in g; single-valuedness of ff gives b=bb = b', and then single-valuedness of gg gives c=cc = c'.

L1L2
1.2

Claim (ii): if (a,b)(a,b) and (a,c)(a,c) lie in ΔA\Delta_A then b=a=cb = a = c, so ΔA\Delta_A is a function; its domain is AA, because (a,a)ΔA(a,a) \in \Delta_A exactly for aAa \in A, and its value at aa is aa.

L1L3L5
1.3

Claim (iii): a function f:ABf : A \to B has domf=A\operatorname{dom} f = A and ranfB\operatorname{ran} f \subseteq B, so it is a relation from AA to BB, and the identity laws for relations apply verbatim.

L6
2.1

Claim (i), domain and values: adom(gf)a \in \operatorname{dom}(g \circ f) holds exactly when there are bb and cc with (a,b)f(a,b) \in f and (b,c)g(b,c) \in g, that is, exactly when adomfa \in \operatorname{dom} f and f(a)domgf(a) \in \operatorname{dom} g; and that is exactly the condition af1[domg]a \in f^{-1}[\operatorname{dom} g]. For such an aa the pair (a,g(f(a)))(a, g(f(a))) lies in gfg \circ f, so (gf)(a)=g(f(a))(g \circ f)(a) = g(f(a)) by step 1.1.

L1L2L3L4step 1.1
3.1

Claims (i), (ii) and (iii) are established, which is the statement.

step 1.1step 1.2step 1.3step 2.1

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 23 results over 11 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources