Commit Graph
703 Commits
Author SHA1 Message Date
cflmy 32859c48d3 test(modular): source-grounded independent composition accepts pure forwarding and rejects branches 2026-11-18 13:40:24 +08:00
cflmy 1cd0ddaa50 fix(prove): preserve existing proof tactic scaffold while separately simplifying imported arithmetic 2026-11-18 13:40:10 +08:00
cflmy 16d9cc1610 fix(lean): annotate polymorphic divergence type to discharge implicit universe inference 2026-11-18 13:39:34 +08:00
cflmy 1f730ad4fd test(lean): independent callee theorem imports into caller composition and produces scope-limited certificate 2026-11-18 13:39:02 +08:00
cflmy 8dede5b888 feat(cli): knowledge compose produces independent Lean import proof and restricted replayable composition certificate 2026-11-18 13:38:49 +08:00
cflmy ff1887d6a3 feat(knowledge): export independent two-module Lean composition prover 2026-11-18 13:38:42 +08:00
cflmy 54f38b1b40 security(composition): require exact resolved forwarded call identity and unique bound call 2026-11-18 13:38:24 +08:00
cflmy 92fee48910 feat(modular): create standalone Lean callee and caller modules with replayable composed certificate for pure typed-int forwarders 2026-11-18 13:38:00 +08:00
cflmy 4e61b33c90 feat(lean): compile independent imported Lean proof modules with timeout and source race detection 2026-11-18 13:37:40 +08:00
cflmy e5da4e90fd fix(prove): unfold bounded arithmetic helper equations in Lean auto proofs of imported pure functions 2026-11-18 13:36:32 +08:00
cflmy b9fc9f1dbf fix(knowledge): canonicalize empty parent as current directory when compiling bare filename 2026-11-18 13:36:20 +08:00
cflmy e833898fb5 feat(lean): total-correctness assume-guarantee theorem tracks plugin error and loop divergence explicitly 2026-11-18 13:35:41 +08:00
cflmy d8182ae405 feat(cli): Lean-check typed symbolic branch path goals as model proofs without upgrading runtime contract status 2026-11-18 13:35:08 +08:00
cflmy e48172153c test(modular): branch guard with typed symbolic caller param generates Lean implication without assuming callee result 2026-11-18 13:34:48 +08:00
cflmy 6807600404 feat(modular): publish symbolic guarded goals, block effects and loops before contract audit success 2026-11-18 13:34:39 +08:00
cflmy 986ddb0040 feat(proof): expose symbolic path-sensitive Lean goal generator 2026-11-18 13:34:32 +08:00
cflmy 9e09a4434f feat(proof): generate branch-guarded symbolic Int Lean goals without assuming runtime equivalence 2026-11-18 13:34:19 +08:00
cflmy 668c465658 feat(sema): preserve branch path predicates and loop blockers on bound calls for modular symbolic VCs 2026-11-18 13:33:51 +08:00
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 38785c5960 test(lean): remove redundant fixture string transformation in modular replay test 2026-11-18 13:03:25 +08:00
cflmy 8c93c9711b docs(modular): document real Lean receipt replay, closed callsite VCs and explicit incomplete proof boundaries 2026-11-18 13:02:44 +08:00
cflmy 1763891ba9 test(proof): kernel must replay callee proof and closed caller premise before contract becomes available 2026-11-18 13:02:18 +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 35bd542a04 test(proof): tampering with generated Lean source invalidates otherwise valid certificate 2026-11-18 13:01:05 +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 9e181704f5 test(proof): invalid actual argument cannot inherit verified callee proof 2026-11-18 12:58:19 +08:00
cflmy 88295a40c9 test(proof): end-to-end real Lean checks closed imported precondition and verified callee certificate 2026-11-18 12:58:07 +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 7d00043236 test(proof): reject overflowing actual call argument in cross-module source proof 2026-11-18 12:52:03 +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 42600c8a2c docs(proof): define limits of pure source transparency and bounded i64 arithmetic 2026-11-18 12:51:01 +08:00
cflmy 8e41337e17 test(proof): arithmetic overflow at imported call boundary remains opaque, not misproved by unbounded Lean Int 2026-11-18 12:50:20 +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 26fc74646c test(prove): verify actual call argument substitution across imported pure module with Lean 2026-11-18 12:49:28 +08:00
cflmy 70249bc972 test(prove): effectful imported calls remain opaque, never silently inlined for Lean 2026-11-18 12:47:29 +08:00
cflmy a1fd279641 test(prove): real Lean proves function across file import through sound pure-leaf source substitution 2026-11-18 12:47:06 +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