6.5. Reconstruction Fails After Unsat
Solving and proof reconstruction have different capabilities.
SMT can prove datatype cardinality, finite-array, native higher-order, or long
theory combinations that the current replay and finisher set cannot reproduce.
The tested cvc5 1.3.4 backend has certificate gaps for datatype cardinality,
finite-array encodings, native higher-order solving, and signed
bitvector-to-Int conversion. When it cannot emit a certificate,
crush.reconstruct "auto" can still try core-directed reconstruction.
For the core path, add with [...] facts
or a using finisher, register a reusable @[crush_reconstruct] theorem, or
split the goal into smaller steps. Core reconstruction needs an unsat core,
available from Z3 and cvc5.
For Alethe replay, the first failure identifies the layer:
-
term-gap: a certificate term could not be decoded. A custom operator may needregister_crush_replay term; some terms also need evidence such as nonemptiness of a Lean type. -
rule-gap: the terms decoded, but Lean could not prove the inference or validate a source assumption. Useregister_crush_replay rule. -
certificate-erroror a missing-certificate message: cvc5 supplied no usable proof. A replay registration cannot fix this; try"auto"or"core". -
malformed-certificate: the certificate's structure or premise references could not be replayed. -
kernel-rejectorreplay-exception: inspect the failing step and extension for an invalid proof or implementation error.
See Extending Alethe Replay for registration examples.
If a trusted result is acceptable, choose an explicit
trust policy; strict Alethe mode never takes
the "reconstructOrTrust" fallback.
Do not interpret reconstruction failure as evidence that the goal is false. It means only that lean-crush could not construct a checked Lean proof for the solver's refutation.
To inspect core reconstruction attempts without dumping SMT-LIB:
set_option trace.crush.reconstruct true set_option trace.crush.result true