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

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