Identity many-one reduction
ProvedPvsNP.pReducible_reflEvery Boolean-word language polynomial-time many-one reduces to itself.
Status: Local proof checked; unpublished draft statement.
import Definitions.Def_PvsNPFrontier namespace PvsNP theorem pReducible_refl (A : DecisionProblem) : PReducible A A := by sorry end PvsNP
Read-back
What the Lean code literally says, in plain math · gpt-6-astra
For every language , there exists a total function satisfying and . No decidability or membership in a complexity class is assumed for . Here , is the set of all finite Boolean lists, including the empty list, and is list length. Write for existence of such a machine and a polynomial that, for every , compute output list from input list in at most steps. Different existential computation witnesses may use different machines and polynomials. A machine in these assertions is a Mathlib TM2 stack machine with finitely many stack indices, instruction labels, and control states, a finite input-stack alphabet, designated input and output stacks, a program, and initial label and control state; its other stack alphabets need not be finite. Input and output alphabet bijections transport the specified encoded lists to the corresponding stack alphabets. Computation starts with only the input stack populated, and reaches a halted configuration with the specified output on the output stack, all other stacks empty, and the control state reset to its initial value. Time counts executions of whole TM2 statements, each of which may contain several stack operations.