Repository navigation
heinzelmen-2025-2
Target: Isabelle2025-2. This release is the first stability-tagged cut of the
AbductionProver for service deployment - created for, and validated against, the Heinzelmen
proof webservice, but usable by any harness that drives the prover in batch or via
Isabelle/jEdit.
Highlights
Prove, suggest, and solve inside Isar proofs. suggest prints a proof script for the
pending subgoal at any position (after the statement, inside proof - show,
mid-apply-chain); solve applies one directly. Emitted scripts state their auxiliary
lemmas plainly and reference them explicitly at the steps that use them - no global [simp]
declarations.
Stable under repeated interactive use. Searches within one Isabelle process are
serialized (max_parallel_searches, default 1), each starts with a full GC so the memory
guard sees the machine's real state, and the search gates are interrupt-safe under jEdit's
cancel-and-re-execute behavior. Validated: 21 consecutive serialized searches across two
machines with consistent per-goal outcomes.
False conjectures are refuted, not searched. A watchdog runs quickcheck, then nitpick,
beside every search; a genuine counterexample stops the search and reports refuted with
the counterexample itself (nitpick models included). Measured: a false goal answered in 16s
instead of consuming a 900s budget; nine plausible false statements all refuted by quickcheck
within 7s.
Partial proofs on timeout. Every progress_report_interval (default 300s) the search
writes the auxiliary lemmas proved so far to $PSL_PROOF_OUTPUT_DIR/<theory>_progress.thy -
atomically, from the search's first minute. Preprocessing-phase snapshots are standalone
lemma blocks that verify independently (measured, quick_and_dirty = false); a timed-out
search's final output is a pasteable proof - ... show ?thesis sorry qed block whose
auxiliary proofs are checked for real on paste.
A machine-readable outcome channel. verdicts.csv
(proved | unproved | proved-applied | refuted) is the sole verdict authority;
<theory>_refutation.txt records each refutation tool's own outcome and seconds.
An enforced consumer contract. Everything a consuming service parses - vocabulary, file
names, phrases, emission shapes - is pinned by golden fixtures in Contract_Test/ (seconds
to build; the recommended smoke target). Contract changes fail this repository's build and
appear as reviewable fixture diffs.
For integrators
Start from docs/2026_08_09_partial_proofs_guide.html (attached): intention, formats, paste
modes, verification status per shape, and the consumer protocol. Pin this tag and its
commit hash; vendor Contract_Test/fixtures/ into your own parser tests.
Known limitations
prove_timeout bounds when new work starts, not total wall time - in-flight attempts
overshoot (observed up to ~2-4x); size external walls accordingly. The nitpick refutation
budget (30s) is uncontradicted but untested on the goals it exists for; the per-tool record
exists so real traffic can settle it. Optional per-prover memory ceilings require registering
the repository as an Isabelle component (see README, "Bounding prover memory").