Consistency Auditing Between Formal Verification and Natural-Language Proofs

    This article examines why a natural-language proof and its machine-checkable formal counterpart can both pass their respective checks yet fail to describe the same proposition. It classifies common sources of mismatch, presents a five-step consistency-audit pipeline with pseudocode, and outlines how AI tools and human reviewers should divide work when checking specifications against implementations.

    1. Event Abstraction: Why Two “Passing” Texts Can Contradict Each Other

    A widely discussed recent case involved a research team that compared a natural-language mathematical argument of more than one hundred pages with a machine-checkable formal version of the same conclusion, item by item. The team ultimately identified at least two substantive inconsistencies between the two. The researchers also emphasized a key judgment: the proposition verified by the formal version holds under looser conditions than the original natural-language argument, so it cannot be used in reverse to prove that the natural-language argument is wrong. Both directions require independent verification.

    Abstracted away from the mathematical community, this is a classic problem that recurs in software and systems engineering: a specification and an implementation are each self-consistent, but they are not equivalent to each other. A natural-language document may read as flawless, and a formal script may pass its checker completely, yet the two do not describe the same proposition. The danger of this type of defect is that it will not be caught by automated checks at any single stage.

    2. Root-Cause Categories: Where Inconsistencies Usually Hide

    1. Unequal Proposition Strength (Looser vs. Stronger)

    A common “degradation” in formal versions is to weaken the conclusion into a form that can be solved automatically: removing a quantifier, changing “for all” to “there exists,” or changing an exact bound to an asymptotic bound. At this point the checker is all green, but what has been proved is weaker than the original document.

    2. Definition Drift

    The same symbol is given different definitions in the natural-language part and the formal part (for example, whether endpoints are included, whether normalization is applied, or whether the domain is an open interval or a closed interval). This is the most frequent and also the most hidden category.

    3. Implicit Assumptions Not Made Explicit

    A natural-language argument relies on “obvious” routine conditions (boundedness, commutativity, regularity), while the formal version either adds these premises or quietly bypasses them. Adding them weakens the proposition; bypassing them makes the formalization itself invalid.

    4. Boundary Conditions and Degenerate Cases

    Zero values, the empty set, singletons, extremal points, and limiting behavior at infinity are often handled in only one of the two texts.

    3. A Reusable Five-Step Audit Pipeline

    1. Step 1 Claim alignment: extract the "conclusion + all premises" from both sides and perform a structured diff
    2. Step 2 Strength determination: construct a counterexample/witness to confirm which side is stronger
    3. Step 3 Definition audit: list all shared symbols and check their definitions one by one
    4. Step 4 Assumption inventory: make implicit premises explicit and annotate the source paragraph
    5. Step 5 Independent review: two-person/two-tool cross-check; a single automated conclusion must not decide the case

    The corresponding pseudocode skeleton is tool-agnostic:

    1. def audit_consistency(nl_spec, formal_spec):
    2. c1, p1 = extract_claim(nl_spec) # Conclusion and premises on the natural-language side
    3. c2, p2 = extract_claim(formal_spec) # Conclusion and premises on the formal side
    4. report = []
    5. if not equivalent(c1, c2):
    6. report.append(("claim_mismatch", witness(c1, c2)))
    7. for sym in shared_symbols(c1, c2):
    8. if definition(nl_spec, sym) != definition(formal_spec, sym):
    9. report.append(("definition_drift", sym))
    10. missing = set(p1) - set(p2)
    11. if missing:
    12. report.append(("weakened_premise", missing))
    13. return report # For triage only; conclusions require human confirmation

    4. Division of Labor Between AI Tools and Humans

    The team’s approach has engineering reference value: first, prompts are fed to general-purpose AI coding/chat tools so that they scan the long document and companion code and flag suspicious areas; then humans spend consecutive days manually deriving formulas and code line by line. This division—machines handle recall, humans handle adjudication—precisely matches the shortcomings of each type of capability.

    • Suitable for models: locating and recalling large-scale text, initial screening of cross-paragraph symbol consistency, generating checklists to be verified, and aggregating scattered assumptions into a table.
    • Must remain with humans: judgment of proposition strength, construction of counterexamples, and final adjudication of definition equivalence. A model’s “looks contradictory” is only a clue, not a conclusion.

    From an engineering perspective, model output should be treated as a candidate defect pool, and every candidate should be required to carry locatable evidence (paragraph/line number/symbol). Otherwise, it should not enter the human queue, to avoid noise drowning out real issues.

    5. Transfer to Everyday Engineering: A Specification–Code Consistency Checklist

    1. Single source of truth: core constraints are defined in only one place, and documentation and code reference the same machine-readable specification to eliminate dual-write drift.
    2. Explicit premises: write “holds under the following conditions” into interface contracts and assertions, rather than leaving it in comments or verbal agreements.
    3. Strength regression: prepare “weak-proposition samples” for key constraints so that tests can distinguish strong and weak versions and prevent the implementation from being silently downgraded.
    4. Boundary cases on hand: empty inputs, extreme values, and degenerate structures must enter the baseline test set.
    5. Two-person review + traceable evidence: automation performs screening only; decisions are logged, and conclusions are reproducible.
    6. Reproducible environment: pin dependency versions and check configurations, and bring the audit process itself under version control.

    6. Conclusion

    “Formal verification passes” and “the natural-language argument holds” are two independent propositions, and neither side can replace verification of the other. The truly transferable methodology is this: first audit the equivalence of propositions and definitions, then use AI tools to expand recall and human judgment to converge on conclusions, and finally consolidate the entire process into a reproducible specification with an evidence chain. This approach applies not only to mathematical proofs, but also serves as a general foundation for specification-driven development, contract testing, and high-risk system reviews.