Commit Graph
306 Commits
Author SHA1 Message Date
cflmy 57a57745da fix(sema): remove duplicate derive and restore BoundCall Debug Clone Eq after StaticCallArg insertion 2026-11-18 13:32:30 +08:00
cflmy faafc75129 security(modular): require Lean replay of callee certificates before discharging caller preconditions 2026-11-18 13:02:08 +08:00
cflmy c0ac1f4599 security(proof): re-run Lean kernel on every imported receipt before accepting modular --verify 2026-11-18 13:01:49 +08:00
cflmy df9f7fea84 security(lean): reject modified goal module during kernel invocation 2026-11-18 13:00:29 +08:00
cflmy a198cbfdd0 test(proof): real imported call has exact actuals and generated Lean goal, not assumed proof 2026-11-18 13:00:01 +08:00
cflmy 9d41779c22 test(modular): keep unknown-argument preconditions pending rather than guessing a Lean bridge 2026-11-18 12:59:46 +08:00
cflmy 553bf1aeb0 security(proof): validate Lean source, plan cache key and embedded proof-library identity before reusing receipts 2026-11-18 12:58:56 +08:00
cflmy 9072e1b8a7 security(proof): derive VC actuals only after runtime-equivalent call normalization 2026-11-18 12:57:50 +08:00
cflmy 4b2f3c8e15 feat(cli): knowledge proof-deps --verify invokes Lean to discharge closed actual-argument preconditions 2026-11-18 12:57:33 +08:00
cflmy edd477c967 feat(lean): check closed modular precondition goals with real Lean process and timeout 2026-11-18 12:57:21 +08:00
cflmy 270d8b8148 feat(modular): expose instantiated actual-argument Lean goals and accept only kernel-discharge results 2026-11-18 12:57:10 +08:00
cflmy a1a933b112 feat(proof): expose closed callsite Lean verification conditions 2026-11-18 12:56:53 +08:00
cflmy d99d6e46d4 feat(proof): generate strictly closed actual-argument Lean precondition goals with checked i64 semantics 2026-11-18 12:56:34 +08:00
cflmy 40b87bd15e feat(sema): retain exact call-site arg identities and overflow-safe closed integer actuals for modular VCs 2026-11-18 12:56:12 +08:00
cflmy ebe795f847 security(proof): require call argument arithmetic itself to be closed and i64-safe before imported proof inlining 2026-11-18 12:51:55 +08:00
cflmy 50786ddea0 security(proof): keep imported division opaque pending interpreter-to-Lean quotient semantic equivalence 2026-11-18 12:51:44 +08:00
cflmy b168e56dd0 security(proof): reject unsafe i64 overflow and division-by-zero in imported pure-source proof inlining 2026-11-18 12:50:11 +08:00
cflmy 51aa97fb2c feat(prove): verify narrow pure imported leaf calls through exact source substitution rather than opaque model 2026-11-18 12:46:55 +08:00
cflmy 7ac2456b76 test(modular): even verified callee requires clause cannot self-discharge caller bridge 2026-11-18 12:46:28 +08:00
cflmy 267a304a04 fix(modular): use compiler-resolved caller identity in proof obligation graph 2026-11-18 12:45:45 +08:00
cflmy c4ccce13c0 fix(sema): bind every static call to exact owning SymbolId, never infer caller by source line 2026-11-18 12:45:39 +08:00
cflmy 51cb8d52f2 feat(proof): show declared but undischarged operation assumptions alongside proof receipts 2026-11-18 12:44:48 +08:00
cflmy ab6c781947 fix(proof): check --proof rejects malformed/misplaced assumption tables instead of silently treating as evidence 2026-11-18 12:44:30 +08:00
cflmy 4da9e2d775 fix(cli): proof-deps works with bare .mq.md filename in current directory 2026-11-18 12:44:10 +08:00
cflmy ab6eca1b68 fix(knowledge): accept bare filename as project root dot in Lean proof publication 2026-11-18 12:44:00 +08:00
cflmy 24cbc61ca5 test(modular): use canonical nested imported class path for bound-call proof obligations 2026-11-18 12:43:19 +08:00
cflmy 6854fcd33b feat(modular): bind caller assumption declarations to exact static callsite and expose pending obligations 2026-11-18 12:42:57 +08:00
cflmy 4ae150eb7b feat(knowledge): publish modular assumption identities and declarations in semantic graph 2026-11-18 12:42:47 +08:00
cflmy 6a9441d188 test(proof): GFM assumption tables remain metadata and coexist with theorem tables 2026-11-18 12:41:34 +08:00
cflmy 4495021b70 feat(prove): lower modular assumption declarations into explicit proof IR 2026-11-18 12:41:21 +08:00
cflmy c185078bb8 feat(contract): parse explicit assume-guarantee operation tables with strict row validation 2026-11-18 12:41:14 +08:00
cflmy a2cab8cdb1 feat(parse): extract GFM assumption tables before executable body without changing runtime semantics 2026-11-18 12:41:05 +08:00
cflmy 663c44ead7 feat(proof): carry non-executable assumption table declarations in function AST 2026-11-18 12:41:02 +08:00
cflmy ac3777882c feat(cli): add marqdo knowledge proof-deps --strict for machine-checkable modular proof obligations 2026-11-18 12:38:24 +08:00
cflmy 819051d2af feat(proof): audit verified callee receipts and independent caller claims without conflating graph audit with formal proof 2026-11-18 12:38:16 +08:00
cflmy 77989362ca fix(sema): bind imported calls to full declaration path for sound transitive proof invalidation 2026-11-18 12:36:36 +08:00
cflmy da0fc6a188 fix(proof): keep modular verifier compatible with Rust 1.81 2026-11-18 12:35:46 +08:00
cflmy 25833895db feat(knowledge): atomically publish proof obligation graph with semantic generation 2026-11-18 12:35:43 +08:00
cflmy 5c728b6581 feat(knowledge): expose module proof dependency planner 2026-11-18 12:35:40 +08:00
cflmy 980309a6e0 feat(proof): add fail-closed intermodule proof obligation graph and contract precondition tracking 2026-11-18 12:35:33 +08:00
cflmy 475a0d6810 fix(sema): initialize target_claim exactly once in both knowledge ref variants 2026-11-18 12:34:37 +08:00
cflmy 79f3eca2f3 security(proof): verify declared claim and original certificate content before publishing proved receipts 2026-11-18 12:05:21 +08:00
cflmy dc4acda005 fix(knowledge): borrow resolved source path in knowledge diagnostics 2026-11-18 12:03:30 +08:00
cflmy a856bc52f4 fix(knowledge): use explicit file path type in duplicate theorem diagnostics 2026-11-18 12:03:22 +08:00
cflmy 9f7ae6c919 fix(knowledge): duplicate theorem names and ambiguous anchor links fail closed with diagnostics 2026-11-18 12:03:16 +08:00
cflmy 6e5f9bafb7 feat(parse): treat canonical theorem mq://claim references as inert Markdown knowledge links 2026-11-18 12:03:08 +08:00
cflmy 206b142444 test(knowledge): theorem table declarations gain inert stable claim addresses 2026-11-18 12:03:03 +08:00
cflmy 34d90a114a feat(prove): bind receipts only when exact source theorem declaration and premise match 2026-11-18 12:02:43 +08:00
cflmy 1c06ed13e3 feat(knowledge): stable theorem claim identities in SemanticProject and inert claim references 2026-11-18 12:02:26 +08:00
cflmy 20f7602eb4 fix(knowledge): keep diagnostic positions in u32 source span representation 2026-11-18 12:01:42 +08:00