P vs. NP: Why Cracking Modern Encryption Means Solving One Million Year-Old Math Problems

Post date: March 19, 2026 · Discovered: April 17, 2026 · 3 posts, 16 comments

The field hinges on defining solvability time, specifically polynomial time (P). The understanding is that P means problems are efficiently solvable, while NP means solutions are efficiently verifiable. NP-Complete and NP-Hard define the upper bounds of difficulty, stating that solving one would crack the class.

People are divided around the P=NP question. dfyx laid out the groundwork, stating P is a subset of NP and emphasizing that NP problems only require *verification* to be fast. MagosInformaticus noted that SAT serves as the key translator proving a problem's inclusion in NP-hardness. ProfessorScience gave the simple take: P is quick to solve (even check if a number is even), while NP is quick only to check a guess. The sharpest take, however, was the outlier insight: even massive NP-Hard problems like the Traveling Salesman Problem are trivial for inputs of a few dozen, which is a massive disparity.

The overwhelming consensus defines the difference between solvability and verifiability. The core battle remains P=NP. If P equals NP, current encryption, which relies on the assumption that P does not equal NP, instantly collapses. The fault line is the mathematical proof of equivalence itself.

Key Points

SUPPORT

P problems are defined by efficient solvability (polynomial time).

dfyx cited sorting algorithms achieving O(n log n) as proof.

SUPPORT

NP problems only require efficient verification of a proposed solution.

dfyx explained that a non-deterministic computer can 'guess' the answer quickly, even if standard calculation takes eons.

SUPPORT

NP-Hard problems are maximally difficult, potentially allowing a P=NP proof.

dfyx stated that solving one NP-Hard problem proves P=NP by providing a polynomial-time solution for all of NP.

SUPPORT

The disparity between large and small inputs for hard problems is noticeable.

The consensus noted that NP-Hard problems like 3-SAT are easily solvable by hand for inputs of just a few dozen.

SUPPORT

SAT (Boolean Satisfiability) is a universal problem class for NP.

MagosInformaticus pointed out that SAT can translate any problem in NP, cementing its relevance to NP-hardness.

Source Discussions (3)

This report was synthesized from the following Lemmy discussions, ranked by community score.

100
points
ELI5 how `P`, `NP`, `NP-Complete`, and `NP-Hard` work? If you have a video you'd recommend that works too
[email protected]·16 comments·12/10/2024·by plankton·files.catbox.moe
42
points
Minor WTF: `librust-winapi-dev` wins the prize for the length of its "Provides" line under Debian's `apt`
[email protected]·1 comments·2/1/2026·by palordrolap
13
points
Dolphin: Files/folder priority order `Space`>`.`>`Number`>`Alphabets` and Numbers like `1 2 3 … 10` and not `1 10 11…2 3`
[email protected]·3 comments·3/19/2026·by tdTrX