We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3af544a commit 74c0834Copy full SHA for 74c0834
1 file changed
src/rust/provers/isabelle.rs
@@ -223,6 +223,12 @@ impl ProverBackend for IsabelleBackend {
223
}
224
225
async fn verify_proof(&self, state: &ProofState) -> Result<bool> {
226
+ if state.goals.is_empty() {
227
+ return Ok(true);
228
+ }
229
+ if state.goals.iter().all(|g| matches!(&g.target, Term::Const(c) if c == "True")) {
230
231
232
let theory_content = self.export_theory(state)?;
233
let temp_path = std::env::temp_dir().join("echidna_verify.thy");
234
tokio::fs::write(&temp_path, &theory_content).await.context("Failed to write temp file")?;
0 commit comments