Alphabeta Math
PropositionStatement: 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.

For f:ABf : A \to B and g:BCg : B \to C: if both are injective so is gfg \circ f; if both are surjective so is gfg \circ f; if gfg \circ f is injective so is ff; and if gfg \circ f is surjective so is gg

Statement

Let f:ABf : A \to B and g:BCg : B \to C. Then gf:ACg \circ f : A \to C, and

  • (i) if ff and gg are injective then so is gfg \circ f;
  • (ii) if ff and gg are surjective then so is gfg \circ f;
  • (iii) if gfg \circ f is injective then so is ff;
  • (iv) if gfg \circ f is surjective then so is gg.

In particular a composite of bijections is a bijection.

Facts & Assumptions

Given: functions f:ABf : A \to B and g:BCg : B \to C.

[L1]

ff is injective (one-to-one) if f(x)=f(y)f(x) = f(y) implies x=yx = y, for all x,yAx, y \in A (Injection, surjection, bijection).

[L2]

ff is surjective (onto) if for every bBb \in B there is some xAx \in A with f(x)=bf(x) = b (Injection, surjection, bijection).

[L3]

ff is bijective if it is both injective and surjective (Injection, surjection, bijection).

[L5]

We write f:ABf : A \to B, and say ff is a function from AA to BB, when ff is a function with domf=A\operatorname{dom} f = A and ranfB\operatorname{ran} f \subseteq B (A function is a relation ff with (a,b)f(a,b) \in f and (a,c)f(a,c) \in f implying b=cb = c; f:ABf : A \to B, the value f(a)f(a), domain and codomain).

[L6]

ranR:={b:a (a,b)R}\operatorname{ran} R := \{\, b : \exists a\ (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").

[L7]

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

gf:ACg \circ f : A \to C: its domain is f1[domg]=f1[B]f^{-1}[\operatorname{dom} g] = f^{-1}[B], which is AA because domf=A\operatorname{dom} f = A and ranfB\operatorname{ran} f \subseteq B; and its values g(f(a))g(f(a)) lie in rangC\operatorname{ran} g \subseteq C.

L4L5L6L7
2.1

Claim (i): assume ff and gg injective and let a,aAa, a' \in A with g(f(a))=g(f(a))g(f(a)) = g(f(a')). Injectivity of gg gives f(a)=f(a)f(a) = f(a'), and injectivity of ff gives a=aa = a'.

L1L4step 1.1
2.2

Claim (ii): assume ff and gg surjective and let cCc \in C. Surjectivity of gg gives bBb \in B with g(b)=cg(b) = c, and surjectivity of ff gives aAa \in A with f(a)=bf(a) = b; then g(f(a))=cg(f(a)) = c.

L2L4step 1.1
2.3

Claim (iii): assume gfg \circ f injective and let a,aAa, a' \in A with f(a)=f(a)f(a) = f(a'). Then g(f(a))=g(f(a))g(f(a)) = g(f(a')), so a=aa = a'.

L1L4step 1.1
2.4

Claim (iv): assume gfg \circ f surjective and let cCc \in C. There is aAa \in A with g(f(a))=cg(f(a)) = c, and f(a)f(a) is an element of BB, so cc is a value of gg.

L2L4L5step 1.1
3.1

Claims (i) to (iv) are established; combining (i) and (ii) gives that a composite of bijections is injective and surjective, hence a bijection.

L3step 2.1step 2.2step 2.3step 2.4

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 25 results over 12 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