feat(prove): emit sidecar linking function claims to semantic identities
This commit is contained in:
1 parent
c989152c6d
commit
2826924361
1 file changed
+10
-2
+10
-2
@@ -434,7 +434,7 @@ pub fn prove_path(path: &Path, opts: &ProveOptions) -> Result<Report> {
|
||||
}
|
||||
}
|
||||
|
||||
Ok(Report {
|
||||
let report = Report {
|
||||
file: file_display,
|
||||
source_sha256,
|
||||
artifact_id: artifact_dir
|
||||
@@ -447,7 +447,15 @@ pub fn prove_path(path: &Path, opts: &ProveOptions) -> Result<Report> {
|
||||
emitted,
|
||||
lean: lean_info,
|
||||
duration_ms: started.elapsed().as_millis(),
|
||||
})
|
||||
};
|
||||
// Knowledge linkage is advisory. Failing to bind must not invent a proof
|
||||
// or change the judgment of the underlying v2.8.0 prover.
|
||||
if let Some(dir) = artifact_dir.as_deref() {
|
||||
if let Err(err) = crate::knowledge::proof::emit_links(path, &report, dir) {
|
||||
eprintln!("warning[knowledge.proof_linkage]: {err:#}");
|
||||
}
|
||||
}
|
||||
Ok(report)
|
||||
}
|
||||
|
||||
/// 离线判定(§5):checked/反例贴回定理,绝不冒充 proved。
|
||||
|
||||
Reference in new issue
Block a user