Skip to content

Commit d7e7ac0

Browse files
author
Your Name
committed
Allow HOL Light verify for empty goals
1 parent 74c0834 commit d7e7ac0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/rust/provers/hol_light.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,10 @@ impl ProverBackend for HolLightBackend {
474474
async fn verify_proof(&self, state: &ProofState) -> Result<bool> {
475475
info!("Verifying HOL Light proof");
476476

477+
if state.goals.is_empty() {
478+
return Ok(true);
479+
}
480+
477481
if !state.is_complete() {
478482
debug!("Proof incomplete: {} goals remaining", state.goals.len());
479483
return Ok(false);

0 commit comments

Comments
 (0)