Use the arithmetical proof relation and coding just constructed. A formal proof of cannot have code , since that code was reserved for . Every candidate code for a formal proof of is therefore positive. But code is already a formal proof of , so the no-earlier-negation condition fails for every candidate. Hence
PA proves by induction, while has as an added axiom. Thus is inconsistent and its ordinary arithmetical provability predicate is true of every first-order sentence, including . The displayed negative Rosser assertion can nevertheless be true, because the Rosser condition compares the order of opposite formal proofs rather than asking for their mere existence.
There is an important coding qualification. The PDF refers to a course formal proof coding but does not specify its numerical ordering. The truth of this Rosser assertion for an inconsistent first-order theory is not coding-invariant, so formal proof length alone cannot establish it for an unspecified fixed coding. For example, a different legitimate numbering could reserve code for a known PA formal proof of , code for the new axiom , and higher codes for all other derivations. Then code would witness instead. The explicit allowed construction in part (i) supplies a convention under which the requested assertion holds; interpreting it as a claim about some externally fixed course numbering requires that numbering's corresponding order property.
Let denote the addition-commutativity first-order sentence and put . In the ordinary checker for PA derivations, replace the axiom test by
Keep all tests for sequence formation, earlier lines, logical axiom schemes and inference rules unchanged. This gives a formal proof checker which recognizes exactly ordinary -derivations. The finite syntactic modification is arithmetizable by the same bounded coding apparatus as the original checker.
For the proof-order comparison in the next part, make the choice of coding explicit. Reserve code for the one-line derivation of the newly added axiom , and give an ordinary derivation with code the new code . A corresponding bounded relation is
Every code has a specified decoding, every genuine formal proof is represented, and no false formal proof is admitted. The reserved code duplicates one genuine derivation, which is harmless. This is one explicit arithmetized arithmetical proof relation obtainable from the PA checker by the requested axiom change and a simple renumbering. Stating the proof-order convention matters because a Rosser predicate symbol uses code order, not merely the existence of formal proofs.
Take a first-order sentence refutable in and suppose, toward contradiction, that a first-order consistent proved . Propositional logic would then give
Löb's inference, applied with , would give , contradicting the existing formal proof of . Hence first-order consistency excludes the proposed formal proof of non-provability.
Thus the familiar unprovability of the first-order consistency statement associated with a refutable first-order sentence is a special consequence of the general rule
The general rule applies to every first-order sentence, not just a chosen false or refutable one.
Under the arithmetical interpretation , the Löb axiom says that a formal proof of the local reflection implication for already entails a formal proof of :
It is a formalized constraint on self-verification of a formal proof system. Externally, Löb's theorem says that if the system itself proves its own local reflection implication for , it proves . Distribution reflects closure of formal proofs under implication, necessitation reflects that a theorem has an arithmetically recognizable formal proof, and positive introspection reflects formal proof verification inside arithmetic.
Taking to be a refutable first-order sentence, especially a contradiction, recovers the obstruction behind the second incompleteness theorem: a first-order consistent sufficiently strong system cannot prove the corresponding claim that no formal proof of that first-order sentence exists. This does not identify provability with truth, nor grant the unrestricted factivity principle as a theorem of the system. The Löb axiom is the characteristic additional scheme of Gödel–Löb provability logic.
For the nontrivial direction suppose every finite subset of is satisfiable. If were inconsistent, a finite formal derivation of a contradiction would use only finitely many premises . Soundness of an arithmetic theory would then exclude a first-order model of , contradicting finite satisfiability. Therefore is first-order consistent. The completeness theorem, proved by adjoining witnesses and constructing a Henkin term model, supplies a first-order model of .
The reverse direction is immediate by restriction of the list of required first-order sentences. The key reason compactness theorem follows from syntactic completeness is that every formal proof uses only finitely many premises, even when the whole first-order theory is infinite.
Proof theory Created 2026-10-14 Updated 2026-10-18
Proof theory studies formal proofs and the deductive systems that produce them. It examines which conclusions follow from axioms, how proofs can be transformed, and what those transformations reveal about the chosen logic. Natural deduction organizes a proof through introduction and elimination rules for logical connectives and quantifiers.
If a first-order theory proves both and , the external truth of its Rosser provability predicate for depends on which side has the earlier formal proof code. A reserved least code for a formal proof of makes the Rosser assertion false. Reserving the least code for a formal proof of makes it true. These are legitimate effective renumberings of the same formal proofs. Inconsistent first-order theories therefore require an explicit proof-order convention.
seL4 verification scope 2026-10-14
Formal verification uses machine-checked formal proofs to establish functional correctness: the C implementation of verified seL4 configurations conforms to its formal specification. Binary correctness connects compiled machine code to that C behaviour where supported. Separate security formal proofs cover integrity, resource-access availability and confidentiality under their configuration requirements; these properties are not all available in every configuration. For example, the documented confidentiality theorem separates scheduler security domains rather than arbitrary pairs of software threads. [ref]
The documented assumptions include correct hardware, selected handwritten machine-interface code, correct boot state, translation lookaside buffer and memory cache management, and noninterfering or trusted DMA. The confidentiality result covers information channels in its model; the assumptions page explicitly excludes timing channels from that coverage. [ref]
Return to READ(7, 9, 0, 4). Correct IPC delivery does not establish that the service looked up the right file, returned LIME, or ever replied. A service can produce an incorrect payload while the operating-system kernel exactly follows its formal specification. The formal proofs therefore do not automatically prove all user-space services, nor turn the resource-access availability theorem into a guarantee that this file read completes. The verified foundation supports further algorithm correctness and system reasoning; the service protocol and its recovery obligations still need their own justification.
// Destination: computer-science.bigb
Theoremhood 2026-10-31
Theoremhood is formal derivability with no undischarged assumptions. A logical formula is a theorem of a calculus exactly when it has an assumption-free formal proof.
Uniform substitution in modal logic Created 2026-10-31 Updated 2026-11-05
Uniform substitution in modal logic replaces each occurrence of a propositional variable by the same modal formula. Normal modal formal proof systems with axiom schemes are closed under this operation: substituted axioms remain instances, modus ponens is preserved, and necessitation commutes with substitution. Fresh auxiliary letters permit substituting a derived fixed point into fixed-point uniqueness theorems without changing other parameters.