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.
The inverse relation , the composite , and the restriction
Definition
Let and be relations (Relation, , , , and the specialisations "relation from to " and "relation on ") and let be a set. By For relations and and a set , the collections , and are sets the three collections below are sets, and each is again a relation, since each of its elements is an ordered pair (The Kuratowski ordered pair ):
- the inverse ;
- the composite ;
- the restriction .
Membership in each is exactly as written: holds if and only if ; holds if and only if and for some ; and holds if and only if and .
Remarks
-
The order in . applies first and second. This is the convention that makes the composite of functions read , and it is the one the rest of the library uses. The opposite convention exists in the literature and would reverse every composite written here.
-
Restriction cuts the domain, not the range. keeps the pairs of whose first coordinate lies in and discards the rest; need not be included in , and .
Depends on
- For relations $R$ and $S$ and a set $A$, the collections $\{\,(b,a) : (a,b) \in R\,\}$, $\{\,(a,c) : \exists b\ ((a,b) \in R \wedge (b,c) \in S)\,\}$ and $\{\,(a,b) \in R : a \in A\,\}$ are sets
- Relation, $\operatorname{dom} R$, $\operatorname{ran} R$, $\operatorname{fld} R$, and the specialisations "relation from $A$ to $B$" and "relation on $A$"
- The Kuratowski ordered pair $(a,b) := \{\{a\},\{a,b\}\}$
Used by
- Relations R and S on a two-element set with S ∘ R ≠ R ∘ S Counterexample
- The image R[A] and the preimage R⁻¹[B] of a set under a relation Definition
- A four-pair relation on {∅,{∅},{∅,{∅}}} with its domain, range, field, inverse, restriction, image and self-composite computed Example
- If f and g are functions then g ∘ f is a function with domain f⁻¹[dom g] and (g ∘ f)(x) = g(f(x)) there; Δ_A is a function with Δ_A(a) = a; and f ∘ Δ_A = f = Δ_B ∘ f for f : A → B Lemma
- R[A ∪ B] = R[A] ∪ R[B], R[A ∩ B] ⊆ R[A] ∩ R[B], R[A] ∖ R[B] ⊆ R[A ∖ B], A ⊆ B implies R[A] ⊆ R[B], and (S ∘ R)[A] = S[R[A]] Proposition
- T ∘ (S ∘ R) = (T ∘ S) ∘ R, (S ∘ R)⁻¹ = R⁻¹ ∘ S⁻¹, (R⁻¹)⁻¹ = R, dom(R⁻¹) = ran R, and Δ_B ∘ R = R = R ∘ Δ_A for a relation R from A to B Proposition
- f : A → B is a bijection if and only if there is a function g : B → A with g ∘ f = Δ_A and f ∘ g = Δ_B; such a g is unique, equals the inverse relation f⁻¹, and is itself a bijection Theorem
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 17 results over 9 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
- B. Kaya, MATH 320 Set Theory (METU), Def. 9, Def. 12 and Def. 19 (standard reference, not scraped)
- Composition of relations (Wikipedia) (standard reference, not scraped)
- Binary relation (Wikipedia) (standard reference, not scraped)