You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[TS] Execute bigint values and arithmetic in usvm-ts #420
JacoDB now preserves bigint types and literals. That producer change does not implement a USVM bigint runtime sort, arithmetic, comparisons or witness/replay contract.
Remaining acceptance boundary
Add bounded exact bigint execution and reconstruction with correct Number mixing/TypeError semantics and symbolic/source replay regressions. Leave unimplemented operand forms explicitly unsupported.
Original report and acceptance context, retained for traceability
Problem
USVM's TypeScript symbolic machine cannot represent or execute BigInt values. TsContext.typeToSort has no BigInt sort, and BigInt cases in binary operators are TODOs. TsBigInt in the test-value API does not provide execution support.
Expected results: isTwoAfterIncrement(1n) === true and isTwoAfterIncrement(0n) === false. Add a case beyond Number.MAX_SAFE_INTEGER to prevent accidental conversion through IEEE-754 Number.
Represent symbolic BigInt inputs, arithmetic and equality with exact integer semantics for the supported operations.
Handle BigInt truthiness (0n is false; nonzero BigInt is true) and explicitly reject unsupported mixed BigInt/Number operations according to JavaScript semantics rather than silently coercing them.
Extract BigInt witnesses as BigInt values and confirm the reached result with concrete TypeScript/Node.js replay.
Keep unsupported BigInt operations explicit until modeled; they must not be reported as successful exact execution.
changed the title [-][TS] Track unsupported and approximate TypeScript symbolic semantics[/-][+][TS] Execute bigint values and arithmetic in usvm-ts[/+]on Oct 2, 2026
Activity
[-][TS] Track unsupported and approximate TypeScript symbolic semantics[/-][+][TS] Execute bigint values and arithmetic in usvm-ts[/+]