Commit Graph
331 Commits
Author SHA1 Message Date
cflmy 65779ef2ae feat(modular): explicitly distinguish Int abstraction from verified Marqdo runtime type domain 2026-11-18 13:51:42 +08:00
cflmy 6f4575e4d5 fix(proof): run Lean on Number-contract Int abstraction but never claim runtime type equivalence 2026-11-18 13:51:39 +08:00
cflmy 4a142843c8 feat(proof): admit only Int abstraction for Number contracts and generate omega path implication goals 2026-11-18 13:51:30 +08:00
cflmy 5b785a196c fix(proof): treat canonical number contract only as Int-model proof, never claim runtime i64 typing 2026-11-18 13:50:35 +08:00
cflmy a8e7b1bb05 debug(composition): explain precise AST, call binding, type and evidence rejection gates 2026-11-18 13:45:53 +08:00
cflmy 167d2fadda test(modular): print exact source-grounded eligibility diagnostics on composition regression failure 2026-11-18 13:44:39 +08:00
cflmy bf80f4527e feat(composition): return source-grounded rejection diagnostics for unsupported proof fragments 2026-11-18 13:44:18 +08:00
cflmy 7436ecaa3e fix(lean): emit actual newlines and indented tactic in independent caller and callee modules 2026-11-18 13:43:12 +08:00
cflmy 3a5c7478a0 feat(cli): knowledge replay checks independently issued composition certificate and current semantic source 2026-11-18 13:41:34 +08:00
cflmy ccf513aa4b feat(proof): independently replay caller composition certificate against current source and two Lean module hashes 2026-11-18 13:41:26 +08:00
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 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 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 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