Commit 23e73cc
Rocq M1 fix: accept Verified_tier3_provenance in close_or_fail
CI surfaced the real next gap once Vampire was in the manifest list:
File "./rocq-bridge/hammer/Test.v", line 45, characters 2-14:
Error: proof_broker: cert minted but verifier rejected
(reason=verified_tier3_provenance,
tier=3 format=tstp-thf backend=vampire/5.0.1)
Good news: Vampire mints a clean Tier-3 tstp-thf cert for the HOL
goal and the SDK's TSTP verifier accepts it
(`Verified_tier3_provenance`). Bad news: the Rocq plugin's
`close_or_fail` only matches the older verified reasons
(`Verified_envelope | Verified_farkas | Verified_case_split |
Verified_tier3`) — the `Verified_tier3_provenance` constructor
was added on the Lean side when Phase-3 M2 (TSTP verifier)
landed, and the Rocq mirror never picked it up.
Add `Verified_tier3_provenance` to both:
* `close_or_fail`'s accept arm — invokes `closer_for_fragment`
on the cert's fragment, which now routes HOL/FOL to
`proof_broker_hol_closer` (hauto when ProofBrokerHammer is
imported).
* The `render_path` verbose form's `ok` boolean — so
`proof_broker?` debug output reports `ok=true` instead of
`false` for HOL Tier-3 certs.
Soundness: same gate as `Verified_farkas` gating lia. The
OCaml TSTP verifier has accepted the cert's envelope and
provenance (no smuggled axioms, refutes the negated goal,
reaches $false); whatever proof term hauto emits is then
kernel-checked, and the test theorem's `Print Assumptions`
footprint is gated by `tools/check_axioms.py`. Audit H1
unchanged.
Locally verified: SDK + Rocq plugin sources build clean.
The trust-gate verdict on hauto's actual axiom footprint
remains the open question — CI will report it.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e922bb2 commit 23e73cc
1 file changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
223 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
224 | 236 | | |
225 | 237 | | |
226 | 238 | | |
| |||
0 commit comments