753 Curry–Howard–Lambek Correspondence

The Curry–Howard–Lambek (CHL) [169] correspondence identifies three a priori distinct disciplines:

\begin{equation} \boxed {\;\text {Proposition}\;\Longleftrightarrow \;\text {Type}\;\Longleftrightarrow \;\text {Object}.\;} \tag{26409}\end{equation}
\begin{equation} \boxed {\;\text {Proof}\;\Longleftrightarrow \;\text {Program}\;\Longleftrightarrow \;\text {Morphism}.\;} \tag{26410}\end{equation}
\begin{equation} \boxed {\;p:A\;\Longleftrightarrow \;p:A\;\Longleftrightarrow \;p:\mathbf {1}\to A.\;} \tag{26411}\end{equation}

Implication / function.

\begin{equation} A\Rightarrow B\;\Longleftrightarrow \;A\to B\;\Longleftrightarrow \;\mathrm {Hom}(A,B). \tag{26412}\end{equation}
\begin{equation} \lambda x.f(x)\;\Longleftrightarrow \;\text {abstraction}\;\Longleftrightarrow \;\text {currying}. \tag{26413}\end{equation}

Conjunction / product.

\begin{equation} A\wedge B\;\Longleftrightarrow \;A\times B. \tag{26414}\end{equation}
\begin{equation} (a,b)\;\Longleftrightarrow \;\langle f,g\rangle ,\qquad \pi _1,\pi _2:A\times B\to A,B. \tag{26415}\end{equation}

Disjunction / coproduct.

\begin{equation} A\vee B\;\Longleftrightarrow \;A+B. \tag{26416}\end{equation}
\begin{equation} \mathrm {inl}:A\to A+B,\qquad \mathrm {inr}:B\to A+B, \tag{26417}\end{equation}
\begin{equation} [f,g]:A+B\to C. \tag{26418}\end{equation}

False / initial.

\begin{equation} \bot \;\Longleftrightarrow \;\mathbf {0}, \tag{26419}\end{equation}
\begin{equation} \text {no}\;a:\mathbf {0},\qquad \mathbf {0}\to A\;\text {unique}. \tag{26420}\end{equation}

True / terminal.

\begin{equation} \top \;\Longleftrightarrow \;\mathbf {1}, \tag{26421}\end{equation}
\begin{equation} \forall A:\;A\to \mathbf {1}\;\text {unique}. \tag{26422}\end{equation}

Evaluation (cut / application).

\begin{equation} \mathrm {ev}:B^A\times A\to B,\qquad (f,a)\mapsto f(a). \tag{26423}\end{equation}

\(\beta ,\eta \) laws.

\begin{equation} (\lambda x.f(x))(a)=f(a), \tag{26424}\end{equation}
\begin{equation} f=\lambda x.f(x). \tag{26425}\end{equation}

Categorical structure.

\begin{equation} \boxed {\; \text {CCC}\;\Longleftrightarrow \;\text {intuitionistic logic}\;\Longleftrightarrow \;\lambda \text {-calculus}. \;} \tag{26426}\end{equation}

Partition / idempotent layer.

\begin{equation} \Pi ^2=\Pi , \tag{26427}\end{equation}
\begin{equation} \text {subobject }S\hookrightarrow A\;\Longleftrightarrow \;\chi _S:A\to \Omega . \tag{26428}\end{equation}

CHL synthesis.

\begin{equation} \boxed {\; \text {Logic}\;\Longleftrightarrow \;\text {Types}\;\Longleftrightarrow \;\text {Category}. \;} \tag{26429}\end{equation}
\begin{equation} A\;(\text {prop})\;\Longleftrightarrow \;A\;(\text {type})\;\Longleftrightarrow \;A\;(\text {object}), \tag{26430}\end{equation}
\begin{equation} p:A\;\Longleftrightarrow \;p:A\;\Longleftrightarrow \;p:\mathbf {1}\to A. \tag{26431}\end{equation}

Final identification.

\begin{equation} \boxed {\;\text {Proof}\;\Longleftrightarrow \;\text {Program}\;\Longleftrightarrow \;\text {Morphism}.\;} \tag{26432}\end{equation}
\begin{equation} \boxed {\;\text {Logic}=\text {Computation}=\text {Category}.\;} \tag{26433}\end{equation}
\begin{equation} \boxed {\; A=A \;\Rightarrow \;\Pi ^2=\Pi \;\Rightarrow \;\mathrm {Kar}(\mathcal {C}) \;\Rightarrow \;\text {CCC structure} \;\Rightarrow \;\text {CHL: Logic}=\text {Types}=\text {Category}. \;} \tag{26434}\end{equation}
\begin{equation} A=A \;\Rightarrow \;\Pi ^2=\Pi \;\Rightarrow \;\Omega :=\mathrm {Sub}(\mathbf {1}) \;\Rightarrow \;\text {internal Heyting} \tag{26435}\end{equation}
\begin{equation} \;\Rightarrow \;\text {CCC} \;\Rightarrow \;\lambda \text {-calculus} \;\Rightarrow \;\text {intuitionistic logic} \;\Rightarrow \;\text {CHL}. \tag{26436}\end{equation}

753.1 Computational Complexity from \(A=A\) via Curry–Howard–Lambek

Curry–Howard–Lambek base.

\begin{equation} A\;\Longleftrightarrow \;\text {type},\qquad p:A\;\Longleftrightarrow \;\text {program}, \tag{26437}\end{equation}
\begin{equation} p:\mathbf {1}\to A\;\Longleftrightarrow \;\text {morphism}. \tag{26438}\end{equation}

\(\beta \)-reduction as computation.

\begin{equation} (\lambda x.M)\,N\;\to _\beta \;M[x:=N], \tag{26439}\end{equation}
\begin{equation} M\Downarrow V\quad (\text {normal form}). \tag{26440}\end{equation}

Cost model.

\begin{equation} \mathrm {cost}(M):=\#(\beta \text {-steps to normal form}), \tag{26441}\end{equation}
\begin{equation} M\to ^k V\;\Longrightarrow \;\mathrm {cost}(M)=k. \tag{26442}\end{equation}

Size.

\begin{equation} |M|:=\text {syntax size}, \tag{26443}\end{equation}
\begin{equation} \mathrm {time}(M)=k,\qquad \mathrm {space}(M)\leq f(|M|). \tag{26444}\end{equation}

Input encoding.

\begin{equation} x\in \{0,1\}^n\;\Longleftrightarrow \;\underline {x}:\text {type},\qquad |x|=n. \tag{26445}\end{equation}

Function as morphism.

\begin{equation} f:\{0,1\}^*\to \{0,1\}^*\;\Longleftrightarrow \;f:A\to B. \tag{26446}\end{equation}

Polynomial time.

\begin{equation} \boxed {\;f\in \mathbf {P}\;\Longleftrightarrow \;\exists k:\;\mathrm {cost}(M_x)\leq |x|^k.\;} \tag{26447}\end{equation}

Nondeterminism.

\begin{equation} x\in L\in \mathbf {NP}\;\Longleftrightarrow \;\exists y:\;|y|\leq |x|^k,\;V(x,y)=1, \tag{26448}\end{equation}
\begin{equation} V:\{0,1\}^*\times \{0,1\}^*\to \{0,1\}. \tag{26449}\end{equation}

Categorical lifting.

\begin{equation} \mathbf {Time}:\mathcal {C}\to \mathbb {N}, \tag{26450}\end{equation}
\begin{equation} \mathbf {Time}(g\circ f)=\mathbf {Time}(f)+\mathbf {Time}(g). \tag{26451}\end{equation}

Monoidal cost.

\begin{equation} \mathbf {Time}(f\otimes g)=\mathbf {Time}(f)+\mathbf {Time}(g). \tag{26452}\end{equation}

Complexity classes.

\begin{equation} \mathbf {P}=\{f:\exists k,\;\mathbf {Time}(f)\leq n^k\}, \tag{26453}\end{equation}
\begin{equation} \mathbf {EXP}=\{f:\exists k,\;\mathbf {Time}(f)\leq 2^{n^k}\}. \tag{26454}\end{equation}

Logical interpretation.

\begin{equation} A\vdash B\;\Longleftrightarrow \;\exists f:A\to B, \tag{26455}\end{equation}
\begin{equation} \text {proof length}\sim \mathrm {cost}(f). \tag{26456}\end{equation}

Linear logic refinement.

\begin{equation} !A\quad (\text {resource duplication}), \tag{26457}\end{equation}
\begin{equation} \text {no contraction}\;\Rightarrow \;\text {resource-sensitive complexity}. \tag{26458}\end{equation}

Implicit complexity.

\begin{equation} \text {typing discipline}\;\Longrightarrow \;\mathbf {P}\quad (\text {no explicit time bound}). \tag{26459}\end{equation}

Final chain.

\begin{equation} A=A\;\Rightarrow \;\text {CHL}\;\Rightarrow \;\beta \text {-reduction}\;\Rightarrow \;\mathrm {cost}\;\Rightarrow \;\mathbf {P},\mathbf {NP},\dots \tag{26460}\end{equation}
\begin{equation} \boxed {\;\text {Logic}=\text {Computation}=\text {Category}\;\Rightarrow \;\text {Complexity}.\;} \tag{26461}\end{equation}

753.2 Why P vs NP Is a Question About Time

The P vs NP problem is universally classified as a problem in computational complexity theory. We show that it is, at root, a question in ontology: does time exist? The answer determines the answer to P vs NP, and no advance within complexity theory can settle the question without confronting the presupposition on which the question rests.

753.3 The Hidden Presupposition

The complexity class P is defined as the set of decision problems solvable by a deterministic Turing machine in time \(T(n) \le c \cdot n^k\) for some constants \(c, k\). The class NP is defined as the set of decision problems whose solutions are verifiable in polynomial time.

The standard framing treats “time” as an unproblematic primitive: the number of steps executed by the Turing machine. It is routinely asserted that this “time” is not physical time but an abstract step count. We show that this defense fails.

753.4 The Reduction Chain: Step Count Is Time

1.
Step count is defined as the number of computational steps: \(1, 2, 3, \ldots \)
2.
Steps presuppose order: step 2 follows step 1; step 3 follows step 2.
3.
Order presupposes before and after: step 1 is before step 2.
4.
Before and after is the definition of temporal relation.

The reduction chain is:

\[ \text {step count} \;\to \; \text {order} \;\to \; \text {before/after} \;\to \; \text {time}. \]

Each link is a definitional entailment, not an analogy. To deny that step count presupposes time, one must deny that steps have order. If steps have no order, then “step 1” and “step 100” are interchangeable. If they are interchangeable, the concept of computation dissolves: a Turing machine that executes steps in no order computes nothing.

Therefore: step count is time. The label “abstract step count” is a notational variant of “time,” not an escape from it. Replacing the word “time” with the word “step” is a substitution of notation, not of content.

753.5 The “Abstract Time” Defense

The standard defense is: “Computational time is not physical time. It is an abstract mathematical concept.”

This defense does not succeed. It concedes that there exist multiple notions of time:

But all of these are instances of the same structure: an ordering relation in which “before” and “after” are distinguished. The adjective changes (physical, psychological, logical, computational); the structure does not. Calling it “abstract” does not remove the temporal structure. It merely removes the clock.

This is precisely the pattern identified throughout this paper: a single structure (here, temporal ordering) expressed in multiple notations (physical, logical, computational), with each notation claiming independence from the others. The independence is notational. The structure is one.

753.6 What the Turing Machine Actually Presupposes

A Turing machine \(M\) operates as follows:

1.
\(M\) is in state \(q_i\) at step \(t\).
2.
\(M\) reads symbol \(s\) on the tape.
3.
\(M\) transitions to state \(q_j\), writes symbol \(s'\), and moves the head.
4.
\(M\) is now in state \(q_j\) at step \(t+1\).

The transition from \(t\) to \(t+1\) is the successor function \(S(t) = t + 1\). This is identically the successor function of Peano arithmetic (Section 756). The Turing machine does not merely use time; its operation is the successor function applied to states.

Without the successor \(S(t) = t+1\), there is no “next step.” Without a next step, there is no computation. Without computation, there is no complexity. Without complexity, there is no P vs NP.

The entire edifice of computational complexity theory rests on \(S(t) = t+1\), which rests on temporal ordering, which rests on the existence of time.

753.7 P vs NP Under \(T = 1\)

In the framework of this paper, the totality \(T = 1\) does not change, does not evolve, and does not unfold in sequence. There is no “before” and no “after” at the level of \(T = 1\). Temporal sequence is a property of the observer partition \(O < 1\), not of the totality.

Under \(T = 1\):

1.
Every well-defined decision problem has a definite answer (yes or no). The answer is. It does not need to be “reached” through a sequence of steps.
2.
“Solving” a problem (P) and “verifying” a solution (NP) are two descriptions of the same relation between problem and answer. The answer exists; \(O\) either generates it (solving) or checks it (verifying). Both operations access the same object.
3.
The distinction between polynomial and exponential vanishes, because both are measures of step count, and step count presupposes temporal ordering, and temporal ordering does not exist at \(T = 1\).

Therefore, under \(T = 1\):

\[ \text {P} = \text {NP}. \]

This is not a conjecture. It is a consequence of the ontological framework. If time does not exist at the level of \(T = 1\), then the time-dependent distinction between P and NP does not exist at the level of \(T = 1\).

753.8 The Two-Level Resolution

The apparent difficulty of P vs NP arises from conflating two levels:

Level Time P vs NP



\(T = 1\) (totality) No temporal ordering P \(=\) NP
\(O < 1\) (observer) Temporal ordering exists P \(\neq \) NP

At \(T = 1\): answers exist. No steps are needed. P \(=\) NP.

At \(O < 1\): the observer accesses \(T = 1\) through sequential projection. The projection creates the appearance of “steps,” and the number of steps depends on the observer’s computational model. Within the projection, the distinction between polynomial and exponential is real for the observer. Solving requires traversing steps; verifying may require fewer. The asymmetry between solving and verifying is a consequence of the observer’s temporal constraint. Therefore, at \(O < 1\), P \(\neq \) NP.

The P vs NP problem, as stated by the Clay Mathematics Institute, asks whether P \(=\) NP simpliciter—without specifying the ontological level. The answer depends on the level:

753.9 Convergence of Two Independent Arguments

The P \(=\) NP result is now supported by two independent lines of reasoning:

Argument Route Conclusion



Curry–Howard Logic \(=\) Computation Solving \(=\) Verifying \(=\) P \(=\) NP
Time presupposition (this section) Step count \(=\) time \(=\) \(O\)’s projection P \(=\) NP under \(T = 1\)

The first argument is structural: logic and computation are identical, so solving and verifying are identical.

The second argument is ontological: time is a property of \(O\), not of \(T = 1\), so time-dependent distinctions (polynomial vs exponential) do not exist at the level of the totality.

Both arguments arrive at P \(=\) NP independently. Their convergence constitutes mutual confirmation.

753.10 Theorem (P \(=\) NP as Ontological Consequence)

Theorem 753.1.

(i)
Presupposition. The P vs NP problem presupposes temporal ordering (step count \(\to \) order \(\to \) before/after \(\to \) time). Without temporal ordering, the distinction between P and NP is undefined.
(ii)
Ontological status of time. Under \(T = 1\), temporal ordering is a property of \(O < 1\) (observer projection), not of the totality.
(iii)
Consequence. At \(T = 1\), the time-dependent distinction between P and NP does not exist. Therefore P \(=\) NP.
(iv)
Observer level. At \(O < 1\), the distinction between polynomial and exponential is real for the observer but is a property of the projection, not of \(T = 1\).
(v)
Convergence. This result converges with the Curry–Howard argument (Section 40.9): two independent routes yield P \(=\) NP.
(vi)
Ground. P vs NP is not a problem in computational complexity. It is a problem in ontology: does time exist? Under \(T = 1\), no. Therefore P \(=\) NP. This is \(A = A\).

The Clay Mathematics Institute classified P vs NP as a problem in computer science. It is a problem about the nature of time. The classification itself is a partition. The problem sits beneath the partition, at \(A = A\).

\[ \text {P} = \text {NP}. \]

This is \(A = A\).