feat(proof): prioritize unified contract DAG while retaining legacy certificate replay

This commit is contained in:
cflmy committed 2026-11-18 16:37:53 +08:00
1 parent f84e79250c
commit d67689f295
1 file changed
+1
+1
View File
@@ -211,6 +211,7 @@ pub(super) fn eligible(c:&Compilation,call:&BoundCall)->bool{
pub(super) fn prove(c:&Compilation,out:&Path,lean:&Toolchain)->Result<Vec<Value>>{
let mut results=Vec::new();
for call in &c.semantics.bound_calls{
if super::unified::covers(c,&call.caller){continue}
let Some(plan)=candidate(c,call) else{continue};
let closure=closures(c,call)?;
let key=sha(format!("{}|{:?}|{}",plan.identity,closure,lean.version).as_bytes());