From 57e060477a12458591e6ab4e00cda4e617463ec0 Mon Sep 17 00:00:00 2001 From: cflmy Date: Wed, 18 Nov 2026 15:04:38 +0800 Subject: [PATCH] fix(proof): restore literal backtick identifiers in real-Lean fixtures --- tests/prove_lean.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/prove_lean.rs b/tests/prove_lean.rs index 9327648..b6ceaf7 100755 --- a/tests/prove_lean.rs +++ b/tests/prove_lean.rs @@ -505,7 +505,7 @@ markup: occlusion # math ## identity -+ \`n\` ++ `n` | 参数 | 类型 | 说明 | |---|---|---| @@ -515,7 +515,7 @@ markup: occlusion |---|---|---| | exact | 结果 = n | auto | -*\`n\`* +*`n`* "#); s.write("main.mq.md",r#"--- markup: occlusion @@ -525,7 +525,7 @@ import: # main ## forward -+ \`input\` ++ `input` | 参数 | 类型 | 说明 | |---|---|---| @@ -535,7 +535,7 @@ import: |---|---|---| | forwarded | 结果 = input | auto | -**value = [调用](math.math.identity(\`input\`))** +**value = [调用](math.math.identity(`input`))** *value* "#); let out=s.marqdo().args(["knowledge","compose","--strict","--json","."]) @@ -566,7 +566,7 @@ import: assert_eq!(report["status"],"lean_kernel_replayed"); assert_eq!(report["full_marqdo_runtime_semantics_proved"],false); let original=fs::read_to_string(s.dir.join("math.mq.md")).unwrap(); - fs::write(s.dir.join("math.mq.md"),original.replace("*\`n\`*","*0*")).unwrap(); + fs::write(s.dir.join("math.mq.md"),original.replace("*`n`*","*0*")).unwrap(); let stale=s.marqdo().args(["knowledge","replay",cert,"--json","."]) .output().expect("replay changed projection"); assert!(!stale.status.success(),"modified callee cannot retain proof");