nLab effective topos proofs

Context

Topos Theory

topos theory

Background

Toposes

Internal Logic

Topos morphisms

Extra stuff, structure, properties

Cohomology and homotopy

In higher category theory

Theorems

Constructivism, Realizability, Computability

Contents

Overview

Here we give the proofs that are necessary to show that the definition of the effective topos does in fact give a well-defined category.

In general, this follows the strategy of taking a proof that the category of partial setoids (where an object is a set equipped with a partial equivalence relation and a morphism is a respectful functional relation) is a category, and keeping track of realizers at each step. The resulting partial recursive functions will generally be closely related to the corresponding proof terms under the Curry-Howard correspondence.

Category

Equivalence relation

We first need to show that equivalence of effective functional relations is in fact an equivalence relation.

The reflexivity property is easy, since the identity function on ℕ\mathbb{N} works for e f,fe_{f,f}.

For symmetry, suppose that f,g⊆ℕ×X×Yf, g \subseteq \mathbb{N} \times X \times Y are two equivalent effective functional relations, and choose an equivalence tracker e f,g:ℕ⤏ℕe_{f,g} : \mathbb{N} \dashrightarrow \mathbb{N}, along with trackers d f,c f,…,d g,c g,…d_f, c_f, \ldots, d_g, c_g, \ldots associated with ff and gg being effective functional relations. Now, suppose that

n⊩x↦gy.n \Vdash x \xmapsto{g} y.

Then

n 1 ⊩ x≡x, n 1 ≔ d g(n) ⇒∃y′∈Y,n 2 ⊩ x↦fy′, n 2 ≔ t f(n 1) ⇒n 3 ⊩ x↦gy′, n 3 ≔ e f,g(n 2) ⇒n 4 ⊩ y′≡y, n 4 ≔ u g(n 3,n) ⇒n 5 ⊩ x↦fy, n 5 ≔ r f(n 2,n 1,n 4). \begin{array}{rclcrcl} n_1 & \Vdash & x \equiv x, & \quad & n_1 & \coloneqq & d_g(n) \\ \implies \exists y'\in Y, n_2 & \Vdash & x \xmapsto{f} y', & \quad & n_2 & \coloneqq & t_f(n_1) \\ \implies n_3 & \Vdash & x \xmapsto{g} y', & \quad & n_3 & \coloneqq & e_{f,g}(n_2) \\ \implies n_4 & \Vdash & y' \equiv y, & \quad & n_4 & \coloneqq & u_g(n_3, n) \\ \implies n_5 & \Vdash & x \xmapsto{f} y, & \quad & n_5 & \coloneqq & r_f(n_2, n_1, n_4). \end{array}

Now, it is easy to see that the function which takes nn and follows the steps on the right to calculate n 5n_5 is a partial recursive function, which satisfies the necessary property for e g,fe_{g,f}.

For transitivity, this is again easy: given equivalence trackers e f,ge_{f,g} and e g,he_{g,h}, then the composition e g,h∘e f,ge_{g,h} \circ e_{f,g} satisfies the necessary property for e f,he_{f,h}.

Well-definedness of category operations

Here, we first show that id X\operatorname{id}_X is an effective functional relation.

(Domain condition) Suppose

n⊩x↦id Xy.n \Vdash x \xmapsto{\operatorname{id}_X} y.

Then

n 1 ⊩ x≡y, n 1 ≔ n ⇒n 2 ⊩ y≡x, n 2 ≔ s X(n 1) ⇒n 3 ⊩ x≡x, n 3 ≔ t X(n 1,n 2). \begin{array}{rclcrcl} n_1 & \Vdash & x \equiv y, & \quad & n_1 & \coloneqq & n \\ \implies n_2 & \Vdash & y \equiv x, & \quad & n_2 & \coloneqq & s_X(n_1) \\ \implies n_3 & \Vdash & x \equiv x, & \quad & n_3 & \coloneqq & t_X(n_1, n_2). \end{array}

Therefore, the composition n↦n 3n \mapsto n_3 on the right satisfies the necessary property for d id Xd_{\operatorname{id}_X}.

(Codomain condition) Similarly, if we replace the last line in the proof directly above with

n 3⊩y≡y,n 3≔t X(n 2,n 1),n_3 \Vdash y \equiv y, \quad n_3 \coloneqq t_X(n_2, n_1),

then the composition n↦n 3n \mapsto n_3 on the right satisfies the necessary property for c id Xc_{\operatorname{id}_X}.

(Image uniqueness) Suppose

n⊩x↦id Xy 1n \Vdash x \xmapsto{\operatorname{id}_X} y_1

and

n⊩x↦id Xy 2.n \Vdash x \xmapsto{\operatorname{id}_X} y_2.

Then

n 1 ⊩ x≡y 1, n 1 ≔ n, n 2 ⊩ x≡y 2, n 2 ≔ m ⇒n 3 ⊩ y 1≡x, n 3 ≔ s X(n 1) ⇒n 4 ⊩ y 1≡y 2, n 4 ≔ t X(n 3,n 2). \begin{array}{rclcrcl} n_1 & \Vdash & x \equiv y_1, & \quad & n_1 & \coloneqq & n, \\ n_2 & \Vdash & x \equiv y_2, & \quad & n_2 & \coloneqq & m \\ \implies n_3 & \Vdash & y_1 \equiv x, & \quad & n_3 & \coloneqq & s_X(n_1) \\ \implies n_4 & \Vdash & y_1 \equiv y_2, & \quad & n_4 & \coloneqq & t_X(n_3, n_2). \end{array}

Therefore, the composition (n,m)↦n 4(n, m) \mapsto n_4 on the right satisfies the necessary property for u id Xu_{\operatorname{id}_X}.

(Totality) Suppose

n⊩x≡x.n \Vdash x \equiv x.

Then

n⊩x↦id Xx.n \Vdash x \xmapsto{\operatorname{id}_X} x.

Thus, the identity function satisfies the necessary property for t id Xt_{\operatorname{id}_X}.

(Respectfulness) Suppose

n⊩x 1↦id Xy 1,n \Vdash x_1 \xmapsto{\operatorname{id}_X} y_1,
m⊩x 1≡x 2,m \Vdash x_1 \equiv x_2,

and

p⊩y 1≡y 2.p \Vdash y_1 \equiv y_2.

Then

n 1 ⊩ x 1≡y 1, n 1 ≔ n, n 2 ⊩ x 2≡x 1, n 2 ≔ s X(m) ⇒n 3 ⊩ x 2≡y 1 n 3 ≔ t X(n 2,n 1) ⇒n 4 ⊩ x 2≡y 2 n 4 ≔ t X(n 3,p). \begin{array}{rclcrcl} n_1 & \Vdash & x_1 \equiv y_1, & \quad & n_1 & \coloneqq & n, \\ n_2 & \Vdash & x_2 \equiv x_1, & \quad & n_2 & \coloneqq & s_X(m) \\ \implies n_3 & \Vdash & x_2 \equiv y_1 & \quad & n_3 & \coloneqq & t_X(n_2, n_1) \\ \implies n_4 & \Vdash & x_2 \equiv y_2 & \quad & n_4 & \coloneqq & t_X(n_3, p). \end{array}

Therefore, the composition (n,m,p)↦n 4(n, m, p) \mapsto n_4 on the right satisfies the necessary property for r id Xr_{\operatorname{id}_X}.

Similarly, we need to show that the composition of two effective functional relations ff between YY and ZZ, and gg between XX and YY, is again an effective functional relation between XX and ZZ.

(Domain condition) Suppose

n⊩x↦f∘gz.n \Vdash x \xmapsto{f\circ g} z.

Then there exists y∈Yy\in Y such that

n 1 ⊩ x↦gy, n 1 ≔ p 1(n), n 2 ⊩ y↦fz, n 2 ≔ p 2(n) ⇒n 3 ⊩ x≡x, n 3 ≔ d g(n 1). \begin{array}{rclcrcl} n_1 & \Vdash & x \xmapsto{g} y, & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & y \xmapsto{f} z, & \quad & n_2 & \coloneqq & p_2(n) \\ \implies n_3 & \Vdash & x \equiv x, & \quad & n_3 & \coloneqq & d_g(n_1). \end{array}

Therefore, the composition n↦n 3n \mapsto n_3 on the right satisfies the necessary property for d f∘gd_{f\circ g}.

(Codomain condition) Similarly, if we replace the last line in the proof directly above with

n 3⊩y≡y,n 3≔c f(n 2),n_3 \Vdash y \equiv y, \quad n_3 \coloneqq c_f(n_2),

then the composition in n↦n 3n \mapsto n_3 on the right satisfies the necessary property for c f∘gc_{f\circ g}.

(Image uniqueness) Suppose

n⊩x↦f∘gz 1n \Vdash x \xmapsto{f\circ g} z_1

and

m⊩x↦f∘gz 2.m \Vdash x \xmapsto{f\circ g} z_2.

Then there exist y 1,y 2∈Yy_1, y_2 \in Y such that

n 1 ⊩ x↦gy 1, n 1 ≔ p 1(n), n 2 ⊩ y 1↦fz 1, n 2 ≔ p 2(n), n 3 ⊩ x↦gy 2, n 3 ≔ p 1(m), n 4 ⊩ y 2↦fz 2, n 4 ≔ p 2(m) ⇒n 5 ⊩ y 1≡y 2, n 5 ≔ u g(n 1,n 3) ⇒n 6 ⊩ z 1≡z 1, n 6 ≔ d f(n 2) ⇒n 7 ⊩ y 2↦fz 1, n 7 ≔ r f(n 2,n 5,n 6) ⇒n 8 ⊩ z 1≡z 2, n 8 ≔ u f(n 4,n 7). \begin{array}{rclcrcl} n_1 & \Vdash & x \xmapsto{g} y_1, & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & y_1 \xmapsto{f} z_1, & \quad & n_2 & \coloneqq & p_2(n), \\ n_3 & \Vdash & x \xmapsto{g} y_2, & \quad & n_3 & \coloneqq & p_1(m), \\ n_4 & \Vdash & y_2 \xmapsto{f} z_2, & \quad & n_4 & \coloneqq & p_2(m) \\ \implies n_5 & \Vdash & y_1 \equiv y_2, & \quad & n_5 & \coloneqq & u_g(n_1, n_3) \\ \implies n_6 & \Vdash & z_1 \equiv z_1, & \quad & n_6 & \coloneqq & d_f(n_2) \\ \implies n_7 & \Vdash & y_2 \xmapsto{f} z_1, & \quad & n_7 & \coloneqq & r_f(n_2, n_5, n_6) \\ \implies n_8 & \Vdash & z_1 \equiv z_2, & \quad & n_8 & \coloneqq & u_f(n_4, n_7). \end{array}

Therefore, the composition (n,m)↦n 8(n, m) \mapsto n_8 on the right satisfies the necessary property for u f∘gu_{f\circ g}.

(Totality) Suppose

n⊩x≡x.n \Vdash x \equiv x.

Then there exists y∈Yy\in Y such that

n 1 ⊩ x↦gy, n 1 ≔ t g(n) ⇒n 2 ⊩ y≡y, n 2 ≔ c g(n 1). \begin{array}{rclcrcl} n_1 & \Vdash & x \xmapsto{g} y, & \quad & n_1 & \coloneqq & t_g(n) \\ \implies n_2 & \Vdash & y \equiv y, & \quad & n_2 & \coloneqq & c_g(n_1). \end{array}

It follows that there exists z∈Zz\in Z such that

n 3 ⊩ y↦fz, n 3 ≔ t f(n 2) ⇒n 4 ⊩ x↦f∘gz, n 4 ≔ ⟨n 1,n 3. \begin{array}{rclcrcl} n_3 & \Vdash & y \xmapsto{f} z, & \quad & n_3 & \coloneqq & t_f(n_2) \\ \implies n_4 & \Vdash & x \xmapsto{f\circ g} z, & \quad & n_4 & \coloneqq & \langle n_1, n_3. \end{array}

Therefore, the composition n↦n 4n \mapsto n_4 on the right satisfies the necessary property for t f∘gt_{f\circ g}.

(Respectfulness) Suppose

n⊩x 1↦f∘gz 1,n \Vdash x_1 \xmapsto{f\circ g} z_1,
m⊩x 1≡x 2,m \Vdash x_1 \equiv x_2,

and

p⊩z 1≡z 2.p \Vdash z_1 \equiv z_2.

Then there exists y∈Yy\in Y such that

n 1 ⊩ x 1↦gy, n 1 ≔ p 1(n), n 2 ⊩ y↦fz 1, n 2 ≔ p 2(n) ⇒n 3 ⊩ y≡y, n 3 ≔ c g(n 1) ⇒n 4 ⊩ x 2↦gy, n 4 ≔ r g(n 1,m,n 3) ⇒n 5 ⊩ y↦fz 2, n 5 ≔ r f(n 2,n 3,p) ⇒n 6 ⊩ x 2↦f∘gz 2, n 6 ≔ ⟨n 4,n 5⟩. \begin{array}{rclcrcl} n_1 & \Vdash & x_1 \xmapsto{g} y, & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & y \xmapsto{f} z_1, & \quad & n_2 & \coloneqq & p_2(n) \\ \implies n_3 & \Vdash & y \equiv y, & \quad & n_3 & \coloneqq & c_g(n_1) \\ \implies n_4 & \Vdash & x_2 \xmapsto{g} y, & \quad & n_4 & \coloneqq & r_g(n_1, m, n_3) \\ \implies n_5 & \Vdash & y \xmapsto{f} z_2, & \quad & n_5 & \coloneqq & r_f(n_2, n_3, p) \\ \implies n_6 & \Vdash & x_2 \xmapsto{f\circ g} z_2, & \quad & n_6 & \coloneqq & \langle n_4, n_5 \rangle. \end{array}

Therefore, the composition (n,m,p)↦n 6(n, m, p) \mapsto n_6 on the right satisfies the necessary property for r f∘gr_{f\circ g}.

Finally, we show that composition is well-defined up to equivalence of effective functional relations. Thus, suppose we have equivalence trackers e g 1,g 2e_{g_1, g_2} and e f 1,f 2e_{f_1, f_2}, where f if_i are effective functional relations between YY and ZZ, and g ig_i are effective functional relations between XX and YY. Then whenever

n⊩x↦f 1∘g 1z,n \Vdash x \xmapsto{f_1 \circ g_1} z,

then there exists y∈Yy\in Y such that

n 1 ⊩ x↦g 1y, n 1 ≔ p 1(n), n 2 ⊩ y↦f 1z, n 2 ≔ p 2(n) ⇒n 3 ⊩ x↦g 2y, n 3 ≔ e g 1,g 2(n 1) ⇒n 4 ⊩ y↦f 2z, n 4 ≔ e f 1,f 2(n 2) ⇒n 5 ⊩ x↦f 2∘g 2z, n 5 ≔ ⟨n 3,n 4⟩. \begin{array}{rclcrcl} n_1 & \Vdash & x \xmapsto{g_1} y, & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & y \xmapsto{f_1} z, & \quad & n_2 & \coloneqq & p_2(n) \\ \implies n_3 & \Vdash & x \xmapsto{g_2} y, & \quad & n_3 & \coloneqq & e_{g_1, g_2}(n_1) \\ \implies n_4 & \Vdash & y \xmapsto{f_2} z, & \quad & n_4 & \coloneqq & e_{f_1, f_2}(n_2) \\ \implies n_5 & \Vdash & x \xmapsto{f_2 \circ g_2} z, & \quad & n_5 & \coloneqq & \langle n_3, n_4 \rangle. \end{array}

Therefore, the composition n↦n 5n \mapsto n_5 on the right satisfies the necessary property for e f 1∘g 1,f 2∘g 2e_{f_1 \circ g_1, f_2 \circ g_2}.

Identity properties

In order to establish the identity properties of the category, it suffices to show that for ff an effective functional relation between XX and YY, id Y∘f\operatorname{id}_Y \circ f and f∘id Xf \circ \operatorname{id}_X are both equivalent to ff. Thus, suppose that

n⊩x↦fy.n \Vdash x \xmapsto{f} y.

Then

n 1 ⊩ y≡y, n 1 ≔ c f(n) ⇒n 2 ⊩ y↦id Yy, n 2 ≔ n 1 ⇒n 3 ⊩ x↦id Y∘fy, n 2 ≔ ⟨n,n 2⟩. \begin{array}{rclcrcl} n_1 & \Vdash & y \equiv y, & \quad & n_1 & \coloneqq & c_f(n) \\ \implies n_2 & \Vdash & y \xmapsto{\operatorname{id}_Y} y, & \quad & n_2 & \coloneqq & n_1 \\ \implies n_3 & \Vdash & x \xmapsto{\operatorname{id}_Y \circ f} y, & \quad & n_2 & \coloneqq & \langle n, n_2 \rangle. \end{array}

Therefore, the composition n↦n 3n \mapsto n_3 on the right satisfies the necessary property for e f,id Y∘fe_{f, \operatorname{id}_Y \circ f}.

Similarly,

n 1 ⊩ x≡x, n 1 ≔ d f(n) ⇒n 2 ⊩ x↦id Xx, n 2 ≔ n 1 ⇒n 3 ⊩ x↦f∘id Xy, n 3 ≔ ⟨n 2,n⟩. \begin{array}{rclcrcl} n_1 & \Vdash & x \equiv x, & \quad & n_1 & \coloneqq & d_f(n) \\ \implies n_2 & \Vdash & x \xmapsto{\operatorname{id}_X} x, & \quad & n_2 & \coloneqq & n_1 \\ \implies n_3 & \Vdash & x \xmapsto{f \circ \operatorname{id}_X} y, & \quad & n_3 & \coloneqq & \langle n_2, n \rangle. \end{array}

Therefore, the composition n↦n 3n \mapsto n_3 on the right satisfies the necessary property for e f,f∘id Xe_{f, f \circ \operatorname{id}_X}.

Associativity of composition

In order to establish associativity of composition in the category, it suffices to show that for ff an effective functional relation between ZZ and WW, gg an effective functional relation between YY and ZZ, and hh an effective functional relation between XX and YY, then f∘(g∘h)f \circ (g\circ h) is equivalent to (f∘g)∘h(f\circ g) \circ h. Thus, suppose that

n⊩x↦f∘(g∘h)w.n \Vdash x \xmapsto{f\circ (g\circ h)} w.

Then there exists z∈Zz\in Z such that

n 1 ⊩ x↦g∘hz, n 1 ≔ p 1(n), n 2 ⊩ z↦fw, n 2 ≔ p 2(n). \begin{array}{rclcrcl} n_1 & \Vdash & x \xmapsto{g\circ h} z, & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & z \xmapsto{f} w, & \quad & n_2 & \coloneqq & p_2(n). \end{array}

By the g∘hg\circ h condition, we can also find y∈Yy\in Y such that

n 3 ⊩ x↦hy, n 3 ≔ p 1(n 1), n 4 ⊩ y↦gz, n 4 ≔ p 2(n 1) ⇒n 5 ⊩ y↦f∘gw, n 5 ≔ ⟨n 4,n 2⟩ ⇒n 6 ⊩ x↦(f∘g)∘hw, n 6 ≔ ⟨n 3,n 5⟩. \begin{array}{rclcrcl} n_3 & \Vdash & x \xmapsto{h} y, & \quad & n_3 & \coloneqq & p_1(n_1), \\ n_4 & \Vdash & y \xmapsto{g} z, & \quad & n_4 & \coloneqq & p_2(n_1) \\ \implies n_5 & \Vdash & y \xmapsto{f\circ g} w, & \quad & n_5 & \coloneqq & \langle n_4, n_2 \rangle \\ \implies n_6 & \Vdash & x \xmapsto{(f\circ g)\circ h} w, & \quad & n_6 & \coloneqq & \langle n_3, n_5 \rangle. \end{array}

Therefore, the composition n↦n 6n \mapsto n_6 on the right satisfies the necessary property for e f∘(g∘h),(f∘g)∘he_{f \circ (g \circ h), (f\circ g) \circ h}. (This composition can be described as the function ⟨⟨a,b⟩,c⟩↦⟨a,⟨b,c⟩⟩\langle \langle a, b \rangle, c \rangle \mapsto \langle a, \langle b, c \rangle \rangle.)

Finite completeness

Terminal object

We define the terminal object 11 to have underlying set {*}\{ * \} and effective PER ℕ×{*}×{*}\mathbb{N} \times \{ * \} \times \{ * \}. For s 1:ℕ⤏ℕs_1 : \mathbb{N} \dashrightarrow \mathbb{N} and t 1:ℕ 2⤏ℕt_1 : \mathbb{N}^2 \dashrightarrow \mathbb{N}, we can in fact choose any full recursive functions.

Given any object XX, we can define an effective functional relation ! X!_X between XX and 11 by

! X≔{(n,x,*)∣n⊩x≡x}.!_X \coloneqq \{ (n, x, *) \mid n \Vdash x \equiv x \}.

Checking the required properties is easy:

(Domain condition) The identity function ℕ→ℕ\mathbb{N} \to \mathbb{N} satisfies the required condition for d ! Xd_{!_X}.

(Codomain condition) Any full recursive function ℕ→ℕ\mathbb{N} \to \mathbb{N} satisfies the required condition for c ! Xc_{!_X}.

(Image uniqueness) Any full recursive function ℕ 2→ℕ\mathbb{N}^2 \to \mathbb{N} satisfies the required condition for u ! Xu_{!_X}.

(Totality condition) The identity function ℕ→ℕ\mathbb{N} \to \mathbb{N} satisfies the required condition for t ! Xt_{!_X}.

(Respectfulness condition) Suppose we have

n⊩x 1↦! Xy 1,n \Vdash x_1 \xmapsto{!_X} y_1,
m⊩x 1≡x 2,m \Vdash x_1 \equiv x_2,

and

p⊩y 1≡y 2.p \Vdash y_1 \equiv y_2.

Then certainly y 2=*y_2 = *, and

t X(s X(m),m)⊩x 2≡x 2,t_X(s_X(m), m) \Vdash x_2 \equiv x_2,

so

t X(s X(m),m)⊩x 2↦! X*.t_X(s_X(m), m) \Vdash x_2 \xmapsto{!_X} *.

Therefore, the function (n,m,p)↦t X(s X(m),m)(n, m, p) \mapsto t_X(s_X(m), m) satisfies the required condition for r ! Xr_{!_X}.

Now suppose we have any other effective functional relation ff between XX and 11. Then whenever

n⊩x↦fy,n \Vdash x \xmapsto{f} y,

we have y=*y = *, and

d f(n)⊩x≡x,d_f(n) \Vdash x \equiv x,

so

d f(n)⊩x↦! X*.d_f(n) \Vdash x \xmapsto{!_X} *.

Therefore, d f:ℕ⤏ℕd_f : \mathbb{N} \dashrightarrow \mathbb{N} satisfies the required condition for e f,! Xe_{f, !_X}, showing that ff is equivalent to ! X!_X.

Binary products

Given two objects X,YX, Y, we will define their binary product to have underlying set X×YX\times Y, and effective PER

{(⟨n,m⟩,(x 1,y 1),(x 2,y 2)∣(n⊩x 1≡x 2)∧(m⊩y 1≡y 2).}\{ (\langle n, m \rangle, (x_1, y_1), (x_2, y_2) \mid (n \Vdash x_1 \equiv x_2) \wedge (m \Vdash y_1 \equiv y_2). \}

For symmetry, we can use the function

s X×Y:⟨n,m⟩↦⟨s X(n),s Y(m)⟩,s_{X\times Y} : \langle n, m \rangle \mapsto \langle s_X(n), s_Y(m) \rangle,

and for transitivity, we can use the function

t X×Y:(⟨n,m⟩,⟨n′,m′⟩)↦⟨t X(n,n′),t Y(m,m′).t_{X\times Y} : (\langle n, m \rangle, \langle n', m' \rangle) \mapsto \langle t_X(n, n'), t_Y(m, m').

To define the first projection, we will use the effective functional relation defined by

π 1≔{(⟨n,m⟩,(x,y),x′)∣(n⊩x≡x′)∧(m⊩y≡y)}.\pi_1 \coloneqq \{ (\langle n, m \rangle, (x, y), x') \mid (n \Vdash x \equiv x') \wedge (m \Vdash y \equiv y) \}.

To check the required properties:

(Domain condition) Suppose

n⊩(x,y)↦π 1x′.n \Vdash (x, y) \xmapsto{\pi_1} x'.

Then

n 1 ⊩ x≡x′, n 1 ≔ p 1(n), n 2 ⊩ y≡y, n 2 ≔ p 2(n) ⇒n 3 ⊩ x′≡x, n 3 ≔ s X(n 1) ⇒n 4 ⊩ x≡x, n 4 ≔ t X(n 1,n 3) ⇒n 5 ⊩ (x,y)≡(x,y), n 5 ≔ ⟨n 4,n 2⟩. \begin{array}{rclcrcl} n_1 & \Vdash & x \equiv x', & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & y \equiv y, & \quad & n_2 & \coloneqq & p_2(n) \\ \implies n_3 & \Vdash & x' \equiv x, & \quad & n_3 & \coloneqq & s_X(n_1) \\ \implies n_4 & \Vdash & x \equiv x, & \quad & n_4 & \coloneqq & t_X(n_1, n_3) \\ \implies n_5 & \Vdash & (x, y) \equiv (x, y), & \quad & n_5 & \coloneqq & \langle n_4, n_2 \rangle. \end{array}

Therefore, the composition n↦n 5n \mapsto n_5 on the right satisfies the required condition for d π 1d_{\pi_1}.

(Codomain condition) Suppose

n⊩(x,y)↦π 1x′.n \Vdash (x, y) \xmapsto{\pi_1} x'.

Then

n 1 ⊩ x≡x′, n 1 ≔ p 1(n), n 2 ⊩ y≡y, n 2 ≔ p 2(n) ⇒n 3 ⊩ x′≡x, n 3 ≔ s X(n 1) ⇒n 4 ⊩ x′≡x′, n 4 ≔ t X(n 3,n 1). \begin{array}{rclcrcl} n_1 & \Vdash & x \equiv x', & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & y \equiv y, & \quad & n_2 & \coloneqq & p_2(n) \\ \implies n_3 & \Vdash & x' \equiv x, & \quad & n_3 & \coloneqq & s_X(n_1) \\ \implies n_4 & \Vdash & x' \equiv x', & \quad & n_4 & \coloneqq & t_X(n_3, n_1). \end{array}

Therefore, the composition n↦n 4n \mapsto n_4 on the right satisfies the required condition for c π 1c_{\pi_1}.

(Uniqueness of images) Suppose

n⊩(x,y)↦π 1x 1′n \Vdash (x, y) \xmapsto{\pi_1} x_1'

and

m⊩(x,y)↦π 1x 2′.m \Vdash (x, y) \xmapsto{\pi_1} x_2'.

Then

n 1 ⊩ x≡x 1′, n 1 ≔ p 1(n), n 2 ⊩ y≡y, n 2 ≔ p 2(n), n 3 ⊩ x≡x 2′, n 1 ≔ p 1(m), n 4 ⊩ y≡y, n 4 ≔ p 2(m) ⇒n 5 ⊩ x 1′≡x, n 5 ≔ s X(n 1) ⇒n 6 ⊩ x 1′≡x 2′, n 6 ≔ t X(n 5,n 3). \begin{array}{rclcrcl} n_1 & \Vdash & x \equiv x_1', & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & y \equiv y, & \quad & n_2 & \coloneqq & p_2(n), \\ n_3 & \Vdash & x \equiv x_2', & \quad & n_1 & \coloneqq & p_1(m), \\ n_4 & \Vdash & y \equiv y, & \quad & n_4 & \coloneqq & p_2(m) \\ \implies n_5 & \Vdash & x_1' \equiv x, & \quad & n_5 & \coloneqq & s_X(n_1) \\ \implies n_6 & \Vdash & x_1' \equiv x_2', & \quad & n_6 & \coloneqq & t_X(n_5, n_3). \end{array}

Therefore, the composition (n,m)↦n 6(n, m) \mapsto n_6 on the right satisfies the required condition for u π 1u_{\pi_1}.

(Totality) Suppose

n⊩(x,y)≡(x,y).n \Vdash (x, y) \equiv (x, y).

Then

n 1 ⊩ x≡x, n 1 ≔ p 1(n), n 2 ⊩ y≡y, n 2 ≔ p 2(n) ⇒n 3 ⊩ (x,y)↦π 1x, n 3 ≔ ⟨n 1,n 2⟩=n. \begin{array}{rclcrcl} n_1 & \Vdash & x \equiv x, & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & y \equiv y, & \quad & n_2 & \coloneqq & p_2(n) \\ \implies n_3 & \Vdash & (x, y) \xmapsto{\pi_1} x, & \quad & n_3 & \coloneqq & \langle n_1, n_2 \rangle = n. \end{array}

Therefore, the identity function satisfies the required condition for t π 1t_{\pi_1}.

(Respectfulness) Suppose

n⊩(x 1,y 1)↦π 1x 1′,n \Vdash (x_1, y_1) \xmapsto{\pi_1} x_1',
m⊩(x 1,y 1)≡(x 2,y 2),m \Vdash (x_1, y_1) \equiv (x_2, y_2),

and

p⊩x 1′≡x 2′.p \Vdash x_1' \equiv x_2'.

Then

n 1 ⊩ x 1≡x 1′, n 1 ≔ p 1(n), n 2 ⊩ y 1≡y 1, n 2 ≔ p 2(n), n 3 ⊩ x 1≡x 2, n 3 ≔ p 1(m), n 4 ⊩ y 1≡y 2, n 4 ≔ p 2(m) ⇒n 5 ⊩ x 2≡x 1, n 5 ≔ s X(n 3) ⇒n 6 ⊩ x 2≡x 1′, n 6 ≔ t X(n 5,n 1) ⇒n 7 ⊩ x 2≡x 2′, n 7 ≔ t X(n 6,p) ⇒n 8 ⊩ y 2≡y 1, n 8 ≔ s Y(n 4) ⇒n 9 ⊩ y 2≡y 2, n 9 ≔ t Y(n 8,n 4) ⇒n 10 ⊩ (x 2,y 2)↦π 1x 2′, n 10 ≔ ⟨n 7,n 9⟩. \begin{array}{rclcrcl} n_1 & \Vdash & x_1 \equiv x_1', & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & y_1 \equiv y_1, & \quad & n_2 & \coloneqq & p_2(n), \\ n_3 & \Vdash & x_1 \equiv x_2, & \quad & n_3 & \coloneqq & p_1(m), \\ n_4 & \Vdash & y_1 \equiv y_2, & \quad & n_4 & \coloneqq & p_2(m) \\ \implies n_5 & \Vdash & x_2 \equiv x_1, & \quad & n_5 & \coloneqq & s_X(n_3) \\ \implies n_6 & \Vdash & x_2 \equiv x_1', & \quad & n_6 & \coloneqq & t_X(n_5, n_1) \\ \implies n_7 & \Vdash & x_2 \equiv x_2', & \quad & n_7 & \coloneqq & t_X(n_6, p) \\ \implies n_8 & \Vdash & y_2 \equiv y_1, & \quad & n_8 & \coloneqq & s_Y(n_4) \\ \implies n_9 & \Vdash & y_2 \equiv y_2, & \quad & n_9 & \coloneqq & t_Y(n_8, n_4) \\ \implies n_{10} & \Vdash & (x_2, y_2) \xmapsto{\pi_1} x_2', & \quad & n_{10} & \coloneqq & \langle n_7, n_9 \rangle. \end{array}

Therefore, the composition (n,m,p)↦n 10(n, m, p) \mapsto n_{10} on the right satisfies the required condition for r π 1r_{\pi_1}.

Similarly, we will let π 2\pi_2 be the effective functional relation between X×YX\times Y and YY defined by

π 2≔{(⟨n,m⟩,(x,y),y′)∣(n⊩x≡x)∧(m⊩y≡y′)}.\pi_2 \coloneqq \{ (\langle n, m \rangle, (x, y), y') \mid (n \Vdash x \equiv x) \wedge (m \Vdash y \equiv y') \}.

The proof that this is an effective functional relation is similar to the proof for π 1\pi_1.

Now, suppose we have two effective functional relations, ff between TT and XX, and gg between TT and YY. We will then let (f,g)(f,g) be the effective functional relation defined by

(f,g)≔{(⟨n,m⟩,t,(x,y))∣(n⊩t↦fx)∧(m⊩t↦gy)}.(f, g) \coloneqq \{ (\langle n, m \rangle, t, (x, y)) \mid (n \Vdash t \xmapsto{f} x) \wedge (m \Vdash t \xmapsto{g} y) \}.

To check this does indeed give an effective functional relation:

(Domain condition) Suppose

n⊩t↦(f,g)(x,y).n \Vdash t \xmapsto{(f,g)} (x,y).

Then

n 1 ⊩ t↦fx, n 1 ≔ p 1(n), n 2 ⊩ t↦fy, n 2 ≔ p 2(n) ⇒n 3 ⊩ t≡t, n 3 ≔ d f(n 1). \begin{array}{rclcrcl} n_1 & \Vdash & t \xmapsto{f} x, & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & t \xmapsto{f} y, & \quad & n_2 & \coloneqq & p_2(n) \\ \implies n_3 & \Vdash & t \equiv t, & \quad & n_3 & \coloneqq & d_f(n_1). \end{array}

Therefore, the composition d f∘p 1d_f \circ p_1 satisfies the required condition for d (f,g)d_{(f,g)}.

(Codomain condition) Suppose

n⊩t↦(f,g)(x,y).n \Vdash t \xmapsto{(f,g)} (x,y).

Then

n 1 ⊩ t↦fx, n 1 ≔ p 1(n), n 2 ⊩ t↦fy, n 2 ≔ p 2(n) ⇒n 3 ⊩ x≡x, n 3 ≔c f(n 1) ⇒n 4 ⊩ y≡y, n 4 ≔c g(n 2) ⇒n 5 ⊩ (x,y)≡(x,y), n 5 ≔⟨n 3,n 4⟩. \begin{array}{rclcrcl} n_1 & \Vdash & t \xmapsto{f} x, & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & t \xmapsto{f} y, & \quad & n_2 & \coloneqq & p_2(n) \\ \implies n_3 & \Vdash & x \equiv x, & \quad & n_3 & \coloneqq c_f(n_1) \\ \implies n_4 & \Vdash & y \equiv y, & \quad & n_4 & \coloneqq c_g(n_2) \\ \implies n_5 & \Vdash & (x, y) \equiv (x, y), & \quad & n_5 & \coloneqq \langle n_3, n_4 \rangle. \end{array}

Therefore, the composition n↦n 5n \mapsto n_5 on the right satisfies the required condition for c (f,g)c_({f,g}).

(Image uniqueness) Suppose

n⊩t↦(f,g)(x 1,y 1)n \Vdash t \xmapsto{(f,g)} (x_1, y_1)

and

m⊩t↦(f,g)(x 2,y 2).m \Vdash t \xmapsto{(f,g)} (x_2, y_2).

Then

n 1 ⊩ t↦fx 1, n 1 ≔ p 1(n), n 2 ⊩ t↦gy 1, n 2 ≔ p 2(n), n 3 ⊩ t↦fx 2, n 3 ≔ p 1(m), n 4 ⊩ t↦gy 2, n 4 ≔ p 2(m) ⇒n 5 ⊩ x 1≡x 2 n 5 ≔ u f(n 1,n 3) ⇒n 6 ⊩ y 1≡y 2 n 6 ≔ u g(n 2,n 4) ⇒n 7 ⊩ (x 1,y 1)≡(x 2,y 2) n 7 ≔ ⟨n 5,n 6⟩. \begin{array}{rclcrcl} n_1 & \Vdash & t \xmapsto{f} x_1, & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & t \xmapsto{g} y_1, & \quad & n_2 & \coloneqq & p_2(n), \\ n_3 & \Vdash & t \xmapsto{f} x_2, & \quad & n_3 & \coloneqq & p_1(m), \\ n_4 & \Vdash & t \xmapsto{g} y_2, & \quad & n_4 & \coloneqq & p_2(m) \\ \implies n_5 & \Vdash & x_1 \equiv x_2 & \quad & n_5 & \coloneqq & u_f(n_1, n_3) \\ \implies n_6 & \Vdash & y_1 \equiv y_2 & \quad & n_6 & \coloneqq & u_g(n_2, n_4) \\ \implies n_7 & \Vdash & (x_1, y_1) \equiv (x_2, y_2) & \quad & n_7 & \coloneqq & \langle n_5, n_6 \rangle. \end{array}

Therefore, the composition (n,m)↦n 7(n, m) \mapsto n_7 on the right satisfies the required condition for u (f,g)u_{(f,g)}.

(Totality) Suppose

n⊩t≡t.n \Vdash t \equiv t.

Then

∃x∈X,n 1 ⊩ t↦fx, n 1 ≔ t f(n), ∃y∈Y,n 2 ⊩ t↦gy, n 2 ≔ t g(n) ⇒n 3 ⊩ t↦(f,g)(x,y), n 3 ≔ ⟨n 1,n 2⟩. \begin{array}{rclcrcl} \exists x\in X, n_1 & \Vdash & t \xmapsto{f} x, & \quad & n_1 & \coloneqq & t_f(n), \\ \exists y\in Y, n_2 & \Vdash & t \xmapsto{g} y, & \quad & n_2 & \coloneqq & t_g(n) \\ \implies n_3 & \Vdash & t \xmapsto{(f,g)} (x,y), & \quad & n_3 & \coloneqq & \langle n_1, n_2 \rangle. \end{array}

Therefore, the composition n↦n 3n \mapsto n_3 on the right satisfies the required condition for t (f,g)t_{(f,g)}.

(Respectfulness) Suppose

n⊩t 1↦(f,g)(x 1,y 1),n \Vdash t_1 \xmapsto{(f,g)} (x_1, y_1),
m⊩t 1≡t 2,m \Vdash t_1 \equiv t_2,

and

p⊩(x 1,y 1)≡(x 2,y 2).p \Vdash (x_1, y_1) \equiv (x_2, y_2).

Then

n 1 ⊩ t 1↦fx 1 n 1 ≔ p 1(n), n 2 ⊩ t 1↦gy 1 n 2 ≔ p 2(n), n 3 ⊩ x 1≡x 2 n 3 ≔ p 1(p), n 4 ⊩ y 1≡y 2 n 4 ≔ p 2(p) ⇒n 5 ⊩ t 2↦fx 2 n 5 ≔ r f(n 1,m,n 3) ⇒n 6 ⊩ t 2↦gy 2 n 6 ≔ r f(n 2,m,n 4) ⇒n 7 ⊩ t 2↦(f,g)(x 2,y 2) n 7 ≔ ⟨n 5,n 6⟩. \begin{array}{rclcrcl} n_1 & \Vdash & t_1 \xmapsto{f} x_1 & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & t_1 \xmapsto{g} y_1 & \quad & n_2 & \coloneqq & p_2(n), \\ n_3 & \Vdash & x_1 \equiv x_2 & \quad & n_3 & \coloneqq & p_1(p), \\ n_4 & \Vdash & y_1 \equiv y_2 & \quad & n_4 & \coloneqq & p_2(p) \\ \implies n_5 & \Vdash & t_2 \xmapsto{f} x_2 & \quad & n_5 & \coloneqq & r_f(n_1, m, n_3) \\ \implies n_6 & \Vdash & t_2 \xmapsto{g} y_2 & \quad & n_6 & \coloneqq & r_f(n_2, m, n_4) \\ \implies n_7 & \Vdash & t_2 \xmapsto{(f,g)} (x_2, y_2) & \quad & n_7 & \coloneqq & \langle n_5, n_6 \rangle. \end{array}

Therefore, the composition (n,m,p)↦n 7(n, m, p) \mapsto n_7 on the right satisfies the required condition for r (f,g)r_{(f,g)}.

We now claim that π 1∘(f,g)\pi_1 \circ (f, g) is equivalent to ff. Thus, suppose that

n⊩t↦π 1∘(f,g)x.n \Vdash t \xmapsto{\pi_1 \circ (f, g)} x.

Then there exists (x′,y′)∈X×Y(x', y') \in X\times Y such that

n 1 ⊩ t↦(f,g)(x′,y′), n 1 ≔ p 1(n), n 2 ⊩ (x′,y′)↦π 1x, n 2 ≔ p 2(n) ⇒n 3 ⊩ t↦fx′, n 3 ≔ p 1(n 1), n 4 ⊩ t↦gy′, n 4 ≔ p 2(n 1), n 5 ⊩ x′≡x, n 5 ≔ p 1(n 2), n 6 ⊩ y′≡y′, n 6 ≔ p 2(n 2) ⇒n 7 ⊩ t≡t, n 7 ≔ d f(n 3) ⇒n 8 ⊩ t↦fx, n 8 ≔ r f(n 3,n 7,n 5). \begin{array}{rclcrcl} n_1 & \Vdash & t \xmapsto{(f,g)} (x', y'), & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & (x', y') \xmapsto{\pi_1} x, & \quad & n_2 & \coloneqq & p_2(n) \\ \implies n_3 & \Vdash & t \xmapsto{f} x', & \quad & n_3 & \coloneqq & p_1(n_1), \\ n_4 & \Vdash & t \xmapsto{g} y', & \quad & n_4 & \coloneqq & p_2(n_1), \\ n_5 & \Vdash & x' \equiv x, & \quad & n_5 & \coloneqq & p_1(n_2), \\ n_6 & \Vdash & y' \equiv y', & \quad & n_6 & \coloneqq & p_2(n_2) \\ \implies n_7 & \Vdash & t \equiv t, & \quad & n_7 & \coloneqq & d_f(n_3) \\ \implies n_8 & \Vdash & t \xmapsto{f} x, & \quad & n_8 & \coloneqq & r_f(n_3, n_7, n_5). \end{array}

Therefore, the composition n↦n 8n \mapsto n_8 on the right satisfies the required condition for e π 1∘(f,g),fe_{\pi_1 \circ (f, g), f}. The proof that π 2∘(f,g)\pi_2 \circ (f, g) is equivalent to gg is similar,

Finally, to establish the uniqueness of (f,g)(f, g) up to equivalence, it suffices to show that the pair of morphisms [π 1],[π 2][\pi_1], [\pi_2] is jointly monomorphic. Thus, suppose we have two effective functional relations a,ba, b between TT and X×YX\times Y such that π i∘a\pi_i \circ a is equivalent to π i∘b\pi_i \circ b, i∈{1,2}i \in \{1,2\}. Now suppose that

n⊩t↦a(x,y).n \Vdash t \xmapsto{a} (x, y).

Then

n 1 ⊩ (x,y)≡(x,y), n 1 ≔ c a(n) ⇒n 2 ⊩ x≡x, n 2 ≔ p 1(n 1), n 3 ⊩ y≡y, n 3 ≔ p 2(n 1) ⇒n 4 ⊩ (x,y)↦π 1x, n 4 ≔ ⟨n 2,n 3⟩ ⇒n 5 ⊩ t↦π 1∘ax, n 5 ≔ ⟨n,n 5⟩ ⇒n 6 ⊩ t↦π 1∘bx, n 6 ≔ e π 1∘a,π 1∘b(n 5) ⇒∃(x′,y′)∈X×Y,n 7 ⊩ t↦b(x′,y′) n 7 ≔ p 1(n 5), n 8 ⊩ (x′,y′)↦π 1x, n 8 ≔ p 2(n 5) ⇒n 9 ⊩ x′≡x, n 9 ≔ p 1(n 8), n 10 ⊩ y′≡y′, n 10 ≔ p 2(n 8) ⇒n 11 ⊩ (x,y)↦π 2y, n 11 ≔ ⟨n 2,n 3⟩ ⇒n 12 ⊩ t↦π 2∘ay, n 12 ≔ ⟨n,n 11⟩ ⇒n 13 ⊩ t↦π 2∘by, n 13 ≔ e π 2∘a,π 2∘b(n 12) ⇒∃(x″,y″)∈X×Y,n 14 ⊩ t↦b(x″,y″), n 14 ≔ p 1(n 13), n 15 ⊩ (x″,y″)↦π 2y, n 15 ≔ p 2(n 13) ⇒n 16 ⊩ x″≡x″, n 16 ≔ p 1(n 15), n 17 ⊩ y″≡y, n 17 ≔ p 2(n 15) ⇒n 18 ⊩ (x′,y′)≡(x″,y″), n 18 ≔ u b(n 7,n 13) ⇒n 19 ⊩ x′≡x″, n 19 ≔ p 1(n 18), n 20 ⊩ y′≡y″, n 20 ≔ p 2(n 18) ⇒n 21 ⊩ y′≡y, n 21 ≔ t Y(n 20,n 17) ⇒n 22 ⊩ t≡t, n 22 ≔ d a(n) ⇒n 23 ⊩ (x′,y′)≡(x,y), n 23 ≔ ⟨n 9,n 21⟩ ⇒n 24 ⊩ t↦b(x,y), n 24 ≔ r b(n 7,n 22,n 23). \begin{array}{rclcrcl} n_1 & \Vdash & (x, y) \equiv (x, y), & \quad & n_1 & \coloneqq & c_a(n) \\ \implies n_2 & \Vdash & x \equiv x, & \quad & n_2 & \coloneqq & p_1(n_1), \\ n_3 & \Vdash & y \equiv y, & \quad & n_3 & \coloneqq & p_2(n_1) \\ \implies n_4 & \Vdash & (x, y) \xmapsto{\pi_1} x, & \quad & n_4 & \coloneqq & \langle n_2, n_3 \rangle \\ \implies n_5 & \Vdash & t \xmapsto{\pi_1 \circ a} x, & \quad & n_5 & \coloneqq & \langle n, n_5 \rangle \\ \implies n_6 & \Vdash & t \xmapsto{\pi_1 \circ b} x, & \quad & n_6 & \coloneqq & e_{\pi_1 \circ a, \pi_1 \circ b}(n_5) \\ \implies \exists (x', y') \in X\times Y, n_7 & \Vdash & t \xmapsto{b} (x', y') & \quad & n_7 & \coloneqq & p_1(n_5), \\ n_8 & \Vdash & (x', y') \xmapsto{\pi_1} x, & \quad & n_8 & \coloneqq & p_2(n_5) \\ \implies n_9 & \Vdash & x' \equiv x, & \quad & n_9 & \coloneqq & p_1(n_8), \\ n_{10} & \Vdash & y' \equiv y', & \quad & n_{10} & \coloneqq & p_2(n_8) \\ \implies n_{11} & \Vdash & (x, y) \xmapsto{\pi_2} y, & \quad & n_{11} & \coloneqq & \langle n_2, n_3 \rangle \\ \implies n_{12} & \Vdash & t \xmapsto{\pi_2 \circ a} y, & \quad & n_{12} & \coloneqq & \langle n, n_{11} \rangle \\ \implies n_{13} & \Vdash & t \xmapsto{\pi_2 \circ b} y, & \quad & n_{13} & \coloneqq & e_{\pi_2\circ a, \pi_2\circ b}(n_{12}) \\ \implies \exists (x'', y'') \in X\times Y, n_{14} & \Vdash & t \xmapsto{b} (x'', y''), & \quad & n_{14} & \coloneqq & p_1(n_{13}), \\ n_{15} & \Vdash & (x'', y'') \xmapsto{\pi_2} y, & \quad & n_{15} & \coloneqq & p_2(n_{13}) \\ \implies n_{16} & \Vdash & x'' \equiv x'', & \quad & n_{16} & \coloneqq & p_1(n_{15}), \\ n_{17} & \Vdash & y'' \equiv y, & \quad & n_{17} & \coloneqq & p_2(n_{15}) \\ \implies n_{18} & \Vdash & (x', y') \equiv (x'', y''), & \quad & n_{18} & \coloneqq & u_b(n_7, n_{13}) \\ \implies n_{19} & \Vdash & x' \equiv x'', & \quad & n_{19} & \coloneqq & p_1(n_{18}), \\ n_{20} & \Vdash & y' \equiv y'', & \quad & n_{20} & \coloneqq & p_2(n_{18}) \\ \implies n_{21} & \Vdash & y' \equiv y, & \quad & n_{21} & \coloneqq & t_Y(n_{20}, n_{17}) \\ \implies n_{22} & \Vdash & t \equiv t, & \quad & n_{22} & \coloneqq & d_a(n) \\ \implies n_{23} & \Vdash & (x', y') \equiv (x, y), & \quad & n_{23} & \coloneqq & \langle n_9, n_{21} \rangle \\ \implies n_{24} & \Vdash & t \xmapsto{b} (x, y), & \quad & n_{24} & \coloneqq & r_b(n_7, n_{22}, n_{23}). \end{array}

Therefore, the composition n↦n 24n \mapsto n_{24} on the right satisfies the required condition for e a,be_{a,b}.

Equalizers

Suppose we have two effective functional relations f,gf, g between XX and YY. We can then define the equalizer EE to have underlying set X×YX \times Y, and effective PER where we will say

⟨n,m,p,q⟩⊩(x 1,y 1)≡(x 2,y 2)\langle n, m, p, q \rangle \Vdash (x_1, y_1) \equiv (x_2, y_2)

if and only if

n⊩x 1↦fy 1,n \Vdash x_1 \xmapsto{f} y_1,
m⊩x 1↦gy 1,m \Vdash x_1 \xmapsto{g} y_1,
p⊩x 1≡x 2,p \Vdash x_1 \equiv x_2,

and

q⊩y 1≡y 2.q \Vdash y_1 \equiv y_2.

(Here, ⟨n,m,p,q⟩\langle n, m, p, q \rangle will be syntactic sugar for ⟨⟨⟨n,m⟩,p⟩,q⟩\langle \langle \langle n, m \rangle, p \rangle, q \rangle, and we will define corresponding projections p i/4:ℕ→ℕp_{i / 4} : \mathbb{N} \to \mathbb{N} for 1≤i≤41\le i\le 4. We will use similar notations for other arities of tuples below.)

To construct the required symmetry tracker, we can use the function which transports nn and mm to (x 2,y 2)(x_2, y_2) using respectfulness of ff and gg, and applies symmetry to pp and qq. Similarly, for the transitivity tracker, we preserve the nn and mm components of the first input, and apply transitivity to the pp and qq components.

For the inclusion map, we will define an effective functional relation ii between EE and XX where

⟨n,m,p⟩⊩(x,y)↦ix′\langle n, m, p \rangle \Vdash (x, y) \xmapsto{i} x'

if and only if

n⊩x↦fy,n \Vdash x \xmapsto{f} y,
m⊩x↦gy,m \Vdash x \xmapsto{g} y,

and

p⊩x≡x′.p \Vdash x \equiv x'.

(Domain condition) Suppose

⟨n,m,p⟩⊩(x,y)↦ix′.\langle n, m, p \rangle \Vdash (x, y) \xmapsto{i} x'.

Then

n ⊩ x↦fy, m ⊩ x↦gy, p ⊩ x≡x′ ⇒n 1 ⊩ x≡x, n 1 ≔ d f(n) ⇒n 2 ⊩ y≡y, n 2 ≔ c f(n) ⇒n 3 ⊩ (x,y)≡(x,y), n 3 ≔ ⟨n,m,n 1,n 2⟩. \begin{array}{rclcrcl} n & \Vdash & x \xmapsto{f} y, & & & & \\ m & \Vdash & x \xmapsto{g} y, & & & & \\ p & \Vdash & x \equiv x' & & & & \\ \implies n_1 & \Vdash & x \equiv x, & \quad & n_1 & \coloneqq & d_f(n) \\ \implies n_2 & \Vdash & y \equiv y, & \quad & n_2 & \coloneqq & c_f(n) \\ \implies n_3 & \Vdash & (x, y) \equiv (x, y), & \quad & n_3 & \coloneqq & \langle n, m, n_1, n_2 \rangle. \end{array}

Therefore, the composition ⟨n,m,p⟩↦n 3\langle n, m, p \rangle \mapsto n_3 on the right satisfies the required condition for d id_i.

(Codomain condition) Suppose

⟨n,m,p⟩⊩(x,y)↦ix′.\langle n, m, p \rangle \Vdash (x, y) \xmapsto{i} x'.

Therefore, the composition ⟨n,m,p⟩↦n 2\langle n, m, p \rangle \mapsto n_2 on the right satisfies the required condition for c ic_i.

(Image uniqueness) Suppose

⟨n,m,p⟩⊩(x,y)↦ix 1′\langle n, m, p \rangle \Vdash (x, y) \xmapsto{i} x_1'

and

⟨n′,m′,p′⟩⊩(x,y)↦ix 2′.\langle n', m', p' \rangle \Vdash (x, y) \xmapsto{i} x_2'.

Then

n ⊩ x↦fy, m ⊩ x↦gy, p ⊩ x≡x′, n′ ⊩ x↦fy, m′ ⊩ x↦gy, p′ ⊩ x≡x″ ⇒n 1 ⊩ x′≡x, n 1 ≔ s X(p) ⇒n 2 ⊩ x′≡x″, n 2 ≔ t X(n 1,p′). \begin{array}{rclcrcl} n & \Vdash & x \xmapsto{f} y, & & & & \\ m & \Vdash & x \xmapsto{g} y, & & & & \\ p & \Vdash & x \equiv x', & & & & \\ n' & \Vdash & x \xmapsto{f} y, & & & & \\ m' & \Vdash & x \xmapsto{g} y, & & & & \\ p' & \Vdash & x \equiv x'' & & & & \\ \implies n_1 & \Vdash & x' \equiv x, & \quad & n_1 & \coloneqq & s_X(p) \\ \implies n_2 & \Vdash & x' \equiv x'', & \quad & n_2 & \coloneqq & t_X(n_1, p'). \end{array}

Therefore, the composition (⟨n,m,p⟩,⟨n′,m′,p′⟩)↦n 2(\langle n, m, p \rangle, \langle n', m', p' \rangle) \mapsto n_2 on the right satisfies the required condition for u iu_i.

(Totality) Suppose

⟨n,m,p,q⟩⊩(x,y)≡(x,y).\langle n, m, p, q \rangle \Vdash (x, y) \equiv (x, y).

Then

n ⊩ x↦fy, m ⊩ x↦gy, p ⊩ x≡x, q ⊩ y≡y ⇒n 1 ⊩ (x,y)↦ix, n 1 ≔ ⟨n,m,p⟩. \begin{array}{rclcrcl} n & \Vdash & x \xmapsto{f} y, & & & & \\ m & \Vdash & x \xmapsto{g} y, & & & & \\ p & \Vdash & x \equiv x, & & & & \\ q & \Vdash & y \equiv y & & & & \\ \implies n_1 & \Vdash & (x, y) \xmapsto{i} x, & \quad & n_1 & \coloneqq & \langle n, m, p \rangle. \end{array}

Therefore, ⟨n,m,p,q⟩↦⟨n,m,p⟩\langle n, m, p, q \rangle \mapsto \langle n, m, p \rangle satisfies the required condition for t it_i.

(Respectfulness) Suppose

⟨n,m,p⟩⊩(x 1,y 1)↦ix 1′,\langle n, m, p \rangle \Vdash (x_1, y_1) \xmapsto{i} x_1',
⟨n′,m′,p′,q′⟩⊩(x 1,y 1)≡(x 2,y 2),\langle n', m', p', q' \rangle \Vdash (x_1, y_1) \equiv (x_2, y_2),

and

n″⊩x 1′≡x 2′.n'' \Vdash x_1' \equiv x_2'.

Then

n ⊩ x 1↦fy 1, m ⊩ x 1↦gy 1, p ⊩ x 1≡x 1′, n′ ⊩ x 1↦fy 1, m′ ⊩ x 1↦gy 1, p′ ⊩ x 1≡x 2, q′ ⊩ y 1≡y 2 ⇒n 1 ⊩ x 2↦fy 2, n 1 ≔ r f(n,p′,q′) ⇒n 2 ⊩ x 2↦gy 2, n 2 ≔ r g(m,p′,q′) ⇒n 3 ⊩ x 2≡x 1, n 3 ≔ s X(p′) ⇒n 4 ⊩ x 2≡x 1′, n 4 ≔ t X(n 3,p) ⇒n 5 ⊩ x 2≡x 2′, n 5 ≔ t X(n 4,n″) ⇒n 6 ⊩ (x 2,y 2)↦ix 2′, n 6 ≔ ⟨n 1,n 2,n 5⟩. \begin{array}{rclcrcl} n & \Vdash & x_1 \xmapsto{f} y_1, & & & & \\ m & \Vdash & x_1 \xmapsto{g} y_1, & & & & \\ p & \Vdash & x_1 \equiv x_1', & & & & \\ n' & \Vdash & x_1 \xmapsto{f} y_1, & & & & \\ m' & \Vdash & x_1 \xmapsto{g} y_1, & & & & \\ p' & \Vdash & x_1 \equiv x_2, & & & & \\ q' & \Vdash & y_1 \equiv y_2 & & & & \\ \implies n_1 & \Vdash & x_2 \xmapsto{f} y_2, & \quad & n_1 & \coloneqq & r_f(n, p', q') \\ \implies n_2 & \Vdash & x_2 \xmapsto{g} y_2, & \quad & n_2 & \coloneqq & r_g(m, p', q') \\ \implies n_3 & \Vdash & x_2 \equiv x_1, & \quad & n_3 & \coloneqq & s_X(p') \\ \implies n_4 & \Vdash & x_2 \equiv x_1', & \quad & n_4 & \coloneqq & t_X(n_3, p) \\ \implies n_5 & \Vdash & x_2 \equiv x_2', & \quad & n_5 & \coloneqq & t_X(n_4, n'') \\ \implies n_6 & \Vdash & (x_2, y_2) \xmapsto{i} x_2', & \quad & n_6 & \coloneqq & \langle n_1, n_2, n_5 \rangle. \end{array}

Therefore, the composition (⟨n,m,p⟩,⟨n′,m′,p′,q′⟩,n″)↦n 6(\langle n, m, p \rangle, \langle n', m', p', q' \rangle, n'') \mapsto n_6 on the right satisfies the required condition for r ir_i.

We first claim that f∘if\circ i is equivalent to g∘ig\circ i. Thus, suppose

⟨n,m⟩⊩(x,y)↦f∘iy′.\langle n, m \rangle \Vdash (x, y) \xmapsto{f\circ i} y'.

Then there exists x′∈Xx' \in X such that

n ⊩ (x,y)↦ix′, m ⊩ x′↦fy′ ⇒n 1 ⊩ x↦fy, n 1 ≔ p 1/3(n), n 2 ⊩ x↦gy, n 2 ≔ p 2/3(n), n 3 ⊩ x≡x′, n 3 ≔ p 3/3(n) ⇒n 4 ⊩ y≡y, n 4 ≔ c f(n 1) ⇒n 5 ⊩ x′↦fy, n 5 ≔ r f(n 1,n 3,n 4) ⇒n 6 ⊩ y≡y′, n 6 ≔ u f(m,n 5) ⇒n 7 ⊩ x′↦gy′, n 7 ≔ r f(n 2,n 3,n 6) ⇒n 8 ⊩ (x,y)↦g∘iy′, n 8 ≔ ⟨n,n 7⟩. \begin{array}{rclcrcl} n & \Vdash & (x, y) \xmapsto{i} x', & & & & \\ m & \Vdash & x' \xmapsto{f} y' & & & & \\ \implies n_1 & \Vdash & x \xmapsto{f} y, & \quad & n_1 & \coloneqq & p_{1/3}(n), \\ n_2 & \Vdash & x \xmapsto{g} y, & \quad & n_2 & \coloneqq & p_{2/3}(n), \\ n_3 & \Vdash & x \equiv x', & \quad & n_3 & \coloneqq & p_{3/3}(n) \\ \implies n_4 & \Vdash & y \equiv y, & \quad & n_4 & \coloneqq & c_f(n_1) \\ \implies n_5 & \Vdash & x' \xmapsto{f} y, & \quad & n_5 & \coloneqq & r_f(n_1, n_3, n_4) \\ \implies n_6 & \Vdash & y \equiv y', & \quad & n_6 & \coloneqq & u_f(m, n_5) \\ \implies n_7 & \Vdash & x' \xmapsto{g} y', & \quad & n_7 & \coloneqq & r_f(n_2, n_3, n_6) \\ \implies n_8 & \Vdash & (x, y) \xmapsto{g\circ i} y', & \quad & n_8 & \coloneqq & \langle n, n_7 \rangle. \end{array}

Therefore, the composition ⟨n,m⟩↦n 8\langle n, m \rangle \mapsto n_8 on the right satisfies the required condition for e f∘i,g∘ie_{f\circ i, g\circ i}.

Now, suppose we have an effective functional relation hh between TT and XX such that f∘hf\circ h is equivalent to g∘hg\circ h; we then want to show hh factors through ii. To this end, we will define an effective functional relation h˜\tilde h between TT and EE where

⟨n,m⟩⊩t↦h˜(x,y)\langle n, m \rangle \Vdash t \xmapsto{\tilde h} (x, y)

if and only if

n⊩t↦hxn \Vdash t \xmapsto{h} x

and

m⊩x↦fy.m \Vdash x \xmapsto{f} y.

The following intermediate result will be useful several times:

Lemma

There is a partial recursive function φ:ℕ 2⤏ℕ\varphi : \mathbb{N}^2 \dashrightarrow \mathbb{N} such that whenever

n⊩t↦hxn \Vdash t \xmapsto{h} x

and

m⊩x↦fy,m \Vdash x \xmapsto{f} y,

then φ(n,m)\varphi(n, m) is defined and

φ(n,m)⊩x↦gy.\varphi(n, m) \Vdash x \xmapsto{g} y.

Proof

We have

n 1 ⊩ t↦f∘hy, n 1 ≔ ⟨n,m⟩ ⇒n 2 ⊩ t↦g∘hy, n 2 ≔ e f∘h,g∘h(n 1) ⇒∃x′∈X,n 3 ⊩ t↦hx′, n 3 ≔ p 1(n 2), n 4 ⊩ x′↦gy, n 4 ≔ p 2(n 2) ⇒n 5 ⊩ x′≡x, n 5 ≔ u h(n 4,n) ⇒n 6 ⊩ y≡y, n 6 ≔ c f(m) ⇒n 7 ⊩ x↦gy, n 7 ≔ r g(n 4,n 5,n 6). \begin{array}{rclcrcl} n_1 & \Vdash & t \xmapsto{f\circ h} y, & \quad & n_1 & \coloneqq & \langle n, m \rangle \\ \implies n_2 & \Vdash & t \xmapsto{g\circ h} y, & \quad & n_2 & \coloneqq & e_{f\circ h, g\circ h}(n_1) \\ \implies \exists x'\in X, n_3 & \Vdash & t \xmapsto{h} x', & \quad & n_3 & \coloneqq & p_1(n_2), \\ n_4 & \Vdash & x' \xmapsto{g} y, & \quad & n_4 & \coloneqq & p_2(n_2) \\ \implies n_5 & \Vdash & x' \equiv x, & \quad & n_5 & \coloneqq & u_h(n_4, n) \\ \implies n_6 & \Vdash & y \equiv y, & \quad & n_6 & \coloneqq & c_f(m) \\ \implies n_7 & \Vdash & x \xmapsto{g} y, & \quad & n_7 & \coloneqq & r_g(n_4, n_5, n_6). \end{array}

Therefore, the composition (n,m)↦n 7(n, m) \mapsto n_7 on the right satisfies the required condition for φ\varphi.

(Domain condition) Suppose

⟨n,m⟩⊩t↦h˜(x,y).\langle n, m \rangle \Vdash t \xmapsto{\tilde h} (x, y).

Then

n⊩t↦hxn \Vdash t \xmapsto{h} x

so

d h(n)⊩t≡t.d_h(n) \Vdash t \equiv t.

Thus, ⟨n,m⟩↦d h(n)\langle n, m \rangle \mapsto d_h(n) satisfies the required condition for d h˜d_{\tilde h}.

(Codomain condition) Suppose

⟨n,m⟩⊩t↦h˜(x,y).\langle n, m \rangle \Vdash t \xmapsto{\tilde h} (x, y).

Then

n ⊩ t↦hx, m ⊩ x↦fy ⇒n 1 ⊩ x↦gy, n 1 ≔ φ(n,m) ⇒n 2 ⊩ x≡x, n 2 ≔ c h(n) ⇒n 3 ⊩ y≡y, n 3 ≔ c f(m) ⇒n 4 ⊩ (x,y)≡(x,y), n 4 ≔ ⟨m,n 1,n 2,n 3⟩. \begin{array}{rclcrcl} n & \Vdash & t \xmapsto{h} x, & & & & \\ m & \Vdash & x \xmapsto{f} y & & & & \\ \implies n_1 & \Vdash & x \xmapsto{g} y, & \quad & n_1 & \coloneqq & \varphi(n, m) \\ \implies n_2 & \Vdash & x \equiv x, & \quad & n_2 & \coloneqq & c_h(n) \\ \implies n_3 & \Vdash & y \equiv y, & \quad & n_3 & \coloneqq & c_f(m) \\ \implies n_4 & \Vdash & (x, y) \equiv (x, y), & \quad & n_4 & \coloneqq & \langle m, n_1, n_2, n_3 \rangle. \end{array}

Therefore, the composition ⟨n,m⟩↦n 4\langle n, m \rangle \mapsto n_4 on the right satisfies the required condition for c h˜c_{\tilde h}.

(Image uniqueness) Suppose

⟨n,m⟩⊩t↦h˜(x,y)\langle n, m \rangle \Vdash t \xmapsto{\tilde h} (x, y)

and

⟨n′,m′⟩⊩t↦h˜(x′,y′).\langle n', m' \rangle \Vdash t \xmapsto{\tilde h} (x', y').

Then

n ⊩ t↦hx, m ⊩ x↦fy, n′ ⊩ t↦hx′, m′ ⊩ x′↦fy′ ⇒n 1 ⊩ x↦gy, n 1 ≔ φ(n,m) ⇒n 2 ⊩ x≡x′, n 2 ≔ u h(n,n′) ⇒n 3 ⊩ y′≡y′, n 3 ≔ c f(m′) ⇒n 4 ⊩ x′↦fy, n 4 ≔ r f(m,n 2,n 3) ⇒n 5 ⊩ y≡y′, n 5 ≔ u f(n 4,m′) ⇒n 6 ⊩ (x,y)≡(x′,y′), n 6 ≔ ⟨m,n 1,n 2,n 5⟩. \begin{array}{rclcrcl} n & \Vdash & t \xmapsto{h} x, & & & & \\ m & \Vdash & x \xmapsto{f} y, & & & & \\ n' & \Vdash & t \xmapsto{h} x', & & & & \\ m' & \Vdash & x' \xmapsto{f} y' & & & & \\ \implies n_1 & \Vdash & x \xmapsto{g} y, & \quad & n_1 & \coloneqq & \varphi(n, m) \\ \implies n_2 & \Vdash & x \equiv x', & \quad & n_2 & \coloneqq & u_h(n, n') \\ \implies n_3 & \Vdash & y' \equiv y', & \quad & n_3 & \coloneqq & c_f(m') \\ \implies n_4 & \Vdash & x' \xmapsto{f} y, & \quad & n_4 & \coloneqq & r_f(m, n_2, n_3) \\ \implies n_5 & \Vdash & y \equiv y', & \quad & n_5 & \coloneqq & u_f(n_4, m') \\ \implies n_6 & \Vdash & (x, y) \equiv (x', y'), & \quad & n_6 & \coloneqq & \langle m, n_1, n_2, n_5 \rangle. \end{array}

Therefore, the composition (⟨n,m⟩,⟨n′,m′⟩)↦n 5(\langle n, m \rangle, \langle n', m' \rangle) \mapsto n_5 on the right satisfies the required condition for u h˜u_{\tilde h}.

(Totality) Suppose

n⊩t≡t.n \Vdash t \equiv t.

Then

∃x∈X,n 1 ⊩ t↦hx, n 1 ≔ t h(n) ⇒∃y∈Y,n 2 ⊩ x↦fy, n 2 ≔ t f(n 1) ⇒n 3 ⊩ t↦h˜(x,y), n 3 ≔ ⟨n 1,n 2⟩. \begin{array}{rclcrcl} \exists x\in X, n_1 & \Vdash & t \xmapsto{h} x, & \quad & n_1 & \coloneqq & t_h(n) \\ \implies \exists y\in Y, n_2 & \Vdash & x \xmapsto{f} y, & \quad & n_2 & \coloneqq & t_f(n_1) \\ \implies n_3 & \Vdash & t \xmapsto{\tilde h} (x, y), & \quad & n_3 & \coloneqq & \langle n_1, n_2 \rangle. \end{array}

Therefore, the composition n↦n 3n \mapsto n_3 on the right satisfies the required condition for t h˜t_{\tilde h}.

(Respectfulness) Suppose

n⊩t↦h˜(x,y),n \Vdash t \xmapsto{\tilde h} (x, y),
m⊩t≡t′,m \Vdash t \equiv t',

and

p⊩(x,y)≡(x′,y′).p \Vdash (x, y) \equiv (x', y').

Then

n 1 ⊩ t↦hx, n 1 ≔ p 1(n), n 2 ⊩ x↦fy, n 2 ≔ p 2(n), n 3 ⊩ x↦fy, n 3 ≔ p 1/4(p), n 4 ⊩ x↦gy, n 4 ≔ p 2/4(p), n 5 ⊩ x≡x′, n 5 ≔ p 3/4(p), n 6 ⊩ y≡y′, n 6 ≔ p 4/4(p) ⇒n 7 ⊩ t′↦hx′, n 7 ≔ r h(n 1,m,n 5) ⇒n 8 ⊩ x′↦fy′, n 8 ≔ r f(n 2,n 5,n 6) ⇒n 9 ⊩ t′↦h˜(x′,y′), n 9 ≔ ⟨n 7,n 8⟩. \begin{array}{rclcrcl} n_1 & \Vdash & t \xmapsto{h} x, & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & x \xmapsto{f} y, & \quad & n_2 & \coloneqq & p_2(n), \\ n_3 & \Vdash & x \xmapsto{f} y, & \quad & n_3 & \coloneqq & p_{1/4}(p), \\ n_4 & \Vdash & x \xmapsto{g} y, & \quad & n_4 & \coloneqq & p_{2/4}(p), \\ n_5 & \Vdash & x \equiv x', & \quad & n_5 & \coloneqq & p_{3/4}(p), \\ n_6 & \Vdash & y \equiv y', & \quad & n_6 & \coloneqq & p_{4/4}(p) \\ \implies n_7 & \Vdash & t' \xmapsto{h} x', & \quad & n_7 & \coloneqq & r_h(n_1, m, n_5) \\ \implies n_8 & \Vdash & x' \xmapsto{f} y', & \quad & n_8 & \coloneqq & r_f(n_2, n_5, n_6) \\ \implies n_9 & \Vdash & t' \xmapsto{\tilde h} (x', y'), & \quad & n_9 & \coloneqq & \langle n_7, n_8 \rangle. \end{array}

Therefore, the composition (n,m,p)↦n 9(n, m, p) \mapsto n_9 on the right satisfies the required condition for r h˜r_{\tilde h}.

We now claim that i∘h˜i \circ \tilde h is equivalent to hh. Thus, suppose

⟨n,m⟩⊩t↦i∘h˜x.\langle n, m \rangle \Vdash t \xmapsto{i \circ \tilde h} x.

Then there exists (x′,y′)∈E(x', y') \in E such that

n ⊩ t↦h˜(x′,y′), m ⊩ (x′,y′)↦ix ⇒n 1 ⊩ t↦hx′, n 1 ≔ p 1(n), n 2 ⊩ x′↦fy′, n 3 ≔ p 2(n), n 3 ⊩ x′↦fy′, n 3 ≔ p 1/3(m), n 4 ⊩ x′↦gy′, n 4 ≔ p 2/3(m), n 5 ⊩ x′≡x, n 5 ≔ p 3/3(m) ⇒n 6 ⊩ t≡t, n 6 ≔ d h(n 1) ⇒n 7 ⊩ t↦hx, n 7 ≔ r h(n 1,n 6,n 5). \begin{array}{rclcrcl} n & \Vdash & t \xmapsto{\tilde h} (x', y'), & & & & \\ m & \Vdash & (x', y') \xmapsto{i} x & & & & \\ \implies n_1 & \Vdash & t \xmapsto{h} x', & \quad & n_1 & \coloneqq & p_1(n), \\ n_2 & \Vdash & x' \xmapsto{f} y', & \quad & n_3 & \coloneqq & p_2(n), \\ n_3 & \Vdash & x' \xmapsto{f} y', & \quad & n_3 & \coloneqq & p_{1/3}(m), \\ n_4 & \Vdash & x' \xmapsto{g} y', & \quad & n_4 & \coloneqq & p_{2/3}(m), \\ n_5 & \Vdash & x' \equiv x, & \quad & n_5 & \coloneqq & p_{3/3}(m) \\ \implies n_6 & \Vdash & t \equiv t, & \quad & n_6 & \coloneqq & d_h(n_1) \\ \implies n_7 & \Vdash & t \xmapsto{h} x, & \quad & n_7 & \coloneqq & r_h(n_1, n_6, n_5). \end{array}

Therefore, the composition ⟨n,m⟩↦n 7\langle n, m \rangle \mapsto n_7 on the right satisfies the required condition for e i∘h˜,he_{i \circ \tilde h, h}.

Finally, in order to establish that h˜\tilde h is unique up to equivalence, it suffices to show that the equivalence class of ii is a monomorphism. Thus, suppose we have two functional relations a,ba, b between TT and EE such that i∘ai \circ a is equivalent to i∘bi \circ b. Now suppose that

n⊩t↦a(x,y).n \Vdash t \xmapsto{a} (x, y).

Then

n 1 ⊩ (x,y)≡(x,y), n 1 ≔ c a(n) ⇒n 2 ⊩ x↦fy, n 2 ≔ p 1/4(n 1), n 3 ⊩ x↦gy, n 3 ≔ p 2/4(n 1), n 4 ⊩ x≡x, n 4 ≔ p 3/4(n 1), n 5 ⊩ y≡y, n 5 ≔ p 4/4(n 1) ⇒n 6 ⊩ (x,y)↦ix, n 6 ≔ ⟨n 2,n 3,n 4⟩ ⇒n 7 ⊩ t↦i∘ax, n 7 ≔ ⟨n,n 6⟩ ⇒n 8 ⊩ t↦i∘bx, n 8 ≔ e i∘a,i∘b(n 7) ⇒∃(x′,y′)∈E,n 9 ⊩ t↦b(x′,y′), n 9 ≔ p 1(n 8), n 10 ⊩ (x′,y′)↦ix, n 10 ≔ p 2(n 8) ⇒n 11 ⊩ x′↦fy′, n 11 ≔ p 1/3(n 10), n 12 ⊩ x′↦gy′, n 12 ≔ p 2/3(n 10), n 13 ⊩ x′≡x, n 13 ≔ p 3/3(n 10) ⇒n 14 ⊩ y′≡y′, n 14 ≔ c f(n 11) ⇒n 15 ⊩ x↦fy′, n 15 ≔ r f(n 11,n 13,n 14) ⇒n 16 ⊩ y′≡y, n 16 ≔ u f(n 15,n 2) ⇒n 17 ⊩ (x′,y′)≡(x,y), n 17 ≔ ⟨n 11,n 12,n 13,n 16⟩ ⇒n 18 ⊩ t≡t, n 18 ≔ d a(n) ⇒n 19 ⊩ t↦b(x,y), n 19 ≔ r b(n 9,n 18,n 17). \begin{array}{rclcrcl} n_1 & \Vdash & (x, y) \equiv (x, y), & \quad & n_1 & \coloneqq & c_a(n) \\ \implies n_2 & \Vdash & x \xmapsto{f} y, & \quad & n_2 & \coloneqq & p_{1/4}(n_1), \\ n_3 & \Vdash & x \xmapsto{g} y, & \quad & n_3 & \coloneqq & p_{2/4}(n_1), \\ n_4 & \Vdash & x \equiv x, & \quad & n_4 & \coloneqq & p_{3/4}(n_1), \\ n_5 & \Vdash & y \equiv y, & \quad & n_5 & \coloneqq & p_{4/4}(n_1) \\ \implies n_6 & \Vdash & (x, y) \xmapsto{i} x, & \quad & n_6 & \coloneqq & \langle n_2, n_3, n_4 \rangle \\ \implies n_7 & \Vdash & t \xmapsto{i\circ a} x, & \quad & n_7 & \coloneqq & \langle n, n_6 \rangle \\ \implies n_8 & \Vdash & t \xmapsto{i\circ b} x, & \quad & n_8 & \coloneqq & e_{i\circ a, i\circ b}(n_7) \\ \implies \exists (x', y')\in E, n_9 & \Vdash & t \xmapsto{b} (x', y'), & \quad & n_9 & \coloneqq & p_1(n_8), \\ n_{10} & \Vdash & (x', y') \xmapsto{i} x, & \quad & n_{10} & \coloneqq & p_2(n_8) \\ \implies n_{11} & \Vdash & x' \xmapsto{f} y', & \quad & n_{11} & \coloneqq & p_{1/3}(n_{10}), \\ n_{12} & \Vdash & x' \xmapsto{g} y', & \quad & n_{12} & \coloneqq & p_{2/3}(n_{10}), \\ n_{13} & \Vdash & x' \equiv x, & \quad & n_{13} & \coloneqq & p_{3/3}(n_{10}) \\ \implies n_{14} & \Vdash & y' \equiv y', & \quad & n_{14} & \coloneqq & c_f(n_{11}) \\ \implies n_{15} & \Vdash & x \xmapsto{f} y', & \quad & n_{15} & \coloneqq & r_f(n_{11}, n_{13}, n_{14}) \\ \implies n_{16} & \Vdash & y' \equiv y, & \quad & n_{16} & \coloneqq & u_f(n_{15}, n_2) \\ \implies n_{17} & \Vdash & (x', y') \equiv (x, y), & \quad & n_{17} & \coloneqq & \langle n_{11}, n_{12}, n_{13}, n_{16} \rangle \\ \implies n_{18} & \Vdash & t \equiv t, & \quad & n_{18} & \coloneqq & d_a(n) \\ \implies n_{19} & \Vdash & t \xmapsto{b} (x, y), & \quad & n_{19} & \coloneqq & r_b(n_9, n_{18}, n_{17}). \end{array}

Therefore, the composition n↦n 19n \mapsto n_{19} on the right satisfies the required condition for e a,be_{a, b}.

Power objects

Preliminaries

Since the definition of power objects involves pullback squares and monomorphisms, it will be appropriate to establish convenient criteria for establishing both. First, we start with isomorphisms.

Lemma

Suppose ff is an effective functional relation between XX and YY. Then the equivalence class of ff is an isomorphism if and only if

(a) There exists a partial recursive function i f:ℕ 2⤏ℕi_f : \mathbb{N}^2 \dashrightarrow \mathbb{N} such that whenever

n⊩x 1↦fyn \Vdash x_1 \xmapsto{f} y

and

m⊩x 2↦fy,m \Vdash x_2 \xmapsto{f} y,

then i f(n,m)i_f(n, m) is defined and

i f(n,m)⊩x 1≡x 2.i_f(n, m) \Vdash x_1 \equiv x_2.

(b) There exists a partial recursive function s f:ℕ⤏ℕs_f : \mathbb{N} \dashrightarrow \mathbb{N} such that whenever

n⊩y≡y,n \Vdash y \equiv y,

then s f(n)s_f(n) is defined and there exists x∈Xx\in X such that

s f(n)⊩x↦fy.s_f(n) \Vdash x \xmapsto{f} y.

Proof

(⇒\Rightarrow) Suppose the equivalence class of gg is inverse to the equivalence class of ff.

To establish (a), suppose

n⊩x 1↦fyn \Vdash x_1 \xmapsto{f} y

and

m⊩x 2↦fy.m \Vdash x_2 \xmapsto{f} y.

Then

n 1 ⊩ y≡y n 1 ≔ c f(n) ⇒∃x 3∈X,n 2 ⊩ y↦gx 3, n 2 ≔ t g(n 1) ⇒n 3 ⊩ x 1↦g∘fx 3, n 3 ≔ ⟨n,n 2⟩ ⇒n 4 ⊩ x 1↦id Xx 3 n 4 ≔ e g∘f,id X(n 3) ⇒n 5 ⊩ x 1≡x 3, n 5 ≔ n 4 ⇒n 6 ⊩ x 2↦g∘fx 3, n 6 ≔ ⟨m,n 2⟩ ⇒n 7 ⊩ x 2↦id Xx 3, n 7 ≔ e g∘f,id X(n 6) ⇒n 8 ⊩ x 2≡x 3, n 8 ≔ n 7 ⇒n 9 ⊩ x 3≡x 2, n 9 ≔ s X(n 8) ⇒n 10 ⊩ x 1≡x 2, n 10 ≔ t X(n 5,n 9). \begin{array}{rclcrcl} n_1 & \Vdash & y \equiv y & \quad & n_1 & \coloneqq & c_f(n) \\ \implies \exists x_3\in X, n_2 & \Vdash & y \xmapsto{g} x_3, & \quad & n_2 & \coloneqq & t_g(n_1) \\ \implies n_3 & \Vdash & x_1 \xmapsto{g\circ f} x_3, & \quad & n_3 & \coloneqq & \langle n, n_2 \rangle \\ \implies n_4 & \Vdash & x_1 \xmapsto{\operatorname{id}_X} x_3 & \quad & n_4 & \coloneqq & e_{g\circ f, \operatorname{id}_X}(n_3) \\ \implies n_5 & \Vdash & x_1 \equiv x_3, & \quad & n_5 & \coloneqq & n_4 \\ \implies n_6 & \Vdash & x_2 \xmapsto{g\circ f} x_3, & \quad & n_6 & \coloneqq & \langle m, n_2 \rangle \\ \implies n_7 & \Vdash & x_2 \xmapsto{\operatorname{id}_X} x_3, & \quad & n_7 & \coloneqq & e_{g\circ f, \operatorname{id}_X}(n_6) \\ \implies n_8 & \Vdash & x_2 \equiv x_3, & \quad & n_8 & \coloneqq & n_7 \\ \implies n_9 & \Vdash & x_3 \equiv x_2, & \quad & n_9 & \coloneqq & s_X(n_8) \\ \implies n_{10} & \Vdash & x_1 \equiv x_2, & \quad & n_{10} & \coloneqq & t_X(n_5, n_9). \end{array}

Therefore, the composition (n,m)↦n 10(n, m) \mapsto n_{10} on the right satisfies the required condition for i fi_f.

To establish (b), suppose

n⊩y≡y.n \Vdash y \equiv y.

Then there exists x∈Xx\in X such that

n 1 ⊩ y↦gx, n 1 ≔ t g(n) n 2 ⊩ x≡x, n 2 ≔ c g(n 1) ⇒∃y′∈Y,n 3 ⊩ x↦fy′, n 3 ≔ t f(n 2) ⇒n 4 ⊩ y↦f∘gy′, n 4 ≔ ⟨n 1,n 3⟩ ⇒n 5 ⊩ y↦id Yy′, n 5 ≔ e f∘g,id Y(n 4) ⇒n 6 ⊩ y≡y′, n 6 ≔ n 5 ⇒n 7 ⊩ y′≡y, n 7 ≔ s Y(n 6) ⇒n 8 ⊩ x↦fy, n 8 ≔ r f(n 3,n 2,n 7). \begin{array}{rclcrcl} n_1 & \Vdash & y \xmapsto{g} x, & \quad & n_1 & \coloneqq & t_g(n) \\ n_2 & \Vdash & x \equiv x, & \quad & n_2 & \coloneqq & c_g(n_1) \\ \implies \exists y' \in Y, n_3 & \Vdash & x \xmapsto{f} y', & \quad & n_3 & \coloneqq & t_f(n_2) \\ \implies n_4 & \Vdash & y \xmapsto{f\circ g} y', & \quad & n_4 & \coloneqq & \langle n_1, n_3 \rangle \\ \implies n_5 & \Vdash & y \xmapsto{\operatorname{id}_Y} y', & \quad & n_5 & \coloneqq & e_{f\circ g, \operatorname{id}_Y}(n_4) \\ \implies n_6 & \Vdash & y \equiv y', & \quad & n_6 & \coloneqq & n_5 \\ \implies n_7 & \Vdash & y' \equiv y, & \quad & n_7 & \coloneqq & s_Y(n_6) \\ \implies n_8 & \Vdash & x \xmapsto{f} y, & \quad & n_8 & \coloneqq & r_f(n_3, n_2, n_7). \end{array}

Therefore, the composition n↦n 8n \mapsto n_8 on the right satisfies the required condition for s fs_f.

(⇐\Leftarrow) Let f †⊆ℕ×Y×Xf^\dagger\subseteq \mathbb{N} \times Y \times X be the relational inverse of ff. Then we can see that condition (a) is exactly in the form needed for u f †u_{f^\dagger}, and condition (b) is exactly in the form needed for t f †t_{f^\dagger}. On the other hand, the other conditions for f †f^\dagger to be an effective functional relation between YY and XX are automatic: namely, we can use

d f †≔c f,d_{f^\dagger} \coloneqq c_f,
c f †≔d f,c_{f^\dagger} \coloneqq d_f,

and

r f †(n,m,p)≔r f(n,p,m).r_{f^\dagger}(n, m, p) \coloneqq r_f(n, p, m).

Thus, f †f^\dagger is an effective functional relation between YY and XX. We now claim that the equivalence class of f †f^\dagger is inverse to the equivalence class of ff. To see this, suppose

⟨n,m⟩⊩x↦f †∘fx′.\langle n, m \rangle \Vdash x \xmapsto{f^\dagger \circ f} x'.

Then there exists y∈Yy\in Y such that

n ⊩ x↦fy, m ⊩ y↦f †x′ ⇒n 1 ⊩ x′↦fy, n 1 ≔ m ⇒n 2 ⊩ x≡x′, n 2 ≔ i f(n,n 1) ⇒n 3 ⊩ x↦id Xx, n 3 ≔ n 2. \begin{array}{rclcrcl} n & \Vdash & x \xmapsto{f} y, & & & & \\ m & \Vdash & y \xmapsto{f^\dagger} x' & & & & \\ \implies n_1 & \Vdash & x' \xmapsto{f} y, & \quad & n_1 & \coloneqq & m \\ \implies n_2 & \Vdash & x \equiv x', & \quad & n_2 & \coloneqq & i_f(n, n_1) \\ \implies n_3 & \Vdash & x \xmapsto{\operatorname{id}_X} x, & \quad & n_3 & \coloneqq & n_2. \end{array}

Therefore, the composition ⟨n,m⟩↦n 3\langle n, m \rangle \mapsto n_3 on the right satisfies the required condition for i f †∘f,id Xi_{f^\dagger \circ f, \operatorname{id}_X}.

Similarly, suppose

⟨n,m⟩⊩y↦f∘f †y′.\langle n, m \rangle \Vdash y \xmapsto{f \circ f^\dagger} y'.

Then there exists x∈Xx\in X such that

n ⊩ y↦f †x, m ⊩ x↦fy′ ⇒n 1 ⊩ x↦fy, n 1 ≔ n ⇒n 2 ⊩ y≡y′, n 2 ≔ u f(n 1,m) ⇒n 3 ⊩ y↦id Yy′, n 3 ≔ n 2. \begin{array}{rclcrcl} n & \Vdash & y \xmapsto{f^\dagger} x, & & & & \\ m & \Vdash & x \xmapsto{f} y' & & & & \\ \implies n_1 & \Vdash & x \xmapsto{f} y, & \quad & n_1 & \coloneqq & n \\ \implies n_2 & \Vdash & y \equiv y', & \quad & n_2 & \coloneqq & u_f(n_1, m) \\ \implies n_3 & \Vdash & y \xmapsto{\operatorname{id}_Y} y', & \quad & n_3 & \coloneqq & n_2. \end{array}

Therefore, the composition ⟨n,m⟩↦n 3\langle n, m \rangle \mapsto n_3 on the right satisfies the required condition for i f∘f †,id Yi_{f \circ f^\dagger, \operatorname{id}_Y}.

Last revised on November 4, 2026 at 14:01:32. See the history of this page for a list of all contributions to it.