Alphabeta Math
CorollaryStatement: AI-adaptedProof: AI-adaptedprecheck 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:A→B with A≠∅: f is injective if and only if there is g:B→A with g∘f=ΔA; for A=∅ the empty function is injective and has a left inverse if and only if B=∅

Statement

Let f:A→B.

  • (i) If A≠∅, then f is injective if and only if there is a function g:B→A with g∘f=ΔA.
  • (ii) If A=∅, then f=∅ and f is injective; and there is a function g:B→A with g∘f=ΔA if and only if B=∅.

The hypothesis A≠∅ in (i) is not removable: for A=∅ and B≠∅ the empty function is injective and has no left inverse at all.

Facts & Assumptions

Given: a function f:A→B.

[L1]

f is injective (one-to-one) if f(x)=f(y) implies x=y, for all x,y∈A (Injection, surjection, bijection).

[L2]

We write f:A→B, and say f is a function from A to B, when f is a function with dom⁡f=A and ran⁡f⊆B (A function is a relation f with (a,b)∈f and (a,c)∈f implying b=c; f:A→B, the value f(a), domain and codomain).

[L6]

For any parameters pˉ and any set x, there is a set y whose elements are exactly the elements z of x for which φ(z,pˉ) holds (The Axiom Schema of Separation: for each formula φ, ∀pˉ ∀x ∃y ∀z (z∈y↔(z∈x∧φ(z,pˉ)))).

[L7]

b∈R[A] holds if and only if (a,b)∈R for some a∈A (The image R[A] and the preimage R−1[B] of a set under a relation).

[L8]

There is exactly one set with no elements, written ∅ (There is exactly one set with no elements, written ∅).

[L9]

z∈A×B holds if and only if z=(a,b) for some a∈A and some b∈B (The Cartesian product A×B:={ z∈P(P(A∪B)):∃a∈A ∃b∈B z=(a,b) }).

[L11]

dom⁡R:={ a:∃b (a,b)∈R },ran⁡R:={ b:∃a (a,b)∈R } (Relation, dom⁡R, ran⁡R, fld⁡R, and the specialisations "relation from A to B" and "relation on A").

Proof

technique · direct
1.1

Claim (i), from right to left: if g∘f=ΔA and f(a)=f(a′) for a,a′∈A, then a=ΔA(a)=g(f(a))=g(f(a′))=ΔA(a′)=a′.

L1L3L4
1.2

Claim (i), from left to right: assume f injective and A≠∅, and fix a0∈A. Separating inside B×A gives the set g:={ (b,a)∈B×A:(a,b)∈f or (b∉f[A] and a=a0) }. For b∈f[A] the first alternative supplies exactly one a, by injectivity, and the second supplies none; for b∈B with b∉f[A] the first supplies none, since ran⁡f=f[A], and the second supplies a0 alone. Hence g is a function with domain B and range inside A, so g:B→A.

L1L2L6L7L8L9L11
1.3

Claim (ii): if A=∅ then dom⁡f=∅, so f has no element and f=∅; the injectivity condition quantifies over elements of A and holds vacuously.

L1L2L8L11
2.1

Claim (i) concluded: with g as in step 1.2, g∘f and ΔA are functions with domain A, and g(f(a))=a for every a∈A, since f(a)∈f[A] selects the first alternative; so the two functions are equal.

L3L4L5L7step 1.2
2.2

Claim (ii) concluded: a function g:B→∅ has ran⁡g⊆∅, so g⊆B×∅=∅, giving g=∅ and B=dom⁡g=∅. Conversely, if B=∅ then g:=∅ is a function ∅→∅, and g∘f and Δ∅ are both ∅, so the identity holds.

L2L3L5L8L9L10L11step 1.3
3.1

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

step 1.1step 1.2step 1.3step 2.1step 2.2∎

Remarks

Depends on

Used by

Dependency tree · two levels

24 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources