Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Collections

The TCS Formalization Drive

A coordinated effort to formalize the mathematics of theoretical computer science in Lean 4.

Scope: missions in computational complexity, algorithms and optimization, data structures, automata and computability, randomized and approximation algorithms, cryptography, learning theory, information theory, algorithmic game theory, combinatorics, computational geometry, and distributed computing.

104 open missions

Missions

1–25 of 104
Open104Completed478All582
OptimizationTheoretical Computer Science·Captain: mikedeng1

The Design of Approximation Algorithms 11: Planar weighted independent-set PTASTextbook

A graph records pairs of objects that cannot be chosen together. An independent set is a choice with no conflicting pair. When each vertex has a nonnegative weight, maximum weighted independent set asks for a conflict-free set with the greatest total weight. This model occurs when choices have values and pairwise incompatibilities. On general graphs the…

7,638 thms12 active usersReviewed
CombinatoricsConvex OptimizationOperations Research+1·Captain: iris

Two-stage Stochastic Matching and Pricing with Applications to Ride Hailing: Weighted-Balanced-Utilization Is 3/4-Competitive Against Both the Optimum Offline and the Optimum OnlineResearch Paper

Ride-hailing platforms match drivers to riders in batches. When a batch is cleared, some riders are already waiting (the first stage), while others may request a ride in the next few minutes (the second stage). A driver assigned now is unavailable later, so the platform has to decide how much supply to commit to current demand without knowing which future…

21 thms6 active usersReviewed
Complexity TheoryGraph TheoryOperations Research·Captain: Shuze Chen

Complexity of vehicle routing and scheduling problems: The sharp three-halves rural postman approximationResearch Paper

A routing problem asks for movement through a network while completing specified service. The service may consist of visiting customers, traversing streets, or following directed delivery trips. These obligations produce different optimization problems even when the travel network is the same. A fleet also introduces a choice of objective: balancing the…

58 thms6 active usersReviewed
Algorithmic Game TheoryComplexity TheoryOperations Research·Captain: iris

Efficient Fair Division with Minimal Sharing: For Fixed nnn, Sharing-Minimal Fair fPO Allocations Are Computable in O(3n(n−1)Dv/2mn(n−1)/2+2)O(3^{n(n-1)D_v/2} m^{n(n-1)/2+2})O(3n(n−1)Dv​/2mn(n−1)/2+2) Operations and NP-Hard at Polynomial DegeneracyResearch Paper

Fair division of divisible resources is usually solved by convex optimization or market equilibrium, and the resulting allocations typically split many objects among several agents. In practice splitting is costly: a house, a car or a work shift is shared only by co-ownership or time-sharing. Sandomirskiy and Segal-Halevi (arXiv:1908.01669v3, Operations…

22 thms5 active usersReviewed
Algorithmic Game TheoryComputational ComplexityEconomics+1·Captain: iris

Cardinal-Utility Matching Markets: The Quest for Envy-Freeness, Pareto-Optimality, and Efficient Computability: Finding an Envy-Free and Pareto-Optimal Lottery Is PPAD-HardResearch Paper

Allocating indivisible goods without money (school seats, dormitory rooms, course slots, organ-transplant priority) is a central problem of market design. When agents report cardinal utilities rather than rankings, the classical answer is the mechanism of Hylland and Zeckhauser (1979): give every agent one unit of fake money, find market-clearing prices for…

31 thms5 active usersReviewed
Complexity TheoryGraph Theory·Captain: Shuze Chen

Identification, Location-Domination and Metric Dimension on Interval and Permutation Graphs. II. Algorithms and Complexity: NP-completeness at diameter twoResearch Paper

A network can be monitored by selecting a set of vertices and recording which selected vertices are near a possible event. A useful selection must provide coverage, so that an event is observed, and identification, so that different event locations give different observations. The number of selected vertices measures the resources required for these two…

27 thms5 active usersReviewed
AlgebraCombinatoricsInformation Theory+1·Captain: mikedeng1

Fuzzy Extractors: How to Generate Strong Keys from Biometrics and Other Noisy Data 2: The Improved Juels–Sudan Sketch Is an Average-Case Secure Sketch for s-Element Sets with Entropy Loss t log nResearch Paper

Many security-relevant inputs are noisy and do not repeat exactly: fingerprint minutiae, iris codes, lists of personal preferences, the set of features extracted from a document. A cryptographic key derived from such an input must be reproducible from a later, slightly different reading, without storing the input itself. Dodis, Ostrovsky, Reyzin and Smith (S…

11 thms5 active users
Computational GeometryLinear OptimizationOperations Research+1·Captain: mikedeng1

Linear Programming in Linear Time When the Dimension Is Fixed: Fixed-Dimension LP Feasibility Decided in Linear Time on the Real RAMResearch Paper

A linear program asks for a point x∈Rdx\in\mathbb{R}^dx∈Rd minimizing cTxc^TxcTx subject to nnn linear inequalities ∑j=1daijxj≥bi\sum_{j=1}^d a_{ij}x_j\ge b_i∑j=1d​aij​xj​≥bi​. Many problems in computational geometry and statistics are linear programs with few variables and very many constraints: separating two point sets by a line or plane, fitting a line in the Chebyshev (L∞L_\inftyL∞​) norm, finding the…

16 thms5 active usersReviewed
Algorithmic Game TheoryComplexity TheoryOperations Research·Captain: iris

Pure Nash Equilibria: Hard and Easy Games: Deciding Whether a Game Has a Pure Nash Equilibrium Is NP-Complete, Even for Graphical Games with 3-Bounded Neighborhood and Three ActionsResearch Paper

A pure Nash equilibrium is a choice of one action per player from which no player can gain by changing only her own action. Unlike mixed equilibria, which exist in every finite game by Nash's theorem, pure equilibria may fail to exist, so deciding whether one exists is a basic algorithmic question about any game model. It matters most for games with many…

30 thms4 active usersReviewed
Algorithmic Game TheoryComputational ComplexityEconomics+1·Captain: iris

The Complexity of Pacing for Second-Price Auctions: Finding an Approximate Pacing Equilibrium Is PPAD-HardResearch Paper

Online advertising platforms sell billions of impressions through auctions, and most advertisers face a budget for a whole campaign rather than for a single auction. Ad platforms handle this with budget pacing: each advertiser's bids are scaled down by a multiplier so that spending tracks the budget. When every advertiser paces at once, the multipliers…

26 thms4 active usersReviewed
Complexity TheoryOperations ResearchOptimization·Captain: iris

Serial batching to minimize the weighted number of tardy jobs: W[1]-hardness for #d + #p and for #p + #r, with XP algorithms for #d + #p + #w and for #p + #r + #wResearch Paper

In manufacturing, items move between facilities in boxes, pallets or carts, and everything placed in one container leaves together. Serial batch scheduling models this: a single machine processes jobs in batches, each batch costs a fixed setup time plus the processing times of its jobs, and all jobs of a batch complete together. Minimizing the weighted…

30 thms4 active usersReviewed
CombinatoricsConvex OptimizationOperations Research+1·Captain: iris

Geometric Rescaling Algorithms for Submodular Function Minimization: Rescaling-SFM finds a minimizer of an integer-valued submodular function in O((n4⋅EO+n5)log⁡(nL))O((n^4\cdot\mathrm{EO}+n^5)\log(nL))O((n4⋅EO+n5)log(nL)) timeResearch Paper

A set function f:2V→Rf : 2^V \to \mathbb{R}f:2V→R on a finite set VVV is submodular if f(X)+f(Y)≥f(X∪Y)+f(X∩Y)f(X) + f(Y) \ge f(X \cup Y) + f(X \cap Y)f(X)+f(Y)≥f(X∪Y)+f(X∩Y) for all X,Y⊆VX, Y \subseteq VX,Y⊆V. Submodular function minimization (SFM) asks for a set minimizing fff when fff is available only through a value oracle of cost EO\mathrm{EO}EO. Minimum cut, matroid intersection and several scheduling and image-segmentation…

55 thms4 active usersReviewed
Complexity TheoryOperations ResearchOptimization·Captain: iris

The Complexity of Recognizing Facets for the Knapsack Polytope: Deciding Whether an Integer Inequality Defines a Facet of a Knapsack Polytope Is Dᵖ-CompleteResearch Paper

Integer programs are solved in practice by adding valid inequalities to a linear relaxation, and the strongest valid inequalities are the facet-defining ones. Knapsack polytopes are a central case: every row of a binary integer program defines one, and cuts derived from individual knapsack rows (lifted cover inequalities and their relatives) are part of…

30 thms4 active usersReviewed
CombinatoricsComplexity Theory·Captain: Shuze Chen

Hard Tiling Problems with Simple Tiles: Decision and counting completeness for right trominoes and square tetrominoesResearch Paper

A tiling problem asks whether copies of a few shapes can cover a specified region without overlap or gaps. Even when the shapes are small and fixed in advance, the region can encode a substantial combinatorial constraint. This makes tiling a useful setting for distinguishing local geometric simplicity from computational tractability. It also separates two…

11 thms4 active usersReviewed
Complexity TheoryComputational Geometry·Captain: Shuze Chen

Terrain Guarding is NP-Hard: NP-hardness of discrete and continuous terrain guardingResearch Paper

Selecting a small collection of sites with line of sight to an entire landscape is a geometric coverage problem. In the one-dimensional terrain model, the landscape is represented by a polygonal profile in the plane. The optimization question asks how many guards are needed to see every point of that profile. Applications motivating the model include road…

10 thms4 active usersReviewed
Algorithmic Game TheoryCombinatoricsOperations Research·Captain: iris

Efficient Black-Box Reductions for Separable Cost Sharing: In Matroid Games with Subadditive Costs, Algorithm 1 Turns Any Profile into a No Costlier Enforceable Profile Within n·m·rk IterationsResearch Paper

In a cost sharing game each player chooses a set of resources, and the cost of every resource has to be divided among the players who use it. A designer who wants a cheap outcome to be stable chooses the division rule, the cost sharing protocol, so that the cheap outcome becomes a pure Nash equilibrium. Practical protocols should be separable: the share a…

13 thms4 active usersReviewed
Algorithmic Game TheoryAnalysisOperations Research·Captain: iris

Existence and Complexity of Approximate Equilibria in Weighted Congestion Games: Polynomial Games of Degree d With No α-PNE for Any α < α(d), Where α(d) ≥ √d/(2 ln d) for Large dResearch Paper

Weighted congestion games model players of different sizes sharing resources whose cost grows with load: traffic of different volumes on network links, jobs of different lengths on machines. Rosenthal (1973) showed that unweighted congestion games always have a pure Nash equilibrium, but weighted games may have none, already with polynomial costs. The…

28 thms4 active usersReviewed
Operations Research·Captain: Shuze Chen

Dynamic Stochastic Matching Under Limited Time: Constant-factor reward approximation on arbitrary and bipartite graphsResearch Paper

A matching platform must decide whether to pair available agents now or wait for a more valuable partner. Waiting creates an opportunity and a risk: an agent may leave before that partner arrives. Ride sharing, service exchanges and matching markets motivate models in which arrivals continue indefinitely and departure times are not announced in advance. A…

23 thms4 active usersReviewed
Complexity TheoryComputational Geometry·Captain: Shuze Chen

Orthogonal Terrain Guarding is NP-complete: NP-completeness of orthogonal terrain guardingResearch Paper

Terrain guarding asks how many observation sites are needed to see an entire landscape represented by a polygonal chain. The input specifies both the terrain and the number of guards available. A solution chooses observation sites whose combined visibility covers the whole landscape. Restricting the chain to horizontal and vertical edges simplifies its…

6 thms4 active usersReviewed
Quantum InformationTheoretical Computer Science·Captain: mikedeng1

Asymptotically Optimal Approximation of Single Qubit Unitaries by Clifford and T Circuits Using a Constant Number of Ancillary Qubits: O(log(1/ε)) Gates Approximate Every Single-Qubit UnitaryResearch Paper

A fault-tolerant quantum computer executes only a discrete set of gates. The standard choice is the Clifford and T library: the Hadamard gate HHH, the phase gate SSS, CNOT, and the gate T=diag(1,eiπ/4)T = \mathrm{diag}(1, e^{i\pi/4})T=diag(1,eiπ/4), which together are universal and are well suited to error-corrected implementation. Every other gate, in particular every single-qubit rotation…

17 thms4 active usersReviewed
OptimizationQuantum InformationTheoretical Computer Science·Captain: mikedeng1

A Quantum Approximate Optimization Algorithm Applied to a Bounded Occurrence Constraint Problem II: For Random Signs the QAOA Expectation Concentrates Above (1/2 + sin γ cos^(3D) γ/2)mResearch Paper

The Quantum Approximate Optimization Algorithm (QAOA) of Farhi, Goldstone and Gutmann (arXiv:1411.4028) prepares a parametrized quantum state whose measurement yields a candidate solution of a combinatorial optimization problem. Its level-one version alternates a single phase operator and a single mixing operator and is simple enough to analyse by hand. In a…

17 thms4 active usersReviewed
CombinatoricsOperations ResearchOptimization+2·Captain: mikedeng1

Improved Guarantees for Offline Stochastic Matching via New Ordered Contention Resolution Schemes I: With Patience at Least 2, Attenuated Random-Order Probing Gives Every Edge a(e)·Pr[e Is Free] ≥ β*Research Paper

In offline stochastic matching a graph is given in which every edge is present only with some known probability, and the only way to find out is to probe it: a probed edge that turns out to be present must be added to the matching at once. Each vertex may also limit how many of its edges are probed (its patience). The model captures applications in which a…

11 thms4 active usersReviewed
Complexity TheoryGraph TheoryLinear algebra+1·Captain: mikedeng1

Most Tensor Problems Are NP-Hard 2: Graph 3-Colorability Reduces to Tensor Bilinear Feasibility over the Reals and over the Complex NumbersResearch Paper

A matrix A∈Cn×nA \in \mathbb C^{n\times n}A∈Cn×n is singular exactly when the pair of linear systems x⊤A=0\mathbf x^\top A = 0x⊤A=0, Ay=0A\mathbf y = 0Ay=0 has a solution with both x\mathbf xx and y\mathbf yy nonzero, and this is decided in polynomial time by Gaussian elimination. The natural analogue for a 3-tensor replaces the two linear systems by three families of bilinear equations,…

16 thms4 active usersReviewed
Complexity TheoryGraph TheoryLinear algebra+1·Captain: mikedeng1

Most Tensor Problems Are NP-Hard 1: Graph 3-Colorability Reduces to Deciding Whether 0 Is an Eigenvalue of a Rational 3-Tensor over the RealsResearch Paper

Eigenvalues of matrices are computable in polynomial time to any accuracy, and numerical linear algebra rests on that fact. Higher-order tensors appear in statistics (moment and cumulant tensors), signal processing, quantum information and polynomial optimization, and several notions of tensor eigenvalue were proposed for them, independently by Lim and by…

14 thms4 active usersReviewed
Complexity TheoryOperations ResearchTheoretical Computer Science·Captain: mikedeng1

Optimal Inapproximability Results for MAX-CUT and Other 2-Variable CSPs? 1: Assuming the Unique Games Conjecture, (1/2 − ρ/2)- versus ((arccos ρ)/π + ε)-Satisfiable MAX-CUT Is NP-Hard to DistinguishResearch Paper

MAX-CUT asks for a partition of the vertices of a graph that cuts as many edges, or as much edge weight, as possible. It is one of Karp's original NP-hard problems and the standard test case for approximation algorithms. A uniformly random partition cuts half of the edges in expectation. Goemans and Williamson (JACM 1995) rounded a semidefinite relaxation…

19 thms4 active usersReviewed
PreviousPage 1 of 5Next

Top contributors

RankContributorAccepted solutionsSubmitted problems
1EYEyal199050227705
2FIfizzyinc313037
3MAmarwahaha643870
4MRmrfancypants6290
5DBdbenbenn546543
6KMkmehltretter8232892
7NINihal2960
8NINickrobbins952698
9SCShuze Chen224794
10SHshivm2080

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me