mirror of
https://github.com/paradigmxyz/solidity-lean.git
synced 2026-11-15 19:56:39 +00:00
Rename this project's name/nickname "Solidus" to "solidity-lean" and the
package "solid-core-spine" to "solidity-lean" across docs, Lean comments,
the contest tooling, and fixture comments.
- lakefile.lean / lake-manifest.json: package «solid-core-spine» → «solidity-lean».
- docs/solidus-solc-deep-comparison.md → docs/solidity-lean-solc-deep-comparison.md
(git mv), with every reference updated (docs, Lean, manifest, fixture comments).
- contest/: renamed the functional wire token solidus-reject → solidity-lean-reject
(Lean emitter + Python parser) and all internal identifiers (run_solidus_observable,
SolidusResult, is_solidus_reject, evidence keys, temp dirs) consistently.
- Preserved: EvmCompiler.Solidus and all references clearly naming the sibling
../evm-compiler project (ARCHITECTURE.md, ROADMAP.md, docs/compile-to-yul-readiness.md),
the SolidCore Lean namespace, the keccak256("solid-core-spine …") fixture strings,
and the external solid-core-spine-audit path.
Gates: lake build (1102 jobs) OK; scripts/smoke_replay.sh SMOKE_JOBS=6 status=0
paired_cases_passed=yes; contest/run_samples.py ALL SAMPLES CLASSIFIED CORRECTLY;
manifest case count unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
745 KiB
745 KiB
Progress Log
- 2026-06-28 07:55:01 PDT - typechecker/custom-error-static-acceptedness - paired custom-error static acceptedness against pinned solc and the common checker. Added invalid solc lanes for reserved
Error/Panicnames, duplicate error parameter names, unknown custom-error reverts, free custom-error overloading, data-location annotations on error parameters, and local-error shadowing of a free error with the wrong argument shape; addedcustomErrorStaticDisciplineMatchescovering those rejections plus accepted named custom-error arguments,requirewith custom-error payloads, file/contract error shadowing with matching local shapes, and dynamic string error payloads. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedcustom-errorharness withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; full paired replay withforge_interpreter_compare=pass,status=0,cases=93, andpaired_cases_passed=yes; manifest parse reportscases=93,solc_rejects=227, andlean_evals=374; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 07:19:52 PDT - typechecker/try-catch-static-acceptedness - paired try/catch static acceptedness against pinned solc and the common checker. Added invalid solc lanes for internal function calls, low-level calls, array push calls, literals, return-type mismatch, missing catch clauses, invalid bytes return locations, duplicate try return names, bad catch
Errorheader, duplicateError/Paniccatches, and duplicate low-level catches; addedtryCatchStaticDisciplineMatchescovering those rejections plus accepted external-function, contract-member, bytes-memory return, Error/Panic/bytes catch, and contract-creation try forms. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedtry-catchharness withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; full paired replay withforge_interpreter_compare=pass,status=0,cases=93, andpaired_cases_passed=yes; manifest parse reportscases=93,solc_rejects=220, andlean_evals=373; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 06:44:01 PDT - typechecker/event-static-acceptedness - paired event static acceptedness against pinned solc and the common checker. The shared source-declarations fixture now imports accepted external-function event parameters, three-indexed non-anonymous events, and four-indexed anonymous events; invalid lanes require pinned-solc rejection of mapping event parameters, free mapping events, internal-function event parameters, non-anonymous events with four indexed params, anonymous event
.selector, and unknown emitted events. AddedeventStaticDisciplineMatchesand a manifest eval for the common checker. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationsharness withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; full paired replay withforge_interpreter_compare=pass,status=0,cases=93, andpaired_cases_passed=yes; manifest parse reportscases=93,solc_rejects=205, andlean_evals=372; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 06:08:31 PDT - compaction-resume/typechecker-status - resumed after compaction to answer how close the common Solidity typechecker is to full solc-faithful coverage; current checkpoint is the 93-case corpus with 199 pinned-solc rejection lanes and 371 Lean eval witnesses after the callable-header and fallback/receive override slice.
- 2026-06-28 06:06:16 PDT - typechecker/callable-header-and-fallback-override-acceptedness - paired callable header and fallback/receive override acceptedness against pinned solc and the common checker. The shared source-declarations fixture now compiles accepted fallback and receive overrides, and invalid lanes require pinned-solc rejection of missing fallback
override, payable-over-nonpayable fallback override, virtual constructors, virtual/payable free functions, and bodyless fallback declarations withoutvirtual. AddedcallableHeaderAndOverrideDisciplineMatchesand a manifest eval for the common checker. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationsharness withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; full paired replay withforge_interpreter_compare=pass,status=0,cases=93, andpaired_cases_passed=yes; manifest parse reportscases=93,solc_rejects=199, andlean_evals=371; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 05:30:24 PDT - typechecker/constructor-visibility-acceptedness - paired Solidity's deprecated constructor-visibility discipline against pinned solc and the common checker. The shared source-declarations fixture now imports accepted concrete
publicand abstractinternalconstructors from solc AST, and invalid lanes require pinned-solc rejection of concreteinternal, abstractpublic,private, andexternalconstructors. AddedconstructorVisibilityDisciplineMatchesand a manifest eval for the common checker. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationsharness withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; full paired replay withforge_interpreter_compare=pass,status=0,cases=93, andpaired_cases_passed=yes; manifest parse reportscases=93,solc_rejects=193, andlean_evals=370; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 04:24:19 PDT - typechecker/unchecked-placement - paired unchecked-block placement acceptedness against pinned solc and the common checker. Added invalid solc lanes for nested unchecked blocks and modifier placeholders inside unchecked blocks, plus the common-checker aggregate
uncheckedPlacementDisciplineMatchescovering ordinary unchecked arithmetic acceptance and the two placement rejections. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedchecked-arithmeticandmodifier-orderharness withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; full paired replay withforge_interpreter_compare=pass,status=0,cases=93, andpaired_cases_passed=yes; manifest parse reportscases=93,solc_rejects=189, andlean_evals=369; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 04:19:35 PDT - compaction-resume/typechecker-status - resumed after compaction to answer how close the common Solidity typechecker is to full solc-faithful coverage; current checkpoint is the 93-case corpus with 187 pinned-solc rejection lanes and 368 Lean eval witnesses, plus the unchecked-placement slice still pending fixture wiring.
- 2026-06-28 04:16:40 PDT - typechecker/loop-control-placement - paired loop-control placement acceptedness against pinned solc and the common checker. Added invalid solc lanes for
breakandcontinueoutside loops and the common-checker aggregateloopControlPlacementDisciplineMatches, while the existingloop-controlpositive lane continues to executebreak/continueinsidewhileandforloops through Forge and imported Lean. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedloop-controlharness withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93, and all hard gates zero; manifest parse reportscases=93,solc_rejects=187, andlean_evals=368; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 04:12:50 PDT - typechecker/local-binding-scope-acceptedness - paired local binding scope acceptedness against pinned solc and the common checker. Added a pinned-solc invalid lane for duplicate same-block local declarations, added
localBindingScopeDisciplineMatchescovering duplicate-local rejection and nested-block shadowing acceptance, and extended the source-declarations Forge/imported-Lean fixture withnestedShadowto execute accepted nested local shadowing at the abstract source layer. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationsharness withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93, and all hard gates zero; manifest parse reportscases=93,solc_rejects=185, andlean_evals=367; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 04:08:23 PDT - typechecker/tuple-destructure-static-rejections - extended tuple destructuring acceptedness evidence beyond value-position holes. Added pinned-solc invalid lanes and common-checker aggregate evidence for tuple declarations without required initializers, tuple declaration type mismatch, tuple assignment arity mismatch, tuple assignment type mismatch, and tuple assignment non-lvalue targets; the focused tuple lane still executes positive tuple returns, destructuring, omitted binding slots, and tuple assignment. Verification:
lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedtuple-destructureharness withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93, and all hard gates zero; manifest parse reportscases=93,solc_rejects=184, andlean_evals=366; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 04:04:38 PDT - typechecker/tuple-hole-value-positions - paired tuple-hole acceptedness against pinned solc and the common checker. The existing positive tuple lane already covers omitted tuple components in declaration and assignment binding positions; this slice adds invalid solc lanes and checker witnesses for omitted tuple components in value positions: return values, tuple declaration initializers, and tuple assignment right-hand sides. Verification:
lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedtuple-destructureharness withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93, and all hard gates zero; manifest parse reportscases=93,solc_rejects=179, andlean_evals=365; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 04:00:19 PDT - typechecker/array-literal-acceptedness - paired array-literal acceptedness against pinned solc and the common checker. Added invalid solc lanes for empty array literals and mixed literals with no common element type, plus checker witnesses
emptyArrayLiteralRejected,mixedArrayLiteralRejected, andarrayLiteralAcceptednessDisciplineMatches; the existingexpression-primitivespositive lane continues to execute fixed-size inline array literals. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedexpression-primitivesharness withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93, and all hard gates zero; manifest parse reportscases=93,solc_rejects=176, andlean_evals=364; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 03:56:22 PDT - typechecker/call-option-nonexternal-invalid-lanes - tightened pinned-solc acceptedness evidence for call-option placement without changing the source semantics. Added invalid solc lanes for call options on
super, internal identifier calls, internal function-pointer calls, and array-member calls, plus named low-level call arguments; added the common-checker aggregatenonExternalCallOptionPlacementDisciplineMatchesand threaded the new evidence through thehigh-level-call-options/low-level-call-optionsmanifest cases. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focused harness--only high-level-call-options --only low-level-call-optionswithsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93, and all hard gates zero; manifest parse reportscases=93,solc_rejects=174, andlean_evals=363; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 03:49:35 PDT - compaction-resume/typechecker-status - resumed after compaction to answer how close the common Solidity typechecker is to full solc-faithful coverage; checkpoint is a narrow audit of current roadmap, checker surface, and harness evidence.
- 2026-06-28 03:47:48 PDT - typechecker/abi-selector-signature-acceptedness - extended ABI encoding helper acceptedness evidence for
abi.encodeWithSelectorandabi.encodeWithSignature. The common checker now has explicit examples rejecting non-bytes4selector first arguments and non-string signature first arguments, and theabi-encoding-helpersharness has matching pinned-solc invalid lanes. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedabi-encoding-helpersharness withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93, and all hard gates zero; manifest parse reportscases=93,solc_rejects=169, andlean_evals=362; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 03:43:51 PDT - typechecker/concat-builtins-acceptedness - extended concat builtin acceptedness evidence. Added common-checker examples for accepted
bytes.concat/string.concat, rejected non-bytesbytes.concat, rejected non-stringstring.concat, and checker-only named concat rejection; added pinned-solc invalid lanes for the ordinary type errors. Pinned solc 0.8.35 ICEs onbytes.concat({x: ...}), so that named-argument form is intentionally not treated as a diagnostic solc-reject lane. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedabi-encoding-helpersharness withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93, and all hard gates zero; manifest parse reportscases=93,solc_rejects=167, andlean_evals=362; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 03:38:45 PDT - semantics/concat-builtins-paired - extended the shared
abi-encoding-helperscorpus to pair Soliditybytes.concatandstring.concatagainst Forge/pinned solc and imported Lean. The new fixture checks fixed-bytes plus dynamic-bytes byte concatenation and unicode-aware string concatenation through the existing abstract source byte/string value model, with no compiler memory-layout modeling. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedabi-encoding-helpersharness withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93, and all hard gates zero; manifest parse remainscases=93,solc_rejects=165, andlean_evals=362; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 03:34:16 PDT - semantics/external-call-ternary-contexts - extended the paired
abi-malformedcorpus to pin high-level externalboolcalls embedded in ternary local-declaration initializers and assignment right-hand sides, in addition to direct ternary returns. Forge/pinned solc and imported Lean now agree that malformed external bool return data reverts with empty data for all three contexts; no source-code projection patch was needed because the existing conditional-assignment path already sequencesconditionUseCoreWithInternalCalls?before branch assignment. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedabi-malformedharness withforge=ok lean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93, and all hard gates zero; manifest parse remainscases=93,solc_rejects=165, andlean_evals=362; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 03:29:48 PDT - compaction-resume/external-call-ternary-contexts - resumed while auditing high-level external calls embedded in ternary conditions beyond direct return position, after the direct-return slice passed the full 93-case replay.
- 2026-06-28 03:23:24 PDT - semantics/external-call-ternary-condition - resolved the checked executable projection gap for high-level external calls embedded directly in ternary conditions. Single-return ternary returns now fall back to source-level
if/elsereturn branches for nonempty return lists, so the existing condition handler can sequence high-level external call decoding before branch selection without exposing EVM memory layout. Theabi-malformedfixture now keeps the direct solc shapereturn I(target).boolValue() ? 1 : 0;and checks malformed bool return data as an empty-data revert. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck;lake build SolidCore.Spine.L00_SourceSolidity.Checked; focusedabi-malformedharness withforge=ok lean=ok; focused expression/call regression ring (expression-control,function-calls,high-level-call-options,abi-function-values,try-catch) withcases=5andpaired_cases_passed=yes; complete paired replay withforge_interpreter_compare=pass,status=0,cases=93, andpaired_cases_passed=yes; pinned-solc AST audit withsources=93,rendered_sources=93, and all hard gates zero; manifest parse reportscases=93,solc_rejects=165, andlean_evals=362; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan, andgit diff --checkare green. - 2026-06-28 02:28:50 PDT - compaction-resume/external-call-ternary-condition - resumed the active Solidity source-semantics goal while implementing the high-level external-call-in-ternary-condition projection gap exposed by the ABI bool canonicality slice.
- 2026-06-28 02:22:29 PDT - semantics/abi-bool-canonicality - extended the paired
abi-malformedharness to cover SolidityboolABI canonicality. Forge/pinned solc and imported Lean now agree that malformedboolwords such as2reject with empty-data reverts for external dispatch,abi.decode, and high-level external return decoding, while preserving the existing permissive dynamic-byte padding/offset behavior. Verification: focusedabi-malformedharness passed withforge=ok lean=ok; focused ABI regression batch (abi-malformed,abi-struct-tuples,abi-encoding-helpers,abi-coder-modes,abi-function-values) passed withcases=5andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit passed withsources=93,rendered_sources=93, and all hard gates zero; manifest parse reportscases=93,solc_rejects=165, andlean_evals=362; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. Full 93-case replay was not rerun for this focused ABI canonicality slice. - 2026-06-28 02:22:29 PDT - architecture-risk/external-call-ternary-condition - while adding the bool ABI return fixture, a solc-accepted helper shaped as
return I(target).boolValue() ? 1 : 0;exposed that the checked executable projection does not yet support high-level external calls embedded directly in ternary conditions. The ABI slice binds the external bool return to a local before the ternary to keep this checkpoint focused; ROADMAP now tracks a separate required semantics slice for high-level external calls inside non-call expression contexts with source-order and malformed-return behavior. - 2026-06-28 02:11:56 PDT - semantics/typechecker/event-error-shadowing - promoted a paired solc/Forge/imported-Lean
event-error-shadowingharness case. The fixture checks free event/error declarations, named event argument reordering, contract-local event/error shadowing, inherited event/error selectors/topics, and ABI revert payload selectors forFileBad(uint256),FileBad(address), andCollision(). Verification: focusedevent-error-shadowingharness passed withforge=ok lean=ok; focused event/error regression batch (event-emitter,event-indexed-dynamic,custom-error,custom-error-dynamic,event-error-shadowing) passed withcases=5andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit passed withsources=93,rendered_sources=93, and all hard gates zero; manifest parse reportscases=93,solc_rejects=165, andlean_evals=361; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. Full 93-case replay was not rerun for this focused event/error ABI slice. - 2026-06-28 02:08:52 PDT - compaction-resume/typechecker-status - resumed after compaction to answer the active Solidity source-semantics goal's typechecker completeness status; checkpoint is a repo-grounded audit of the common checker versus remaining solc-faithfulness gaps.
- 2026-06-28 02:01:53 PDT - typechecker/fixed-point-boundary - promoted a pinned-solc static
fixed-point-boundaryharness case for Solidity's current fixed/ufixed declaration-only surface. Added importer support forfixedMxN/ufixedMxNelementary type names, a valid solc-import source with a fixed-point user-value-type underlying, private fixed/ufixed declarations, a fixed-point mapping key, and an unused local declaration, plus nine invalid solc lanes for bad fixed-point shape, executable arithmetic/literals/initializers/public getter/local init, implicit fixed conversion, and fixed-point bitwise use. Existing common-checker and checked aggregate gates now have manifest evidence. Verification: focusedfixed-point-boundaryharness passed withsolc_rejects=ok forge=skipped lean=ok;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit passed withsources=92,rendered_sources=92, and all hard gates zero; manifest parse reportssolc_rejects=165andlean_evals=358; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. Full 92-case replay was not rerun for this static checker/frontend boundary case. - 2026-06-28 01:55:08 PDT - typechecker/fallback-receive-forms - paired Solidity fallback/receive callable-form acceptedness against pinned solc and the common checker. Existing checker behavior already matched solc for interface fallback/receive declarations, typed fallback shape, untyped/payable fallback mutability, receive shape, duplicate fallback/receive declarations, and library rejection; added accepted/rejected source witnesses, checked-projection coverage, 14 invalid pinned-solc fixtures, and a focused manifest eval
commonTypecheckerFallbackReceiveForms. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationsharness with pinned solc passed withsolc_rejects=ok forge=ok lean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit passed withsources=91,rendered_sources=91, and all hard gates zero; manifest parse reportssolc_rejects=156andlean_evals=355; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. Full 91-case replay was not rerun for this focused checker/invalid-lane extension; the immediately preceding full replay at 01:38 remained green and the focused case covers every changed harness path. - 2026-06-28 01:54:29 PDT - compaction-resume/fallback-receive-forms - resumed the active Solidity source-semantics completion goal after focused fallback/receive callable-form acceptedness checks were green; checkpoint is recording roadmap/progress and final hygiene.
- 2026-06-28 01:46:01 PDT - typechecker/callable-data-locations - extended declaration data-location acceptedness to constructor and modifier parameter forms. Fixed the common checker to match solc's constructor storage boundary by allowing storage reference constructor parameters only on abstract contracts while continuing to reject calldata constructor parameters and deployable concrete storage constructors; added accepted witnesses for modifier storage/memory/calldata reference parameters and rejected witnesses for missing modifier locations and value-typed modifier locations. Added pinned-solc invalid fixtures for constructor missing/calldata/concrete-storage/value-memory params and modifier missing/value-memory params, plus an accepted abstract storage-constructor source in
source-declarations. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationswith pinned solc passed withsolc_rejects=ok forge=ok lean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit passed withsources=91,rendered_sources=91, and all hard gates zero; manifest parse reportssolc_rejects=142andlean_evals=354; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. Full 91-case replay was not rerun for this focused extension; the immediately preceding full replay at 01:38 remained green and the focused case covers every changed harness path. - 2026-06-28 01:38:29 PDT - typechecker/declaration-data-locations - paired Solidity declaration data-location acceptedness against pinned solc and the common checker. Added invalid-source lanes for missing struct parameter/return locations, value-type
memoryparameter spelling, and event/errorstring memoryparser rejection; added a common-checker aggregate for reference parameter/return location rejection, value-type location rejection, and custom-error data-location rejection, plus checked-projection coverage for missing struct return locations. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationsharness with pinned solc passed withsolc_rejects=ok forge=ok lean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit passed withsources=91,rendered_sources=91, and all hard gates zero; complete paired replay passed withforge_interpreter_compare=pass,status=0,cases=91, andpaired_cases_passed=yes; manifest parse reportssolc_rejects=136andlean_evals=354; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 01:03:13 PDT - compaction-resume/declaration-data-locations - resumed the active Solidity source-semantics completion goal; current checkpoint is pairing declaration data-location acceptedness for parameters, returns, events, and errors against pinned solc and the common checker.
- 2026-06-28 00:58:38 PDT - typechecker/call-option-acceptedness - paired Solidity call-option placement and typing acceptedness against pinned solc and the common checker. Added invalid-source lanes for creation
gas, bad/duplicatesalt, high-level externalsalt/signed gas/duplicate value/unknown options, and low-level staticcall/delegatecall value, low-level salt, and signed staticcall gas; added common-checker aggregates for creation, high-level, and low-level option rules, and threaded the rejection discipline through the checked aggregate. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedcreate-options,high-level-call-options, andlow-level-call-optionsharnesses with pinned solc all passed withsolc_rejects=ok forge=ok lean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit passed withsources=91,rendered_sources=91, and all hard gates zero; manifest parse reportssolc_rejects=131andlean_evals=353; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan,git diff --check, and generated-cache cleanup are green. Full 91-case replay was not rerun for this invalid-lane/checker-eval extension; the immediately preceding full replay remained green and the focused cases cover every changed harness path. - 2026-06-28 00:50:08 PDT - compaction-resume/call-option-acceptedness - resumed the active Solidity source-semantics completion goal; current checkpoint is pairing
{gas,value,salt}call-option placement and typing acceptedness against pinned solc and the common checker. - 2026-05-20 08:11 PDT - compaction-resume - resumed the active Forge/solc/interpreter harness expansion goal; current checkpoint is 59 paired cases passing, and the next step is adding another real-project source-semantics slice.
- 2026-05-12 08:42:09 PDT - planning - created full Yul-to-EVM refactor roadmap; first implementation target is a theorem-bearing expression-to-stack slice with gas excluded.
- 2026-05-12 08:49:05 PDT - proof - added
SolidCore.Spine.YulEvm.Interfacewith normalized expression fragment, stack-layout relation, compilercompileExpr, and theoremcompileExpr_correct; narrow commandlake env lean SolidCore/Spine/YulEvm/Interface.leangreen. - 2026-05-12 08:56:43 PDT - proof - added stack-code to
L04_StackCfglowering for supported pure ops and theoremcompileExpr_toStackCfg_correct; narrow commandlake env lean SolidCore/Spine/YulEvm/Interface.leangreen. - 2026-05-12 09:16:40 PDT - proof - added
compileReturnExprToStackCfg?and theoremcompileReturnExprToStackCfg?_semantics; fixed existingL00_SourceSoliditytermination annotations that blocked a clean rebuild; commandslake build SolidCore.Spine.YulEvm.Interfaceandlake buildgreen, no-hole audit green. - 2026-05-12 09:19:30 PDT - proof - added tiny end-to-end witness
returnWord0Expr_to_l06_semanticsfrom the new YulEvm route through P05/P06 into L06; commandlake buildgreen, no-hole audit green. - 2026-05-12 08:45:26 PDT - proof - added checked
subexpression slice through L01/L02/L03, P01/P02/P03, andPublicClaims; commandlake build SolidCore.Spine.PublicClaims; result green. - 2026-05-12 11:20:49 PDT - semantics - added internal-call-aware modifier placeholder replacement for source lowering, so modifier bodies can contain direct high-level external calls before/after
_; examplesdirectExternalCallModifierMatchesand try/catch modifier checks green. - 2026-05-12 11:20:49 PDT - bottleneck - source/Yul/EVM 22-target build green, but broad P01/PublicClaims rebuild fails in existing P01 proof obligations around equality-folding lemmas and
FunctionDecl.toCore?unfolding after the source modifier lowering change; source semantics path remains green. - 2026-05-12 11:25:39 PDT - proof - broadened YulEvm pure op lowering to
lt,gt, bitwiseand/or/xor, andnot, with L04 execution and stack-depth effects; commandlake build SolidCore.Spine.YulEvm.Interface; result green. - 2026-05-12 11:25:39 PDT - proof - added first structured statement slice
Stmt.returnExpr/non-shadowingStmt.letIn, compilercompileStmtToStackCfg?, accepted-input completeness, and theoremacceptedStmtToStackCfg_correct; commandlake build SolidCore.Spine.YulEvm.Interface; result green. - 2026-05-12 11:35:55 PDT - proof - tightened
letcompilation to clean locals with stackswap/pop, added stack-depth preservation from stack code to L04, pseudo-free preservation, andcompileStmtToStackCfg?_wf_top; commandlake build SolidCore.Spine.YulEvm.Interface; result green. - 2026-05-12 11:37:25 PDT - proof - added public top-level theorem
acceptedTopStmtToStackCfg_correct; commandslake build SolidCore.Spine.YulEvm.Interface,lake build, and no-holergaudit; result green. - 2026-05-12 11:55:03 PDT - consolidation - generalized the fixed
returnWord0bytecode/L06 path with byte-sizedreturnByteartifacts, P05 return-word extraction, P05/P06 soundness/completeness, and YulEvm theoremreturnByteExpr_to_l06_semantics; commandslake build SolidCore.Spine.YulEvm.Interface,lake build, and no-holergaudit; result green. - 2026-05-12 12:04:27 PDT - proof - added structured
Stmt.blockand sequencingStmt.exprThen; existing compile success, stack-depth, L04 semantics, and top-level WF theorems now cover the new cases; commandslake build SolidCore.Spine.YulEvm.Interface,lake build, and no-holergaudit; result green. - 2026-05-12 12:15:14 PDT - consolidation - generalized P05 from syntactic
returnWord valueto executable byte-valuedreturnCodeviareturnCodeValue?, provedreturnCodeByte_soundandassemble?_complete_for_returnCodeByte, and added YulEvm theoremacceptedTopStmtToL06_byte_correct; commandslake build SolidCore.Spine.YulEvm.Interface,lake build, and no-holergaudit; result green. - 2026-05-12 12:20:10 PDT - proof - added closed byte-result checker
Stmt.acceptedTopByte?and theoremacceptedTopByteStmtToL06_correct, packaging source evaluation, compilation, P05 assembly, P06 embedding, and L06 semantics under one checker assumption; commandslake build SolidCore.Spine.YulEvm.Interface,lake build, and no-holergaudit; result green. - 2026-05-12 12:25:21 PDT - proof - broadened pure expression support with
BinaryOp.divandBinaryOp.modOp, extending L04 execution/stack-depth effects and the YulEvm lowering/correctness path through existing theorems; commandslake build SolidCore.Spine.YulEvm.Interface,lake build, and no-holergaudit; result green. - 2026-05-12 12:11:00 PDT - proof - added compositional structural equality slice through P01/P02/P03 and public Yul-facing claims; command
/Users/dan/.elan/bin/lake build SolidCore.Spine.PublicClaims; result green, guard scans for holes/fixtures/tabs green. - 2026-05-12 12:16:39 PDT - proof - repaired source boolean equality bridging through P02/P03/PublicClaims after the source modifier semantics update; focused source modifier/external-call examples, pass/PublicClaims build, source/Yul/EVM 22-target build, External naming scan, no-hole scan, and whitespace check all green.
- 2026-05-12 12:37:11 PDT - proof - added compositional unsigned less-than slice through L01/L02/L03, P01/P02/P03, and public Yul-facing claims; command
/Users/dan/.elan/bin/lake build SolidCore.Spine.PublicClaims; result green, guard scans for holes/fixtures/tabs green andgit diff --checkgreen. - 2026-05-12 12:42:25 PDT - semantics - expanded
using/library rewrites through modifier invocation arguments and modifier bodies, including constructor modifier lowering, so source-level library methods are preserved across modifier expansion; focused source examples includingusingModifierLibraryExpansionMatches, PublicClaims/pass bundle, source/Yul/EVM 22-target build, External naming scan, no-hole scan, and whitespace check green. - 2026-05-12 12:59:28 PDT - proof - added compositional unsigned greater-than slice through L01/L02/L03, P01/P02/P03, and public Yul-facing claims; command
/Users/dan/.elan/bin/lake build SolidCore.Spine.PublicClaims; result green, guard scans for holes/fixtures/tabs green andgit diff --checkgreen. - 2026-05-12 13:02:25 PDT - planning - pivoted next Solidity work to complete source type checking before further runtime semantics; current audit found L00 typing helpers plus a theorem-heavy P01 checked arithmetic/return fragment, but no complete Solidity 0.8.35 source checker yet.
- 2026-05-12 13:34:39 PDT - typecheck - added executable P01 source type-checking surface
TypeCheck.leanwithTypeError,CheckedSourceUnit, env/declaration/expression/statement checks, positive/negative examples, and wired import through P01; also restored bitwise-and P01/P02/P03 public proof coverage. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals,git diff --check, External naming scan, and no-hole scan green. - 2026-05-12 14:00:57 PDT - typecheck - tightened P01 checker with source type namespaces, recursive type validity, struct/enum/user-value declarations, data-location and mapping restrictions, function header/duplicate-signature checks, modifier invocation resolution, payable value-call checks, event/error resolution, named-argument overload handling, and executable accept/reject examples. Commands
lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals,git diff --check, no-hole scan, and tab scan green. - 2026-05-12 14:08:01 PDT - typecheck - added P01 contract-shape checks for known base specifiers, interface declarations, abstract missing-body rules, library restrictions, self/library inheritance rejection, and executable examples for interface/abstract/library/inheritance accept/reject cases. Commands
lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals,git diff --check, no-hole scan, and tab scan green. - 2026-05-12 14:20:32 PDT - typecheck - added P01 mutability/effect checks for state reads/writes, view/pure call restrictions, event emission, contract creation, and global reads like
msg/block; added executable accept/reject examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals,git diff --check, no-hole scan, and tab scan green. - 2026-05-12 14:26:22 PDT - typecheck - checked applied modifier bodies under the caller function mutability and moved modifier-argument checking into function scope, with examples for parameter-passed modifier args and modifier-smuggled state reads/writes. Commands
lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals,git diff --check, no-hole scan, and whitespace scan green. - 2026-05-12 14:58:23 PDT - typecheck - broadened P01 checker with inheritance linearization/override rules, external/member and low-level call typing, stricter data-location/constant checks,
usinglibrary resolution, modifier override checks, and executable Solidity accept/reject examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals,git diff --check, no-hole scan, and whitespace scan green. - 2026-05-12 15:15:25 PDT - typecheck - tightened P01 explicit conversions, literal assignment fits, payable conversions, user-value-type
wrap/unwrap, ABI builtins, global builtins,bytes.concat, andabi.encodeCallfunction-pointer argument checks, with executable accept/reject examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals,git diff --check, no-hole scan, and whitespace scan green. - 2026-05-12 15:40:22 PDT - typecheck - added checked P01 struct constructor/field access, contract creation and base-constructor argument checking, tuple element assignability, enum/type members, and literal-aware overload resolution for functions/modifiers/events/errors/external calls. Commands
lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals,git diff --check, no-hole scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck. - 2026-05-12 15:58:30 PDT - typecheck - added P01 array literal common-element inference plus direct library calls and executable
using Library for Tmember resolution with file-scope using validation and accept/reject examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals,git diff --check, no-hole scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck. - 2026-05-12 18:51:32 PDT - typecheck - tightened P01 source typing for mapping indexing, user-value mapping keys, custom-error params, typed fallback shape, contract upcasts, function mutability conversion, member-call receivers, operator operands, and external/internal call syntax with executable accept/reject examples. Commands
lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck. - 2026-05-12 19:02:23 PDT - typecheck - added storage-reference-aware P01 source typing for local storage aliases, storage-ref parameters/modifier args, state effects through storage refs, external/public storage-param rejection, delete/rebind checks, and executable accept/reject examples. Commands
lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck. - 2026-05-13 08:19:26 PDT - typecheck - tightened P01 inheritance/source-dispatch typing for base constructor argument obligations, constructor modifier-style base args, duplicate/missing base constructor args, visible inherited state-variable shadowing,
supercalls, and explicitBase.f()calls, with executable accept/reject examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck. - 2026-05-13 08:32:01 PDT - typecheck - added P01 data-location tracking for reference locals/params/returns, propagated calldata/storage location through member/index lvalues, rejected writes through calldata-derived fields/elements, allowed Solidity library public storage-pointer params while preserving ordinary contract ABI rejection, removed remaining
partialchecker defs, and added executable calldata/library accept/reject examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck. - 2026-05-13 08:42:28 PDT - typecheck - added P01 Solidity array/bytes mutation typing for storage-only dynamic
push/pop, includingpush()element lvalue returns, calldata/memory/fixed-array rejection, calldata-only slice typing withuint256bounds, and slice member-call/member rejection; added executable accept/reject examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 08:46:37 PDT - typecheck - tightened P01
try/catchtarget checking so member-call try targets must resolve to external/public contract functions, while low-level calls and source-level array mutation calls are rejected as non-catchable; added executable accepted/rejected try/catch examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, and focused checker evals green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 08:52:07 PDT - typecheck - added P01 static checks for Solidity
uncheckedblocks: nested unchecked blocks and modifier placeholders inside unchecked are rejected while ordinary unchecked arithmetic bodies type-check; added executable accept/reject examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 08:56:24 PDT - typecheck - tightened P01 event declaration checks against Solidity 0.8.35 event topic rules: non-anonymous events allow at most three indexed parameters, anonymous events allow four, and event parameter types must be ABI-encodable; added executable accept/reject examples. Commands
lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 09:01:31 PDT - typecheck - tightened P01 ABI-facing overload checks so externally visible functions with distinct source parameter types but identical ABI-canonical signatures are rejected, using context-aware canonicalization for contracts, structs, enums, and user-defined value types; internal overloads with the same ABI shape remain accepted. Commands
lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 09:06:42 PDT - typecheck - routed P01 ABI-encodability checks through the context-aware ABI canonicalizer, so public/external ABI surfaces and ABI builtins now preserve Solidity distinctions for structs, contracts, enums, user-defined value types, and reject internal function pointers exposed through the ABI while accepting external function pointers. Commands
lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 09:09:33 PDT - typecheck - tightened P01 type-shape validity for Solidity source declarations by rejecting zero-length fixed array types and invalid
public/privatefunction-type visibilities, while preserving acceptedinternal/externalfunction pointer cases; added executable reject examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 09:14:18 PDT - typecheck - tightened P01 ABI checks for compiler-generated public state-variable getters by computing getter parameter/return shapes for arrays, mappings, structs, and ordinary values, then rejecting non-ABI-encodable getter surfaces such as internal function pointers directly or through struct fields while preserving external function pointer getters; added executable accept/reject examples. Commands
lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 09:21:31 PDT - typecheck - tightened P01
abi.encodeCallfunction-pointer checking against Solidity 0.8.35 by accepting contract-type member pointers and external function-typed values, rejecting bare contract function identifiers and internal function pointers, and treatingthisas a pure-forbidden environment read; added executable accept/reject examples for each case. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 09:25:39 PDT - typecheck - tightened P01
try/catchclause checking by tracking Solidity catch kinds and rejecting duplicateError,Panic, or low-level catch clauses while preserving mixed catch clauses with distinct kinds; added executable accept/reject examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 09:35:38 PDT - typecheck - tightened P01 Solidity 0.8.35 declaration checks for ABI-facing function types, event overloads, reserved custom-error names, and library payability: external function types now require ABI-shaped parameter/return signatures, events may overload by distinct ABI-canonical parameter types but duplicate canonical event signatures are rejected,
Error/Paniccustom errors are rejected, and payable library functions are rejected while library storage-reference params remain accepted; added executable accept/reject examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 09:45:53 PDT - typecheck - tightened P01 Solidity 0.8.35 state-variable declaration and modifier lookup checks: constants are limited to implemented constant-capable value/string/bytes shapes and require initializers, immutables are limited to value shapes while rejecting external function pointers and reference types, transient variables are value-shaped and uninitialized, file-level variables must be constants, and function modifier invocation lookup now includes inherited modifiers in source dispatch order; added executable accept/reject examples. Commands
lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 09:51:29 PDT - typecheck - tightened P01 Solidity declaration namespaces against
solc0.8.35 behavior: contract-level state variables, modifiers, errors, structs, enums, and user-defined value types now share a non-overloadable identifier namespace, function names must be disjoint from that namespace while retaining overloads by signature, event names may overload only with other events, and source-unit declarations now reject clashes between contracts/types/constants/errors and free functions while preserving free function overloads; added executable accept/reject examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 09:56:31 PDT - typecheck - tightened P01 fallback, receive, constructor, and free-function header checks against
solc0.8.35 behavior: receive/fallback declarations now participate in override checking with distinct pseudo-members, typed and untyped fallback override each other, fallback and receive cannot override each other, mutability override compatibility is enforced, constructors rejectvirtual/overrideand require a body, free functions rejectvirtual/override, and abstract receive/fallback declarations requirevirtual; added executable accept/reject examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 10:01:10 PDT - typecheck - tightened P01 declaration-header checks against
solc0.8.35 behavior: free functions now rejectpayable, state variables rejectexternalvisibility, file-level constants reject visibility and override specifiers, explicitly abstract interfaces are rejected, bodyless modifiers requirevirtual, non-abstract contracts and libraries reject bodyless modifiers, and abstract contracts may declare virtual bodyless modifiers; added executable accept/reject examples. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 10:05:51 PDT - typecheck - tightened P01 inherited abstract obligation checks against
solc0.8.35 behavior: override/member records now track whether the current declaration is implemented, non-abstract contracts reject inherited unimplemented abstract/interface functions and abstract modifiers unless implemented locally, and abstract derived contracts may keep those inherited obligations open; added executable accept/reject examples for abstract functions, interface functions, and abstract modifiers. Commandslake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.TypeCheck,lake build SolidCore.Spine.Passes.P01_SourceSolidityToValidSolidity.Interface,lake build SolidCore.Spine.PublicClaims, focused checker evals, scopedgit diff --check, no-hole/no-partial scan, and whitespace scan green; downstream builds still emit pre-existing simp/linter warnings outside TypeCheck/PublicClaims. - 2026-05-13 10:54:03 PDT - typecheck - completed the pre-pivot constant/immutable checker slice by adding compile-time constant initializer checks, constant base-constructor arguments, file constants and inherited visible state variables, constant non-lvalues, constructor-only immutable writes, and compile-time immutable pure reads versus runtime immutable view requirements; examples, focused evals, and PublicClaims/source builds were green before the semantics-only branch.
- 2026-05-13 10:54:03 PDT - architecture - created branch
codex/solidity-semantics-onlyand checkpoint commit9884868(Checkpoint Solidity semantics work) before removing the compiler pipeline; deleted the old ValidSolidity/Yul/StackCfg/Bytecode/EVM layers, pass directories, PublicClaims, local YulEvm/SolidCoreYulCore models, and EVM parity/foundry harnesses; moved source type checking toSolidCore.Spine.L00_SourceSolidity.TypeCheck. - 2026-05-13 10:54:03 PDT - semantics - added Nethermind
EVMYulLeanas a pinned reference submodule atexternal/nethermind/EVMYulLean(047f63070309f436b66c61e276ab3b6d1169265a); attempted a direct Lake dependency on the same commit, but its Lean 4.22 toolchain conflicts with the current source interface on this branch, so this branch retained Lean 4.29.1 and added local compatibility moduleEvmYul.UInt256for importing an EVM/Yul primitive surface while toolchains remain out of sync. - 2026-05-13 10:54:03 PDT - semantics - rewired
SharedSemantics.Wordto route arithmetic, comparison, signed arithmetic, bitwise, shift, byte, and sign-extension operations throughEvmYul.UInt256; source-level environment/storage/log/call behavior remains inSharedSemantics.Externaland still needs progressively deeper Nethermind-backed adapters where matching primitives exist. - 2026-05-13 10:54:03 PDT - verification - semantics-only branch builds are green:
/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,/Users/dan/.elan/bin/lake build SolidCore,/Users/dan/.elan/bin/lake build,git diff --check, and scoped no-hole/no-partial scan overEvmYul,SharedSemantics, andSolidCore/Spine/L00_SourceSolidity. - 2026-05-13 10:58:00 PDT - semantics - moved the buildable Keccak implementation under
EvmYul.SpongeHash.Keccak256and madeSolidCore.Solidity.Source.Keccaka thin adapter, so ABI selectors, event topics, and source-levelkeccak256go through the same EVM/Yul-shaped primitive boundary as word operations. - 2026-05-13 12:22:12 PDT - semantics - added
SharedSemantics.Blockfor shared ambient block/transaction context, routed Solidityblock.*,tx.*,blockhash, andblobhashthrough it, and kept Solidity storage/memory source-owned because they encode source data-location and type behavior. - 2026-05-13 12:27:13 PDT - semantics - added named
SharedSemantics.Account,SharedSemantics.Call, andSharedSemantics.Logsurfaces; routed Solidity account balance/code/codehash reads, address normalization,ecrecover, contract creation/runtime code lookups, low-level calls, contract creation results, and event log append through those shared adapters while leaving source storage/memory semantics owned by Solidity. - 2026-05-13 12:37:01 PDT - semantics - added address-keyed
SharedSemantics.Precompilecalls for source-levelecrecover,sha256, andripemd160; Solidity builtins now reuse the shared low-level call result surface at precompile addresses0x01,0x02, and0x03instead of separate hash/ecrecover oracle tables. - 2026-05-13 13:19:48 PDT - semantics - made optional gas part of shared low-level call requests/results and routed Solidity low-level calls, high-level external calls with
{gas: ..., value: ...}, andsend/transfergas stipend behavior through that gas-aware call oracle while preserving option-expression evaluation order. - 2026-05-13 13:31:03 PDT - semantics - added executable external function pointer values as
(address, selector)pairs, ABI-encoded like Solidityfunction/bytes24; source translation now supports.address,.selector, andabi.encodeCallover external function-typed parameters, with focused executable and typechecker examples green. - 2026-05-13 13:43:16 PDT - semantics - added executable source calls through external function-typed values: the translator now builds calldata from the pointer's runtime selector, calls the pointer's runtime address, preserves
{gas, value}call-option evaluation, supports assignments/returns/declarations/discards, and routestry/catcharound function-pointer calls; focused examples for return decoding, payable gas/value calls, and try/catch success/fallback paths are green. - 2026-05-13 14:00:03 PDT - semantics - routed public/external Solidity library calls through context-provided library addresses and the shared
delegatecallrequest surface; directLibrary.f(x)andusing Library for T; x.f()source calls now lower to executable delegatecall semantics with ABI calldata/return decoding examples inL00_SourceSolidity.Interface. - 2026-05-13 14:08:57 PDT - semantics - added executable try/catch witnesses for Solidity's error-data edge cases: malformed
Error(string)revert data falls through tocatch (bytes), while successful-call return decoding failure reverts in the caller and is not caught; focused try/catch evals and the source interface build are green. - 2026-05-13 14:13:02 PDT - semantics - added address-aware ABI entry helpers (
callCalldataAt?/callCalldataAtFrom?and transaction variants) that setcontext.selffor source-visiblethis/address(this)behavior while preserving existing zero-address wrappers; executableaddress(this)ABI-entry example is green. - 2026-05-13 14:17:18 PDT - semantics - tightened ABI-facing
addressand external function values to reject values wider than their ABI widths (uint160address, 4-byte selector) instead of silently accepting/truncating; added executable accept/reject examples for address calldata and address ABI encoding. - 2026-05-13 14:20:25 PDT - semantics - made shared precompile helpers expose the underlying staticcall request shape and routed Solidity precompile built-ins through context-level precompile call helpers; added an executable witness that
sha256(bytes)andaddress(2).staticcall(bytes)consume the same low-level call result. - 2026-05-13 14:27:48 PDT - semantics - tightened ABI fixed-size bytes/function values:
bytesNABI encoding now rejects oversized source words, andbytesNplus external-function decoding now validates the right-padding bytes; added executable accept/reject witnesses for calldata and external-function ABI decoding. - 2026-05-13 14:34:58 PDT - semantics - routed external function pointer calls through
staticcallwhen the pointer mutability isview/purewhile preserving ordinarycallfor nonpayable/payable pointers; the view-pointer call/try-catch examples now require staticcall results. - 2026-05-13 14:39:43 PDT - semantics - added executable anonymous-event witnesses: anonymous events omit the signature topic and can use all four indexed topics directly, with empty ABI data when every parameter is indexed.
- 2026-05-13 14:43:11 PDT - semantics - strengthened fallback/receive executable witnesses for selector-miss fallback dispatch, empty-calldata receive dispatch, fallback bytes passthrough, fallback
msg.data, and payable receivemsg.value. - 2026-05-13 14:50:29 PDT - semantics - strengthened transient-storage executable coverage with source-level rollback witnesses: a transient write followed by
revert()drops the new value from an empty state, while a prior same-transaction transient value survives a later reverted call; focused transient evals returnedsome true. - 2026-05-13 14:56:49 PDT - semantics - aligned Solidity 0.8.35
block.difficultysource semantics with the post-Paris deprecated alias behavior by routing it toblock.prevrandao; added an executable witness where the legacydifficultyenvironment field differs and both source expressions returnprevrandao. - 2026-05-13 15:14:28 PDT - semantics - routed contract-typed high-level external source calls through declaration-derived call kinds, so
view/puretargets and public state-variable getters lower tostaticcallwhile ordinary address-typed calls still usecall; added executable witnesses for view staticcall, pure gas-only staticcall, public getter staticcall, and rejected value options on view calls. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, focused evals,lake build SolidCore.Spine.L00_SourceSolidity.Interface,lake build, scoped no-hole scan, andgit diff --checkgreen. - 2026-05-13 15:22:34 PDT - semantics - extended the source typing environment with the current contract type for
this, sothis.f()andthis.publicGetter()high-level source calls reuse declaration-derived call-kind semantics and lowerview/getter calls tostaticcallagainstcontext.self; added executablethisstaticcall witnesses. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, focused evals,lake build SolidCore.Spine.L00_SourceSolidity.Interface,lake build, scoped no-hole scan, andgit diff --checkgreen. - 2026-05-13 15:28:15 PDT - semantics - tightened high-level external call-option semantics with declaration mutability: known
payablecontract/function-pointer calls accept{value, gas}, knownnonpayablecalls accept gas-only options and reject{value}, and unknown/address-style calls preserve the existing oracle-call behavior; added executable witnesses for payable value calls, nonpayable gas-only calls, and nonpayable value rejection for both contract-typed calls and external function pointers. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, focused evals,lake build SolidCore.Spine.L00_SourceSolidity.Interface,lake build, scoped no-hole scan, andgit diff --checkgreen. - 2026-05-13 15:33 PDT - semantics - tightened low-level
staticcallanddelegatecallsource call-option lowering to accept gas-only options and reject{value: ...}while preserving call-option expression evaluation for accepted gas options; added executable witnesses for staticcall gas effects, staticcall value rejection, delegatecall gas execution, and delegatecall value rejection. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, focused evals,lake build SolidCore.Spine.L00_SourceSolidity.Interface,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 15:38 PDT - semantics - added an executable precompile/address-call equivalence witness covering Solidity builtins
sha256,ripemd160, andecrecover: each builtin consumes the same shared staticcall result shape as an explicitaddress(0x02/0x03/0x01).staticcall(...). Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, focused eval,lake build SolidCore.Spine.L00_SourceSolidity.Interface,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 15:42 PDT - semantics - broadened executable coverage for Solidity ambient globals routed through shared block/transaction semantics:
block.timestamp,block.number,block.basefee,block.blobbasefee,block.chainid,block.coinbase,block.gaslimit,tx.origin,tx.gasprice, andgasleft()now have a single checked source witness. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, focused eval,lake build SolidCore.Spine.L00_SourceSolidity.Interface,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 15:45 PDT - semantics - added ABI-entry call-context witnesses for Solidity
msgglobals:msg.sigreturns the first four calldata bytes, and a payable external function now checksmsg.sender,msg.value,msg.sig, and completemsg.datatogether throughcallCalldataAtFrom?. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, focused evals,lake build SolidCore.Spine.L00_SourceSolidity.Interface,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 15:49 PDT - semantics - added executable modifier coverage for ordinary once-around modifiers and Solidity multiple-placeholder behavior, showing each
_re-enters the function body in source order; focused evalsmodifierCallMatchesandmultiPlaceholderModifierMatchesreturnedsome true. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, focused evals,lake build SolidCore.Spine.L00_SourceSolidity.Interface,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 15:57 PDT - semantics - completed executable calldata array-slice support beyond
bytes: core slicing now handles fixed and dynamic arrays as dynamic array slice values, source ABI type inference preserves sliced array element types, and witnesses cover relative indexing,abi.encode(items[1:3]), and out-of-bounds panic0x32. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, focused evals,lake build SolidCore.Spine.L00_SourceSolidity.Interface,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 16:14 PDT - semantics - added Solidity high-level external call existence-check semantics: no-return contract-typed calls now fail before the shared call oracle when the target account has empty code, with the failure routed through
try/catch, while return-valued calls skip the check and rely on ABI return decoding; added executable witnesses for missing-code catch, code-present success, and return-data-on-no-code behavior. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake build SolidCore.Solidity.Interpreter,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 16:36 PDT - semantics - added Solidity named-argument semantics for contract-typed high-level external calls: declaration-derived external call metadata now carries source parameter names, statement/modifier/internal-call lowering threads that metadata to ABI calldata construction, named arguments are reordered into declaration order, and duplicate named external arguments are rejected. Added executable witnesses for reordered external calldata and duplicate-name rejection. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 16:50 PDT - semantics - extended declaration-derived named-argument ABI semantics to contract creation: constructor parameter names are carried as constructor-only metadata,
new C({...})and creation try/catch paths encode known constructor arguments in declaration order, duplicate constructor argument names are rejected, and constructor args are ABI-annotated like function-call args. Added executable witnesses for reordered named constructor calldata and duplicate-name rejection. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 16:55 PDT - semantics - added executable coverage for named constructor arguments combined with Solidity creation options:
new C{value: ..., salt: ...}({bonus: ..., amount: ...})now has a witness that checks constructor calldata order, value, salt, and returned address together. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused eval,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 17:09 PDT - semantics - made inheritance-header base constructor arguments use full source
Args rather than positional-only expressions, sois Base({right: ..., left: ...})is represented, type-checked, reordered by constructor parameter names, and rejected on duplicate names. Added executable witnesses for reordered named base-constructor initialization and duplicate-name rejection. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds for Interface and TypeCheck, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 17:18 PDT - semantics - added source-level custom storage layout support for
layout at <base-slot-expression>:ContractDeclnow carries a layout base expression, persistent storage fields in the whole inheritance tree are shifted by the top contract's checked base slot, transient storage remains unshifted, and inherited/abstract layout specifiers are rejected. Added executable layout-field and constructor-initializer witnesses plus source checker accept/reject examples. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 17:29 PDT - semantics - wired Solidity's
erc7201("...")compile-time helper into custom storage layout bases: the checker now typeserc7201as a pure string-to-uint256builtin and admits it in compile-time expressions, whilelayoutBaseSlot?evaluates non-numeric constant layout expressions through the existing coreerc7201primitive. Added executable storage-layout witnesses using the EIP example namespace plus checker accept/reject examples. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 17:43 PDT - semantics - added executable and checker coverage for file-level constants in custom storage layout base expressions:
layout at LAYOUT_SLOT + 1now exercises constant inlining, slot shifting, constructor initialization, accepted known constants, and rejected unknown layout identifiers. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 19:41 PDT - semantics - added recursive executable storage paths for Solidity public getters over nested mappings and arrays: generated getter signatures now recurse through mapping keys and array indexes, storage layouts preserve nested mapping/array structure, and witnesses cover
mapping(uint=>mapping(uint=>uint)),mapping(uint=>uint[]), ABI calldata dispatch, and dynamic-array out-of-bounds panic behavior. Commandslake build SolidCore.Solidity.Interpreter,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 20:11 PDT - typecheck/semantics - taught contract member-call type checking about compiler-generated public state-variable getters, including recursive getter parameter shapes for nested mappings/arrays, and added an executable
this.nested(4, 5)witness showing the generated getter call lowers to a two-argumentstaticcall. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 22:34 PDT - semantics - added executable coverage for Solidity public getters over arrays whose element type is
bytes: the recursive storage path can now end in a byte-array element, with direct-call and ABI calldata witnesses forbytes[] public blobs. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 22:46 PDT - semantics - added matching executable and checker coverage for Solidity public getters over arrays whose element type is
string, reusing the byte-array storage/result path with direct-call and ABI calldata witnesses forstring[] public names. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 23:02 PDT - semantics - added recursive public getter coverage for mappings whose value type is
bytesorstring, so mapping-key storage paths can end in byte-array storage; witnesses cover directbytesmapping getters, ABI-dispatchedstringmapping getters, and checker acceptance. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 23:11 PDT - semantics - added executable and checker coverage for Solidity public getters over fixed arrays whose element type is
bytes:bytes[2] public fixedBlobsnow exercises fixed-array slot resolution, byte-array payload loading, ABI calldata dispatch, and fixed-array out-of-bounds panic0x32. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 23:33 PDT - semantics - aligned executable public struct getters with Solidity 0.8.35 getter shape: struct storage layouts now preserve field layouts such as
bytes, generated getters return one ABI output per returnable field, and mappings plus non-byte arrays inside structs are omitted. Added direct-call, ABI-dispatch, and typechecker signature witnesses for a struct containing scalar, mapping, bytes, dynamic-array, and bool fields. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 23:51 PDT - semantics - added recursive public getter coverage for mappings whose value type is a struct:
mapping(uint256 => Struct) public entriesnow combines mapping-key storage resolution with struct field-return selection, includingbytespayload loading and omission of mapping/non-byte-array struct fields. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-13 23:56 PDT - semantics - added recursive public getter coverage for dynamic arrays whose element type is a struct:
Struct[] public recordsnow combines dynamic-array bounds checks, element-slot resolution, struct field-return selection,bytespayload loading, and panic0x32on out-of-bounds. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 00:01 PDT - semantics - added recursive public getter coverage for fixed arrays whose element type is a struct:
Struct[2] public fixedRecordsnow combines fixed-array slot arithmetic, struct field-return selection,bytespayload loading, ABI dispatch, and panic0x32on out-of-bounds. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 00:13 PDT - semantics - tightened source storage layout slot arithmetic for multi-slot layouts: struct field offsets now advance by each field layout's slot span, and fixed/dynamic array element slots now advance by the element layout's slot span. Updated struct-array getter witnesses to use layout-aware slot helpers and added executable span checks showing the five-slot struct lands array index
1at offset5. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 00:22 PDT - semantics - extended source-level
deleteover fixed arrays to clear non-scalar element layouts by slot span, sodelete Struct[2]clears scalar fields, byte-string lengths, dynamic-array lengths, and nested occupied slots without rejecting the operation. Added executable getter-after-delete and typechecker acceptance witnesses. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 00:28 PDT - semantics - added nested-struct public getter coverage: a public struct containing another struct now returns the nested struct as a tuple-shaped ABI value, and following fields use the nested struct's full slot span before loading
bytes. Added executable direct/ABI getter witnesses plus typechecker return-shape and source-acceptance witnesses. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 00:40 PDT - semantics - made source storage assignment layout-recursive for fixed and dynamic arrays, so array elements with multi-slot layouts such as structs are written through the same layout interpreter as structs and byte arrays. Added executable fixed/dynamic array-of-struct assignment getter witnesses and matching typechecker acceptance examples. Commands
lake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 00:46 PDT - semantics - made storage index assignment layout-recursive for mapping entries, dynamic-array elements, fixed-array elements, and struct fields, so source writes like
records[i] = valueandentries[k] = valuecan store struct-shaped values rather than scalar-only slots. Added executable getter witnesses and typechecker acceptance examples for fixed array, dynamic array, and mapping struct element assignment. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 00:52 PDT - semantics - made dynamic storage-array
pushlayout-aware:push(value)now stores non-scalar element layouts through the recursive storage writer, while barepush()clears the appended element to the layout default so stale multi-slot data does not resurface. Added executable struct-array push value/default witnesses and typechecker acceptance coverage. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 00:56 PDT - semantics - made dynamic storage-array
popclear the removed element using its full storage layout rather than zeroing only the first raw slot. Added an executable struct-array pop witness that checks the removed element's scalar fields are cleared after length decreases, and kept the source checker push/pop example accepted. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 01:02 PDT - semantics - made top-level
deleteon dynamic storage arrays walk the currently occupied elements and clear each element layout before zeroing the length, instead of length-only deletion. Added an executable struct-array delete witness checking both length and removed element slots are cleared, with the corresponding source checker example still accepted. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 01:11 PDT - semantics - added a fuel-bounded deep storage-layout clear used by source delete/pop/default-push paths, so nested dynamic arrays inside struct and fixed-array elements are cleared down to their occupied payload slots. Added executable witnesses for deleting dynamic and fixed arrays of structs that contain dynamic arrays, plus source checker acceptance coverage. Commands
lake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 01:21 PDT - semantics - made dynamic storage-array assignment clear truncated tail elements when assigning a shorter array, using the deep storage-layout clear so removed struct elements with nested dynamic-array payloads do not persist. Added executable nested-tail clearing and typechecker acceptance witnesses. Commands
lake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 01:26 PDT - semantics - routed indexed storage writes through the same deep-clear dynamic-array assignment path, so assigning shorter dynamic arrays through
matrix[i] = valuesormapping[key] = valuesclears truncated tail slots. Added executable witnesses for dynamic-array element and mapping-entry assignment tails, plus typechecker acceptance coverage. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 01:31 PDT - semantics - routed dynamic storage-array
push(value)through the deep-clear layout store, so pushing a dynamic-layout element into a slot with stale payload clears truncated inner tails. Added executableuint[][]push coverage and matching source checker acceptance. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 01:36 PDT - semantics - made the deep-clear layout store recurse through struct and fixed-array assignment, so nested dynamic fields are tail-cleared when assigning shorter values inside structs, including mapping entries. Added an executable mapping-to-struct witness with a nested dynamic-array field and matching source checker acceptance. Commands
lake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 01:49 PDT - semantics - added layout-directed indexed storage deletion, so
delete matrix[i]anddelete entries[key]clear the indexed element/value layout directly instead of trying to materialize nested dynamic storage as an ordinary source value first. Added executable witnesses foruint[][]element deletion and mapping-to-struct deletion with a nested dynamic-array field, plus source checker acceptance coverage. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 02:33 PDT - semantics - added resolved storage paths for nested storage lvalues, so source expressions like
matrix[i][j] = value,delete matrix[i][j],nested[a][b] = value, anddelete nested[a][b]route through layout-aware storage path read/write/delete instead of materializing intermediate dynamic arrays or mappings. Added executable nested dynamic-array and nested mapping set/read/delete witnesses plus source checker acceptance coverage. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 02:43 PDT - semantics - extended storage-path resolution through
bytes, so nested source paths likeblobs[i][j]forbytes[]can read, assign, and delete individual byte elements with bounds checks while preserving the containing byte-array length. Added executable set/read/delete witnesses forbytes[]element paths and matching source checker acceptance coverage. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 02:49 PDT - semantics - made mapping slot derivation coerce non-byte keys through their declared storage key type instead of accepting only
Value.word, so signed integer keys such asmapping(int256 => uint256)use the normalized two's-complement key word. Added executable signed-key set/read coverage and a source checker acceptance example. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 02:55 PDT - semantics - added executable and checker coverage for nested storage-path compound updates:
matrix[i][j] += delta,++matrix[i][j], andnested[a][b] += deltanow exercise the resolved storage-path lvalue read/write route instead of materializing intermediate arrays or mappings. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 03:04 PDT - semantics - extended source struct-member resolution through mapping/array index expressions so paths like
entries[k].countandentries[k].values[i]lower to storage-path field indexes before execution. Added executable witnesses for struct-field+=, nested dynamic-array field+=, anddeletethrough a mapping entry, plus checker acceptance for the named-struct source form. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 03:15 PDT - semantics - added runtime storage-path references for source storage aliases such as
Record storage ref = entries[key], carrying the resolved base storage variable plus evaluated path indexes through local storage-reference values. The source translator now emitsstorageAliasPath, and executable/checker witnesses coverref.count += deltaandref.values[index] += deltathrough a mapping-entry struct alias. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 03:23 PDT - semantics - extended storage-path references to nested dynamic-array aliases, so
uint256[] storage vals = entries[key].valuessupportsvals.push(value),vals.push() = value, andvals.pop()against the resolved nested array slot. Added path-aware push/pop runtime helpers plus executable and checker witnesses for the mapping-entry struct array field. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 03:34 PDT - semantics - added nested
bytesstorage-alias coverage through mapping-entry struct fields:bytes storage blob = entries[key].blobnow exercises path-referencepush(value)andpop()over the byte-array storage slot. The executable translator also now preserves valid fixed-bytes ABI annotations around locally typed values when the local type is not visible toExpr.abiTy?. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 03:40 PDT - semantics - allowed internal function storage parameters to bind directly to resolved source storage paths such as
entries[key].valuesandentries[key].blob, instead of only identifier aliases. Added executable witnesses for nested array/bytes fieldpushvia internal storage-parameter calls and matching source checker acceptance coverage. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 03:45 PDT - semantics - added executable and checker coverage for modifier parameters whose
storageargument is a resolved path, so modifier invocations likewithValues(entries[key].values, value)andwithBlob(entries[key].blob, value)exercise nested array/bytes field mutation through source modifier expansion. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 03:51 PDT - semantics - added mapping fields to the nested storage-path reference examples, covering
mapping(uint256 => uint256) storage scores = entries[key].scores, internal storage-parameter calls, and modifier storage-parameter calls that writescores[subkey]. This exercises mapping field references without materializing mapping values. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 04:01 PDT - semantics - added direct nested storage-path dynamic-array and
bytesmutation lowering, so source calls likeentries[key].values.push(value),entries[key].values.push() = value,entries[key].values.pop(), and the correspondingentries[key].blob.push/popforms execute without first binding a storage alias. Added core path push/pop statements plus executable and checker witnesses. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interpreter/Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 04:07 PDT - semantics - added direct and alias nested bytes storage
push() = valuecoverage, soentries[key].blob.push() = valueandbytes storage blob = entries[key].blob; blob.push() = valueexercise the source-level assignable byte slot returned by barebytes.push(). Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 04:17 PDT - semantics - fixed unchecked-block internal call semantics by adding a core-only checked-arithmetic wrapper around inlined internal callee bodies. This keeps callee arithmetic checked by default even when the caller invokes it inside
unchecked, while argument expressions still evaluate in the caller's unchecked context. Added executable witnesses for callee overflow panic and unchecked argument wrapping plus checker acceptance. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interpreter/Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 04:24 PDT - semantics - added source lowering for left-to-right-safe internal single-return calls used as the left operand of binary return expressions, so
return base() + 1inlines the call, captures its return value, and then evaluates the remaining expression. Added executable and checker witnesses. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 04:33 PDT - semantics - added source lowering for non-short-circuit binary return expressions whose right operand is an internal single-return call. The lowering evaluates the left operand into a temporary before inlining the call, preserving Solidity left-to-right side effects; the executable witness covers
return (x = 5) + read()and checks both the returned value and final storage. Added matching checker coverage and environment-aware source type inference for assignment/increment expressions used as temporaries. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 04:38 PDT - semantics - completed the corresponding right-hand internal-call return lowering for short-circuit boolean operators:
false && mark()andtrue || mark()now skip the inlined internal call, whiletrue && mark()andfalse || mark()call it. Added executable state-effect witnesses for all four cases plus checker acceptance coverage. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 04:48 PDT - semantics - generalized binary internal single-return call lowering beyond
returninto local variable declarations and assignment statements. The reusable lowering preserves left-to-right evaluation with a temporary, preserves short-circuit behavior for&&and||, and the list-level var-declaration path keeps declared locals in scope for following statements. Added executable witnesses foruint y = base() + 1,y = (x = 5) + read(), and short-circuit var/assign cases that must not callmark(), plus checker acceptance coverage. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 04:52 PDT - semantics - added source lowering for
ifconditions that are internal single-return calls. The condition call now executes before branch selection, captures its return value, and branches on that value while preserving side effects. Added executable true/false branch witnesses that check both returned values and storage effects, plus checker acceptance coverage. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 04:56 PDT - semantics - added source lowering for
whileconditions that are internal single-return calls. The loop now re-executes the condition call on each test by lowering to a corewhile truestep that captures the condition result, runs the body when true, and breaks when false. Added an executable witness where the condition mutates storage until it returns false, plus checker acceptance coverage. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 05:01 PDT - semantics - added source lowering for
assert(internalCall())and string-formrequire(internalCall(), reason). The internal predicate executes first, the assertion/require consumes the captured result, and the failing require witness confirms storage side effects from the predicate are rolled back. Added executable assert/require success and require-failure witnesses plus checker acceptance coverage. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 05:12 PDT - semantics/typecheck - extended internal-call predicate lowering to custom-error
require(internalCall(), Bad(...))and dynamic require-error expressions, routing custom errors through the existing corerequireCustomstatement. The checker now recognizes custom-error constructors inrequirestatements via the existing error-signature resolver. Added executable custom-error rollback/output coverage and matching checker acceptance. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 05:16 PDT - semantics - added source lowering for event emissions whose single argument is an internal single-return call, so
emit Seen(value())executes the internal call, preserves its storage effects, and emits the captured return value. Added executable event/state witness and checker acceptance coverage. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 05:21 PDT - semantics - added source lowering for custom-error reverts whose single argument is an internal single-return call, so
revert Bad(value())executes the internal call, captures its return value into the error payload, and rolls back the call's storage effects. Added executable custom-error payload/rollback witness and checker acceptance coverage. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 05:25 PDT - semantics - added source lowering for tuple returns whose first component is an internal single-return call. The continuation captures the call result as the first return value and evaluates the remaining return expression afterward, so
return (value(), x + 1)observes the call's storage effect in the second component. Added executable tuple-return witness and checker acceptance coverage. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 05:31 PDT - semantics - added source lowering for tuple returns whose second component is an internal single-return call. The lowering evaluates the first component into a temporary before the call, preserving left-to-right order; the executable witness covers
return (x = 5, read())and checks both returned values plus final storage. Added checker acceptance coverage. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 05:36 PDT - semantics - extended event-emission lowering for two-argument events when either positional argument is an internal single-return call. The first-argument case evaluates the second argument after the call; the second-argument case saves the first argument in a temporary before the call, preserving Solidity left-to-right effects. Added executable event/state witnesses for both orders plus checker acceptance coverage. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 05:40 PDT - semantics - extended custom-error revert lowering for two-argument errors when either positional argument is an internal single-return call. The witnesses check both evaluation orders, preserve the computed revert payloads, and confirm storage side effects from argument evaluation are rolled back. Added checker acceptance coverage. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 05:52 PDT - semantics/typecheck - added source lowering for internal single-return calls used as
requirereason expressions and as single custom-error payload expressions, preserving Solidity's eager argument evaluation: a truerequire(true, note())still executesnote(), while a falserequire(false, Bad(value()))preserves the computed custom-error payload and rolls storage back. The checker now treatsrequire(cond, X(...))as a custom error only whenXresolves as a known error, otherwise it falls back to ordinaryrequireexpression typing. Added executable and checker witnesses. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 06:01 PDT - semantics - extended eager
requireargument lowering to the case where the condition and reason/payload both contain internal single-return calls. Added a reusable ordered two-call inliner that saves the first result before executing the second call, avoiding return-variable name reuse. The executable witness now coversrequire(okTrue(), note())andrequire(okFalse(), Bad(value())), including payload preservation and rollback; checker coverage accepts the same source. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 06:09 PDT - semantics - reused the ordered two-call inliner for tuple returns whose two components are both internal single-return calls. The lowering evaluates the first call, saves its returned value before the second call can reuse return variables, then returns both values in source order. Added executable and checker witnesses for
return (setFive(), read()), checking returned values and final storage. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 06:21 PDT - semantics - reused the ordered two-call inliner for two-argument event emissions and custom-error reverts when both positional arguments are internal single-return calls. Added
emit Seen(value(), read())andrevert Bad(value(), read())coverage, checking event data/state effects and custom-error payload/rollback behavior. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 06:29 PDT - semantics - extended shared binary internal-call lowering to handle both operands as internal single-return calls. Non-short-circuit operators now evaluate both calls in source order through the ordered two-call inliner, while
&&and||save the first result and branch before deciding whether to execute the second call. Expanded executable/checker coverage for var-declaration and assignment binary uses, arithmeticsetFive() + read(), and both-call boolean skip/call cases. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 06:44 PDT - semantics - added shared unary internal-call lowering for pure unary operators, covering return, local initializer, and assignment contexts. Witnesses cover
!flagFalse()in return/var/assignment positions plus~zero()and-minusFive(5), checking returned values and storage side effects; list-level var-declaration lowering keeps initialized locals in scope for following statements. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 06:50 PDT - semantics - added source lowering for ternary expressions whose condition is an internal single-return call, covering return, local initializer, and assignment contexts while reusing Core ternary branch laziness. Witnesses cover true/false condition calls and branch assignment side effects, including list-level local initializer scope preservation, with matching checker acceptance. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 06:59 PDT - semantics - added source lowering for ternary expressions whose selected branch is an internal single-return call, lowering to Core
ifElseso unselected branch calls remain lazy. Witnesses cover then-branch, else-branch, and both-branch internal calls in return, local initializer, and assignment contexts, checking returned values and branch storage side effects with matching checker acceptance. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 07:15 PDT - semantics - routed Solidity
forpost expressions through the internal-call-aware source lowering, so post slots such asbump()can inline internal statement calls while preserving Coreforcontinue/post behavior. Added executable and checker witnesses wherecontinuein the loop body still runs the internal post call until storage reaches the loop bound. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 07:21 PDT - semantics/typecheck - added direct loop-control coverage for
breakandcontinue: executable witnesses cover breaking out of awhile trueloop and continuing past the remainder of a loop body, while checker witnesses accept in-loop control flow and rejectbreak/continueoutside loops. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 07:36 PDT - semantics/typecheck - added source-level return statement/named return coverage: executable witnesses cover valid bare
return;in a void function, named return fallthrough, and default named return values; checker witnesses accept those valid forms and reject bare earlyreturn;in a returning function. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 07:49 PDT - semantics/typecheck - added modifier return-flow coverage: executable witness confirms a returned value from a modified function is preserved while post-placeholder modifier code still runs, and checker coverage accepts the same source shape. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module build, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 08:19 PDT - semantics/typecheck - added source-level coverage for file-scope
using ... for ... globalon a user-defined value type, including checker rejection for contract-scopeglobaland non-UDVT global targets. Executable lowering now handles internal single-return library calls wrapped in source type conversions in return, local-initializer, and assignment contexts, with list-level declaration lowering preserving local scope. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 08:34 PDT - semantics/typecheck - added explicit library-function
usingbindings such asusing {Lib.f} for Tto the source AST, checker, and executable member-call expansion. The new path preserves existing whole-library using behavior while allowing explicit-list member calls to route through internal library helpers or external library delegatecall targets; witnesses cover accepted explicit bindings, missing-function rejection, and executablex.mix(2)dispatch throughusing {Math.mix} for uint256. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 08:40 PDT - semantics/typecheck - extended explicit
usingbindings to unqualified source free functions such asusing {freeInc} for uint256. Member-call expansion now threads source free functions through the sourceusingrewriter and lowersx.freeInc()to an internal free-function call before ordinary internal-call lowering; the checker resolves unqualified explicit bindings against non-private available source functions. Added executableUsingExplicitFreeFunctioncoverage plus accepted/missing-function typechecker witnesses. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 09:02 PDT - semantics/typecheck - added source support for global user-defined binary operator bindings on UDVTs, e.g.
using {priceAdd as +, priceLt as <} for Price global. The AST now records optional using-operator aliases, executable expansion rewrites matching binary expressions to pure free-function calls before internal-call lowering, and the checker enforces global UDVT target/pure free-function shape while typing overloaded binary expressions through the binding. Witnesses cover executablePrice + PriceandPrice < Price, accepted global operator bindings, and rejected contract-scope/non-pure operator bindings. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 09:21 PDT - semantics/typecheck - extended global UDVT operator bindings to unary operators
-and~. Source expansion now rewrites matching unary expressions through their pure free-function bindings, and the checker resolves those operators before falling back to built-in unary typing while preserving the global UDVT/pure-free-function restrictions. Added executablePriceunary operator coverage and expanded the operator checker witness to include unary expressions. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 09:36 PDT - typecheck - completed the checker side of source tuple/destructuring assignment. Existing executable lowering for
(a, b) = (...)and holes is now matched by source typing for tuple-literal RHS values and tuple-returning expressions, with per-component lvalue, writability, storage-reference, arity, and assignability checks. Added checker witnesses for swap assignment, omitted components, tuple-return RHS, and arity/type/non-lvalue rejections. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 09:42 PDT - typecheck - added checker support for the global
selfdestruct(address payable)builtin to match the existing executable source semantics. The checker now requires a payable address recipient and rejects use fromview/purecontexts; witnesses cover accepted payable use, nonpayable-recipient rejection, view-function rejection, and the existing executable selfdestruct state/stop behavior. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, TypeCheck module build, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 09:49 PDT - typecheck - enforced Solidity's
type(C).creationCode/runtimeCodecircular-reference restriction in the source checker. Accessing another contract's code remains accepted, while accessing the current contract's creation code or an ancestor contract's runtime code from a derived contract is rejected; witnesses cover all three cases. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, TypeCheck module build, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 09:56 PDT - typecheck - aligned unit-denominated numeric literal typing with the executable parser. The checker now rejects unit literals that do not resolve to an exact integer base unit, while accepting exact decimal denominations such as
2.5 ether; witnesses cover accepted exact units plus fractional-wei and sub-wei rejection. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, TypeCheck module build, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 10:12 PDT - semantics/typecheck - aligned executable event-emission and custom-error revert lowering with Solidity named-argument declaration order. Event/error parameter-name environments now flow through ordinary functions, modifiers, and constructors, file-level custom errors participate in constructor selector/named-argument resolution, and named
emit Seen({second: ..., first: ...})/revert Bad({second: ..., first: ...})calls lower to declaration-order payloads. Added executable event/error ordering witnesses plus checker acceptance for named event and free-error arguments. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 10:31 PDT - semantics/typecheck - extended the same declaration-order named custom-error semantics to
require(cond, CustomError(...)). The source rewriter now normalizes named custom-error payloads insiderequirebefore core lowering, sorequire(false, Bad({second: ..., first: ...}))produces a declaration-order revert payload. Added executable payload-order coverage and a checker acceptance witness for named free-error payloads inrequire. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkgreen. - 2026-05-14 10:57 PDT - semantics/typecheck - aligned executable array-literal common-element typing with the checker: source array literals now infer a common implicit element type instead of requiring identical ABI canonical spellings, and element lowering casts to that common type so fixed-bytes widening right-pads as Solidity requires. Added executable
bytes1/bytes2ABI-encoding coverage plus checker acceptance for fixed-bytes array literal widening. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 11:08 PDT - typecheck - aligned the checker-side implicit conversion/common-array-element helper with the executable source model for fixed-size bytes, covering
fixedBytes/bytesNmixed widening as well as ordinarybytesNwidening. Added a checker witness for legacy fixed-bytes array literal widening. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, TypeCheck module build, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 11:40 PDT - semantics/typecheck - added initial source support for initialized local internal function pointer aliases. The checker now contextually resolves bare internal function names assigned to internal function-typed locals, while the executable source pass records simple local aliases, removes the alias declaration from the lowered core body, and rewrites calls like
fp(x)to the resolved internal function target. Added executable and checker witnesses forfunction(uint256) internal pure returns (uint256) fp = double; return fp(x);. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 11:51 PDT - semantics/typecheck - extended local internal function pointer aliases to simple reassignment. Alias bindings now retain their expected internal function type, the executable source pass updates the alias target for
fp = other;before subsequent calls, and assignment type checking uses contextual internal function-value resolution for bare function names. Added executable and checker witnesses for initializingfptodouble, reassigning it totriple, and callingfp(x). Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 12:00 PDT - semantics/typecheck - extended source-level internal function pointer locals to declaration-then-assignment. Alias bindings now allow an unbound internal function-typed local declaration to be dropped from core lowering while preserving its expected type, then bind to a concrete internal function target on a later assignment before calls are rewritten. Added executable and checker witnesses for
function(uint256) internal pure returns (uint256) fp; fp = double; return fp(x);. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 12:09 PDT - semantics/typecheck - added source-level
deletesupport for the local internal function pointer alias model. The executable source pass now resets a tracked alias to an unbound target fordelete fp;, allowing a laterfp = other;assignment to bind a new internal function target before call rewriting; the checker accepts the corresponding source pattern. Added executable and checker witnesses forfp = double; delete fp; fp = triple; return fp(x);. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 12:25 PDT - semantics/typecheck - modeled Solidity's panic for calls through uninitialized or deleted local internal function pointers. The core source statement language now has a small
panic codestatement, and the L00 source rewriter maps unbound tracked internal function pointer calls to panic0x51while preserving successful rebinding paths. Added executable witnesses for uninitialized and deleted calls reverting withPanic(0x51), plus checker acceptance witnesses. Commandslake env lean SolidCore/Solidity/Interpreter.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interpreter/Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 12:45 PDT - semantics/typecheck - added executable and checker coverage for value-copy behavior of local internal function pointer aliases. A declaration initialized from another tracked internal function pointer now captures the current concrete target, so later reassignment of the source pointer does not affect calls through the copy; return-value binary lowering now uses the shared internal-call binary path, including two-call return expressions. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 12:55 PDT - semantics/typecheck - added source-level execution for internal function pointers passed as internal function parameters. Internal-call argument binding now treats internal function-typed parameters as alias bindings instead of core values, rewrites callee bodies with that alias environment, and rewrites tracked alias identifiers in argument positions so a local pointer can be passed onward. Added executable and checker witnesses for
applyPointer(fp, x)calling through the internal function parameter. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 13:03 PDT - semantics/typecheck - added coverage for propagating unbound internal function pointers through internal function parameters. Passing an uninitialized tracked pointer to an internal helper now preserves the unbound target in the parameter alias, so the callee call path reaches the same
Panic(0x51)semantics as a direct uninitialized pointer call; the checker accepts the source shape. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 13:17 PDT - semantics/typecheck - extended source
using/internal-library rewrites to admit internal function pointer arguments. Internal library helpers such asApply.apply(uint256, function(uint256) internal pure returns (uint256))now expand through the source using pass, then the internal-call inliner binds the function-typed parameter as an alias and executes calls through it. The checker also types unique bare internal function names as internal function values when no local variable shadows them. Added executable/checker witnesses forx.apply(double). Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 13:34 PDT - semantics/typecheck - added contextual overload resolution for bare internal function names passed directly to internal function-typed parameters. Ordinary internal calls now use the same internal-function-name-aware argument matcher as
usingrewrites, and the checker falls back to expected-parameter matching when ordinary argument checking hits an overloaded internal function name. Added executable/checker witnesses for an overloadeddoublewhereapplyPointer(double, x)selects the unary internal overload. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 13:49 PDT - semantics/typecheck - extended the same contextual overload path to member calls and
usingmethods. When ordinary member-call argument checking fails on an overloaded bare internal function name, the checker resolves the member/using candidate with expected parameter types, then rechecks the selected arguments through the normal expression checker. Added overloadedx.apply(double)executable/checker coverage with the non-matching overload listed first. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 13:59 PDT - semantics - made source ABI receive/fallback dispatch total for missing fallback paths: unknown selectors and plain-Ether calls without a receive/fallback now return a failed empty-revert ABI result instead of
none, while payable fallback remains the empty-calldata target when no receive exists. Added executable witnesses for payable fallback receiving plain Ether, nonpayable fallback rejecting value, unknown selector with no fallback, and plain Ether with no receive/fallback. Commandslake env lean SolidCore/Solidity/ABI.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, Interface/TypeCheck module builds, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 14:06 PDT - semantics - added executable coverage for inherited and overridden source receive/fallback dispatch. A derived contract with no override now inherits the base
receive/fallback, while a most-derived override wins for empty calldata and unknown selector calls. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, Interface/TypeCheck module builds, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 14:21 PDT - semantics/typecheck - added focused account-environment member coverage for
address.balance,address.code, andaddress.codehash. Executable witnesses now check returned balances, code bytes, code length, missing-code length, and codehash; checker witnesses accept those reads inviewfunctions and reject them inpurefunctions as environment reads. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 14:26 PDT - typecheck - aligned ambient builtin mutability with Solidity 0.8.35 compiler behavior:
gasleft()now requires aviewcontext likeblockhashandblobhash, and executable checker witnesses cover acceptedviewusage, rejectedpuregasleft, rejectedpureblockhash, and non-integerblockhasharguments. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, TypeCheck module build, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 14:30 PDT - typecheck - added Solidity 0.8.35-shaped CREATE2 salt checker coverage for contract creation options. A
bytes32salt parameter is accepted fornew Child{salt: salt}(...), while auint256salt and a bare numeric salt literal are rejected, matchingsolc's expected-type behavior. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, TypeCheck module build, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 14:35 PDT - typecheck - matched Solidity 0.8.35 delete typing for mappings:
delete m[k]remains accepted for deleting a stored mapping value, whiledelete mon the mapping object itself is rejected. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, TypeCheck module build, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 14:38 PDT - typecheck - aligned exponentiation operand typing with Solidity 0.8.35: signed integer bases are allowed, but the exponent operand must be unsigned. Added checker witnesses for accepted
int256 ** uint8and rejecteduint256 ** int8. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, TypeCheck module build, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 14:45 PDT - semantics - added executable source witnesses that division and modulo by zero panic with Solidity
Panic(0x12), including insideuncheckedblocks where overflow checks are disabled but divide-by-zero checks remain active. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, Interface module build, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 14:52 PDT - semantics - added executable source witnesses for Solidity signed-division overflow:
type(int256).min / -1panics withPanic(0x11)in checked mode and wraps back totype(int256).mininsideunchecked. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, Interface module build, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 15:02 PDT - semantics/typecheck - tightened modular arithmetic builtin coverage. The checker now rejects literal-zero moduli for
addmodandmulmodwhile still accepting variable moduli, matching Solidity 0.8.35's compile-time zero-modulus diagnostics; executable witnesses cover variable-zero runtime panics withPanic(0x12)for both builtins. Commandslake env leanfor Interface/TypeCheck, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 15:12 PDT - typecheck - tightened the source checker for Solidity's
require/revertoverload sets. Ordinaryrequire(bool, ...)andrevert(...)reason arguments now must be string-like, while the existing statement-levelrequire(bool, CustomError(...))path continues to resolve custom errors separately; witnesses rejectrequire(c, 7)andrevert(7). Commandslake env leanfor TypeCheck/Interface, TypeCheck/Interface module builds, focused evals,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 15:16 PDT - typecheck - aligned
addmod/mulmodargument typing with Solidity 0.8.35's unsigned builtin signatures. The checker now requires all three arguments to be assignable touint256, preserving literal-zero modulus rejection and variable modulus acceptance; witnesses reject signedaddmodand signed-modulusmulmodcalls. Commandslake env leanfor TypeCheck/Interface, TypeCheck module build, focused evals,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 15:20 PDT - typecheck - aligned
blockhash/blobhashargument typing with Solidity 0.8.35. Ambient hash builtins now require an argument assignable touint256rather than any integer, while their existing view-only effect rule remains unchanged; witnesses reject signedblockhashandblobhashinputs. Commandslake env leanfor TypeCheck/Interface, TypeCheck module build, focused evals,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 15:24 PDT - typecheck - aligned low-level
send/transferamount typing with Solidity 0.8.35. Payable-address checks are unchanged, but amount operands now must be assignable touint256; witnesses reject signed amounts for bothsendandtransfer. Commandslake env leanfor TypeCheck/Interface, TypeCheck module build, focused evals,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 15:29 PDT - typecheck - aligned shared call-option typing with Solidity 0.8.35.
{gas: ...}and{value: ...}options now require values assignable touint256instead of arbitrary integers, covering low-level calls, external calls, and creation paths that use the common option checker; witnesses reject signed gas/value options while preserving existing accepted unsigned cases. Commandslake env leanfor TypeCheck/Interface, TypeCheck module build, focused evals,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 15:38 PDT - typecheck - aligned array/bytes index and dynamic allocation length typing with Solidity 0.8.35. Source indexing of arrays,
bytes, andbytesN, plusnew bytes(n)andnew T[](n), now requires the index/length expression to be assignable touint256; witnesses reject signed array indexes, signed bytes indexes, signed dynamic-array lengths, and signed bytes lengths while preserving accepted unsigned examples. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 15:47 PDT - typecheck - aligned enum explicit conversion typing with Solidity 0.8.35's literal-vs-typed distinction. Direct untyped numeric literal expressions converted to an enum must be in the declared enum range, so
Color(2)andColor(-1)are rejected for a two-case enum, while typed integer expressions such asColor(uint256(2))remain accepted for runtime enum range checking. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 15:52 PDT - typecheck - aligned enum-to-integer explicit conversion typing with Solidity 0.8.35. Enum values may be explicitly converted to unsigned integer types, matching the existing executable enum read-as-uint behavior, while enum-to-signed-integer conversions remain rejected; checker witnesses cover both paths. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 15:58 PDT - typecheck - wired event parameter validation into
EventDecl.check, so event declarations now reject parameters containing mappings or internal function types while preserving external function-typed event parameters. Added checker witnesses for mapping/internal-function rejection and external-function acceptance. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 16:07 PDT - typecheck - aligned declaration-parameter name uniqueness with Solidity 0.8.35 for events, custom errors, and modifiers. Event/error/modifier parameter lists now reject duplicate named parameters, while unnamed parameters remain outside the uniqueness set; the event declaration check also avoids rechecking parameter types twice. Added checker witnesses for duplicate event/error/modifier parameter rejection. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 16:16 PDT - typecheck - added block-scope tracking for local declarations so duplicate local variable names in the same Solidity statement block are rejected, while nested block shadowing remains accepted like solc's warning-only behavior. Also reject duplicate names in
try ... returns (...)success bindings. Added witnesses for same-block duplicate rejection, nested shadow acceptance, and duplicate try-return rejection. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 16:28 PDT - semantics/typecheck - extended payable address conversion for Solidity's compile-time numeric-zero rule:
payable(1 - 1)now lowers to the zero payable address likepayable(0), while nonzero integer payable conversions remain rejected. Added executabletoCore?coverage and checker witnesses for accepted zero-expression conversion and rejectedpayable(1). Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 16:56 PDT - semantics/typecheck - tightened the payable numeric-zero exception to match Solidity 0.8.35's untyped-literal distinction.
payable(uint160(0))is now rejected in both executable lowering and the checker, whilepayable(address(uint160(0)))remains accepted andpayable(1 - 1)still lowers to the zero payable address. Confirmed the edge cases withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 17:02 PDT - typecheck - aligned interface receive/fallback declarations with Solidity 0.8.35. Interfaces now allow header-only receive declarations and untyped/typed fallback declarations while still rejecting interface constructors and fallback bodies; receive/fallback declarations inherited from interfaces also count as implicitly virtual abstract members that non-abstract contracts must implement. Confirmed direct declarations, inheritance obligations, and body/constructor rejection with
npx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 17:06 PDT - typecheck - aligned interface-local
using fordirectives with Solidity 0.8.35. Interface kind-shape checking now rejects contract-level using declarations inside interfaces while preserving accepted file-level and contract-level using directives elsewhere; added a checker witness with a real library plus interface-localusing Lib for uint256. Confirmed the compiler behavior withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 17:10 PDT - typecheck - aligned library state-variable shape with Solidity 0.8.35. Libraries may now declare
constantstate variables, including use from a pure internal library function, while ordinary mutable and immutable library variables remain rejected as non-constant state. Confirmed the constant/immutable cases withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-14 17:37 PDT - semantics/typecheck - added Solidity file-level event declarations. Source units now preserve free events through user-type/enum/struct resolution, expose them to contract lowering and constructor lowering, and include them in event emission lookup while direct contract event declarations shadow ABI-identical source events for typechecking. The checker accepts emitting a file-level event, rejects duplicate free event ABI signatures, rejects top-level event/name collisions with non-event declarations, rejects invalid mapping event parameters, and accepts a contract redeclaring the same event signature as a file-level event. Confirmed the file-level event acceptance, overloading, duplicate-signature rejection, contract redeclaration, and top-level collision cases with
npx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.Interface,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 17:52 PDT - semantics/typecheck - aligned file-scope event and custom-error visibility with Solidity's contract-scope name shadowing. Contract-local events and errors now hide all same-named file-level declarations, not just ABI-identical ones, for checker lookup, named-argument normalization, and executable ABI event/error declaration surfaces. Added executable witnesses that local event/error ABI declarations replace the file-level ones, plus checker witnesses accepting local same-name calls and rejecting calls that would only match the hidden file-level declaration. Confirmed same-name cross-scope event/error acceptance, local-overload selection, and hidden-free rejection cases with
npx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 18:06 PDT - typecheck - aligned bare internal function values with Solidity 0.8.35 by requiring a unique internally-callable function name before checking assignability to an expected internal function type. This rejects overloaded bare function names in variable initializers, direct function-pointer arguments, and
usingmethod arguments while preserving unique-name function-pointer calls. Updated executable examples to document the non-overloaded source surface. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 18:18 PDT - semantics/typecheck - added named-argument higher-order
usingcoverage for internal function pointer parameters (x.runWith({fn: double})) and the matching overloaded-name rejection witness. Renamed the higher-order function-pointer examples away from Solidity's reservedapplyidentifier to parser-real names (Runner.runWith,invokePointer) while preserving the executable behavior. Confirmed the named unique/overloadedusingcases withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, Interface/TypeCheck module builds, focused evals,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 18:25 PDT - typecheck - tightened try-return parameter data locations to match Solidity 0.8.35: reference-typed
try ... returns (...)bindings must usememory, whilecalldata,storage, and omitted data locations are rejected. Added checker witnesses for acceptedbytes memorytry returns and rejectedbytes calldata/bytes storage/unlocated bindings. Confirmed the memory/calldata/storage/omitted-location cases withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 18:29 PDT - typecheck - aligned the AST-level try/catch checker with Solidity's required catch-list grammar by rejecting
trystatements with no catch clauses. Added witnesses for bothtry ... returns ... { ... }and plaintry ...forms with empty catch lists while preserving accepted catch forms. Confirmed solc rejects the empty-catch source form withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 18:34 PDT - typecheck - aligned constructor mutability rules with Solidity 0.8.35: constructors may be nonpayable or payable, while
viewandpureconstructors are rejected. Added checker witnesses preserving accepted nonpayable/payable constructor paths and rejecting view/pure constructors. Confirmed the payable/view/pure cases withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 18:42 PDT - typecheck - aligned recursive struct-shape checking with Solidity 0.8.35. Struct validation now follows direct and fixed-array struct field edges across mutually recursive declarations, while dynamic arrays, mappings, and function-typed fields break the cycle as accepted by
solc. Added checker witnesses for rejected mutual direct recursion plus accepted dynamic-array and function-pointer recursive fields. Confirmed direct/fixed recursion rejection and dynamic/mapping/function break cases withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 18:50 PDT - typecheck - aligned function-type mutability validation with Solidity 0.8.35: payable function types are now valid only when their visibility is external, preserving accepted external payable function pointers while rejecting internal payable function pointer types. Confirmed the internal/external payable function-type cases with
npx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-14 19:30 PDT - typecheck - aligned library function headers with Solidity 0.8.35 by rejecting
virtualfunctions declared inside libraries while preserving ordinary implemented library functions and the existing payable-library rejection. Confirmed library virtual/internal/public/private cases withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 14:42 PDT - typecheck - aligned library modifier headers with Solidity 0.8.35 by rejecting
virtualmodifiers declared inside libraries while preserving ordinary library modifiers with implemented bodies. Confirmed accepted library modifiers and rejected virtual/bodyless virtual library modifiers withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 14:48 PDT - typecheck - aligned inherited function/state-variable namespace checks with Solidity 0.8.35: non-public state variables now reject shadowing inherited non-private function names, including overloaded names, while private base functions remain invisible and public getter override-shape behavior is preserved. Confirmed private/internal/public state-variable shadowing and public getter override cases with
npx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 14:53 PDT - typecheck - completed the reverse inherited namespace check by rejecting ordinary derived functions that reuse inherited visible state-variable names, including private/internal derived functions, while keeping inherited private state variables invisible. Confirmed internal/public/private-base state-variable cases and public getter override rejection with
npx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 14:59 PDT - typecheck - extended inherited visible state-variable namespace rejection beyond ordinary functions/state variables to modifiers, events, custom errors, structs, enums, and user-defined value types, while preserving inherited private state invisibility. Confirmed all six declaration-kind reject/accept pairs with
npx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 15:07 PDT - typecheck - extended inherited declaration namespace checks for function and modifier names: modifiers/events/types now reject inherited visible function names, and functions/state variables/events/types now reject inherited modifier names while preserving valid modifier override handling and inherited private-function invisibility for non-modifier declarations. Confirmed representative reject/accept cases with
npx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals including modifier override regression,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 15:14 PDT - typecheck - aligned inherited event/error/type declaration namespaces with Solidity 0.8.35. Inherited event names now reject derived non-event declarations while still allowing distinct event overloads and rejecting duplicate inherited event ABI signatures; inherited custom errors and user-defined type names reject all same-named derived declarations. The checker now also exposes inherited event/error signatures to derived contract bodies, with coverage for reverting an inherited custom error. Confirmed event/error/struct/enum/UDVT inheritance collision cases with
npx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 15:21 PDT - typecheck - aligned file-scope event/custom-error shadowing through inherited contract declarations. Once inherited event/error signatures are visible, same-named file-scope declarations are hidden for derived contract bodies; witnesses reject calls that only match the hidden file-scope signature while accepting the inherited no-argument event/error signature. Confirmed the event/error cases with
npx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 15:28 PDT - typecheck - added inherited nested type visibility to the source checker. Derived contracts now resolve inherited structs, enums, and user-defined value types by unqualified name and by qualified
Base.Typepath, and inherited nested types shadow same-named file-scope types for unqualified lookup. Added witnesses for inherited state-variable types, qualified inherited struct state, accepted inherited struct field access, and rejected access to a file-scope field hidden by the inherited struct. Confirmed the inherited struct/enum/UDVT, qualified type, and file-scope shadowing cases withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 15:46 PDT - semantics - aligned executable source-type resolution with inherited nested type lookup. Source lowering now uses exact path-keyed user/enum/struct environments, preserves qualified
Contract.Typeentries, and resolves each contract body in its own dispatch-order type context so inherited nested structs shadow file-scope and unrelated contract-local types during lowering. Added executable witnesses for unqualified inheritedSand qualifiedNestedTypeBase.Slowering in the presence of a freeSand later unrelatedNestedTypeOther.S. Confirmed the source shape withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 15:54 PDT - semantics - expanded inherited nested type executable coverage beyond structs to enums and user-defined value types. Added witnesses where inherited
type(E).maxand qualifiedtype(EnumUdvtBase.E).maxignore same-named file-scope/later contract enums, and where unqualified/qualified inheritedTokenUDVT parameters dispatch through the inheriteduint8ABI rather than same-nameduint256declarations. Confirmed the enum/UDVT source shape and ABI withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 16:02 PDT - semantics - added executable coverage for inherited event/custom-error declarations shadowing same-named file-scope declarations. The new witnesses check the derived ABI surfaces only the inherited no-argument event/error, custom-error revert payloads use
Collision(), and event emission logs the inherited no-argumentCollisionEvent()topic with no data. Confirmed the event/error source shape and ABI withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 16:12 PDT - typecheck - added Solidity tuple-declaration support for omitted components such as
(, uint256 z) = (1, 2)and(, y) = pair(). Anonymous untyped bindings now act as omitted tuple declaration slots only in initialized multi-bindings: literal tuple initializers and tuple-return initializers preserve arity while skipping assignability for omitted slots, and omitted slots without an initializer remain rejected. Confirmed the accepted source forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build SolidCore.Spine.L00_SourceSolidity.Interface,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 16:24 PDT - typecheck - added contextual fixed-array literal assignability for untyped numeric literals, so Solidity forms like
uint8[2] memory xs = [1, 2]and returning[1, 2]from auint8[2] memoryfunction now type-check while out-of-range literals such as[1, 300]remain rejected. Confirmed the accepted/rejected source forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for the new accept/reject witnesses,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 16:39 PDT - typecheck - extended contextual fixed-array literal typing into direct function-call overload resolution. Calls like
takesNarrowArray([1, 2])now resolve when the parameter expectsuint8[2] memory, while[1, 300]remains rejected as an invalid implicit conversion. Confirmed both source forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for the new and prior contextual-array witnesses,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 16:46 PDT - typecheck - extended contextual fixed-array literal typing through
usingmember calls. Library methods such asuint(1).takeUsingArray([1, 2])now resolve when the post-receiver parameter expectsuint8[2] memory, while[1, 300]still rejects. Confirmed the accepted and rejected source forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for direct-call and using-member contextual-array witnesses,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 16:54 PDT - typecheck - made contextual argument matching name-aware for fixed-array literals, so calls like
takesNarrowArray({xs: [1, 2]})anduint(1).takeUsingArray({xs: [1, 2]})resolve againstuint8[2] memoryparameters while[1, 300]remains rejected. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for direct and using named contextual-array witnesses,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 17:04 PDT - typecheck - extended contextual fixed-array literal argument resolution to events, custom errors,
require(false, CustomError(...)), and modifier invocations. Event/custom-error calls now support both positional and named contextualuint8[2]array literals, modifiers support positional contextual array literals, and all overflow witnesses still reject[1, 300]. Confirmed the representative source forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for event/error/require/modifier contextual-array witnesses,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 17:10 PDT - typecheck - extended contextual fixed-array literal argument resolution to constructor-shaped calls. Contract creation now accepts positional and named
uint8[2]constructor literals, salted creation preserves the same contextual check, and base-specifier plus constructor-style base invocations accept positional[1, 2]while rejecting[1, 300]. Confirmed the representative constructor/source forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for constructor/base contextual-array witnesses,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 17:14 PDT - typecheck - extended contextual fixed-array literal argument resolution to struct constructors. Positional
S([1, 2])and namedS({xs: [1, 2]})now check when fieldxsisuint8[2], while[1, 300]still rejects. Confirmed the representative struct-constructor forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for positional/named struct contextual-array witnesses,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 17:18 PDT - typecheck - extended contextual fixed-array literal checking to multi-return tuple literals, so
return ([1, 2], [3, 4])can satisfy returns of(uint8[2] memory, uint8[2] memory)while[1, 300]remains rejected. Confirmed the representative tuple-return source forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for tuple-return contextual-array witnesses,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 17:28 PDT - typecheck - extended contextual fixed-array literal checking to tuple assignment against existing typed tuple targets, so
(a, b) = ([1, 2], [3, 4])can satisfy named return variables of typeuint8[2] memorywhile[1, 300]remains rejected. Confirmed the representative tuple-assignment source forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for tuple-assignment contextual-array witnesses,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 17:39 PDT - typecheck - extended contextual fixed-array literal checking through ternary expressions in expected-array contexts. Local initializers, return expressions, and function arguments now accept
flag ? [1, 2] : [3, 4]foruint8[2] memorywhile rejecting an overflow branch such as[1, 300]. Confirmed the local/return/argument source forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for ternary contextual-array witnesses,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 17:46 PDT - typecheck - extended contextual fixed-array checking to ordinary assignment into existing typed variables. Assignments such as
xs = [1, 2]andxs = flag ? [1, 2] : [3, 4]now check whenxsisuint8[2] memory, while[1, 300]variants still reject and local storage-reference assignment remains guarded. Confirmed direct assignment, ternary assignment, tuple declaration, and tuple assignment source forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for assignment contextual-array witnesses,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 18:00 PDT - typecheck - extended contextual fixed-array checking to
abi.encodeCallargument tuples. Calls such asabi.encodeCall(target.takeArray, ([1, 2]))and the ternary argument form now resolve against external function parameters of typeuint8[2] memory, while overflow branches such as[1, 300]reject. Confirmed the direct and ternaryabi.encodeCallsource forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for ABI encodeCall contextual-array witnesses,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 18:09 PDT - semantics/typecheck - added a narrow executable surface for empty inline assembly blocks.
Stmt.inlineAssembly ""now type-checks and lowers to source-coreskip, matchingassembly {}as a no-op, while non-empty opaque assembly strings remain unsupported until a Yul-level representation/semantics exists. Confirmed withnpx solc@0.8.35 --standard-jsonthat empty and non-empty inline assembly are accepted by Solidity, and that whole-mapping delete, nestedunchecked, modifier placeholders inunchecked, named low-level-call arguments, call options onsuper/array members, and empty array literals are real Solidity rejections. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean, Interface/TypeCheck module builds, focused evals for empty/non-empty inline assembly witnesses,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 18:25 PDT - typecheck - tightened
abi.encodeCallfunction-pointer target validation so member-call bases are checked as ordinary expressions before resolving the external member signature. This rejects previously accepted invalid targets such as(new D()).setinside aviewfunction, non-bool ternary target conditions, and mismatched ternary target branches, while preserving accepted contract-creation targets in non-view functions, address-to-contract conversion targets, contextual array arguments, andthismutability rejection. Confirmed the corresponding accepted/rejected cases withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for the newabi.encodeCalltarget witnesses and regressions,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 18:33 PDT - typecheck - tightened contextual fixed-array literal typing to avoid widening already-typed elements through the expected array element type. Forms such as
return [uint8(1), 2]touint16[2] memoryandtakesWideArray([uint8(1), 2])now reject like Solidity 0.8.35, while genuine common-type widening such as[uint8(1), uint16(2)], untyped literal narrowing such as[1, 2]touint8[2], ternary contextual arrays, calls, andabi.encodeCallcontextual arrays remain accepted. Confirmed the typed-element rejection and accepted common-type/untyped cases withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for typed-element rejection and contextual-array regressions,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 18:47 PDT - typecheck - added enum
type(E).min/type(E).maxsupport to the source checker. Enum min/max members now type-check with the enum type, matching the executable enum-resolution surface and Solidity 0.8.35, while unknown enum members remain rejected. Confirmedreturn (type(E).min, type(E).max)withnpx solc@0.8.35 --bin. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for enum member accept/reject and enum min/max acceptance,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 19:01 PDT - typecheck - extended contextual fixed-array literal argument resolution to external contract member calls. Calls such as
target.takeArray([1, 2]),target.takeArray{gas: 100000}([1, 2]), andtry target.takeArray([1, 2]) returns (...)now resolve against external parameters of typeuint8[2] memory, while overflow literals such as[1, 300]still reject. Confirmed the ordinary, gas-option, and try/catch source forms withnpx solc@0.8.35 --bin. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for external member contextual-array witnesses and ABI encodeCall regressions,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 19:09 PDT - typecheck - extended contextual fixed-array literal argument resolution to function-typed expression calls. External function values such as
getter([1, 2]),getter{gas: 100000}([1, 2]), andtry getter([1, 2]) returns (...)now resolve againstfunction(uint8[2] memory) external ...parameters, while overflow literals such as[1, 300]still reject. Confirmed the ordinary, gas-option, try/catch, and overflow source forms withnpx solc@0.8.35 --bin. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for external function-value contextual-array witnesses and external-member regressions,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-15 19:28 PDT - typecheck - extended contextual fixed-array literal argument resolution across inherited and library member-call surfaces. Direct library calls such as
Lib.takeArray([1, 2]), explicit base calls such asBase.takeArray([1, 2]), andsuper.takeArray([1, 2])now resolve againstuint8[2] memoryparameters, while[1, 300]variants still reject. Confirmed the library/base/super accepted and overflow-rejected forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for the new library/base/super contextual-array witnesses,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build SolidCore.Spine.L00_SourceSolidity.Interface,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 19:36 PDT - typecheck - added named-argument coverage for contextual fixed-array literals across external contract members, direct library calls, explicit base calls, and
supercalls. Forms liketarget.takeArray({xs: [1, 2]}),Lib.takeArray({xs: [1, 2]}),Base.takeArray({xs: [1, 2]}), andsuper.takeArray({xs: [1, 2]})remain accepted, while the corresponding[1, 300]forms reject. Confirmed representative external member, library, base, and super source forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for the new witnesses,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build SolidCore.Spine.L00_SourceSolidity.Interface,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 19:54 PDT - semantics/typecheck - added source support for
new string(length). The type checker now accepts positionalnew string(n)with unsigned length and rejects named or signed lengths like Solidity 0.8.35; the executable source translation lowers string allocation to the same zero-filled byte-buffer core expression used fornew bytes(n)while preserving source typestring. Confirmed accepted/rejected string allocation forms withnpx solc@0.8.35 --standard-json. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean, TypeCheck/Interface module builds, focused evals for checker and executable string-allocation witnesses,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 20:09 PDT - typecheck - threaded storage-return location flags through source function signatures and checked expressions. Internal functions returning storage references now typecheck when their storage return is bound directly, destructured from a tuple return, or used as the base of
push/indexed mutation; memory values returned to storage-reference return slots still reject. Confirmed with solc 0.8.35 that internal storage-reference returns and tuple destructuring are accepted while public/external storage returns and memory-to-storage returns reject. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck, focused evals for storage-return binding/rejection witnesses,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 20:57 PDT - semantics - made internal storage-reference returns executable in the source interface. Internal-call inlining now allocates storage-aware return slots, rewrites storage-return
returnexpressions into return-slot alias assignments, keeps storage-return destructuring flattened so aliases survive into the caller scope, and supports directgetStorage().push(...)plus indexed mutation through a returned storage reference. Added executable witnesses for single binding, tuple binding, and direct returned-storage mutation. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused evals for the new witnesses and storage-reference regressions,lake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 21:41 PDT - semantics/typecheck - took the first common-typechecker refactor step by adding
SolidCore.Spine.L00_SourceSolidity.Checked, a checked execution layer aboveTypeCheck.SourceUnit.checkand the raw executable translators. The newTypeCheck.CheckedSourceUnitandTypeCheck.SourceUnit.checked*wrappers run source validation before source-to-core translation, construction, calls, or transactions, andSolidCore.Spinenow imports the checked layer as part of the public spine surface. Also made storage-reference return rewriting recursive through statement bodies, added a conditional storage-reference return executable witness, and tightened the storage-return fixture so checked execution catches it as valid Solidity source. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface, focused raw storage-return evals, checked wrapper eval returningExcept.ok true,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 21:44 PDT - typecheck/api - extended the checked execution layer with direct single-contract facades under
TypeCheck.ContractDecl, so standalone contract callers can request checked source-to-core translation, construction, calls, and transactions without manually wrapping aContractDeclinto aSourceUnit. Added checked-layer witnesses showing valid storage-return execution through the direct facade, and showing that a malformed raw executable fixture still runs through the old raw path but is rejected by the checked facade for missing function visibility. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked-layer evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 21:52 PDT - semantics/typecheck - added checked execution witnesses for Solidity try/catch over valid contract-typed external calls. The new checked harness first runs
SourceUnit.check, translates the checked source to core, then executescatch Error(string),catch Panic(uint256), and low-levelcatch (bytes memory)paths against oracle-provided external-call results. This keeps the older rawaddress target; target.get()convenience examples from being mistaken for valid source while proving the checked layer covers the Solidity-shaped try/catch surface. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked storage-return/try-catch evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 21:56 PDT - semantics/typecheck - extended the checked execution layer to ABI calldata dispatch.
CheckedSourceUnit,SourceUnit, andContractDeclnow expose checked calldata-call helpers that run source validation before ABI dispatch, including sender/value-aware calls. Added checked witnesses for validfallbackdispatch on unknown selectors,receivedispatch on empty calldata, payable fallback with value and plain Ether, nonpayable fallback value rejection, and missing fallback/receive rejection without state writes. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked ABI dispatch and try/catch evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 21:59 PDT - semantics/typecheck - added checked ABI calldata transaction helpers and transient-storage witnesses. The checked layer now exposes
callCalldataTransaction*entry points forCheckedSourceUnit,SourceUnit, and standaloneContractDecl, routing throughSourceUnit.checkbefore ABI transaction dispatch. Added checked witnesses showing transient writes persist across raw checked ABI calls in the same frame, but are cleared before/after checked ABI transaction calls while persistent storage remains. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked transient/ABI/try-catch evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 22:08 PDT - typecheck/api - refactored checked execution around shared
CheckedProgramandCheckedContracthandles. Source-unit and standalone-contract checked facades now all build through the same validated, source-resolved program layer before translation, construction, named calls, transaction calls, ABI dispatch, and ABI transaction dispatch. AddedcheckedProgramCommonLayerMatchesto exercise one checked program through program-level calls, checked-contract calls, and ABI calldata dispatch. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused common/transient/try-catch evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 22:12 PDT - semantics/typecheck - expanded checked execution coverage for constructor/deployment behavior through the shared checked layer. Added witnesses for payable constructors preserving
msg.value, nonpayable constructor value rejection with rollback, immutable assignment/read/getter after construction, typechecker rejection of runtime immutable writes, constructor internal calls, constructor calls to file-level free functions, and inherited base-constructor named/modifier arguments. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked constructor evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 22:17 PDT - semantics/typecheck - expanded checked execution coverage for events, custom errors, and revert rollback through the shared checked layer. Added witnesses for file-level event emission, file-level error reverts, named event/error argument ordering,
require(false, CustomError(...)), event argument side effects, custom-error rollback of storage/events, inherited event/error shadowing, and ABI error-payload dispatch. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked event/error evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 22:23 PDT - typecheck/api - widened the common checked execution layer so
checkSourceUnitis the single source-validation gate for the checked facade, andCheckedContract/CheckedProgramnow own checked function lookup, ABI calldata generation, and custom-context function execution. Source-unit, checked-source-unit, and standalone-contract helpers route those operations through the shared checked handles; try/catch and ABI-error witnesses now use the same path rather than ad hoc function lookup. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, and focused common/try-catch/error-payload evals are green. - 2026-05-15 22:30 PDT - semantics/typecheck - expanded checked execution coverage for low-level call surfaces through the shared checked layer. Added Solidity-valid checked witnesses for
address.call,call{gas,value}, gas mismatch returning(false, ""), call-option side effects,staticcall{gas},delegatecall,delegatecall{gas}, missing low-level oracle results, payable-addresssendsuccess/failure,transfersuccess/revert rollback, checked-layer rejection of invalidsend/transfersources, and a precompile builtin/staticcall pair sharing the same low-level result. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked low-level evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 22:35 PDT - semantics/typecheck - expanded checked execution coverage for contract creation through the shared checked layer. Added Solidity-valid checked witnesses for
new Child(seed)returning the created contract address, named constructor-argument reordering,new Child{value,salt}withbytes32salt, creation failure rollback with raw revert data, missing creation oracle results reverting empty, and try/catch around contract creation success/failure. Also added checked-layer rejection witnesses for bad constructor argument types, missing constructor args, invalid salt types/literals, nonpayable constructor value, and creation in a view function. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked creation evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 22:43 PDT - typecheck/api - refactored the checked execution entry points behind a generic
CheckedInputlayer.CheckedProgram,CheckedSourceUnit, rawSourceUnit, and standaloneContractDeclnow share one validation-to-program adapter for checked source-to-core translation, construction, named calls, custom-context function calls, ABI calldata generation/dispatch, and transaction dispatch; the oldCheckedSourceUnit,SourceUnit.checked*, andContractDecl.checked*names are retained as thin compatibility wrappers. ExtendedcheckedProgramCommonLayerMatchesto exercise the common API across source, checked-source, program, and single-contract inputs. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused common-layer eval,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 22:59 PDT - semantics/typecheck - expanded checked execution coverage for Solidity library and
using forbehavior through the commonCheckedInputlayer. Added Solidity-valid checked witnesses for contract-level and file-levelusing, direct internal library calls, named method arguments, explicit library/free-function bindings, higher-orderusingwith internal function pointers, globalusingfor a user-defined value type, globalusingoperators, external library delegatecalls with oracle results,usingexpansion inside modifiers, andusinginside constructors. Added checked rejection witnesses for unknown/non-library using targets, bad explicit using functions, receiver mismatch, non-global operators, non-pure operator functions, contract-localglobal, and global using on non-UDVT targets. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked library/using evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 23:08 PDT - semantics/typecheck - expanded checked execution coverage for inheritance, source dispatch,
super, explicit base calls, and storage-layout bases through the common checked layer. Added witnesses for inherited function dispatch, virtual override dispatch,supervalue calls, explicit base calls, inherited state reads after construction,superstorage mutation, custom/constant/ERC-7201 storage layout initialization, and checked rejection of unknown bases, missing/nonvirtual overrides, badsupercalls/options, bad explicit base calls, inconsistent C3 order, inherited storage-layout bases, and invalid storage-layout base expressions. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked inheritance/storage-layout evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 23:24 PDT - typecheck/api - promoted the raw-source validation adapter into
TypeCheck.leanas the commonTypecheckedInputlayer. RawSourceUnit, already-checkedCheckedSourceUnit, and standaloneContractDeclnow share one path toCheckedSourceUnit; the checked executionCheckedInputlayer builds from that validation layer while preserving the existing execution-facing wrappers. Extended the common-layer witness to exerciseTypecheckedInput,SourceUnit.typechecked, andContractDecl.typecheckedalongside checked program/contract/call/ABI paths. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused common-layer evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-15 23:54 PDT - semantics/typecheck - moved the existing UDVT, enum, and struct source examples onto Solidity-shaped checked ground by adding explicit function visibility and struct
memorylocations to the canonical Interface fixtures, then added checked witnesses through the commonTypecheckedInput/CheckedInputpath. Coverage now includes UDVT wrap/unwrap, public getters, ABI calldata calls, event topics, and custom-error selectors; enum public getter/read/min/max/conversion/panic/ABI selector/event/error behavior; and struct named/positional construction, memory field assignment, ABI tuple echo, event topics, and custom-error selectors. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused data-type evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 00:12 PDT - semantics/typecheck - moved the storage-struct fixture onto checked ground by adding explicit public visibility to the canonical
storageStructSourceUnitentry points and adding checked witnesses for storage struct initialization, direct field writes, storage alias writes/reads, internal storage-reference parameters, public tuple getter shape, delete clearing both fields, and ABI calldata getter encoding. The checked pair decoder now accepts both tuple-valued and ABI-facing multiword return shapes. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked, focused checked storage-struct evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 00:32 PDT - semantics/typecheck - moved the nested storage-path fixture onto checked ground by adding explicit public visibility to the canonical
structStoragePathSourceUnitentry points and adding checked witnesses through the commonTypecheckedInput/CheckedInputpath. Coverage now includes mapped struct field updates, nested dynamic-array andbytespush/pop and push-assignment paths, storage aliases, nested mapping writes, internal storage-reference parameters, and modifier-propagated storage references. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked storage-path evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 00:41 PDT - semantics/typecheck - moved the standalone nested storage-path contract fixtures onto checked ground by adding explicit public visibility to
nestedStoragePathContract,nestedStoragePathCompoundContract, andnestedBytesStoragePathContract, then adding checked witnesses through the common standalone-contractTypecheckedInput/CheckedInputpath. Coverage now includes nested dynamic-array cell set/read/delete, nested mapping set/read/delete, compound assignment and pre-increment through nested paths, and nested dynamicbytesbyte set/read/delete. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked nested-storage evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 00:51 PDT - semantics/typecheck - moved the internal function-pointer fixtures onto checked ground by adding explicit helper/entry visibility and adding checked witnesses through the common standalone-contract path. Coverage now includes internal function-pointer aliasing, reassignment, assignment after declaration, delete-then-reassign, uninitialized and deleted function-pointer panics, pointer copy independence, function-pointer parameters, direct bare-function arguments, and unbound parameter panics. Commands
lake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked internal-function-pointer evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 01:00 PDT - semantics/typecheck - moved the internal-return evaluation-order fixtures onto checked ground by adding explicit helper/entry visibility and adding checked witnesses through the common standalone-contract path. Coverage now includes internal calls used as return subexpressions, left-to-right state visibility across right-hand subexpressions, and short-circuit
&&/||behavior that suppresses or preserves side effects as expected. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked internal-return evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 01:09 PDT - semantics/typecheck - moved control-flow fixtures onto checked ground by adding explicit helper/entry visibility and adding checked witnesses through the common standalone-contract path. Coverage now includes ternary branch selection with side effects, internal calls in
ifconditions, internal calls inwhileconditions,forpost expressions withcontinue,break/continueloop control, and named return fallthrough/default behavior. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked control-flow evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 01:30 PDT - semantics/typecheck - moved the expression-evaluation, side-effect argument, tuple, and free-function fixtures onto checked ground by adding explicit helper/entry visibility and the required
memorydata location for astringreturn in the canonical fixtures, then adding checked witnesses through the commonTypecheckedInput/CheckedInputpaths. Coverage now includes internal calls inside binary/unary/ternary expressions, short-circuit state visibility,require/assert/custom-error argument evaluation and rollback,emit/revertpositional and named argument ordering, tuple return/declaration/assignment holes and swaps, internal named arguments, internal multi-return var declarations, free function calls and named arguments, and checked rejection of a free function that tries to capture contract storage. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked expression/side-effect/tuple/free-function evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 01:49 PDT - semantics/typecheck - moved the statement target-effect fixtures onto checked ground by wrapping the raw local statement examples in the canonical
expressionTargetEffectsContract, adding explicit public visibility to the storage indexed-compound target fixture, and teachingcheckRevertCallto route builtinrevert(...)through builtin expression checking instead of custom-error lookup. Coverage now includes checked pre/post increment and decrement expression values, signed increment, assignment-expression values, memory indexed assignment/compound assignment/tuple assignment target evaluation order, storage indexed compound assignment, delete plus post-increment indexed targets, custom-error and event argument evaluation, dynamicrequirereason bytes, and dynamicrevertreason bytes. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked target-effect evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 02:05 PDT - semantics/typecheck - moved a calldata/data-location and ABI-array slice onto checked ground by adding canonical Solidity-valid wrapper contracts for memory array allocation, memory bytes/string allocation, array literals, calldata array slicing, fixed/dynamic ABI arrays, dynamic bytes arrays, and fixed-bytes ABI echo. Added checked witnesses through the common
TypecheckedInput/CheckedInputpath for successful memory/default values, bytes and string allocation, out-of-bounds panics, ABI encoding of array literals and calldata slices, checked ABI calldata dispatch, and ABI output matching for fixed/dynamic arrays and fixed bytes. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface,lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked calldata/data-location/ABI evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 02:19 PDT - semantics/typecheck - moved the static and dynamic tuple ABI fixtures onto checked ground. The checker now supports literal tuple indexing and treats tuple types as requiring a data location when any tuple member requires one, so dynamic tuple calldata/memory parameters and returns can pass through the common checked layer. Added checked ABI calldata witnesses for static tuple echo and dynamic tuple echo alongside the existing array ABI witnesses. Commands
lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked, focused tuple/ABI evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 02:26 PDT - semantics/typecheck - extended the common checked ABI calldata facade with address-aware
callCalldataAt*and transaction-at entry points for checked contracts, checked programs, genericCheckedInput, checked source units, source units, and standalone contracts. Added a canonical checked call-context contract and checked witnesses for ABI dispatch preservingmsg.sig,msg.data,msg.sender,msg.value, andthisself address. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked, focused checked call-context evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 02:37 PDT - semantics/typecheck - moved block/transaction environment and hash builtin fixtures onto checked ground through the common standalone-contract path. Added canonical checked wrappers and witnesses for block globals,
tx.origin/tx.gasprice,gasleft,block.difficultyaliasingprevrandao,blockhash/blobhashin-range and out-of-range behavior,keccak256,erc7201, precompile-backedsha256/ripemd160, and missing precompile result panic behavior. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked, focused checked environment/hash evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 02:52 PDT - semantics/typecheck - moved modular arithmetic and remaining crypto precompile builtins onto checked ground. Added canonical checked wrappers and witnesses for
addmod/mulmodsuccess, variable zero-modulus panic behavior, common-layer rejection of zero-literal and signed-argument invalid sources, typedecrecover, and a combinedsha256/ripemd160/ecrecoverbuiltin plus direct precompilestaticcallfixture sharing the same low-level oracle results. Also repaired the earlier single-precompile checked witness by adding the requiredmemorylocation to the(bool, bytes)return tuple. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked, focused checked modular/precompile evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 03:24 PDT - semantics/typecheck - moved general ABI builtin fixtures onto checked ground through a canonical
CheckedAbiBuiltinscontract. Coverage now includes Solidity-validabi.encodewith explicit and inferred types, local inferred values,keccak256(abi.encode(...)),abi.encodeWithSelector, literal and runtimeabi.encodeWithSignature,abi.encodePacked,abi.decodesingle and multi-return paths, and malformed decode panic behavior. The checked wrappers also replace raw-only invalid source spellings such as numeric-to-bytesNcasts andbytes(string)with Solidity-valid byte literals. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked, focused checked ABI builtin evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 03:35 PDT - semantics/typecheck - moved
abi.encodeCalland external function-pointer ABI/call fixtures onto checked ground. Added a canonical checked source unit with a realTarget.set(uint256,bytes)contract for cross-contractabi.encodeCall, plus a checked external-function-pointer contract coveringabi.encodeCallfrom a function pointer,.selector/.addressmembers, ABI clean decode and dirty-padding rejection, external view function-pointer calls, payable and gas-option external pointer calls with code-presence checks, nonpayable value-option rejection, and try/catch success/fallback behavior. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked, focused checked encodeCall/external-function evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 04:03 PDT - semantics/typecheck - moved type metadata, address/code environment members, selfdestruct, and concat builtin fixtures onto checked ground. Added Solidity-valid checked wrappers and witnesses for
type(uint).min/max,type(int).min/max,type(C).name,type(C).creationCode/runtimeCode, ABI encoding ofruntimeCode,type(I).interfaceId,this/address balance/codehash/code length,selfdestructrecording and stop behavior,bytes.concat,string.concat, and checked rejection of invalid metadata/address/selfdestruct/concat sources. Also repairedinterfaceIdLiteralExprto resolve interface IDs through fixed selector bytes instead of the old raw-only numericbytes4(...)cast. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked, focused metadata/address/selfdestruct/concat evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 04:17 PDT - semantics/typecheck - moved calldata
bytesslicing and the literal/conversion fixture cluster onto checked ground through a canonicalCheckedLiteralConversionscontract. Coverage now includes checked byte slicing into memory, string literals, decimal/hex/scaled numeric literals, fractional compile-time numeric expressions, unit denominations, typed numeric literal conversions and var declarations, runtime integer casts, fixed-bytes literal conversions, fixed-bytes length/indexing and out-of-bounds panic behavior, checked fixed-bytes runtime conversions through Solidity-valid address-to-uint160routing, unicode string literals, address/payable literal conversions, hex-string literals, ABI encoding of hex-string bytes, and checked rejection of invalid calldata-slice/unit-number sources. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked, focused checked literal/conversion evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 04:40 PDT - semantics/typecheck - moved checked/unchecked arithmetic edge cases onto checked ground through a canonical
CheckedArithmeticcontract. Coverage now includes signed division/remainder/comparison and ABI output, signed arithmetic right shift and shift assignment, checked add/sub/mul overflow panics, unchecked add/sub/mul wrapping, signed negation overflow and unchecked wrap, exponentiation success/overflow/unchecked wrap, division and modulo by zero still panicking inside unchecked blocks, signed division overflow and unchecked wrap, and the unchecked internal-call boundary where callee bodies remain checked but arguments evaluated in an unchecked block wrap. Added checked rejection coverage for nesteduncheckedblocks and modifier placeholders inside unchecked blocks. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked, focused checked arithmetic evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 04:56 PDT - semantics/typecheck - moved high-level external contract calls onto checked ground through a canonical
CheckedHighLevelExternalinterface/caller source unit. Coverage now includes contract-typed external return decoding, named argument reordering, local and multi-return var declarations from external calls, payable value and gas options, nonpayable gas options, assignment and discarded no-return calls, code-existence behavior for no-return calls, return-data decoding without code, raw revert bubbling, view/pure/getter staticcall selection includingthiscalls, and checked rejection of duplicate named arguments plus invalid value options on view and nonpayable calls. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked, focused checked high-level external evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 05:19 PDT - semantics/typecheck - moved the non-struct public getter fixture family onto checked ground by adding explicit public visibility to the canonical setter/read helpers and adding checked witnesses through the common standalone-contract path. Coverage now includes simple scalar getters, uint and bytes/string-keyed mapping getters, dynamic and fixed array getters, nested mapping and mapping-to-array getters, dynamic bytes/string array getters, mapping-to-bytes/string getters, fixed-array bytes getters, storage
string/bytespublic getters, ABI calldata getter dispatch, and array/getter out-of-bounds panic behavior. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked, focused public-getter evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 05:29 PDT - semantics/typecheck - moved the struct public getter fixture family onto checked ground and aligned tuple-shaped public getter checking with the executable getter generator. The checker now derives getter ABI shapes from resolved
Ty.tuplestructs by omitting mappings and arrays, matching the existing user-struct path. Added checked witnesses for struct getter type shapes, storage-layout span accounting, direct and ABI public getters for plain/nested/mapping/dynamic-array/fixed-array struct getters, array out-of-bounds panics, and delete-clears-fixed-struct-array behavior. Commandslake build SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked, focused struct-getter evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 05:42 PDT - semantics/typecheck - moved the struct-array storage assignment and clearing fixtures onto checked ground. Added explicit public visibility to the canonical struct-array helper functions, allowed explicit data locations on resolved tuple struct parameters, and added checked witnesses for fixed/dynamic struct-array assignment, indexed fixed/dynamic array assignment, mapping-to-struct assignment, dynamic-array struct push/default/pop/delete behavior, nested dynamic-field clearing for dynamic/fixed struct arrays, and nested mapping assignment tail clearing. Commands
lake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked, focused struct-array storage evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 05:50 PDT - semantics/typecheck - moved indexed dynamic-array assignment and nested indexed delete storage fixtures onto checked ground. Added explicit public visibility to the canonical indexed assignment/delete helpers and checked witnesses for assigning shorter dynamic-array values through dynamic-array and mapping storage paths, clearing stale tail slots, deleting nested dynamic-array storage through an indexed matrix path, and deleting nested mapping-to-struct storage with dynamic-array field cleanup. Commands
lake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked, focused indexed-storage evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 06:09 PDT - semantics/typecheck - moved the standalone dynamic storage-array, storage-delete, and storage-array-copy fixtures onto checked ground. Added explicit public visibility to the canonical helper functions, introduced a checked-compatible storage-delete wrapper that omits Solidity-invalid whole-mapping deletion while preserving the raw executable no-op witness, and added checked witnesses for dynamic-array push/pop/push-assignment behavior, empty-pop and deleted-index panics, fixed-array clearing, mapping-key clearing, calldata-to-storage dynamic/fixed array copies, and wrong fixed-size argument rejection. Commands
lake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked, focused storage-array/delete/copy evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 06:22 PDT - semantics/typecheck - moved storage-reference aliasing and returned-storage-reference fixtures onto checked ground. Added explicit public visibility to the canonical storage-reference entry points, introduced a checked wrapper that excludes the intentionally invalid
deleteof a storage reference local while preserving the raw panic witness, and added checked witnesses for storage array and mapping aliases, push/pop and push-assignment through aliases, rebinding aliases to other storage arrays, internal storage-reference parameters including alias arguments and rebinds, mapping storage-reference parameters, and binding/mutating returned storage references including tuple and conditional returns. Commandslake build SolidCore.Spine.L00_SourceSolidity.Checked, focused storage-reference evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 06:47 PDT - semantics/typecheck - moved the standalone storage
bytesmutation fixture onto checked ground. Added explicit public visibility to the canonical storage-bytes entry points, rewrote element writes and push arguments to Solidity-validbytes1(...)literals, changed internal storage-byte helper parameters tobytes1, and added checked witnesses for set/read, element writes, push with value, push default zero, pop, alias write/push/pop, internal storage-byte reference parameters, delete clearing length, and out-of-bounds panic after clear. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked, focused storage-bytes raw and checked evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 06:56 PDT - semantics/typecheck - moved overloaded source dispatch fixtures onto checked ground. Added explicit visibility and Solidity data locations to the canonical public/internal overload fixtures, and added checked witnesses for direct runtime dispatch among
bool/uint256/bytesoverloads, ABI selector dispatch forpick(uint256)andpick(bytes), and internal source overload resolution frombool,uint256, andbytes memorycalls. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked, focused overload raw and checked evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 07:12 PDT - semantics/typecheck - moved inherited nested-type and inherited enum/UDVT lookup fixtures onto checked ground. Corrected the inherited enum
type(E).maxhelpers to return the inherited enum type rather thanuint256, added public visibility to those helpers, and added checked witnesses for inherited nested struct lookup shadowing free/unrelatedS, qualified inherited nested struct lookup, inherited enum max via unqualified and qualified type names, and inherited UDVT ABI echo selectors using the inheriteduint8underlying type. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked, focused inherited nested enum/UDVT raw and checked evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 07:36 PDT - semantics/typecheck - moved the canonical fallback/receive/value dispatch fixtures onto checked ground. Added explicit Solidity visibility and the valid
bytes calldatainput shape for the returning fallback, then added checked witnesses for fallback vs receive dispatch, inherited and overridden fallback/receive dispatch, fallbackbytesandmsg.dataoutputs,msg.value/msg.senderpreservation, payable fallback plain-ether handling, nonpayable value rejection, missing fallback/receive rejection, and payable/nonpayable named-function value dispatch. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked, focused canonical fallback raw and checked evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 08:03 PDT - semantics/typecheck - moved the canonical modifier fixture cluster onto checked ground. Added explicit public visibility to the canonical modifier entry points and checked witnesses for before/after placeholder execution, multiple placeholders, named modifier arguments, return-through-modifier behavior, and typed Solidity-shaped modifier wrappers for external-call and try/catch modifier bodies. The external-call wrappers use a small checked target interface and run through the resolved checked contract context so the external-call environment is preserved. Commands
lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw and checked modifier evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 08:41 PDT - semantics/typecheck - moved the canonical
superand explicit-base inheritance fixtures onto checked ground. Added explicit visibility and virtual/override metadata to the canonicalsuperSourceUnit,explicitBaseSourceUnit, andsuperChainSourceUnitexamples, added checked witnesses forsupervalue calls,superstorage mutation, explicit left/right base calls, virtual dispatch through the final override, and chainedsuperdispatch, and fixed base-constructor deployment lookup for multiple direct bases by selecting an actual direct derived contract in storage order rather than the next adjacent storage-order entry. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked, focused raw and checked inheritance evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 08:57 PDT - semantics/typecheck - moved the canonical
using/library fixture cluster onto checked ground. Added explicit public visibility to the canonical using entry points, taught the common typechecker to carry resolved using-candidate origins so duplicate paths from file-level plus contract-local directives collapse only when they name the same resolved function, and added checked witnesses for canonical library methods, direct library calls, source-level using, storage receivers, named/explicit/free-function using bindings, higher-order internal function-pointer using calls, and global UDVT using calls. Focused evals for the canonical units and witnesses are green; commandslake build SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 09:04 PDT - semantics/typecheck - moved the canonical global user-defined operator
usingfixture onto checked ground. Marked the canonicalPriceoperator free functions as pure, made the canonical operator entry points public, and added checked witnesses for source acceptance plus binary+, comparison<, unary-, and unary~operator dispatch throughExecutable.Examples.globalUsingPriceOperatorUnit. Focused raw and checked operator evals are green; commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 09:10 PDT - semantics/typecheck - moved the canonical external-library and using-expansion tail fixtures onto checked ground. The canonical external library fixture now has a Solidity-valid pure public implementation and public caller entry points, the canonical
UsingModifier.runentry point is public, and checked witnesses cover canonical external library direct/using delegatecalls plususingexpansion inside a modifier and constructor. Focused raw and checked tail evals are green; commandslake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 09:25 PDT - semantics/typecheck - moved the try/call operand-effect tail onto checked ground with Solidity-valid wrappers. The checker now treats
try new C{...}(...)as a contract-creation try target instead of first checking the barenew Cexpression, preserving constructor arguments during try-target validation. Added checked witnesses for high-level external-call operand evaluation order/effects and salted/value contract-creation operand evaluation using a real contract target andbytes32salt. Commandslake build SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedTryOperandEffectsUnitAccepted,checkedTryExternalCallOperandEffectsMatches,checkedTryContractCreateOperandEffectsMatches,tryContractCreationAccepted, andsaltedConstructorCreateAccepted,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 09:29 PDT - semantics/typecheck - moved the transient-storage executable fixture tail onto checked ground. The checked transient contract now exposes the public transient getter and a public revert helper, with witnesses for independent persistent/transient slots, public getter reads, ABI-frame persistence, transaction-boundary clearing, reverted transient writes dropping fresh writes, and reverted transient writes preserving prior transient state. Focused evals for the new checked witnesses and matching raw witnesses are green; commands
lake build SolidCore.Spine.L00_SourceSolidity.Checked,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 09:40 PDT - semantics/typecheck - moved the constants/immutables fixture tail further onto checked ground. Added Solidity-valid public visibility to the canonical constant/immutable entry points and checked witnesses for file-level constant reads, free-function vs contract-constant shadowing, file constants in constructor initializers, state constant reads/getters, constants and immutables being skipped by storage layout, constant-dependent storage initialization, immutable inline initialization observed after construction, plus common checked-layer accept/reject gates for constant and immutable declaration rules. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked constant/immutable evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 09:58 PDT - semantics/typecheck - tightened base-constructor argument semantics and moved the remaining base-constructor obligation tail onto checked ground. The shared deployment helper now distinguishes omitted base-constructor arguments from conflicting duplicate argument sources, allowing abstract intermediate contracts to defer base-constructor arguments to a concrete derived constructor. Marked the canonical deferred-argument middle fixture abstract, then added checked witnesses for positional inherited constructor arguments, named-argument reordering, duplicate named-argument rejection, constructor modifier arguments, deferred indirect base-constructor arguments, and common checked-layer accept/reject gates for base-constructor obligation sources. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked base-constructor evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 10:12 PDT - semantics/typecheck - moved the positive C3 inheritance-linearization witness onto checked ground. Added a canonical
c3SourceUnitaround the existing diamond fixture, then added checked witnesses that the source unit is accepted before computing the C3 dispatch orderC3Final, C3Right, C3Left, C3Root, while preserving the inconsistent-linearization rejection witness. Commandslake build SolidCore.Spine.L00_SourceSolidity.Interface,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused C3 raw/checked evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 10:16 PDT - semantics/typecheck - moved the current inline-assembly boundary onto checked ground. Added checked witnesses that empty inline assembly is accepted and executes as a no-op before returning, while non-empty opaque assembly remains rejected until a Yul-backed source representation/semantics is added. Commands
lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked inline-assembly evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 10:18 PDT - semantics/typecheck - moved the simple constructor deployment/revert witnesses onto checked ground. Added checked witnesses that a constructor with a state-variable initializer and argument assignment deploys with slots
0 = 1and1 = 42, and that a constructor reverting after a write rolls back to empty storage with empty revert data. Commandslake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked constructor evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 10:25 PDT - semantics/typecheck - moved a primitive statement/control-flow cluster onto checked ground. Added a checked
CheckedPrimitiveStatementscontract covering ternary short-circuiting over a panicking branch, do-while body execution before its condition, localdelete, pre-increment statement effects, expression-statement division-by-zero panic,assert(false)panic, and stringrequire/revertstructured error data. Commandslake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked primitive-statement evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 10:29 PDT - semantics/typecheck - moved primitive ABI bool/address/fixed-bytes witnesses onto checked ground. Added checked coverage for bool/address direct calls, address calldata roundtrip, address wide encode/calldata rejection, fixed-bytes calldata roundtrip, and fixed-bytes wide/dirty-padding rejection through the shared checked execution facade. Commands
lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked primitive ABI evals, focused raw ABI evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 10:58 PDT - semantics/typecheck - moved selector/address metadata expressions onto checked ground. The common checker now types custom-error
.selector, contract-member external function/getter.selector, and external function.address; selector literals now lower as accepted 4-byte byte literals instead of rejected decimal fixed-bytes conversions; and checked witnesses cover selector/address metadata plus overloaded selector rejection. Commandslake build SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked, focused selector evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 11:08 PDT - semantics/typecheck - moved the canonical event/error ABI and rollback fixtures onto checked ground. Added Solidity-valid public visibility to the canonical custom-error, event, anonymous-event, dynamic-event, and storage-rollback entry points, then added checked witnesses for custom-error ABI payloads, indexed event topics/data bytes, anonymous indexed events, reverted event-log rollback, reverted storage rollback, and dynamic indexed event hashing/data encoding. Commands
lake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked event-error rollback evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 11:22 PDT - semantics/typecheck - moved the direct mapping read/write and signed mapping-key fixtures onto checked ground. Added explicit Solidity visibility to the raw direct mapping and signed-key helper functions, then added common checked-layer witnesses for plain mapping write/read,
bytesandstringmapping keys including defaulting a different dynamic key, and signedint256mapping-key storage-slot/read agreement. Commandslake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked mapping evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 11:27 PDT - semantics/typecheck - moved direct payable/nonpayable value-call behavior onto checked ground. Added checked witnesses that call Solidity-valid payable and nonpayable functions through
CheckedContract.callFunctionWithContext, showingmsg.valuereaches direct function execution for payable calls and nonpayable direct calls with value revert without writes, alongside the existing checked ABI-dispatch witnesses. Commandslake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked payable evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 11:35 PDT - semantics/typecheck - moved free/local/inherited event-error shadowing fixtures onto checked ground. Added explicit public visibility to the canonical free-error/free-event shadow helper functions, then added checked witnesses for free custom-error ABI payloads, local error/event declarations shadowing file-level declarations, canonical free-event emission, and inherited event/error declarations shadowing file-level declarations. Commands
lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked event-error shadow evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 11:45 PDT - semantics/typecheck - moved the canonical string ABI echo fixture onto checked ground. Added explicit public visibility plus calldata/memory data locations to the canonical
echo(string)function, added a raw ABI result witness, and added checked witnesses for source acceptance, direct checked string calls, and checked ABI calldata string echo output. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked string echo evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 11:51 PDT - typecheck - promoted inherited declaration/namespace shadowing fixtures into the shared checked validation layer. Added checked witnesses for accepted private-inherited shadowing, inherited event overloading, inherited error/event signature selection, inherited user type lookup, modifier override/use, and rejected public inherited collisions across state, function, modifier, event, error, struct, enum, UDVT, and hidden free-type members. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedInheritedNamespaceShadowingAcceptedandcheckedInheritedNamespaceShadowingRejected,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 11:54 PDT - typecheck - promoted the mutability-discipline fixture cluster into the shared checked validation layer. Added checked witnesses for accepted view state reads, nonpayable writes, modifier arguments, view modifier reads, nonpayable modifier writes, and view-to-pure calls, plus checked rejection of pure state reads, view writes, modifier-propagated pure/view violations, pure-to-view calls, view event emission, and view contract creation. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedMutabilityDisciplineAcceptedandcheckedMutabilityDisciplineRejected,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 11:57 PDT - typecheck - promoted the contract-form discipline fixture cluster into the shared checked validation layer. Added checked witnesses for accepted interface declarations, fallback/receive interface forms, abstract missing bodies, abstract inherited obligations, concrete interface implementations, bodyless abstract modifiers, library constants, and library modifiers, plus checked rejection of interface bodies/constructors/using directives, explicit abstract interfaces, non-abstract missing bodies, unimplemented inherited interface/abstract members, invalid bodyless modifiers, and disallowed library state/immutable/virtual declarations. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedContractFormDisciplineAcceptedandcheckedContractFormDisciplineRejected,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 12:00 PDT - typecheck - promoted the function-type discipline fixture cluster into the shared checked validation layer. Added checked witnesses for accepted external function-valued parameters, external payable function types, pure-to-view function type conversion, internal function pointer alias/reassign/delete/copy/parameter forms, external function pointer gas calls, and public external-function-pointer getters, plus checked rejection of external functions taking internal functions or mappings, internal payable function types, overloaded bare-function pointer ambiguity, public/internal function pointer exposure, invalid public function-type parameters, and public getters containing internal function pointers. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedFunctionTypeDisciplineAcceptedandcheckedFunctionTypeDisciplineRejected,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 12:05 PDT - typecheck - promoted the try/catch discipline fixture cluster into the shared checked validation layer. Added checked witnesses for accepted external function-value try targets, contract member call targets, contract creation targets, bytes-memory try return bindings,
Errorcatches, and fullError/Panic/low-level catch suites, plus checked rejection of internal/low-level/literal/array-push try targets, mismatched or missing try returns/catches, invalid bytes data locations, duplicate try-return names, invalidErrorcatch parameters, and duplicate catch kinds. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedTryCatchDisciplineAcceptedandcheckedTryCatchDisciplineRejected,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 12:08 PDT - typecheck - promoted the contextual fixed-array literal fixture family into the shared checked validation layer. Added checked witnesses for contextual
uint8[2]literals across positional/named calls,usingcalls, tuple returns and tuple assignments, direct and ternary assignments, local/return/argument ternaries, struct constructors, events, custom errors,requirecustom-error arguments, modifiers, constructor creation, salted creation, base-specifier and constructor-modifier arguments,abi.encodeCall, external member calls, external function-value calls, direct library calls, explicit-base calls, andsupercalls, plus checked overflow rejections for the paired invalid forms. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedContextualArrayDisciplineAcceptedandcheckedContextualArrayDisciplineRejected,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 12:11 PDT - typecheck - promoted the
abi.encodeCalltarget-validation fixture cluster into the shared checked validation layer. Added checked witnesses for accepted contract member targets,new C().ftargets, address-to-contract conversion targets,type(C).ftargets, and external function pointer targets, plus checked rejection of creation targets inviewfunctions, invalid ternary target conditions and branch types, mismatched argument tuples, internal function pointer targets, bare internal function targets, andthistargets inpurefunctions. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedAbiEncodeCallDisciplineAcceptedandcheckedAbiEncodeCallDisciplineRejected,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 12:14 PDT - typecheck - promoted the data-location discipline fixture cluster into the shared checked validation layer. Added checked witnesses for accepted storage-return bindings, storage-reference internal calls, public library storage-reference calls, calldata-to-memory copies, calldata-to-storage assignments, storage array/bytes mutation,
new string, calldata bytes/array slicing, and struct parameters with explicit memory location, plus checked rejection of memory-to-storage aliases/returns/params, uninitialized storage aliases, storage writes throughviewaliases, public storage-reference params, signed indexes and allocation lengths, calldata writes, invalid array/bytes push/pop targets, invalid string allocation arguments, memory slices, calldata slice misuse, missing struct data locations, custom-error data locations, memory mappings, and public mapping params. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedDataLocationDisciplineAcceptedandcheckedDataLocationDisciplineRejected,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 12:17 PDT - typecheck - promoted the tuple/local binding fixture cluster into the shared checked validation layer, and extended the checked data-location rejection witness to cover invalid
memorylocations on value-typed parameters. Added checked witnesses for accepted tuple returns, tuple variable declarations, omitted tuple declaration slots from literal and return initializers, nested block-local shadowing, tuple assignments, tuple assignment holes, and tuple assignment from return values, plus checked rejection of omitted tuple declarations without initializers, tuple declaration type mismatches, duplicate locals in one block, tuple assignment arity/type errors, and non-lvalue tuple assignment targets. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedDataLocationDisciplineRejected,checkedTupleLocalBindingDisciplineAccepted, andcheckedTupleLocalBindingDisciplineRejected,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 12:22 PDT - typecheck - promoted the mapping discipline fixture cluster into the shared checked validation layer. Added checked witnesses for accepted mapping reads, deleting a mapping value, user-defined value type mapping keys, and signed mapping keys, plus checked rejection of whole-mapping deletion and wrong-key-type indexing. Commands
lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedMappingDisciplineAcceptedandcheckedMappingDisciplineRejected,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 12:28 PDT - semantics/typecheck - moved the low-level static/delegate call option edge witnesses onto checked ground. The checked low-level call fixture now uses Solidity-valid memory locations for tuple returns containing
bytes, adds a checked staticcall gas-expression witness, rejects{value: ...}options on checkedstaticcallanddelegatecall, and checks the low-level call ABI return shape through a checked core function. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for the new staticcall/delegatecall/ABI-shape witnesses plus existing low-level call witnesses,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 12:31 PDT - semantics/typecheck - made the checked contract-creation fixture family explicitly cover the raw creation edge names. Added a Solidity-valid checked duplicate-named-constructor-argument source and checked rejection witness, plus explicit checked witnesses for creation success, named-argument constructor reordering, and named constructor arguments combined with
{value, salt}options. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused creation evals for success/named/named-options/duplicate rejection,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 12:44 PDT - typecheck - tightened the checked numeric-literal boundary. The common checker now parses decimal/hex number literal text before accepting a literal expression, requires final contextual assignment of untyped numeric literal expressions to fit the target while still allowing rational literal arithmetic to fold internally, and requires explicit literal conversions such as
uint8(256)orint8(-129)to fit at conversion time. Added checked witnesses for malformed numeric text, non-integral direct numeric returns, non-integral folded numeric expressions, and numeric literal cast bounds, with positive folded-literal execution still accepted. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked numeric-literal evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 12:54 PDT - typecheck - tightened checked conversion behavior for fixed-bytes literals. Explicit conversion of fixed-bytes literal candidates to
bytesNnow uses literal-fit checking before the general runtimebytes-to-bytesNrule, so over-wide hex-string literals such asbytes2(hex"aabbcc")are rejected byCheckedInputwhile variable/runtimebytesconversions remain accepted. Added checked witnesses for fixed-bytes literal conversion rejection, runtime integer cast rejection, fixed-bytes runtime conversion rejection, and address/payable conversion rejection, alongside positive conversion execution witnesses. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/TypeCheck.lean,lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked conversion evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 13:00 PDT - typecheck - promoted more raw rejection boundaries into checked witnesses. Added checked coverage for invalid memory allocation forms (
newon fixed arrays and bad dynamic-array/bytes arities), unit-number rejection edges including sub-wei values, overflowing unit conversions, payable nonzero unit literals, and fixed-bytes unit conversions, plus the typedpayable(uint160(0))rejection. Wired these into the existing data-location and literal invalid-source aggregate gates while preserving positive allocation, unit-number, and address conversion witnesses. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked allocation/unit/payable evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 14:52 PDT - semantics/typecheck - added aggregate checked executable witnesses for two source-semantics clusters.
checkedAbiBuiltinSemanticsMatchnow groups checkedabi.encode, inferred/local encode, keccak-over-encode, encodeWithSelector/signature/runtime-signature, encodePacked, decode, and malformed-decode revert behavior.checkedTransientStorageSemanticsMatchnow groups checked transient state slots, public getter reads, persistence inside a raw ABI frame, clearing at transaction boundaries, and revert rollback of transient writes with and without prior values. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused aggregate evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 15:03 PDT - semantics/typecheck - added broader aggregate checked executable witnesses for Solidity feature clusters:
checkedLibraryUsingSemanticsMatch,checkedModifierSemanticsMatch,checkedEventErrorRollbackSemanticsMatch,checkedLowLevelCallSemanticsMatch,checkedContractCreationSemanticsMatch, andcheckedTryCatchSemanticsMatch. These group the existing checked witnesses for library/usingexpansion, modifiers, event/error ABI behavior and rollback, low-level calls/send/transfer/precompile staticcalls, contract creation success/failure/options/rejections, and try/catch routing. Tightened the checked try/create operand fixture to use a Solidity-validbytes32(hex"...05")salt after fixed-bytes literal conversion tightening exposed the stalebytes32(5)source. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused aggregate evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 15:09 PDT - semantics/typecheck - added aggregate checked executable witnesses for the fallback/receive/payability and inheritance/constructor/source-dispatch clusters.
checkedFallbackReceivePayableSemanticsMatchnow groups checked fallback and receive dispatch, inherited/overridden fallback and receive dispatch, fallbackbytes/msg.data/msg.sender, receivemsg.value, payable fallback/plain Ether, payable function value dispatch/direct calls, and nonpayable value rejection.checkedInheritanceConstructorSemanticsMatchnow groups inherited function dispatch, virtual override dispatch,super, explicit base calls, C3 order, inherited state reads, storage layout initialization/rejections, constants/immutables, payable/nonpayable/reverting constructors, constructor internal/free-function calls, base-constructor arguments, and base-constructor obligation checks. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused aggregate evals, full aggregate eval suite,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 15:20 PDT - semantics/typecheck - added aggregate checked executable witnesses for source data-type and storage-path semantics.
checkedSourceDataTypeSemanticsMatchnow groups checked UDVT, enum, struct, storage-struct, public getter, ABI echo/getter, event topic, custom-error selector, conversion, storage alias, storage-reference parameter, and delete behavior.checkedStoragePathSemanticsMatchnow groups direct, aliased, internal-parameter, and modifier-mediated struct storage paths plus nested dynamic-array, mapping, compound-assignment/inc, and nested-bytes storage path mutation/clear behavior. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for both new aggregate gates,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 15:26 PDT - semantics/typecheck - added aggregate checked executable witnesses for the remaining public-getter and storage collection clusters.
checkedPublicGetterStorageSemanticsMatchnow groups public scalar/mapping/array/string/bytes/struct getter semantics, ABI getter output, dynamic-key mapping behavior, out-of-bounds getter panics, storage string/bytes clearing, struct getter shape/layout checks, and fixed-array struct deletion.checkedStorageArrayMutationSemanticsMatchgroups fixed/dynamic/mapping struct-array assignment, push/pop/default clearing, nested dynamic data clearing, indexed dynamic-array assignment/deletion, dynamic storage-array push/pop and empty-pop panic behavior, storage delete, storage array copy, and checked copy rejection.checkedStorageReferenceBytesSemanticsMatchgroups storage-reference aliasing/rebinding/internal-param behavior, storage-return bindings/mutations, standalone storage bytes indexing/write/push/pop/alias/internal-param/clear behavior, and invalid storage-alias deletion rejection. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for all three new aggregate gates,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 15:32 PDT - semantics/typecheck - added aggregate checked executable witnesses for the core execution cluster.
checkedInternalFunctionPointerSemanticsMatchnow groups internal function pointer aliasing, reassignment, delete/reassign, copy, parameter passing, direct passing, and uninitialized/deleted call panics.checkedControlFlowStatementSemanticsMatchgroups internal return evaluation, short-circuit return behavior, ternary/do-while/local-delete/increment/expression-statement/assert/require/revert primitives, branch-condition calls, while/for call effects, loop break/continue, and named return behavior.checkedExpressionSideEffectSemanticsMatchgroups binary/unary/ternary expression evaluation order plus require/emit/revert argument side effects and named event/error/custom-error argument order.checkedTupleFreeFunctionSemanticsMatchgroups tuple-return calls, tuple declarations/holes/assignments, internal var-decl calls, free-function calls, named free-function args, and checked free-function storage isolation rejection. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for all four new aggregate gates,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 15:40 PDT - semantics/typecheck - added aggregate checked executable witnesses for the expression/ABI boundary cluster.
checkedOverloadInheritedLookupSemanticsMatchgroups overloaded direct/ABI/internal dispatch plus inherited nested type, enum, and UDVT lookup behavior.checkedMemoryCalldataAbiSemanticsMatchgroups array literals, memory array/bytes/string allocation, calldata slicing, string echo, fixed/dynamic ABI arrays, tuple ABI calldata, dynamic bytes arrays, and fixed-bytes calldata echo.checkedExpressionTargetEffectSemanticsMatchgroups increment/decrement and assignment expression values, indexed/tuple/storage target effects, delete-plus-increment target ordering, custom-error/event/revert argument evaluation, and dynamicrequire/revertreason bytes. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for all three new aggregate gates,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 15:56 PDT - semantics/typecheck - added aggregate checked executable witnesses for the primitive and builtin semantics clusters.
checkedPrimitiveAbiSemanticsMatchgroups bool/address/fixed-bytes ABI dispatch and rejection of over-wide or dirty-padding calldata.checkedBuiltinMetadataSemanticsMatchgroupsmsgcontext, environment globals, block/blob hashes,keccak256, ERC-7201 slots, external hash/precompile behavior includingecrecover, type metadata, selectors, address members,selfdestruct, and concat builtins.checkedLiteralConversionSemanticsMatchgroups string/hex/unicode/numeric/unit literals, runtime casts, fixed-bytes members/conversions, bytes slicing, address/payable conversions, ABI hex-string encoding, and invalid literal/conversion rejection.checkedModularCheckedArithmeticSemanticsMatchgroupsaddmod/mulmod, checked overflow panics, unchecked wrapping, signed arithmetic, division/modulo panics, and unchecked internal-call boundaries.checkedInlineAssemblyBoundarySemanticsMatchrecords the current Solidity source boundary of empty inline assembly accepted/skipped and nonempty inline assembly rejected. Fixed the checkedecrecoverfixtures to use Solidity-validbytes32(hex"...")arguments after the aggregate exposed the stalebytes32(17)-style source. Commandslake env leanfor Interface/Checked,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for all five new aggregate gates,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 16:01 PDT - semantics/typecheck - added aggregate checked executable witnesses for high-level external calls and static source discipline.
checkedExternalFunctionAndCallSemanticsMatchgroupsabi.encodeCall, external function pointer ABI/member/call/payable/gas/try-catch behavior, high-level external calls with named arguments, local/tuple bindings, payable value/gas options, assignment/discard effects, missing-code existence checks, raw revert bubbling, view/pure/getter staticcalls,thisstaticcalls, dirty external-function ABI rejection, and invalid external-call sources.checkedStaticSourceDisciplineSemanticsMatchgroups inherited namespace shadowing, mutability, contract/interface/library form rules, function-type exposure, contextual fixed-array literals,abi.encodeCalltarget validation, data-location rules, tuple/local binding rules, and mapping validation accept/reject clusters. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for both new aggregate gates,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 16:18 PDT - semantics/typecheck - added top-level checked source-semantics coverage gates.
checkedSourceSolidityCoreSemanticsMatch,checkedSourceSolidityStorageSemanticsMatch,checkedSourceSolidityAbiCallSemanticsMatch, andcheckedSourceSolidityObjectSemanticsMatchcompose the existing executable aggregate gates into core/source expressions and values, storage and transient state, ABI/call/creation/try-catch behavior, and object/static-discipline behavior.checkedSourceSoliditySemanticsMatchis now the single checked facade over those four groups for future completion audits. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for the four composed group gates,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 16:22 PDT - semantics/typecheck - folded the raw/checked pre-validity boundary into the checked source-semantics coverage.
checkedPreValidityBoundarySemanticsMatchrecords that the raw executable missing-visibility fixture still runs while the checked source facade rejects it;checkedStaticSourceDisciplineSemanticsMatchnow includes that boundary before the inherited namespace, mutability, contract form, function type, contextual literal, ABI encodeCall, data-location, tuple/local, and mapping validation clusters. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for the pre-validity boundary/static discipline/object composed gates,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 16:34 PDT - semantics/typecheck - tightened the checked common source facade for whole source units. One-contract
SourceUnitand already-checked source units now provide a default contract name to the sharedTypecheckedInput/CheckedInputlayer, so checkedown*execution APIs work directly on canonical source units while multi-contract source units remain explicitly ambiguous. AddedcheckedSourceFacadeCommonSemanticsMatchand wired it intocheckedSourceSolidityCoreSemanticsMatch, with witnesses for direct source-unit own calls, checked-source own calls, source/checked default-name agreement, and multi-contract default-name rejection. Commandslake env leanfor TypeCheck/Checked,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for the common facade/default-name gates,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 16:41 PDT - semantics/typecheck - tightened checked static coverage for Solidity call-option discipline. Added source-level rejection fixtures for unknown and duplicate high-level external call options, signed external
{value}and{gas}operands, call options on internal identifier calls, call options on internal function-pointer calls, named arguments to low-level calls, array mutation calls with options, andsupercall options.checkedCallOptionDisciplineRejectednow routes those boundaries through the checked source facade andcheckedStaticSourceDisciplineSemanticsMatchincludes the cluster. Commandslake env leanfor TypeCheck/Checked,lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for raw/checked call-option discipline/static/object gates,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 16:51 PDT - semantics/typecheck - made source-unit directives an explicit checked boundary.
SourceUnit.checknow rejects unresolvedimportPathitems instead of silently ignoring them, while pragma items remain accepted metadata. Added checked source-facade witnesses showing that raw import-bearing source still executes through the old executable path, checked source rejects the unresolved import, and a pragma-bearing one-contract source unit still executes through the common checked facade. Commandslake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,lake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused directive/common-facade evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 16:54 PDT - semantics/typecheck - promoted ambient builtin validity edges into the checked builtin metadata aggregate. The common checked layer now explicitly accepts
msg.sig, view environment reads,blockhash/blobhash/gasleft, and address environment members in valid contexts, and rejectsmsg.value, block/time/hash/gas/address environment reads frompurefunctions plus wrong or signedblockhash/blobhashoperands. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused ambient/builtin evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 16:57 PDT - semantics/typecheck - promoted callable-form source validity into the checked static discipline aggregate. Added checked witnesses for valid typed fallbacks plus fallback/receive overrides, and checked rejection of invalid view fallback declarations, bad typed fallback parameters, missing fallback overrides, payable overrides of nonpayable fallbacks, virtual constructors, virtual/payable free functions, and abstract fallback declarations missing
virtual. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused callable/static-discipline evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 17:02 PDT - semantics/typecheck - promoted payable contract conversion and UDVT wrap/unwrap source validity into checked aggregate coverage.
checkedLiteralConversionSemanticsMatchnow executespayable(target)for a contract withreceiveand rejects the same conversion for a nonpayable contract type;checkedSourceDataTypeSemanticsMatchnow executes standalone UDVT wrap/unwrap and rejectsPrice.unwrap(1)where the argument is not the UDVT. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused conversion/data-type evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 17:06 PDT - semantics/typecheck - promoted ABI helper source validity into the checked ABI builtin aggregate.
checkedAbiBuiltinSemanticsMatchnow accepts and executesabi.encodeover an external function pointer,abi.decode(bytes,uint256), andbytes.concat(bytes,bytes4), while rejectingabi.encodeover an internal function pointer,abi.decodewith a non-bytes input, andbytes.concatwith a non-bytes argument. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused ABI helper evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 17:10 PDT - semantics/typecheck - promoted control-flow source validity into the checked control-flow aggregate.
checkedControlFlowStatementSemanticsMatchnow executes the rawloopBreakContinueSourcefixture through the checked source-unit facade and rejects badifconditions plusbreakandcontinueoutside loops throughTypecheckedInput. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused control-flow evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 17:14 PDT - semantics/typecheck - promoted struct constructor and recursive-struct source validity into the checked data-type aggregate.
checkedSourceDataTypeSemanticsMatchnow executes the raw named-field struct constructor/member fixture, rejects missing-field and mixed positional/named struct constructors plus unknown struct-field access, accepts dynamic-array and internal-function-pointer recursive struct shapes, and rejects direct mutual recursive struct definitions. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused struct/data-type evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 17:17 PDT - semantics/typecheck - promoted storage-backed struct field assignment validity into the checked data-type aggregate.
checkedSourceDataTypeSemanticsMatchnow executes the rawstructFieldAssignSourcethrough the checked source-unit facade, confirming both the returned value and the storage slot write, and rejects theviewvariant that attempts the same struct-field mutation. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused struct field assignment/data-type evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 17:31 PDT - semantics/typecheck - promoted arithmetic source-validity edges into the checked arithmetic aggregate.
checkedModularCheckedArithmeticSemanticsMatchnow owns checked acceptance for narrow literal arguments, signed-base/unsigned-exponent typing, wide unsigned shift counts, fixed-bytes bitwise operations, and compound shifts; it also rejects overflowing narrow literal calls, signed exponent operands, signed shift counts, and arithmetic on fixed bytes. Added executable checked witnesses for the narrow literal call, wide shift count, fixed-bytes bitwise result, and compound shift result. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused arithmetic-source-discipline evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 17:36 PDT - semantics/typecheck - promoted enum source-validity fixtures into the checked data-type aggregate.
checkedSourceDataTypeSemanticsMatchnow explicitly accepts enum member access, enummin/max, literal enum conversion, typed out-of-range enum conversion, and enum-to-uint conversion; rejects empty enums, unknown enum members, out-of-range and negative enum literal conversions, and enum-to-signed-int conversion; and executes the enum member/min/max/literal/to-uint witnesses plus the typed out-of-range runtime panic. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused enum/data-type evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 17:40 PDT - semantics/typecheck - promoted event/error declaration source validity into the checked event/error aggregate.
checkedEventErrorRollbackSemanticsMatchnow explicitly accepts event emission declarations, free events, overloaded events, contract-vs-free event/error shadowing, external-function event params, three-indexed and anonymous four-indexed events, and free-error reverts; it rejects reservedError/Panicdeclarations, duplicate error/event params, duplicate contract/free event signatures, bad free-event shadow matches, free event/function name collisions, mapping and internal-function event params, non-anonymous four-indexed events, and unknown event/error targets. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused event/error declaration aggregate evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 17:44 PDT - semantics/typecheck - promoted basic modifier source-validity fixtures into the checked modifier aggregate.
checkedModifierSemanticsMatchnow explicitly accepts the raw modifier-invocation and return-through-modifier source units, rejects unknown modifier invocations and duplicate modifier parameter names, and executes the raw pass-through modifier and return-through-modifier fixtures alongside the existing canonical modifier semantics. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused modifier aggregate evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 17:52 PDT - semantics/typecheck - promoted declaration namespace and ABI-signature source validity into the checked static discipline aggregate.
checkedStaticSourceDisciplineSemanticsMatchnow accepts the valid internal-only contract/address ABI twin overload case and rejects duplicate source signatures, state/function name clashes, function/event clashes, top-level function/contract name clashes, free-error overloads, and external ABI signature clashes through the common checked source facade. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused declaration-namespace/static-discipline evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 17:56 PDT - semantics/typecheck - promoted storage-layout source discipline into the checked inheritance/constructor aggregate.
checkedInheritanceConstructorSemanticsMatchnow explicitly accepts literal, constant-backed, and ERC-7201 storage layout bases, and rejects unknown constant layout bases, abstract-contract layout bases, mutable-state layout bases, inherited layout bases, and malformed ERC-7201/keccak layout bases through a namedcheckedStorageLayoutSourceDiscipline*gate while retaining the executable layout-field/init witnesses. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused storage-layout/inheritance/object evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 18:07 PDT - semantics/typecheck - promoted transient-storage declaration source discipline into the checked storage aggregate.
checkedTransientStorageSemanticsMatchnow explicitly accepts plaintransient uintdeclarations, rejects initialized and dynamic-string transient declarations, and checks that the raw accepted transient fixture lowers through the checked facade to a transient storage field at slot zero, alongside the existing transient runtime, ABI-transaction-boundary, getter, and rollback witnesses. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused transient evals,lake build SolidCore.Spine,lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 18:31 PDT - semantics/typecheck - removed the stale checked-language rejection of whole-mapping
delete, matching Solidity's no-op mapping deletion behavior. The common typechecker now allows writable mapping-valued lvalues while still rejectingdeleteof local storage-reference variables; the checked storage-delete fixture now uses the canonicalstorageDeleteContractdirectly and addscheckedStorageDeleteMappingKeepsEntryto provedelete mpreservesm[4] == 9, whilecheckedStorageDeleteMappingKeyClearsEntrystill provesdelete m[4]clears the entry. Commandslake env lean SolidCore/Spine/L00_SourceSolidity/Checked.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for whole-mapping acceptance/no-op plus mapping discipline,lake build SolidCore.Spine,lake build, scoped stale-name/no-hole scans, andgit diff --checkare green. - 2026-05-16 19:50 PDT - semantics/typecheck - deepened sub-256 integer source semantics at checked execution boundaries. Core source expressions now include
uintCleanup/intCleanup, distinct from explicit truncating casts, and the source translator inserts cleanup at typed parameter initialization, selected assignment/var-declaration paths, external return binding uses, and single-value return lowering when source type information is available, while falling back to the previous raw lowering when cleanup inference is unavailable. Added checked arithmetic witnesses for dirtyuint8direct-call parameters, checkeduint8return/local overflow panics, anduncheckedreturn/local wrapping. Commandslake build SolidCore.Solidity.Interpreter,lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean,lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for the five narrow-cleanup witnesses andcheckedModularCheckedArithmeticSemanticsMatch,lake build, andgit diff --checkare green. - 2026-05-16 20:26 PDT - semantics/typecheck - added Solidity
event.selectorsource semantics for unique non-anonymous events. The common checker now typesEventName.selectorasbytes32, rejects anonymous and overloaded event-selector uses, and keeps free-event selectors visible through the checked source facade. The source resolver lowers event selectors to the full event topic hash literal instead of the existing function/errorbytes4selector path. Added checked witnesses for local and free event selectors returningkeccak256("Ping(uint256)"), plus accepted/rejected event-selector coverage insidecheckedEventErrorRollbackSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused event-selector/event-error aggregate evals,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 20:33 PDT - semantics/typecheck - repaired Solidity named-return
return;source semantics. The common checker now accepts barereturn;in functions whose nonempty return list is fully named, relying on the existing core interpreter path that collects return bindings forreturnValues [], while still rejecting barereturn;for unnamed return parameters. Extended the canonical named-return fixture withrunBare, added checked acceptance for the named bare-return source and rejection for the unnamed variant, and folded the executable witness intocheckedControlFlowStatementSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused named-return/control-flow evals,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 20:53 PDT - semantics/typecheck - deepened narrow integer cleanup for source
++/--execution paths. Added a cleanup-carrying core inc/dec expression so checked source lowering can preserve SolidityuintN/intNwrite semantics for pre/post increment/decrement when source type information is available, and rerouted unary return lowering through the return-type-aware path instead of raw lowering. Added checkeduint8witnesses for checked pre/post increment overflow panics, unchecked pre-increment wrapping, and unchecked post-increment returning the old value while storing the wrapped value. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused narrow inc/dec evals,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 21:10 PDT - audit - audited the remaining Solidity 0.8.35 source-semantics gaps excluding import resolution and inline assembly/Yul. The substantiated gaps are fixed/ufixed value execution and current fixed-point over-acceptance, memory-reference aliasing and byte-level memory layout, exact packed storage/transient layout including short bytes/string encoding, closed-world EVM call/creation/value/gas effects beyond the explicit host oracle boundary, external function-pointer equality, pragma/parser/metadata fidelity, and fixed-point ABI/runtime execution. No code semantics changed in this audit entry.
- 2026-05-16 21:18 PDT - semantics/typecheck - closed the external function-pointer equality gap from the source-semantics audit. Core
BinaryOp.applynow comparesValue.externalFunctionby address and selector for==/!=; the canonical source surface has raw executable same/different pointer witnesses, and the checked external-function aggregate now runs a publicexternalFunctionEqualityfunction through the common checked facade. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for raw and checked equality pluscheckedExternalFunctionAndCallSemanticsMatch,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-16 21:27 PDT - semantics/typecheck - tightened Solidity 0.8.35 fixed/ufixed handling to the compiler-supported declaration-only boundary. Confirmed with official
soljson-v0.8.35+commit.47b9deddthat plain fixed-point state declarations and unused locals compile to bytecode, while public fixed getters, fixed initializers, returns, arithmetic, and fixed value reads hit the compiler'sFixedPointTypenot-implemented path. The common checker now tracks fixed-point-containing value types, rejects fixed-point value reads, conversions, assignments/returns/initializers, and public fixed getters, while preserving fixed-point type declarations, ABI canonicalization, and unused fixed local declarations as accepted static surface. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused fixed-point/static-discipline evals,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-16 21:46 PDT - audit - refined the Solidity 0.8.35 completeness audit excluding import resolution and inline assembly/Yul. Remaining substantiated gaps are a missing concrete Solidity parser/source metadata layer; incomplete version-pragma semver syntax for wildcards and hyphen ranges plus accepted-but-ignored
pragma abicoder v1; deprecated constructor visibility compatibility; memory-reference aliasing and byte-level memory layout; exact storage layout fidelity, especially packing, aggregate slot-span advancement for structs/fixed arrays, short bytes/string layout, and transient packing; limitedlayout atevaluation for expressions beyond numeric/directerc7201; checked acceptance/lowering or rejection mismatches for no-return effect expressions inreturn expr;, includingrequire,assert,revert,selfdestruct,transfer,pop, anddelete; and deliberately abstract gas/account/value/selfdestruct/precompile effects at the host-oracle boundary. Fixed/ufixed is now at the solc-compatible declaration-only boundary, and transient storage, custom errors, event selectors, try/catch, fallback/receive, library/using, inheritance, ABI calls, and checked/unchecked arithmetic are not counted as open feature gaps in this audit. - 2026-05-16 21:59 PDT - semantics/storage - closed the aggregate top-level storage slot-span gap for the executable Solidity source layer.
ContractDecl.storageFieldsFromnow advances each state variable by its coreStorageLayout.slotSpanwith a one-slot fallback, andstorageLayoutBaseFitsuses the same span sum, so structs and fixed arrays no longer cause following state vars to alias their occupied slots. AddedAggregateStorageSlots, a checked source witness that writes a two-slot struct, following scalar, fixed array element, and post-array scalar, and proves field slots[0,2,3,6]plus writes at slots0,1,2,5,6. Also fixed the pragma parser build break by converting dropped string slices back to strings. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for raw and checked aggregate storage slot witnesses pluscheckedStoragePathSemanticsMatch,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scans, andgit diff --checkare green. - 2026-05-16 22:46 PDT - typecheck/source-fidelity - closed the Solidity version-pragma wildcard and hyphen-range gap from the completeness audit. The common checker now accepts solc-compatible wildcard constraints such as
*,0.8.x, and>=0.8.x, plus spaced and compact hyphen ranges such as0.8.34 - 0.8.36and0.8.34-0.8.36, while rejecting nonmatching wildcard/range constraints including0.8.36 - 0.8.40,^0.9.x,>0.8.35, and<0.8.x. Added source checker fixtures and folded the accepted/rejected pragma syntax gate intocheckedSourceUnitDirectiveBoundarySemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused pragma evals,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-16 22:53 PDT - typecheck/source-fidelity - closed the deprecated constructor visibility compatibility gap from the Solidity 0.8.35 audit. Confirmed with local
soljson-v0.8.35+commit.47b9deddthat concreteconstructor() publicand abstractconstructor() internalare accepted with visibility-ignored warnings, while concreteinternal, abstractpublic,private, andexternalconstructors are rejected. The common checker now carries the current contract's abstractness into constructor header checking and implements that rule; source fixtures cover accepted/rejected cases,checkedCallableFormDiscipline*owns the source-validity gate, andcheckedPublicConstructorVisibilityRunsproves a public constructor still executes by writing its seed to storage. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused constructor-visibility/static-discipline evals,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-16 23:02 PDT - typecheck/source-fidelity - closed the
pragma abicoder v1over-acceptance gap from the Solidity 0.8.35 audit. Confirmed with localsoljson-v0.8.35+commit.47b9deddthat v1 accepts simple and single-dynamic-array ABI surfaces but rejects structs, arrays of structs, nested dynamic arrays, and structabi.encode/abi.decodetargets, while duplicateabicoder/ABIEncoderV2selections are rejected. The common checker now records ABI coder mode inTypeContext, recognizes ABI-coder-v2-only shapes, applies that boundary to external/public function and concrete constructor ABI surfaces, events/errors, public getters, andabi.encode/abi.decode, and rejects duplicate coder selection. Added source fixtures for accepted v1 simple/dynamic-array cases, v2 struct acceptance, v1 struct/nested-dynamic/struct-encode rejection, and duplicate-pragmas rejection, then folded them intocheckedSourceUnitDirectiveBoundarySemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused ABI-coder/directive evals,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-16 23:07 PDT - audit - refined the Solidity 0.8.35 feature-completeness audit after excluding import resolution and inline assembly/Yul by project scope. Remaining unsupported or spec-incomplete clusters are: no concrete Solidity parser/source-metadata/NatSpec/source-map frontend; fixed/ufixed value semantics beyond the solc-compatible declaration-only boundary; memory/calldata reference aliasing and byte-addressed memory layout; exact storage and transient storage layout packing, including byte offsets, short bytes/string encoding, and transient packing beyond the current word-slot abstraction; limited custom storage
layout atevaluation beyond numeric constant expressions and directerc7201(...)idioms; and closed-world EVM account/balance/code/gas/call/create/precompile/selfdestruct effects beyond the explicit shared host-oracle records. Not counted as open after the recent closure work: libraries/using, modifiers, fallback/receive/payability, inheritance/constructors/super/C3, ABI coder v1/v2 discipline, events/errors/selectors, try/catch, internal/external function pointers including equality, checked/unchecked arithmetic and narrow cleanup, simple transient storage, no-return effect statements, aggregate top-level slot-span advancement, version-pragma wildcard/hyphen syntax, deprecated constructor visibility compatibility, and fixed/ufixed declaration-only compatibility. - 2026-05-16 23:55 PDT - semantics/typecheck/audit - narrowed the custom storage
layout ataudit gap. Local solc 0.8.35 checks confirmed recursive integer arithmetic arounderc7201("foo")such aserc7201("foo") - 1is accepted, whileerc7201(string.concat(...)),uint256(erc7201(...)), and rawkeccak256layout bases remain rejected. The executable layout-base evaluator now recursively evaluates numeric/constants/direct-erc7201expressions through Solidity integer binary operators, rejects nonliteral ERC-7201 ids, and has raw plus checked fixtures for the accepted minus-one layout and rejected concat id. Also fixed base-constructor modifier argument lowering through the storage-aware expression path and restored checkedExpressionTargetEffectslowering by adding environment-aware type inference for indexed local array lvalues. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked eval batches for the new layout, constructor, expression-target, and inheritance aggregate witnesses are green; the monolithiccheckedSourceSoliditySemanticsMatcheval was stopped after many minutes without output. - 2026-05-17 00:18 PDT - semantics/storage - narrowed the exact-storage-layout gap with top-level elementary value packing. Core
StorageFieldmetadata now carries packed byte offset/width/sign, scalar storage load/store/delete mask only the field's byte range while preserving neighbors, and packed signed integer reads sign-extend through the existing integer cast semantics. Source storage-field layout now packs adjacent top-level elementary values into the same slot before aligning aggregate/dynamic fields. Added raw and checkedPackedTopLevelStoragewitnesses coveringuint8,uint16,bool, andint8packed into slot 0, a followinguint256at slot 1, raw slot value0xff01345612, and public getter reads including signedint8(-1). Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked packed-storage evals, focusedcheckedStoragePathSemanticsMatcheval,/Users/dan/.elan/bin/lake build SolidCore.Spine,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining storage-layout fidelity gaps include packed struct/fixed-array element layout, short bytes/string in-slot encoding, and full transient packing coverage. - 2026-05-17 00:43 PDT - semantics/storage - narrowed the exact-storage-layout gap with nested packed aggregate storage. Core
StorageLayoutnow has recursive packed scalar entries, cursor-based struct field placement, byte-offset array element addressing for fixed/dynamic arrays of packed scalar elements, and masked load/store/delete/deep-clear behavior for packed subfields while preserving neighboring bytes. Source storage-layout generation now packs scalar struct members and emits packed scalar element layouts for arrays. Added raw and checkedPackedStructAndArrayStoragewitnesses covering a mixeduint8/uint16/bool/int8/uint256struct occupying slots0..1, a following scalar at slot2, auint8[4]occupying one packed slot3with raw value0xddccbbaa, and a following scalar at slot4, including checked readback of the packed struct members and fixed-array element. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw evals for the new packed aggregate fields/slots/reads, focused checked evals for the new packed aggregate acceptance/fields/slots/reads,/Users/dan/.elan/bin/lake build SolidCore.Spine,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. The fullcheckedStoragePathSemanticsMatcheval was started but stopped after spending time in the whole storage bundle; the module build and focused checked witnesses for this change are green. - 2026-05-17 01:03 PDT - semantics/storage - closed the short
bytes/stringstorage encoding gap for the executable source layer. Core storage byte arrays now decode the low-bit header, returnPanic(0x22)for invalid short encodings, store<= 31byte values left-aligned in the main slot withlength * 2in the low byte, store longer values withlength * 2 + 1and 32-byte packed data chunks atkeccak256(slot), and route bytes length/index/write/delete/push/pop/storage-reference paths through the encoded helper API. Added raw and checked storage-byte witnesses for exact short raw slot encoding, short in-slot mutation, short push encoding, exact 33-byte long header/data chunks, long readback, and the 31-to-32 byte short-to-long transition. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw and checked short/long storage-bytes evals,/Users/dan/.elan/bin/lake build SolidCore.Spine,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining exact-storage-layout gaps are now mainly full transient packing coverage and any deeper byte-array cleanup/raw-tail fidelity beyond source-observable reads. - 2026-05-17 01:11 PDT - semantics/storage - closed the transient top-level packing coverage gap. Added raw and checked
PackedTransientStoragewitnesses showing Solidity transient variables use the same compact slot packing as storage in an independent transient slot space: persistentuint256 persistentremains in storage slot0, transientuint8,uint16,bool, andint8pack into transient slot0as0xff01345612, and a following transientuint256lands in transient slot1. Public transient getters read the packed values back with signedint8(-1)preserved. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused raw packed-transient evals,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked packed-transient evals pluscheckedTransientStorageSemanticsMatch,/Users/dan/.elan/bin/lake build SolidCore.Spine,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-17 01:20 PDT - semantics/storage - closed the storage
bytes/stringstale long-tail cleanup gap for the executable source layer.State.storeStorageBytesAtnow computes the old and new long-data chunk counts, writes the canonical short/long representation, and zeros any old long-data chunks that no longer belong to the value, covering long-to-short assignment, longpop()across a chunk boundary, and long-to-smaller-long assignment. Added raw and checked witnesses proving the main slot and stale long-data slots after long-to-short, 33-to-32-byte pop, and 65-to-33-byte shrink transitions. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused raw cleanup evals,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked cleanup evals,/Users/dan/.elan/bin/lake build SolidCore.Spine,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. The full checked storage-bytes aggregate eval was stopped after running too long, as with prior whole-storage bundles; module builds and focused checked witnesses for this change are green. - 2026-05-17 01:36 PDT - semantics/data-location - narrowed the memory/calldata reference-semantics gap. Core source runtime now carries a memory heap with
Value.memoryRefidentities, dereferences memory locals on ordinary reads/returns, aliases memory-to-memory declarations and assignments when the source object is already a memory reference, and updates the shared memory cell for indexed writes while rebinding whole-memory-variable assignment to a fresh cell. Source lowering now emits memory-aware declarations/localization formemorylocals, parameters, and named returns instead of flattening all memory reference types into copied local values. Added raw and checked witnesses foruint[] memoryaliasing,bytes memoryaliasing, andcalldata-to-memorycopying followed by memory alias mutation, proving that memory-to-memory sees shared mutation while calldata remains independent. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused raw memory/calldata alias evals plus existing memory allocation evals,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked memory/calldata alias evals pluscheckedMemoryCalldataAbiSemanticsMatch,/Users/dan/.elan/bin/lake build SolidCore.Spine,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining memory/data-location fidelity gaps include nested memory reference path aliasing and byte-addressed EVM memory layout; this change establishes the heap/reference substrate for those follow-on slices. - 2026-05-17 02:04 PDT - typecheck/source-fidelity - closed two concrete Solidity 0.8.35 audit gaps in the checked source layer.
addmod/mulmodnow accept literal zero moduli at typecheck time and route them to the existing runtimePanic(0x12)path instead of rejecting valid source early.abi.encodePackednow has its own Solidity packed-mode shape check: ordinary packed values and one-level arrays of non-dynamic, non-aggregate elements remain accepted, while structs and nested/dynamic-element arrays are rejected before lowering. Added checked witnesses for literal-zero modular panics and packed-mode struct/nested-array rejection. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checkedand focused evals for the new modular and packed-mode witnesses are green; the monolithic checked semantics eval and a broad component-pair eval were stopped after running too long with no output. - 2026-05-17 02:15 PDT - audit/typecheck - tightened the Solidity 0.8.35 unsupported-feature audit after excluding import resolution and nonempty inline assembly/Yul. Added a checked ABI-entry witness proving dirty
uint8calldata (echoUint8(uint8)with word 300) returns ABI-encodedPanic(0x11)through source cleanup, closing the direct-call-only ambiguity. Remaining unsupported/spec-incomplete clusters are: no concrete Solidity parser/source metadata/NatSpec/source-map frontend; fixed/ufixed value execution beyond the solc-compatible declaration-only boundary; nested memory-reference path aliasing and byte-addressed EVM memory layout; and closed-world EVM account/balance/code/gas/call/create/precompile/selfdestruct effects beyond the explicit shared host-oracle records. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, the focused dirty-calldata eval, andgit diff --checkare green; the broad arithmetic aggregate eval was stopped after running too long with no output. - 2026-05-17 02:38 PDT - semantics/data-location - narrowed the nested memory-reference aliasing gap. Memory object storage now recursively places nested memory objects into heap cells, so arrays/tuples that represent nested arrays or structs keep reference identities instead of embedding copy-shaped values. Resolved lvalues can now name a memory heap cell directly, and nested index resolution redirects through that cell when an intermediate path component is a
memoryRef, soouter[0][0] = vmutates the same inner array seen byinner = outer[0]. Added tuple-index type inference for checked translation, plus raw and checked witnesses for direct nesteduint[][] memorypath mutation and a checked struct-field dynamic-array alias (holder.data[0]mutating the same array seen byalias = holder.data). Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw nested path eval, focused checked nested path and struct-field alias evals, andcheckedMemoryCalldataAbiSemanticsMatchare green. - 2026-05-17 03:01 PDT - semantics/data-location - closed another nested memory rebind corner. Assignment into an already-memory-backed local now recursively normalizes nested memory objects before allocating the new heap cell, matching the declaration and cell-store paths. Struct constructors now resolve directly to typed tuple values instead of round-tripping through ABI encode/decode, which fixes single dynamic-field structs and avoids importing ABI layout into source value construction. Added explicit typed-tuple inference for those generated constructor tuples and a checked witness for
holder = MemoryAliasHolder(new uint[](1)); alias = holder.data; holder.data[0] = 88, proving whole-memory-struct assignment preserves the dynamic-array field alias. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, raw whole-assign eval, focused checked whole-assign/struct regression evals, andcheckedMemoryCalldataAbiSemanticsMatchare green. - 2026-05-17 03:08 PDT - semantics/data-location - broadened nested memory-reference lvalue coverage beyond plain assignment. Added checked source witnesses for
uint[][] memoryinner elements reached through an outer path and an alias under compound assignment (outer[0][0] += 2),delete outer[0][0], and post-increment (outer[0][0]++), proving the alias sees[42,42],[0,0], and[7,7]respectively. These exerciseResolvedLValue.write,delete, and inc/dec through the newmemoryCellpath, closing the main nested-scalar lvalue operation variants for heap-backed memory references. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw nested-op evals, focused checked nested-op evals, andcheckedMemoryCalldataAbiSemanticsMatchare green. - 2026-05-17 03:11 PDT - audit - re-audited Solidity 0.8.35 source-feature coverage excluding import resolution and nonempty inline assembly/Yul. The then-current unsupported/spec-incomplete clusters were: no concrete Solidity parser or source artifact layer for comments/NatSpec/SPDX/source maps/metadata/diagnostic spans beyond the Lean AST; fixed/ufixed executable value semantics beyond the solc-compatible declaration/ABI-canonical boundary; deterministic child-expression evaluation order where the Solidity docs leave it unspecified; no byte-addressed EVM memory allocator/layout/gas/resource model beyond the source-visible memory/calldata heap/reference semantics, including no explicit
Panic(0x41)memory-allocation/resource-failure semantics; and no closed-world EVM execution model for account balance/code/gas/call/create/precompile/selfdestruct effects beyond explicit shared host-oracle records. After the latest storage and memory work, no remaining ordinary source-language feature cluster was known missing in the AST/checker/interpreter facade: contracts/interfaces/libraries, inheritance/C3/super/constructors, modifiers, using/library calls/operators, events/errors/reverts/rollback, fallback/receive/payability, ABI coder v1/v2, literals/conversions/arithmetic, storage/transient layout including packing and short bytes/string, memory/calldata reference aliasing, function pointers, external/low-level calls, creation, try/catch, globals, and builtins all had checked executable coverage. - 2026-05-17 03:21 PDT - semantics/data-location - narrowed the memory resource-failure gap with explicit source-visible
Panic(0x41)allocation semantics. CoreContextnow carries an optionalmemoryAllocationLimit?,new bytes,new string, andnew T[]check the requested length before allocating Lean lists, and over-limit requests revert withRevertData.panic 0x41while ordinary unconstrained contexts preserve existing behavior. Added raw and checked witnesses for array, bytes, and string allocation-too-large panics, and folded the checked witnesses intocheckedMemoryCalldataAbiSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked allocation-too-large evals,/Users/dan/.elan/bin/lake build SolidCore.Spine,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining memory fidelity gap is byte-addressed EVM memory layout/gas beyond this explicit resource bound and the existing source-visible heap/reference semantics. - 2026-05-17 03:27 PDT - audit - rechecked the Solidity 0.8.35 unsupported-feature boundary against the current source AST, common checker aggregates, executable core, and official docs, still excluding import resolution and nonempty inline assembly/Yul by project scope. For stable Solidity source programs represented in the Lean AST, no ordinary contract/function/type/statement/expression feature cluster is currently known missing from the checked executable facade: contracts/interfaces/libraries, free declarations, pragmas, inheritance/C3/super/constructors, modifiers, using/operator/library calls, fallback/receive/payability, events/errors/revert/rollback, storage/transient layout and mutation, memory/calldata references, ABI v1/v2 discipline and ABI builtins, literals/conversions/arithmetic, function pointers, calls/creation/try-catch, globals, metadata expressions, and low-level/address members all have checked coverage. Remaining unsupported or spec-incomplete areas are: no concrete Solidity parser/source-artifact layer for comments, SPDX, NatSpec, source maps, diagnostic spans, and metadata outputs; no support for Solidity 0.8.35 experimental mode source/compiler features such as
pragma experimental solidity/generic Solidity or AST/EVM-asm imports; no executable fixed/ufixed value semantics beyond solc-compatible declaration/ABI-canonical boundaries; deterministic child-expression evaluation where Solidity specifies the order as unspecified; no byte-addressed EVM memory/free-pointer/gas layout beyond source-visible heap/reference semantics and explicitPanic(0x41)bounds; and no closed-world EVM account/balance/code/gas/call/create/precompile/selfdestruct execution beyond explicit shared host-oracle records. - 2026-05-17 03:35 PDT - semantics/data-location - narrowed the byte-addressed memory gap with an explicit EVM-shaped allocation footprint. Core
Runtimenow tracksmemoryBytesUsed, with 32-byte rounding helpers for dynamic bytes/string allocations and length-plus-word-element footprints fornew T[]; state-threadednew bytes,new string, andnew T[]bump that footprint while pure expression evaluation stays unchanged. Added a raw statement witness provingnew uint[](3),new bytes(5), andnew string(2)consume256modeled bytes, and added a checked public function using the same allocation body so the source form is accepted and executable through the common checked facade. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw footprint evals, focused checked footprint eval,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. A broadcheckedMemoryCalldataAbiSemanticsMatcheval was stopped after running long without output; the checked module build and new focused witness are green. Remaining memory fidelity gap is exact byte-addressed free-memory-pointer/layout/gas behavior beyond this allocation footprint plus the existing source-visible heap/reference semantics. - 2026-05-17 03:40 PDT - semantics/data-location - refined the memory allocation footprint into explicit free-memory-pointer and allocation-region semantics. Core
Runtimenow starts modeled EVM memory allocation at byte128, recordsmemoryFreePointer, and appends ordered{start, sizeBytes}allocation regions whenever sourcenew bytes,new string, ornew T[]allocates. The existing raw footprint witness now additionally proves the allocation sequence fornew uint[](3),new bytes(5), andnew string(2)is{128,128},{256,64},{320,64}, with final free pointer384; the checked public function still executes through the common checked facade. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused raw footprint/free-pointer/region evals,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked footprint eval,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining memory-layout gap is exact byte contents, Solidity free-memory-pointer writes/reads, scratch/zero-slot conventions, and gas/expansion costs beyond this source-visible allocation map. - 2026-05-17 03:45 PDT - semantics/data-location - added byte-addressed initialized contents for modeled memory allocations. Core
Runtimenow carries amemoryByteMap; allocation records for state-threadednew bytes,new string, andnew T[]write the Solidity-shaped length word followed by zero-padded payload/element words into that byte map, while preserving the source heap/reference model. The raw footprint witness now checks the full byte range from128through383, verifies the length words at128,256, and320are3,5, and2, and confirms bytes just outside the allocated range are absent. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused raw memory-byte eval,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked footprint eval,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining memory-layout gap is now mainly source-accessible free-memory-pointer/scratch/zero-slot behavior and gas/expansion costs; exact allocated byte contents for the modelednewforms are covered. - 2026-05-17 03:52 PDT - semantics/expression-order - started making Solidity's unspecified sibling-expression order explicit. Core source semantics now has
ChildEvalOrderandExpr.evalBinaryWithRuntimeOrderfor ordinary binary expressions, preserving existing deterministic/short-circuit behavior while allowing top-level binary children to be evaluated left-to-right or right-to-left. Added a source witness for(x = 5) + xshowing left-to-right yields return value10and right-to-left yields5, with storage slotxending at5in both cases, plus checked acceptance and deterministic checked execution for the same source shape incheckedExpressionSideEffectSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface, focused raw left/right/combined order evals,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused checked order eval pluscheckedExpressionSideEffectSemanticsMatch,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining expression-order fidelity gap is a full recursive nondeterministic order relation for all ordinary sibling expression lists beyond this top-level binary slice. - 2026-05-17 03:56 PDT - audit/source-fidelity - re-audited Solidity 0.8.35 coverage with imports and inline assembly/Yul excluded by user scope. Stable Solidity constructs represented in the Lean source AST have checked executable coverage through
checkedSourceSoliditySemanticsMatch; the remaining unsupported/spec-incomplete items are not ordinary contract/function/statement/type syntax clusters but precise boundary gaps: no concrete parser/source-artifact layer for raw text, comments, SPDX, NatSpec, source maps, diagnostic spans, metadata/devdoc/userdoc, mapping key/value labels, or compiler JSON outputs; no experimental-mode compiler/source inputs such aspragma experimental soliditygeneric Solidity, SolidityAST import, EVM-assembly import, EOF/future-EVM/SSA-CFG/ethdebug surfaces, or metadata recording of experimental mode; fixed/ufixed values remain declaration/ABI-shape only, matching Solidity's own "declared but cannot be assigned to or from" boundary rather than executable arithmetic; expression evaluation order is still deterministic except for the new top-level ordinary-binary child-order helper; memory now has heap aliases, allocation bounds, free pointer, regions, and initialized bytes for modelednewforms, but not source-accessible scratch/free-pointer/zero-slot mutation or gas/expansion/temporary-memory effects; account/world effects remain explicit host-oracle records rather than closed-world EVM execution for balances, code, calls, creation, precompiles, gas, and selfdestruct. Verification after the audit:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-17 04:01 PDT - typecheck/source-boundary - made the user-approved exclusion of inline assembly/Yul crisp in the checked Solidity source layer.
checkStmtnow rejects everyStmt.inlineAssembly _, including emptyassembly {}, instead of accepting the empty case asskip; the broad pre-validity AST/raw executable fixture still exists inInterface.lean, butcheckedInlineAssemblyBoundarySemanticsMatchnow proves both empty and nonempty inline assembly source units are rejected by the common checked facade. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for empty/nonempty inline assembly rejection and the checked boundary aggregate,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. - 2026-05-17 04:08 PDT - audit/source-fidelity - re-audited the remaining Solidity 0.8.35 unsupported-feature boundary under the user-approved exclusions of import resolution and all inline assembly/Yul. No whole stable high-level Solidity feature cluster represented in the Lean AST is currently known missing from the checked executable facade, but the exact unsupported/spec-incomplete areas are: no concrete parser/source-artifact layer for raw text, comments, SPDX, NatSpec/devdoc/userdoc, source maps, diagnostic spans/warnings, mapping key/value labels, function-type data-location spelling, compiler metadata, or Standard JSON outputs; no experimental-mode inputs/features such as
pragma experimental solidity/generic Solidity, SolidityAST/EVMAssembly imports, EOF/non-mainnet-EVM/ethdebug/SSA-CFG surfaces, or metadata recording ofsettings.experimental; fixed/ufixed values are declaration/ABI-shape only, matching Solidity's own current "declared but cannot be assigned to or from" boundary; expression child evaluation order is still mostly deterministic, with only a top-level ordinary-binary order helper rather than a full recursive nondeterministic/parametric relation for all sibling expression lists; memory modeling covers source heap aliases plusnewallocation bounds/free pointer/regions/initialized bytes, but not full source-internal scratch/free-pointer/zero-slot/temporary-memory/gas-expansion behavior; EVM-version gating and world effects are not closed-world, so balances, code/codehash, gas consumption, call/create/delegatecall/staticcall/precompile results,type(C).creationCode/runtimeCode, and selfdestruct side effects remain explicit context/oracle records rather than computed EVM state transitions. Audit evidence: inspectedInterface.leansource AST,TypeCheck.leanunsupported boundaries and checked aggregates,Interpreter.leanruntime/context/evaluator surfaces,Checked.leanaggregate gates, and Solidity 0.8.35 official docs for source structure, types, expression order, globals, memory layout, metadata, and experimental mode. - 2026-05-17 04:13 PDT - audit/source-feature-boundary - performed a feature-by-feature audit requested by the user with import resolution and all inline assembly/Yul excluded from scope. The checked source surface covers the ordinary stable Solidity 0.8.35 language clusters represented by the Lean AST: source units with contracts/interfaces/libraries/free declarations/using directives/pragmas; elementary/user/contract/function/reference/mapping/tuple-shaped types; contracts, constructors, inheritance/C3/super/explicit-base calls, modifiers, libraries, using-for/operators, fallback/receive/payability, abstract/interface/override discipline; statements/control flow/unchecked/try-catch; expressions, literals, conversions, arithmetic, assignments, events/errors/reverts/rollback; storage/transient/memory/calldata behavior; ABI coder v1/v2 and ABI builtins; globals, metadata expressions, function pointers, public getters, low-level/high-level external calls, contract creation, precompiles, and
erc7201. Genuine unsupported/spec-incomplete areas are exactly these: no raw-source parser/source-artifact layer for SPDX/comments/NatSpec/source maps/diagnostic spans/warnings/compiler JSON/metadata/devdoc/userdoc/mapping labels/function-type spelling; no experimental-mode/compiler-input surfaces such as generic Solidity, AST/EVM-assembly import modes, EOF/future-EVM/ethdebug/SSA-CFG, or experimental metadata; fixed/ufixed values are accepted only where Solidity itself allows declaration/ABI shape and rejected for assignment/execution; sibling expression evaluation order is not yet a full recursive nondeterministic/parametric semantics, only a top-level ordinary-binary helper; memory has source heap/reference semantics plus allocation bounds/free pointer/regions/initialized bytes for modelednewallocations but not full scratch/zero-slot/temporary-memory/gas-expansion behavior; world/EVM effects are explicit context/oracle records rather than closed-world state transitions for balances, code/codehash, gas, call/create/delegatecall/staticcall/precompile results,type(C).creationCode/runtimeCode, and selfdestruct; EVM-version feature gating is not first-class. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checkedis green after the audit. - 2026-05-17 04:24 PDT - semantics/expression-order - broadened Solidity's unspecified sibling-expression order from a top-level binary helper into a recursive/list-aware ordered evaluator.
Expr.evalWithRuntimeOrderandExpr.evalListWithRuntimeOrdernow threadChildEvalOrderthrough ordinary expression children, tuple/fixed-array/ABI argument lists,addmod/mulmod/ecrecover, indexes/slices, call/create operands, casts/hashes, the chosen ternary branch, and low-level-call operands, while preserving short-circuit&&/||and leaving the existing checked facade deterministic. Added a raw tuple-order witness for(x = 5, x), proving left-to-right returns(5,5)and right-to-left returns(5,0)with storage slotx = 5, plus checked acceptance/execution for the same source shape incheckedExpressionSideEffectSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked order evals,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining expression-order fidelity gap: lvalue target/index resolution and statement-level/call lowering defaults are still deterministic in the ordinary checked facade; the ordered evaluator is executable evidence, not yet the sole public source relation. - 2026-05-17 04:32 PDT - semantics/expression-order - threaded the ordered child-expression semantics into public statement/function execution through
Context.childEvalOrder?.Stmt.evalnow usesExpr.evalWithRuntimeByContext/Expr.evalListWithRuntimeByContext, so default contexts preserve the existing deterministic facade while contexts withsome ChildEvalOrderrun ordinary statement expression sites through the ordered evaluator, including returns, declarations, assignments, conditions, require/revert/event arguments, try-call operands, creation operands, loops, and selfdestruct recipients. Added a rawStmt.evalwitness forreturn (x = 5, x)proving left-to-right returns(5,5)and right-to-left returns(5,0)with slotx = 5; added a checked contract/function-context witness for the same source throughCheckedContract.callFunctionWithContext, and folded it intocheckedExpressionSideEffectSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw statement/checked context/aggregate evals,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining order gap is narrower: lvalue target/index resolution, memory-reference localization helpers, and ABI/calldata public entry defaults still use deterministic helper paths unless an explicit checked/function context carrieschildEvalOrder?. - 2026-05-17 04:40 PDT - semantics/expression-order - made lvalue target/index resolution participate in ordered child-expression semantics. The ordered evaluator now resolves pre/post inc-dec targets, assignment-expression targets, compound-assignment targets, and storage-root index bases through
Expr.resolveLValueWithRuntimeOrderFuel; the publicLValue.resolveWithRuntimewrapper dispatches throughExpr.resolveLValueWithRuntimeByContext, so statement assignment/deletion/tuple-write target indexes observeContext.childEvalOrder?while default contexts keep the previous deterministic path. Added a raw and checked nested-memory lvalue witness formatrix[x = 1][x] = 9: left-to-right writesmatrix[1][1] = 9, right-to-left writesmatrix[1][0] = 9, and both end withx = 1. Folded the checked witness intocheckedExpressionSideEffectSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked lvalue-order/aggregate evals,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining expression-order gap is now mainly memory-reference localization helpers and ABI/calldata public entry defaults, plus statement assignment's target-vs-RHS order in the lowered statement form where not represented as an expression. - 2026-05-17 04:48 PDT - semantics/expression-order - made lowered statement assignment target-vs-RHS sequencing explicit under
Context.childEvalOrder?.Stmt.assignnow preserves the old RHS-then-target order by default but resolves the target before the RHS for explicit left-to-right contexts;Stmt.assignOpandStmt.assignOpCleanuppreserve the old target/read-before-RHS order by default but evaluate RHS before target/read for explicit right-to-left contexts. Added a raw and checked witness forxs[i] = (i = 1): left-to-right target resolution writesxs[0] = 1, right-to-left writesxs[1] = 1, and both end withi = 1; the checked witness is folded intocheckedExpressionSideEffectSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked statement-assignment-order/aggregate evals,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining expression-order gap is now mainly memory-reference localization helpers and ABI/calldata public entry defaults; default public facades remain deterministic unless callers opt into a child-order context. - 2026-05-17 05:02 PDT - semantics/expression-order - made memory-reference localization respect ordered child-expression semantics. Added
Expr.memoryRefOrValueWithRuntimeOrderFuelandExpr.memoryRefOrValueWithRuntimeByContext, and routedStmt.memoryVarDeclinitialization through the context-aware helper, preserving default behavior while allowing explicit left-to-right/right-to-left contexts to choose the order for indexed memory-reference initializers. Added a raw and checkeduint[][][] memoryalias witness foruint[] memory alias = matrix[x = 1][x]: left-to-right aliasesmatrix[1][1]and returns(0,7,1)afteralias[0] = 7, while right-to-left aliasesmatrix[1][0]and returns(7,0,1). The checked witness is folded intocheckedExpressionSideEffectSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked memory-ref-order/aggregate evals,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining expression-order gap is mainly ABI/calldata public entry defaults; default public facades remain deterministic unless callers opt into a child-order context. - 2026-05-17 05:10 PDT - audit/source-feature-boundary - re-audited Solidity 0.8.35 feature coverage with import resolution and all inline assembly/Yul excluded by user scope. I do not currently see a missing ordinary stable high-level Solidity feature cluster in the Lean AST/checker/interpreter facade; the remaining gaps are boundary/spec-fidelity gaps: no raw Solidity parser/source-artifact/compiler-output layer for raw text, comments, SPDX, NatSpec/devdoc/userdoc, source maps, diagnostic spans/warnings, compiler metadata or Standard JSON outputs, mapping key/value labels, or exact function-type spelling; no experimental/compiler-input surfaces such as generic Solidity experimental mode, SolidityAST/EVMAssembly import modes, EOF/future-EVM/ethdebug/SSA-CFG, or
settings.experimentalmetadata; no executable fixed/ufixed value semantics beyond Solidity's own declaration/ABI-shape boundary; sibling-expression order is modeled throughContext.childEvalOrder?for raw and checked function contexts but the default checked/ABI calldata entry facade remains deterministic rather than exposing a single nondeterministic source relation; gas/account/world effects are explicit context/oracle records rather than closed-world EVM state transitions, including gas consumption/refunds/memory-expansion costs, account balance/code/codehash evolution, value transfer, call/create/delegatecall/staticcall/precompile execution, and selfdestruct finalization; and EVM-version/chain-config feature gating is not first-class. Solc 0.8.35 spot checks confirmed that named arguments to function-typed values, member access on calldata slices, and restrictedlayout atexpressions are not current source-feature gaps. - 2026-05-17 05:19 PDT - semantics/expression-order - closed the ABI/calldata public-entry half of the child-expression-order gap. Source ABI dispatch now has context-aware calldata entry helpers (
callContextAtWithBase,callCalldataAtFromWithContext?, and transaction/context variants) that preserve caller-supplied semantic context fields such aschildEvalOrder?, host/world records, block/tx/gas fields, and memory limits while still overwriting Solidity call fields (msg.data,msg.sender,msg.value,address(this), storage/immutable/event declarations, checked/construction mode). The existing default ABI entry helpers continue to usecontract.context, so previous deterministic behavior is preserved unless a caller opts into a context. The checked facade now exposesCheckedContract.callCalldataAtFromWithContextplusCheckedInput.ownCallCalldataAtFromWithContext, andcheckedUnspecifiedTupleOrderAbiContextEvaluationMatchesproves the same ABI calldata forrunTuple()returns encoded(5,5)under left-to-right and(5,0)under right-to-left, with storage slotx = 5in both cases. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.ABI,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedUnspecifiedTupleOrderAbiContextEvaluationMatchesandcheckedExpressionSideEffectSemanticsMatch,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining expression-order fidelity issue is representational: the source layer is still parametric via explicitContext.childEvalOrder?rather than presenting one nondeterministic relation as the sole public semantics. - 2026-05-17 05:25 PDT - semantics/expression-order - added an explicit nondeterministic source-order surface on top of the context-parametric evaluator. Core source now exposes
ChildEvalOrder.unspecifiedOrders,Context.withUnspecifiedChildEvalOrders, executable function outcomes viaFunctionDef.callUnspecifiedResults, and a formal membership predicateFunctionDef.CallsUnspecified. ABI dispatch similarly exposesContract.callCalldataAtFromUnspecifiedResults, transaction unspecified results, andContract.CalldataCallUnspecified, so public calldata execution can be read as a set of possible source outcomes rather than requiring each caller to hand-pickContext.childEvalOrder?. The checked facade exposesCheckedContract.callFunctionUnspecifiedResults,CheckedContract.callCalldataAtFromUnspecifiedResults, andCheckedInputwrappers. AddedcheckedUnspecifiedTupleOrderUnspecifiedResultsMatch, proving that the nondeterministic function and ABI surfaces for the samerunTuple()source expose both modeled outcomes: left-to-right(5,5)and right-to-left(5,0), with slotx = 5in both cases, and folded it intocheckedExpressionSideEffectSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Solidity.ABI,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedUnspecifiedTupleOrderUnspecifiedResultsMatchandcheckedExpressionSideEffectSemanticsMatch,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining order-model limitation:ChildEvalOrdercurrently enumerates left-to-right and right-to-left policies, not all permutations of larger sibling lists. - 2026-05-17 05:33 PDT - semantics/expression-order - started broadening unspecified child-expression order beyond reversal policies. Added generic list helpers plus
Expr.evalListWithRuntimeAnySiblingOrder, an executable sibling-list evaluator that chooses any remaining child expression next, preserves returned values in original source order, threads runtime effects through the chosen schedule, and keeps revert outcomes as first-classExceptresults. AddedcheckedUnspecifiedThreeSiblingAnyOrderMatches, a focused witness for sibling expressions[x = 1, x, x = 2]proving the helper exposes all six outcomes for a three-child list, including non-left/right schedules such as middle-first and last-middle-first:[1,2,2,1],[1,1,2,1],[1,0,2,1],[1,0,2,2],[1,2,2,2], and[1,1,2,2]where the final component is the resulting storage slot. Folded the witness intocheckedExpressionSideEffectSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedUnspecifiedThreeSiblingAnyOrderOutcomes,checkedUnspecifiedThreeSiblingAnyOrderMatches, andcheckedExpressionSideEffectSemanticsMatch,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining integration work: this all-permutation helper is not yet the recursive function/statement/ABI public semantics; the public nondeterministic wrappers still enumerate the twoChildEvalOrderpolicies until the helper is threaded through expression constructors with larger child lists. - 2026-05-17 05:38 PDT - semantics/expression-order - lifted the all-permutation sibling-list helper into actual expression-constructor evaluation for tuple/list-shaped forms. Added
Expr.evalWithRuntimeAnySiblingOrderplus the formal membership predicateExpr.EvalsAnySiblingOrder; tuple, fixed-array,abi.encode,abi.encodePacked, andabi.encodeWithSelectornow expose all sibling evaluation schedules through this executable expression-level surface while preserving source-order result values. Updated the three-sibling witness so it evaluates an actual tuple expression(x = 1, x, x = 2)throughExpr.evalWithRuntimeAnySiblingOrderrather than calling the raw list helper directly, still proving all six schedules and folding intocheckedExpressionSideEffectSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedUnspecifiedThreeSiblingAnyOrderOutcomes,checkedUnspecifiedThreeSiblingAnyOrderMatches, andcheckedExpressionSideEffectSemanticsMatch,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining expression-order integration work: the function/statement/ABI public nondeterministic wrappers still need to consumeExpr.evalWithRuntimeAnySiblingOrder, and constructors such asaddmod/mulmod/ecrecover/low-level-call/create/index/slice still need their all-permutation expression cases. - 2026-05-17 05:44 PDT - semantics/expression-order - integrated more multi-child expression constructors into the all-permutation sibling-order surface.
Expr.evalWithRuntimeAnySiblingOrdernow handlesaddmod,mulmod, byte concatenation, fixed-bytes indexing,ecrecover, low-level calls with optional gas, and contract creation with optional salt, in addition to tuple/fixed-array/ABI encode forms. These cases use the generic sibling-list scheduler, preserve source-order operand values for the final operator application, and thread runtime effects through every chosen schedule. AddedcheckedUnspecifiedAddModAnyOrderMatches, provingaddmod(x = 1, x, x = 3)exposes all six three-child schedules with outcomes[[1,1], [2,1], [1,1], [1,3], [1,3], [2,3]], where the second component is the final storage slot; the witness is folded intocheckedExpressionSideEffectSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedUnspecifiedAddModAnyOrderOutcomes,checkedUnspecifiedAddModAnyOrderMatches, andcheckedExpressionSideEffectSemanticsMatch,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining expression-order integration work: index/slice and lvalue-target permutations still need all-permutation expression cases, and the function/statement/ABI public nondeterministic wrappers still need to consume the richer expression-level surface. - 2026-05-17 05:49 PDT - semantics/expression-order - added index and slice reads to the all-permutation expression surface.
Expr.evalWithRuntimeAnySiblingOrdernow evaluates ordinary non-storageindexchildren through the sibling scheduler while preserving storage-root/storage-ref indexing on the existing context-parametric path, and evaluates slice base/start/stop children through the sibling scheduler for all optional-bound shapes. AddedcheckedUnspecifiedSliceAnyOrderMatches, which evaluatesabi.encode(x = 4)[x = 1 : x = 2]and proves all six schedules for base/start/stop with outcomes[[1,0,4], [1,0,1], [1,0,4], [1,0,2], [1,0,1], [1,0,2]], where the first two components are the one-byte slice and the final component is the resulting storage slot. The witness is folded intocheckedExpressionSideEffectSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedUnspecifiedSliceAnyOrderOutcomes,checkedUnspecifiedSliceAnyOrderMatches, andcheckedExpressionSideEffectSemanticsMatch,/Users/dan/.elan/bin/lake build, scoped no-hole/no-partial scan, andgit diff --checkare green. Remaining expression-order integration work: lvalue target/write permutations and the function/statement/ABI public nondeterministic wrappers still need to consume the richer expression-level surface. - 2026-05-17 05:53 PDT - audit/source-feature-boundary - re-audited the current Lean source layer against the Solidity 0.8.35 documentation and release notes, still excluding import resolution and nonempty inline assembly/Yul by user scope. I do not currently see a missing ordinary stable high-level Solidity syntax cluster in
Interface.lean/TypeCheck.lean/Interpreter.lean: contracts/interfaces/libraries, free definitions, structs/enums/user-value types, mappings/arrays/bytes/string, function types, modifiers, fallback/receive, inheritance/C3/super/base constructors, custom storage layout witherc7201, transient storage, events/errors/custom errors, try/catch, ABI builtins, address members, globals, calls/create/selfdestruct, using-for/operators, public getters, checked/unchecked arithmetic, literals/conversions, storage/memory/calldata/reference behavior, and source control-flow all have AST/checker/interpreter coverage. Remaining unsupported or spec-incomplete areas are exactly boundary/fidelity gaps: no raw Solidity parser/source-artifact/diagnostic layer for raw text, comments, SPDX, NatSpec/devdoc/userdoc, source maps/spans, Standard JSON/compiler metadata, warning/deprecation diagnostics, mapping key/value labels, or exact function-type spelling; no executable fixed/ufixed values beyond Solidity's own declaration/ABI-shape boundary, with fixed-point assignment/arithmetic/literals/public getters rejected; no single public all-permutation expression-order relation yet, since the public function/statement/ABI unspecified wrappers still enumerate left-to-right/right-to-left policies while the newer any-sibling-order helper has only been threaded through expression cases; no closed-world EVM/account/gas semantics for balance/code/codehash evolution, value transfer, code-existence checks, gas consumption/refunds/OOG/memory-expansion costs, reentrant call/create/precompile execution, or final selfdestruct effects beyond explicit context/oracle records; no first-class EVM-version/chain-config gating for difficulty/prevrandao, blob features, transient availability, EOF/future-EVM, or Cancun selfdestruct behavior; no full compiler memory-artifact semantics for scratch space, zero slot, temporary memory, exact free-pointer invariants, or ABI/memory byte layout beyond the modeled source heap/reference/allocation surface; and no experimental/compiler-output surfaces such as generic Solidity mode, AST/EVM-assembly import modes, SSA-CFG, ethdebug, optimizer/IR/codegen, metadata output, or Standard JSON output semantics. - 2026-05-17 06:04 PDT - semantics/expression-order - made the all-permutation expression-order surface recursive for handled expression constructors.
Expr.evalPendingWithRuntimeAnySiblingOrderFuelnow evaluates each selected child throughExpr.evalWithRuntimeAnySiblingOrderFuelinstead of falling back to the by-context left/right evaluator, while the public wrappers use structural expression/list fuel to avoid exposing fuel as a semantic parameter. AddedcheckedUnspecifiedNestedAnyOrderMatches, a nested tuple witness for(x = 1, x, x = 2), x, x = 3proving that inner sibling schedules are explored even when the inner tuple is itself a child of an outer tuple; the new outcome set has 36 schedules and includes the inner middle-first case[1, 0, 2, 2, 3, 3]. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedUnspecifiedNestedAnyOrderOutcomes.length,checkedUnspecifiedNestedAnyOrderMatches, andcheckedExpressionSideEffectSemanticsMatch, andgit diff --checkare green. Remaining expression-order integration work: the public function/statement/ABI unspecified wrappers still enumerate the twoChildEvalOrderpolicies rather than consuming the recursive all-permutation expression relation everywhere. - 2026-05-17 06:12 PDT - semantics/expression-order - connected the recursive all-permutation expression relation to explicit public function and ABI calldata surfaces for direct
Stmt.returnValuesbodies. AddedFunctionDef.callReturnValuesAnySiblingResultsplusFunctionDef.CallsReturnValuesAnySiblingOrder, and addedContract.callCalldataAtFromReturnValuesAnySiblingResultsplusContract.CalldataCallReturnValuesAnySiblingOrder; the checked facade now has matchingCheckedContract/CheckedInputwrappers. AddedcheckedUnspecifiedNestedReturnAnyOrderMatches, proving a core function returning the nested tuple expression exposes 36 possible function-call outcomes and the ABI calldata surface exposes the same 36 decoded outcomes, including[1, 0, 2, 2, 3, 3]. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.ABI,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for function/ABI nested outcome lengths,checkedUnspecifiedNestedReturnAnyOrderMatches,checkedExpressionSideEffectSemanticsMatch, scoped no-hole scan, andgit diff --checkare green. Remaining expression-order integration work: this public all-permutation call surface is intentionally limited to direct return-expression bodies; the general statement interpreter and older unspecified wrappers still use context-parametric left/right policies. - 2026-05-17 06:18 PDT - semantics/expression-order - extended the explicit return-expression all-permutation surface through ordinary block-bodied functions with deterministic prefixes. Added
Stmt.evalReturnValuesAnySiblingResults, which recognizes directreturnValues, checked/unchecked wrappers, andblockbodies whose final statement is a supported return-expression path; for blocks it runs the prefix with the existing statement interpreter, evaluates the final return expressions through the recursive all-sibling expression scheduler, and pops the block scope on every result.FunctionDef.callReturnValuesAnySiblingResultsnow consumes that statement-level helper instead of matching only direct return bodies. AddedcheckedUnspecifiedNestedBlockReturnAnyOrderMatches, proving a block body with a prefix storage write followed by the nested return expression exposes 36 function-call outcomes and 36 ABI calldata outcomes, including[1, 0, 2, 2, 3, 3, 7]where the final7proves the prefix write survived. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.ABI,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for block-bodied function/ABI outcome lengths,checkedUnspecifiedNestedBlockReturnAnyOrderMatches,checkedExpressionSideEffectSemanticsMatch, scoped no-hole scan, andgit diff --checkare green. Remaining expression-order integration work: arbitrary statement bodies still do not have a fully list-valued all-permutation interpreter; this surface is limited to final-return block shapes plus checked/unchecked wrappers. - 2026-05-17 06:23 PDT - semantics/expression-order - made ordinary unary and binary operators participate in the recursive all-permutation expression surface.
Expr.evalWithRuntimeAnySiblingOrderFuelnow recurses through unary operands, recursively handles short-circuit&&/||while preserving their left-first/conditional-right behavior, and evaluates ordinary binary operands with the sibling scheduler before applyingBinaryOp.apply. AddedcheckedUnspecifiedBinaryOperatorAnyOrderMatches, provingx + (x = 5)exposes both operand schedules at raw expression, public function-return, and ABI calldata-return surfaces with outcomes[[10, 5], [5, 5]]. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for raw/function/ABI binary operator outcomes,checkedUnspecifiedBinaryOperatorAnyOrderMatches,checkedExpressionSideEffectSemanticsMatch, scoped no-hole scan, andgit diff --checkare green. Remaining expression-order gaps include assignment/compound-assignment expression target-vs-RHS all-permutation, lvalue writes inside the richer relation, and full arbitrary statement bodies. - 2026-05-17 06:33 PDT - semantics/expression-order - integrated assignment-expression target/RHS ordering and indexed lvalue resolution into the recursive all-sibling expression relation. Added
Expr.resolveLValueWithRuntimeAnySiblingOrderFuel, threaded it through pre/post inc/dec, cleanup inc/dec,assignExpr,assignOpExpr, andassignOpCleanupExpr, and made indexed lvalue resolution expose base-vs-index schedules before writes. AddedcheckedUnspecifiedAssignExprAnyOrderMatches, provingxs[i] = ++iexposes both target-before-RHS and RHS-before-target outcomes at raw expression, public function-return, and ABI calldata-return surfaces:[[1, 1, 1, 0], [1, 1, 0, 1]], where the final two components are legacy indexed storage slotsxs[0]andxs[1]. Updated older exact-cardinality expression-order witnesses to outcome-containment checks because the richer assignment relation can add observationally duplicate schedules. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for assignment raw/function/ABI outcomes,checkedUnspecifiedAssignExprAnyOrderMatches,checkedExpressionSideEffectSemanticsMatch, scoped no-hole scan, andgit diff --checkare green. Remaining expression-order gap is mostly the fully list-valued arbitrary statement interpreter; the expression-level surface now covers ordinary operators, assignments, lvalue indexing, tuple/list/ABI forms, calls/create, index, and slice. - 2026-05-17 06:40 PDT - semantics/expression-order - started lifting the recursive all-sibling expression relation through statement prefixes. Added
Stmt.evalAnySiblingResultsandStmt.evalListAnySiblingResults, covering supported expression-bearing prefix statements: blocks, variable declarations, expression statements, assignments, tuple assignments, compound assignments, returns, and checked/unchecked wrappers, with unsupported statement forms still falling back to deterministicStmt.eval.Stmt.evalReturnValuesAnySiblingResultsnow uses the list-valued prefix helper before evaluating final return expressions. AddedcheckedUnspecifiedPrefixExprStmtAnyOrderMatches, proving a block prefix(x = 1, x, x = 2); return x;exposes both final return values[1, 1]and[2, 2]at statement, function-return, and ABI calldata-return surfaces. Commands/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedUnspecifiedPrefixExprStmtAnyOrderStmtOutcomes,checkedUnspecifiedPrefixExprStmtAnyOrderFunctionOutcomes,checkedUnspecifiedPrefixExprStmtAnyOrderAbiOutcomes,checkedUnspecifiedPrefixExprStmtAnyOrderMatches,checkedExpressionSideEffectSemanticsMatch, scoped no-hole scan, andgit diff --checkare green. Remaining expression-order gap: full arbitrary statement bodies, control-flow constructs, and loops still are not a fully independent all-permutation statement semantics; unsupported forms in this helper fall back to deterministic evaluation. - 2026-05-17 06:59 PDT - semantics/expression-order - pivoted the source-layer treatment of Solidity's unspecified sibling expression order to a deterministic Yul-compatible policy rather than all-sibling nondeterminism. Nethermind's Yul interpreter evaluates call-argument lists by reversing the argument list, evaluating head-first, then reversing the resulting values back, so the observable child-effect order is right-to-left while result positions are preserved. Added
ChildEvalOrder.yulCompatible, made defaultExpr.evalWithRuntimeByContext/list/memory-ref/lvalue helpers use that order when no override is supplied, and changedChildEvalOrder.unspecifiedOrdersto the singleton Yul-compatible policy for public "unspecified" wrappers. Updated deterministic tuple/binary side-effect witnesses to the Yul-compatible results and removed the all-sibling witness bundle from the canonicalcheckedExpressionSideEffectSemanticsMatchaggregate, leaving those exploratory helpers non-canonical. Empirical solc 0.8.35 spot checks through Foundry showed why this boundary matters: tuple returns and internal-call arguments evaluated left-to-right in both legacy and--via-ir, while a binary operand test differed between legacy and--via-ir; the Solidity docs still specify only that sibling expression order is unspecified, with statement order and boolean short-circuiting guaranteed. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Solidity.ABI,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedUnspecifiedTupleOrderUnspecifiedResultsMatchandcheckedExpressionSideEffectSemanticsMatch, scoped no-hole scan, andgit diff --checkare green. Follow-up cleanup: remove or quarantine the old all-sibling APIs/defs once no downstream caller relies on them, so the public surface does not suggest they are the intended source semantics. - 2026-05-17 07:10 PDT - semantics/expression-order - completed the Yul-compatible expression-order pivot by deleting the non-canonical all-sibling public surfaces. Removed the
AnySiblingexpression/statement/function/ABI helpers, checked facade wrappers, exploratory all-permutation witnesses, and their now-unused list-order utilities, so source-level "unspecified" call/ABI wrappers expose only the singletonChildEvalOrder.yulCompatiblepolicy. ExplicitChildEvalOrder.leftToRight/rightToLeftcontexts remain available for diagnostic context-parametric tests, but they are no longer advertised as the public meaning of Solidity's unspecified sibling order. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Solidity.ABI,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcheckedUnspecifiedTupleOrderUnspecifiedResultsMatchandcheckedExpressionSideEffectSemanticsMatch,rg AnySibling, scoped no-hole scan, andgit diff --checkare green. - 2026-05-17 07:23 PDT - semantics/evm-version - narrowed the first-class EVM-version configuration gap for source-visible Solidity globals and transient storage. Added shared
EvmVersionvalues and threaded the selected version through the Solidity sourceContextand commonTypeContext; runtimeblock.difficultynow reads true difficulty before Paris and aliasesprevrandaofrom Paris onward, whileblock.prevrandaoreads difficulty before Paris andprevrandaofrom Paris onward. Raw pre-Cancunblobhash/block.blobbasefeeare gated to zero, and the checked Solidity source layer rejects Cancun-onlyblobhash,block.blobbasefee, andtransientstorage under pre-Cancun typechecking while still accepting the solc-compatible pre-Parisprevrandaowarning case. Local solc 0.8.35 probes confirmed the modeled boundary:prevrandaobefore Paris is accepted with a warning and treated as difficulty;blobhash,blobbasefee, and transient storage are Cancun-only. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/typecheck/checked EVM-version evals,/Users/dan/.elan/bin/lake build, scoped no-hole scan, andgit diff --checkare green. - 2026-05-17 07:30 PDT - semantics/evm-version/selfdestruct - narrowed the Cancun selfdestruct fidelity gap without importing closed-world account deletion into the Solidity source layer. Added a shared
SelfdestructRecordwith normalized source address, recipient, anddeletesAccount, plus the EIP-6780-shaped rule that pre-Cancun selfdestruct requests account deletion while Cancun only requests deletion when the contract was created in the same transaction. SolidityStatepreserves the old(self, recipient)selfdestructstrace and now also records richerselfdestructEffects;ContextcarriescreatedInTransactionAccountsfor this source-visible distinction. Added raw and checked witnesses proving default Cancun selfdestruct records no deletion, pre-Cancun selfdestruct records deletion, and Cancun selfdestruct from a same-transaction-created account records deletion, while the statement still halts before later writes. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/checked selfdestruct evals,checkedBuiltinMetadataSemanticsMatch,/Users/dan/.elan/bin/lake build, scoped no-hole scan, andgit diff --checkare green. - 2026-05-17 07:47 PDT - semantics/evm-version/typecheck - extended the Solidity source EVM-version model to the full solc 0.8.35 selectable fork ladder from Homestead through Osaka, while keeping Cancun as the default source context. Local solc 0.8.35 probes confirmed
block.basefeeis London-only,block.chainidis Istanbul+,address.codehashand contract creationsaltare Constantinople+, andaddress.code/shift expressions remain accepted on older forks. Runtime ambient reads now gateblock.basefee,block.chainid, andaddress.codehashto zero on raw pre-support contexts, and the common checker rejects those source constructs plus saltednew C{salt: ...}under unsupported forks. Added raw and checked witnesses for pre-London basefee, pre-Istanbul chainid, pre-Constantinople codehash, and pre-Constantinople salted creation rejection, folded into the checked builtin/fork discipline aggregate. Commands/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.TypeCheck SolidCore.Spine.L00_SourceSolidity.Checked, focused raw/typecheck/checked EVM-version evals includingcheckedBuiltinMetadataSemanticsMatch,/Users/dan/.elan/bin/lake build, scoped no-hole scan, andgit diff --checkare green. - 2026-05-17 07:56 PDT - semantics/precompile - narrowed the precompile/world-effect gap at the source-visible abstraction boundary.
SharedSemantics.Precompile.Kindnow names the canonical mainnet precompile address set through Cancun/Prague-era Solidity (ecrecover,sha256,ripemd160, identity, modexp, alt-bn128 add/mul/pairing,blake2f, and point evaluation), while still leaving cryptographic/heavy execution behind explicit shared oracle records. Solidity low-level-call lookup now lets explicit context results override builtins and otherwise computes the pure identity precompile forstaticcallto address 4 with zero value by echoing calldata. Added raw and checked witnesses proving the canonical address list is[1,2,3,4,5,6,7,8,9,10]andaddress(4).staticcall(hex"01020304")succeeds with identical output through the common checked facade. Commands/Users/dan/.elan/bin/lake build SharedSemantics.Precompile SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcanonicalPrecompileAddressesMatch,identityPrecompileStaticcallMatches,checkedHashBuiltinContractAccepted,checkedIdentityPrecompileStaticcallMatches, andcheckedBuiltinMetadataSemanticsMatch,/Users/dan/.elan/bin/lake build, scoped no-hole scan, andgit diff --checkare green. - 2026-05-17 08:03 PDT - audit/solc-differences - re-audited current Solidity source semantics against
solc0.8.35. The remaining differences are now best classified as: (1) compiler/frontend/output surfaces, not source semantics: no raw Solidity parser/lexer, comments, SPDX/NatSpec/devdoc/userdoc, source maps/spans, Standard JSON input/output, JSON AST import/export, metadata/CBOR, bytecode/opcodes, optimizer/codegen settings, library linking artifacts, exact diagnostics/warnings/error codes, or warning-only behavior; (2) user-approved exclusions: import resolution/remappings/URL imports and all inline assembly/Yul, where the checker rejectsinlineAssemblyand unresolved imports; (3) experimental/compiler modes absent from the source layer: generic-solidity, LSP/ethdebug, EOF/future-EVM, AST/EVM-assembly/IR imports, and SSA-CFG codegen/--experimental; (4) intentional undefined-behavior choice: unspecified sibling expression order is Yul-compatible deterministic right-to-left at the source layer, whilesolc0.8.35 has pipeline-dependent accidents (Foundry probe: tuple/internal-call args left-to-right under legacy and--via-ir; binary operand test right-to-left under legacy and left-to-right under--via-ir); (5) abstracted world/EVM effects: balances/code/codehash are context reads,gasleftand gas/OOG/refunds/stack/resource behavior are not consumed, value transfer/call/create/reentrant execution/CREATE address/nonce behavior and most precompile execution remain explicit oracle records, with identity precompile now computed; (6) abstracted compiler memory layout: the model has source heap/reference semantics plus allocation limits/free-pointer/regions/initializednewbytes, but not solc's full byte-addressed scratch/zero-slot/temporary-memory/ABI-internal memory and expansion-gas behavior; (7) fixed/ufixed matches solc's declaration-only boundary rather than executable values. Evidence: inspectedInterface.lean,TypeCheck.lean,Interpreter.lean,ABI.lean, shared semantics adapters, roadmap/progress log; ransolc-js0.8.35+commit.47b9deddprobes confirming fixed declarations accepted but public getter/assignment rejected, inline assembly accepted by solc, experimental pragma requires experimental mode and remains unimplemented, imports resolve when all sources are supplied, and future-keyword identifiers produce warnings; ran Foundryforge test --use 0.8.35and--via-irexpression-order probes as above. A broadcheckedSourceSoliditySemanticsMatcheval was stopped after running long; module builds remain the stronger routine evidence for the checked facade. - 2026-05-17 08:10 PDT - semantics/precompile - deepened the source-visible precompile adapter with direct modular-exponentiation execution for
address(5).staticcall.SharedSemantics.Precompilenow parses the EIP-198/EVM calldata shape as three right-padded 32-byte length words followed by base/exponent/modulus byte strings, computesbase^exponent mod modulusas a pure Nat function, returns exactlymodulus_lengthbig-endian bytes, and handles the zero-modulus/zero-length special case as zero bytes. ExplicitlowLevelCallResultsstill override builtins, and gas remains abstract at the source layer. Added raw and checked source witnesses for2^5 mod 13 = 6plus the zero-modulus branch, folded the checked witness intocheckedBuiltinMetadataSemanticsMatch. Commands/Users/dan/.elan/bin/lake build SharedSemantics.Precompile,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forSharedSemantics.Precompile.modexpOutput,modexpPrecompileStaticcallMatches,checkedModexpPrecompileStaticcallMatches, andcheckedBuiltinMetadataSemanticsMatch,/Users/dan/.elan/bin/lake build, scoped no-hole scan, andgit diff --checkare green. Status note: after the solc-differences audit, the high-level Solidity source semantics appears effectively complete under the user-approved exclusions and explicit abstraction boundaries, but the persistent goal should not be marked complete until we do a final requirement-by-requirement completion audit and decide whether oracle-modeled world effects are acceptable as the final semantics boundary. - 2026-05-17 08:20 PDT - audit/source-completion - completed the final requirement-by-requirement Solidity 0.8.35 source-semantics audit under the user-approved exclusions of import resolution and inline assembly/Yul. The canonical source surface remains
SolidCore/Spine/L00_SourceSolidity/Interface.lean, whose broad pre-validity AST covers source units, pragmas/import items, contracts/interfaces/libraries, state vars/constants/immutables/transient storage, functions/constructors/fallback/receive/modifiers, events/errors/structs/enums/user value types/using declarations, expressions, statements, data locations, inheritance bases, call options, tuples/holes, try/catch, unchecked blocks, and inline assembly as a rejected boundary.TypeCheck.leannow classifies remaining unsupported paths as invalid source or explicit boundaries: unresolved imports, inline assembly/Yul, compiler/frontend pragma modes, EVM-version-gated features under older forks, fixed/ufixed executable-value use at solc's declaration-only boundary, and malformed/ill-typed member/call/tuple/binding forms. The checked aggregate facade decomposes the semantics into core, storage, ABI/call, and object clusters covering source facade validity, primitive ABI/data types, internal/external function pointers, control flow, expression order/effects, target effects, tuples/free functions, literals/conversions, checked/unchecked arithmetic, storage paths/getters/arrays/references/bytes/transient storage, fallback/receive/payable, overload/inherited lookup, memory/calldata ABI, ABI builtins, metadata/fork/selfdestruct/precompile behavior, low-level calls, contract creation, try/catch, static source discipline, modifiers, libraries, inheritance/constructors, and event/error rollback. The remaining differences fromsolcare accepted source-layer boundaries rather than missing high-level Solidity semantics: parser/import/frontend/output surfaces, compiler diagnostics/metadata/codegen, experimental/compiler modes, Yul/inline assembly, deterministic Yul-compatible choice for undefined sibling expression order, abstracted closed-world EVM/gas/reentrancy/host effects behind explicit context/oracle records, intentionally abstract source memory rather than solc's byte-addressed compiler layout, and fixed/ufixed executable values matching solc's own not-implemented boundary. A monolithiccheckedSourceSoliditySemanticsMatcheval and a broad coverage eval were stopped after running long; focused checked evals for builtin metadata, try/catch, event/error rollback, and static discipline remained green, and the final evidence gate is the module/full build plus hygiene scan. Objective status: complete under the approved source-layer boundaries, with compiler-lowering work intentionally excluded except for public interface preservation. - 2026-05-17 08:34 PDT - refactor/yul-target-prep - started the new
$verifiable-compilersource-refactor goal: keep the completed Solidity 0.8.35 source semantics abstract and Solidity-faithful while shaping it for a later, separate compiler proof into Nethermind Yul. Inspected/Users/dan/Projects/evm-compilerfor architecture context: repaired source-owned layers expose named stores, explicit outcome observations, source-fuel recursion boundaries, and public theorems that avoid layout/replay/callback evidence. Identified the intended Nethermind target as PR #84,Align Yul interpreter with Solidity semantics(https://github.com/NethermindEth/EVMYulLean/pull/84), whose corrected Yul interpreter surface includesEvmYul.Yul.exec/eval/evalValues/call/primCalloverEvmYul.Yul.State, selected-case switch execution, omitted-default-as-empty switch notation, block-scope cleanup, separate declarations and assignments, unknown/duplicate identifier errors, zeroed function returns, reverted-call-as-failed-call behavior, right-to-left argument evaluation, and haltingSELFDESTRUCT. First source-only refactor: addedEvent.toLogEntry,State.logEntries,StateObservation,RuntimeObservation,ResultObservation, andCallObservationinSolidCore/Solidity/Interpreter.lean, so the Solidity source layer now has target-shaped log/state/result projections without throwing away rich Solidity event/state data or introducing compiler lowering. Added raw and checked witnesses that the existing event ABI fixture projects to the expected EVM log entry throughCallResult.observe, and folded the checked witness intocheckedEventErrorRollbackSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, and focused evals foreventAbiLogEntryMatchesExpected,checkedEventAbiLogEntryObservationMatchesExpected, andcheckedEventErrorRollbackSemanticsMatchare green. A timing-only focused eval attempt before the rebuilt.oleanfiles existed failed with missing object file and was rerun successfully after the build. - 2026-05-17 09:02 PDT - refactor/yul-target-prep - extended the source observation facade with explicit host-oracle external interaction traces for future Solidity-to-Nethermind-Yul preservation, without starting compiler lowering or modeling closed-world EVM execution. Solidity
Statenow recordsExternalInteraction.lowLevelCallandExternalInteraction.contractCreationentries in addition to preserving the existing rich source state;State.observeexposes those interactions alongside storage, transient storage, immutables, selfdestruct effects, and log entries. Low-level calls now resolve throughContext.resolveLowLevelCall, so missing host oracle results consistently become failed abstract calls in both pure and runtime expression paths, while runtime evaluation records the resolved interaction.try/catchstatement-level external calls and contract creations now carry the same source trace through success and catch branches viaContext.resolveContractCreation, without changing returned values or importing lower-level gas/reentrancy/account execution. Added raw and checked witnesses for observed low-level calls and contract creation, refactored the low-level call option-effect witnesses so they verify option-expression local effects through ordinary returns and verify the call result through the new abstract source trace rather than a tuple-local lowering artifact, and strengthened the existing checked try/catch operand-effect witnesses to assert the statement-level traces. Folded the checked observation witnesses intocheckedLowLevelCallSemanticsMatch,checkedContractCreationSemanticsMatch, and the existing try/catch aggregate. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forlowLevelCallOptionGasEffectsMatches,lowLevelStaticCallOptionGasEffectsMatches,lowLevelCallObservedInteractionMatches,contractCreationObservedInteractionMatches,checkedLowLevelCallObservationMatches,checkedContractCreationObservationMatches,checkedTryExternalCallOperandEffectsMatches,checkedTryContractCreateOperandEffectsMatches,checkedLowLevelCallSemanticsMatch,checkedContractCreationSemanticsMatch, andcheckedTryCatchSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, and a scoped no-hole scan over the touched Solidity source/checked files are green. - 2026-05-17 09:17 PDT - refactor/yul-target-prep - split statement-level runtime observation away from internal memory-layout instrumentation so the future preservation interface sees source-owned memory, not solc/EVM byte layout. Added
MemoryObservationand extendedRuntimeObservationwith source locals plus the abstract memory heap (MemoryMap), next source memory object id, allocation sizes, and total allocated bytes.Runtime.observeMemoryintentionally omitsmemoryByteMap, concrete byte addresses, and the free-memory pointer from the canonical observation, leaving those as internal diagnostics for allocation-footprint tests rather than the source-to-Yul relation surface. Added rawmemoryAllocationObservationMatchesand checkedcheckedMemoryAllocationObservationMatcheswitnesses over the existing memory-footprint fixture, proving the observation records three source memory objects of lengths 3, 5, and 2 with allocation sizes[128, 64, 64]and the expected abstract byte total. Folded the checked witness intocheckedMemoryCalldataAbiSemanticsMatch. Audit search confirmed the byte-addressed memory/free-pointer names remain inInterpreter.leanand legacy footprint witnesses only; the new observation surface is atMemoryObservation/Runtime.observeMemory. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals formemoryAllocationObservationMatches,checkedMemoryAllocationObservationMatches, andcheckedMemoryCalldataAbiSemanticsMatchare green. - 2026-05-17 09:25 PDT - refactor/yul-target-prep - added the ABI-entry observation layer for future Solidity-to-Nethermind-Yul preservation without starting compiler lowering. Confirmed PR #84 metadata through GitHub (
https://github.com/NethermindEth/EVMYulLean/pull/84) and the pinned/Users/dan/Projects/evm-compilerdependency branchcodex/solidity-switch-semantics, whose target semantics expects Nethermind YulVarStore/shared-state runs with scoped blocks, no-shadowing locals, assignment-vs-declaration separation, right-to-left argument effects, failed call-like builtins returning0, and haltingSELFDESTRUCT. AddedABI.AbiCallObservationplusAbiCallResult.observe, projecting success, normalized output bytes, andStateObservationat the ABI boundary while leaving byte-addressed memory and stack layout out of the source layer. Added rawaddressAbiObservationMatchesand checkedcheckedAddressAbiObservationMatcheswitnesses over the address identity ABI fixture, and folded the checked witness intocheckedPrimitiveAbiSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checkedand focused evals foraddressAbiObservationMatches,checkedAddressAbiObservationMatches, andcheckedPrimitiveAbiSemanticsMatchare green. - 2026-05-17 09:28 PDT - refactor/abstraction-audit - completed the source runtime/interface naming audit for the current refactor goal. The only live compiler-shaped artifact under
SolidCore/Soliditywas the unimportedControlCore.leansource-to-corecompile?shim; removed it so the reusable Solidity folder contains only source semantics, ABI, Keccak/shared primitive adapters, and README boundary text. Renamed active source/checked witness names that called source-to-core elaboration "lowering": inherited nested type checks now useSourceElaboration, and the fixed-point executable boundary isfixedPointExecutableTypeRejected. While checking the renamed witnesses, found and repaired a stale inherited-nested-type matcher that predated memory-localization and narrow-integer cleanup wrappers; the witness now scans the source-elaborated block and unwrapsuintCleanuparound the first-field index. A scoped source search now finds noControlCore,source-to-ControlCore,compile?_sound,compile?_complete, or active source-file "Lowering" names; the remaining "lowering" hits are boundary text explicitly separating source semantics from later compiler lowering. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals for the raw/checked inherited nested-type source-elaboration witnesses,fixedPointExecutableTypeRejected, andcheckedOverloadInheritedLookupSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, and a scoped no-hole scan are green. This is source-only cleanup and adds no Solidity-to-Yul compiler implementation. - 2026-05-17 09:49 PDT - refactor/yul-target-prep - factored source local environments into an explicit observation boundary for a future Nethermind-Yul
VarStorerelation, without introducing target layout or compiler lowering. AddedLocalObservationwith rawframes,currentFrame, andvisibleBindings, plusLocalEnv.observeandLocalObservation.lookup?;RuntimeObservation.localsnow exposes this source-owned observation instead of the bareLocalEnv.visibleBindingsis computed from innermost to outer frames and drops shadowed outer names according to the source lookup rule, making the future relation target a source notion of visible locals rather than stack slots. Added rawlocalObservationShadowingMatchesand checkedcheckedLocalObservationShadowingMatches, and folded the checked witness intocheckedMemoryCalldataAbiSemanticsMatchbeside the existing memory observation witness. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forlocalObservationShadowingMatches,checkedLocalObservationShadowingMatches,memoryAllocationObservationMatches,checkedMemoryAllocationObservationMatches, andcheckedMemoryCalldataAbiSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scopedControlCore/compiler-shim grep are green. - 2026-05-17 09:55 PDT - refactor/yul-target-prep - added an explicit source evaluation observation for the fuel/resource boundary, matching the future preservation need to relate both completed runs and no-result source fuel exhaustion without inspecting evaluator internals. New
EvalMode,EvalObservation, andOptionResult.observeclassifyOption Resultas eithercompletedwith aResultObservationoroutOfFuelwith no result. Added rawevalObservationFuelBoundaryMatchesoverStmt.skipat fuel0/1, plus checkedcheckedEvalObservationFuelBoundaryMatches, and folded it intocheckedControlFlowStatementSemanticsMatchwith the existing return/break/continue/revert checks. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forevalObservationFuelBoundaryMatches,checkedEvalObservationFuelBoundaryMatches, andcheckedControlFlowStatementSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scopedControlCore/compiler-shim grep are green. - 2026-05-17 10:12 PDT - refactor/yul-target-prep - factored Solidity
Contextinto an explicit source-owned observation boundary for future relation to Nethermind Yul shared state, without importing Yul state or starting compiler lowering. AddedContextDeclarationObservation,ContextAmbientObservation,ContextAccountOracleObservation,ContextCodeOracleObservation,ContextExternalOracleObservation, andContext.observe, separating source declaration metadata,msg/block/tx/gas/eval-order ambient inputs, account balance/code/codehash oracles, named contract-code oracles, and external call/create oracle tables. Added rawcontextObservationSourceBoundaryMatchesover a context containing nontrivial declarations, calldata/sender/value/self, block/tx/fork/gas/resource fields, account/code maps, named code maps, low-level-call results, and contract-creation results; added checkedcheckedContextObservationSourceBoundaryMatchesand folded it intocheckedBuiltinMetadataSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forcontextObservationSourceBoundaryMatches,checkedContextObservationSourceBoundaryMatches, andcheckedBuiltinMetadataSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scopedControlCore/compiler-shim grep are green. - 2026-05-17 10:32 PDT - refactor/yul-target-prep - added a source-owned contract/interface observation boundary for future Solidity-to-Nethermind-Yul dispatcher and ABI preservation. New
ParameterInterfaceObservation,FunctionInterfaceObservation,GetterInterfaceObservation,EventInterfaceObservation,ErrorInterfaceObservation, andContractInterfaceObservationproject a Solidity contract's declaration-facing surface into selector-bearing ABI functions, receive/fallback special entrypoints, constructors, public getters with getter shapes/selectors, event topics, custom-error selectors, state variables, bases, and interface ids.abiFunctionsintentionally excludes receive/fallback even though the older direct-ordinary-function helper includes them, keeping selector dispatch separate from special calldata/value dispatch without introducing Yul lowering. Added rawinterfaceObservationMatchesover a contract with a payable constructor, external function, public getter, event, custom error, receive, and fallback, plus checkedcheckedInterfaceObservationMatches, folded intocheckedBuiltinMetadataSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forinterfaceObservationMatches,checkedInterfaceObservationMatches, andcheckedBuiltinMetadataSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scopedControlCore/compiler-shim grep are green. - 2026-05-17 10:42 PDT - refactor/yul-target-prep - lifted the source-owned interface observation one level to whole source units, still without lowering to Yul. Added
StructFieldInterfaceObservation,StructInterfaceObservation,EnumInterfaceObservation,UserValueTypeInterfaceObservation,UsingFunctionInterfaceObservation,UsingInterfaceObservation, andSourceUnitInterfaceObservation, plusSourceUnit.observeInterfaceandSourceUnit.observeInterfaceResolved?. The observation projects the resolved source program surface into contract observations, free function/event/error/constant observations, source type declarations, and file-level using declarations, giving a future compiler proof a program-level relation target separate from generated code, bytecode metadata, or target memory layout. Added rawsourceUnitObservationMatchesover a source unit containing a free struct, enum, user value type, constant, free function, free event, free error, and the existing interface-observation contract; added checkedcheckedSourceUnitObservationMatchesand folded it intocheckedBuiltinMetadataSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forsourceUnitObservationMatches,checkedSourceUnitObservationMatches, andcheckedBuiltinMetadataSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scopedControlCore/compiler-shim grep are green. - 2026-05-17 10:45 PDT - compaction-resume - resumed the source-refactor goal after source-unit observation; next checkpoint is auditing shared Solidity primitives/external abstractions against Nethermind Yul/EVM semantics in
/Users/dan/Projects/evm-compiler. - 2026-05-17 10:56 PDT - audit/nethermind-shared-boundary - audited the user's clarified question against Nethermind's actual Yul/EVM semantics, using
/Users/dan/Projects/evm-compiler, the pinnedexternal/nethermind/EVMYulLeancheckout, and the currentSharedSemantics/Solidity source modules. Inevm-compiler, the Yul and EVM layers literally share Nethermind'sEvmYul.UInt256,EvmYul.SharedState,EvmYul.State,EvmYul.MachineState, account/substate/execution-env operations, log/memory helpers, EVM precompile definitions, and operation dispatch families; the compiler source layers carry aPrimitiveSemanticsrecord overEvmYul.SharedState .EVMwithPrimitiveSoundobligations to the lower EVM step semantics. Insolidity-lean, Solidity shares word arithmetic/comparison/bit operations throughEvmYul.UInt256, Keccak through theEvmYul.SpongeHashcompatibility surface, block/tx/account/call/log/precompile-shaped adapters throughSharedSemantics, and source observations for calls/logs/selfdestructs; it intentionally does not share NethermindEvmYul.SharedStateas the Solidity runtime state, nor target memory/storage/account-map execution, because source storage, memory, locals, ABI dispatch, context oracles, and world effects must stay abstract. Gap classification: not all Nethermind shared surfaces are literally imported into Solidity, but the missing ones are mostly intentional abstraction boundaries; concrete future bridge work should relate Solidity observations to Nethermind shared-state observations rather than replacing the source runtime with Yul/EVM state. - 2026-05-17 10:57 PDT - compaction-resume - resumed after the Nethermind shared-boundary audit; current checkpoint is to finish the source-owned shared primitive observation surface and verify it as future Solidity-to-Yul bridge evidence without introducing lowering.
- 2026-05-17 10:59 PDT - refactor/shared-primitive-boundary - added the checked source boundary that answers the Nethermind Yul/EVM sharing question concretely.
SolidCore.Solidity.Source.SharedPrimitiveRequest,SharedPrimitiveResult,SharedPrimitiveObservation, andContext.observeSharedPrimitivenow expose the Solidity-side primitive meanings that should be related directly to Nethermind shared primitives later: Keccak words, block/tx/account/code environment reads, selected external hash/ecrecover precompile behavior, and abstract low-level call/create oracle results. The boundary deliberately observes request/result pairs over SolidityContextrather than replacing source state with NethermindSharedState, so source storage, memory, locals, ABI dispatch, and external-world abstraction remain Solidity-layer concepts. Added rawsharedPrimitiveObservationMatches, checkedcheckedSharedPrimitiveObservationMatches, and folded it intocheckedBuiltinMetadataSemanticsMatch. Verification: focused evals forsharedPrimitiveObservationMatches,checkedSharedPrimitiveObservationMatches, andcheckedBuiltinMetadataSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 11:08 PDT - refactor/abi-entry-boundary - added a source-owned ABI run boundary for the future Nethermind Yul relation, still with no Solidity-to-Yul lowering.
SolidCore.Solidity.Source.ABI.AbiEntryKind,AbiEntryInputObservation, andAbiEntryObservationnow record message-call versus transaction entry, fuel,self/sender/value, calldata, base context observation, call-context observation, submitted source state, execution source state, and optional ABI result observation.Contract.observeCalldataEntryAtFromWithContext,observeCalldataCallAtFromWithContext, andobserveCalldataTransactionAtFromWithContextexpose the source transition boundary; transaction entries make transient-storage clearing visible by distinguishing submitted state from execution/final state. Added rawabiEntryObservationBoundaryMatches, checkedcheckedAbiEntryObservationBoundaryMatches, and folded it intocheckedPrimitiveAbiSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.ABI SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forabiEntryObservationBoundaryMatches,checkedAbiEntryObservationBoundaryMatches, andcheckedPrimitiveAbiSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 11:18 PDT - refactor/constructor-entry-boundary - added a source-owned function/deployment entry observation for later Solidity-to-Nethermind-Yul preservation, without creating a compiler or lowering artifact.
SolidCore.Solidity.Source.FunctionEntryKind,FunctionEntryInputObservation,FunctionEntryObservation, andFunctionDef.observeCallEntrynow record ordinary versus construction entry, fuel, function metadata, source call context observation, submitted state observation, source arguments, initial parameter frame, and optional call result observation. Added rawconstructorEntryObservationBoundaryMatchesover the existing constructor fixture and checkedcheckedConstructorEntryObservationBoundaryMatches, proving the constructor entry hasconstruction := true, deployedself, sender/value, submitted empty state, a source parameter frame containingvalue = 42, and final source storage slotsx = 1,y = 42; folded the checked witness intocheckedInheritanceConstructorSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forconstructorEntryObservationBoundaryMatches,checkedConstructorEntryObservationBoundaryMatches, andcheckedInheritanceConstructorSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 11:23 PDT - refactor/ordinary-function-entry-boundary - guarded the ordinary side of
FunctionEntryObservation, complementing the constructor/deployment witness without adding lowering. Added rawordinaryFunctionEntryObservationBoundaryMatchesover the selector-bearing address identity core function, checking ordinary entry mode, fuel, selector metadata, nonpayable status, source call contextself/sender/value, submitted source state, initial parameter frame, returned value, and final state preservation. Added checkedcheckedOrdinaryFunctionEntryObservationBoundaryMatchesand folded it intocheckedPrimitiveAbiSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forordinaryFunctionEntryObservationBoundaryMatches,checkedOrdinaryFunctionEntryObservationBoundaryMatches, andcheckedPrimitiveAbiSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 11:30 PDT - refactor/contract-call-boundary - added a contract-level dispatch observation for future Solidity-to-Nethermind-Yul function-call preservation, still source-only.
Contract.resolveCallFunction?now names the existing target-resolution rule used byContract.call?;ContractCallKind,ContractCallInputObservation,ContractCallObservation, andContract.observeCallEntryexpose message-call versus transaction dispatch, target, selected function name/selector, submitted state, execution state, nestedFunctionEntryObservation, and finalCallObservation. Added rawcontractCallObservationBoundaryMatchesover the selector-dispatched address identity fixture, checking both message-call and transaction observations including transient-storage clearing at the transaction wrapper; added checkedcheckedContractCallObservationBoundaryMatchesand folded it intocheckedPrimitiveAbiSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forcontractCallObservationBoundaryMatches,checkedContractCallObservationBoundaryMatches, andcheckedPrimitiveAbiSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 11:38 PDT - refactor/storage-layout-boundary - factored source-owned storage layout observations for the future Solidity-to-Nethermind-Yul storage relation, without replacing Solidity storage with target EVM state. Added recursive
StorageLayoutObservation,StorageLayout.observe,StorageLayouts.observe,StorageFieldObservation, andStorageField.observe;ContextDeclarationObservationnow includesstorageFieldObservationsalongside the existing rich source fields. The observation records typed source layout shape, slot span, source slot, packing offset/width/signedness, and transient status, keeping compiler storage-slot proofs explicit later. Added rawstorageLayoutObservationBoundaryMatchesover a packed/struct/dynamic-array layout fixture and checkedcheckedStorageLayoutObservationBoundaryMatchesoverStorageLayoutTop, then folded the checked witness intocheckedInheritanceConstructorSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forstorageLayoutObservationBoundaryMatches,checkedStorageLayoutObservationBoundaryMatches, andcheckedInheritanceConstructorSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 11:45 PDT - refactor/source-unit-entry-boundary - added a whole-program source entry observation for future top-level Solidity-to-Nethermind-Yul preservation, still without choosing a generated dispatcher or bytecode entry layout.
SourceUnitEntryObservation,SourceUnit.observeEntry, andSourceUnit.observeDefaultEntrypackage fuel, resolvedSourceUnitInterfaceObservation, selected(contract, function)entry names, and the existing sourceBehaviorresult. Added rawsourceUnitEntryObservationBoundaryMatchesover a one-contract/one-function unit and checkedcheckedSourceUnitEntryObservationBoundaryMatchesoversimpleSource; folded the checked witness intocheckedSourceFacadeCommonSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forsourceUnitEntryObservationBoundaryMatches,checkedSourceUnitEntryObservationBoundaryMatches, andcheckedSourceFacadeCommonSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 11:55 PDT - compaction-resume - resumed after context compaction. User clarified the relevant comparison is specifically against Nethermind's Yul and EVM semantics, so next step is a focused audit of shared primitives, builtins, and external-world abstractions before further source-only refactoring.
- 2026-05-17 11:55 PDT - refactor/state-effects-boundary - answered the Nethermind Yul/EVM clarification with a source-only effects grouping. Nethermind's imported Yul/EVM state groups observable logs and world effects through
SharedState/Substate, while Solidity should not import that target state; addedStateEffectsObservationandState.observeEffectsso Solidity final logs, selfdestruct records, and low-level call/create interactions are first-class source observations.StateObservationnow carrieseffectsand mirrors the previous direct fields for compatibility. Added rawstateEffectsObservationBoundaryMatches, checkedcheckedStateEffectsObservationBoundaryMatches, folded it intocheckedBuiltinMetadataSemanticsMatch, and strengthened existing checked event-log, selfdestruct, and low-level-call witnesses to inspectstate.effects. Verification: focused build forSolidCore.Solidity.Interpreter,SolidCore.Spine.L00_SourceSolidity.Interface, andSolidCore.Spine.L00_SourceSolidity.Checked; focused evals forstateEffectsObservationBoundaryMatches,checkedStateEffectsObservationBoundaryMatches, andcheckedBuiltinMetadataSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 12:04 PDT - refactor/source-unit-entry-result-boundary - strengthened the top-level source-unit entry boundary so it no longer loses final source state/effects. Added
SourceUnit.entryCallResult?,SourceUnit.entryCallObservation?, and acallResult? : Option CallObservationfield onSourceUnitEntryObservation, while keeping the existing simplifiedbehavior?projection for compatibility. The raw and checked source-unit entry witnesses now prove the selected entry returns7through both projections and that the full call observation preserves empty storage/transient/effects at the entry result. This stays source-only: it calls the existing Solidity source interpreter and does not choose a Yul dispatcher or generated code layout. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forsourceUnitEntryObservationBoundaryMatches,checkedSourceUnitEntryObservationBoundaryMatches, andcheckedSourceFacadeCommonSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 12:14 PDT - refactor/abi-dispatch-boundary - made ABI selector dispatch observable at the Solidity source boundary for future Nethermind-Yul dispatcher preservation. Added
AbiDispatchKind,AbiDispatchObservation,Contract.observeFallbackDispatch, andContract.observeCalldataDispatch;AbiEntryInputObservationnow records the submitted selector, selected dispatch kind (functionSelector/receive/fallback/missing), selected source function name/selector, and decoded source args when available. The existing ABI entry raw and checked witnesses now prove theidAddress(address)calldata selects the expected function selector and decodes argument0x1234through both message-call and transaction wrappers. This remains source-only and does not introduce generated dispatch code or lowering. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.ABI SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forabiEntryObservationBoundaryMatches,checkedAbiEntryObservationBoundaryMatches, andcheckedPrimitiveAbiSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 12:20 PDT - refactor/abi-function-entry-boundary - connected ABI dispatch to the reusable source function-entry observation.
AbiEntryObservationnow carriesfunctionEntry? : Option FunctionEntryObservation, computed byContract.observeCalldataFunctionEntry?from the source selector/receive/fallback decision, decoded ABI args, source call context, and message-call versus transaction execution state. The ABI entry raw and checked witnesses now prove thatidAddress(address)nests the selected ordinary source function entry, sees decoded argument0x1234, preserves submitted transient storage for message calls, clears it for transaction entries before the function run, and returns the source value before ABI encoding. This remains source-only: no generated Yul dispatch code or Solidity-to-Yul lowering was added. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.ABI SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forabiEntryObservationBoundaryMatches,checkedAbiEntryObservationBoundaryMatches, andcheckedPrimitiveAbiSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 12:22 PDT - compaction-resume - resumed after context compaction. User clarified that the comparison should be against Nethermind's Yul and EVM semantics specifically; next checkpoint is the source-owned constructor/deployment boundary and any remaining shared primitive/effect observations needed for that target shape.
- 2026-05-17 12:29 PDT - refactor/source-unit-deployment-boundary - added a source-owned deployment entry observation for the future Solidity-to-Nethermind-Yul relation, without choosing Yul object installation, creation bytecode layout, or a generated dispatcher.
ContractDecl.constructWithBasesAndSourceAtFrom?andSourceUnit.constructContractAtFrom?now expose an explicit deploymentselfaddress for constructor execution, while existing construct helpers keep their defaultself = 0behavior. NewSourceUnitDeploymentObservationpackages fuel, resolved source-unit interface, selected contract, deploymentself/sender/value, source construction context, submitted state, constructor args, nestedFunctionEntryObservation, and finalCallObservation. Added rawconstructorDeploymentObservationBoundaryMatches, checkedcheckedConstructorDeploymentObservationBoundaryMatches, and folded it intocheckedInheritanceConstructorSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forconstructorDeploymentObservationBoundaryMatches,checkedConstructorDeploymentObservationBoundaryMatches, andcheckedInheritanceConstructorSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 12:36 PDT - refactor/deployment-abi-boundary - added the source-owned constructor ABI entry boundary needed by a later Nethermind Yul creation-code relation, still without lowering or object-code layout.
SourceUnit.constructorFunctionFor?andconstructorParamTys?expose the resolved constructor ABI parameter types;SourceUnitDeploymentAbiObservationrecords constructor calldata bytes, optional decoded source args, optional nestedSourceUnitDeploymentObservation, and optional final source call observation. The raw and checked witnesses prove both the successfuluint256(42)decode path into the existing constructor deployment observation and the malformed-calldata path where decode/deployment/result are absent. FoldedcheckedConstructorDeploymentAbiObservationBoundaryMatchesintocheckedInheritanceConstructorSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forconstructorDeploymentAbiObservationBoundaryMatches,checkedConstructorDeploymentAbiObservationBoundaryMatches, andcheckedInheritanceConstructorSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 12:38 PDT - compaction-resume - resumed after context compaction. User clarified the question is specifically about Nethermind's shared Yul/EVM semantics boundary, so the next step is to compare those shared primitives/effects with the Solidity source abstractions before changing anything further.
- 2026-05-17 12:39 PDT - audit/nethermind-yul-evm-sharing - rechecked the clarified question against
/Users/dan/Projects/evm-compilerand its imported NethermindEvmYulpackage. Nethermind Yul and EVM literally shareUInt256,State,MachineState,SharedState, execution env, substate/log/account maps, memory helpers, and many operation dispatch cases; Yul adds a varstore and Yul control outcomes around that shared state, while EVM adds pc/stack/exec-length. The Solidity model intentionally shares only source-safe primitive meanings and observations: word ops throughEvmYul.UInt256, Keccak through theEvmYul.SpongeHashcompatibility surface, and source-owned block/tx/account/call/log/precompile/effects adapters. It should not import NethermindSharedStateas its runtime, because Solidity storage, memory, locals, ABI dispatch, source call/deployment entries, and external-world oracles are source abstractions that a later compiler proof must relate to Nethermind shared state. - 2026-05-17 12:48 PDT - refactor/abi-result-encoding-boundary - added a source-owned ABI result-encoding observation for the future Nethermind Yul return/revert relation, still without lowering.
AbiResultEncodingObservationnow connects a nested sourceFunctionEntryObservationresult to the ABI entry's success flag and encoded output bytes: returned source values use the selected dispatch return encoding, reverted source results useContract.encodeRevertData?, and fallback raw-bytes behavior remains source-level.AbiEntryObservationnow carriesresultEncoding?alongside dispatch, function-entry, and ABI-result observations. Raw witnesses cover successful address return encoding and a panic revert; checked witnesses cover successful ABI return encoding and dirty-calldatauint8panic encoding through the checked facade. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.ABI,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, and focused evals forabiEntryObservationBoundaryMatches,abiResultEncodingRevertBoundaryMatches,checkedAbiEntryObservationBoundaryMatches,checkedAbiResultEncodingRevertBoundaryMatches, andcheckedPrimitiveAbiSemanticsMatchare green. - 2026-05-17 12:52 PDT - compaction-resume - resumed after context compaction. User clarified the question as specifically Nethermind's Yul/EVM semantic stack, so the current checkpoint is preserving Solidity source terminal effects such as selfdestruct in observations that can later relate to Nethermind halting behavior.
- 2026-05-17 12:59 PDT - refactor/function-entry-terminal-boundary - preserved the Nethermind-Yul/EVM-relevant terminal cause at Solidity source function entries without changing Solidity call behavior or adding lowering.
FunctionDef.evalBodyEntry?now exposes the raw source bodyResult, andFunctionEntryObservation.bodyResult?records itsResultObservation;FunctionDef.call?still normalizes a body-levelselfdestructedresult to a successful Solidity call with empty returns. Added raw and checked witnesses proving the checkeddestroy(address)source entry observesResultMode.selfdestructedand selfdestruct effects at the body boundary while the final call observation remainsCallExitMode.returnedwith empty returns and the same source effect. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.Interface SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forselfdestructFunctionEntryBodyObservationMatches,checkedSelfdestructFunctionEntryBodyObservationMatches, andcheckedBuiltinMetadataSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 13:06 PDT - refactor/function-exit-normalization-boundary - factored Solidity function body-result-to-call-result normalization into a source-owned observation for future Nethermind Yul function-call preservation, still without compiler lowering. Added
FunctionDef.callBodyResultsoFunctionDef.call?andFunctionDef.observeCallEntryshare one normalization path; addedFunctionExitKind/FunctionExitObservationandFunctionEntryObservation.exit?, recording whether a source body fallthrough collected named returns, a bare return collected named returns, an explicit return supplied values, a revert rolled back, invalid control reverted, orselfdestructproduced an empty successful call. Raw and checked witnesses now prove fallthrough default return0, bare named return11, explicitidAddress(address)return0x1234, and selfdestruct terminal normalization through the observation surface. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forfunctionExitNormalizationObservationMatches,selfdestructFunctionEntryBodyObservationMatches,checkedFunctionExitNormalizationObservationMatches,checkedSelfdestructFunctionEntryBodyObservationMatches,checkedControlFlowStatementSemanticsMatch, andcheckedBuiltinMetadataSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 13:15 PDT - refactor/block-scope-observation-boundary - added a source-owned block-scope cleanup observation for the later Nethermind Yul
VarStorerelation, without exposing stack slots, generated locals, or lowering.BlockScopeObservationandStmt.observeBlockScopenow record the runtime before a block, the runtime after pushing the source scope, the body result before scope cleanup, and the final result after popping the source scope. Added raw and checked witnesses proving an inner block declaration shadows outerx, introduces localy, mutates outerz, then drops the inner frame at block exit while preserving the outerzassignment. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forblockScopeObservationMatchesandcheckedBlockScopeObservationMatches, full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green; the broadercheckedMemoryCalldataAbiSemanticsMatcheval was stopped after running long, so checked-module and full-build gates remain the broader evidence. - 2026-05-17 13:26 PDT - refactor/expression-list-evalvalues-boundary - added a source-owned expression-list observation for future relation to Nethermind Yul
evalValues, without adding lowering or target syntax.ExprListEvaluationObservationandExpr.observeListEvaluationrecord the effective child evaluation order, source context observation, input runtime, expression count, result values, output runtime, or revert data. The raw/checked witness proves the default Solidity source boundary usesChildEvalOrder.yulCompatible(rightToLeft) on[x = 5, x], preserving result positions as[5, 0]while updatingxto5; it also proves an explicit left-to-right diagnostic context yields[5, 5]. Folded the checked witness intocheckedExpressionSideEffectSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forexpressionListEvaluationObservationMatches,checkedExpressionListEvaluationObservationMatches, andcheckedExpressionSideEffectSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 13:33 PDT - refactor/if-branch-observation-boundary - added a source-owned conditional branch observation for future relation to Nethermind Yul
if/switchcontrol preservation, without introducing target syntax or lowering.IfBranchSelection,IfBranchObservation, andStmt.observeIfBranchrecord the source context, input runtime, condition value and post-condition runtime, selected branch, branch result, and condition-evaluation revert data. The raw/checked witness proves a condition expression can mutate localxto1, select the then branch, and finish withx = 2; it also proves a false condition selects the else branch and finishes withx = 3. Folded the checked witness intocheckedControlFlowStatementSemanticsMatch. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forifBranchObservationMatches,checkedIfBranchObservationMatches, andcheckedControlFlowStatementSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 13:38 PDT - compaction-resume - resumed after context compaction. Current checkpoint is adding the source-owned
switchbranch-selection observation that mirrors Nethermind Yul's selected-case/default/empty-switch behavior without starting any Solidity-to-Yul lowering. - 2026-05-17 13:38 PDT - refactor/switch-branch-observation-boundary - added the checked source witness for
SwitchBranchObservation, completing the switch branch-selection boundary already present in the interpreter. The raw/checked witness proves a switch discriminant may mutate localx, selects the matching case label2and runs that case, selects the default branch when no case matches, and treats an omitted default as an empty normal switch result. FoldedcheckedSwitchBranchObservationMatchesintocheckedControlFlowStatementSemanticsMatchand recorded the roadmap item. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forswitchBranchObservationMatches,checkedSwitchBranchObservationMatches, andcheckedControlFlowStatementSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 13:48 PDT - refactor/while-loop-observation-boundary - added a source-owned
WhileLoopObservationfor the future Nethermind Yul loop-control relation, still without jumps, labels, or lowering. The observation records condition effects, selected first loop step, first body result, final source result, and condition revert data. The raw/checked witness covers normal body continuation to loop exit, explicitcontinuewith post-condition exit, explicitbreaknormalized to a normal loop result, and false-condition immediate exit. FoldedcheckedWhileLoopObservationMatchesintocheckedControlFlowStatementSemanticsMatchand recorded the roadmap item. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forwhileLoopObservationMatches,checkedWhileLoopObservationMatches, andcheckedControlFlowStatementSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 14:01 PDT - refactor/do-while-for-loop-observation-boundary - added source-owned
DoWhileLoopObservationandForLoopObservationfor the future Nethermind Yul loop-control relation, still without jumps, labels, generated scopes, or lowering.DoWhileLoopObservationmakes body-before-condition ordering explicit and records body result, condition effects, break/continue handling, and final result.ForLoopObservationrecords loop-scope entry, initializer result, condition effects, first body result, post result, loop result before scope cleanup, and final popped source result. Raw/checked witnesses cover do-while normal recursion,continue, andbreak; for-loop normal/post recursion,continuerunning post,breakskipping post, false-condition exit, and loop-local cleanup. FoldedcheckedDoWhileLoopObservationMatchesandcheckedForLoopObservationMatchesintocheckedControlFlowStatementSemanticsMatchand recorded roadmap items. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals fordoWhileLoopObservationMatches,forLoopObservationMatches,checkedDoWhileLoopObservationMatches,checkedForLoopObservationMatches, andcheckedControlFlowStatementSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 14:13 PDT - refactor/local-varstore-observation-boundary - added source-owned local declaration and assignment observations for the future Nethermind Yul
VarStorerelation, still without importing Yul state or lowering.LocalDeclarationObservationrecords initializer effects, default-value declaration, declared/coerced value, final source locals, and declaration-time reverts.LocalAssignmentObservationrecords effective child order, prior source binding, RHS effects, target-resolution runtime, assigned value, unknown-local failure, and final source result/rollback. Raw/checked witnesses cover default declaration, initialized declaration with side effects, declaration type mismatch rollback, ordinary local assignment, and missing-local assignment failure after RHS effects. FoldedcheckedLocalDeclarationObservationMatchesandcheckedLocalAssignmentObservationMatchesintocheckedMemoryCalldataAbiSemanticsMatchand recorded the roadmap item. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forlocalDeclarationObservationMatches,localAssignmentObservationMatches,checkedLocalDeclarationObservationMatches,checkedLocalAssignmentObservationMatches, andcheckedMemoryCalldataAbiSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 14:20 PDT - refactor/function-return-initialization-boundary - added
FunctionReturnInitializationObservationto expose Solidity source return-variable defaulting for the future Nethermind Yul function-call relation, still without lowering or target return slots.FunctionDef.returnDefaultBindings,entryInitialFrame?, andobserveReturnInitialization?make the accepted-entry initial frame and runtime explicit;FunctionEntryObservationnow carries the return-initialization observation alongside body/exit/result observations. The raw/checked witness proves the checked named-return function initializesoutto0before the body and that a rejected nonpayable value-bearing call has no entry frame or return initialization. FoldedcheckedFunctionReturnInitializationObservationMatchesintocheckedControlFlowStatementSemanticsMatchand recorded the roadmap item. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forfunctionReturnInitializationObservationMatches,checkedFunctionReturnInitializationObservationMatches, andcheckedControlFlowStatementSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 14:23 PDT - compaction-resume - resumed the source-refactor goal after function return initialization; next checkpoint is exposing low-level-call resolution and failed-call fallback as a source-owned observation for the later Nethermind Yul/EVM call relation.
- 2026-05-17 14:29 PDT - refactor/external-resolution-boundary - added a source-owned external resolution observation for later Nethermind Yul/EVM call/create preservation, without modeling reentrant EVM execution or starting Solidity-to-Yul lowering.
ExternalResolutionKind,LowLevelCallResolutionObservation,ContractCreationResolutionObservation,Context.observeLowLevelCallResolution, andContext.observeContractCreationResolutionnow distinguish explicit host/precompile-oracle results from normalized failed call/create fallbacks while preserving the abstract SolidityContextObservation.SharedPrimitiveRequest.evalnow routes call/create results through the same observation path. Added raw and checked witnesses covering explicit failed oracle results, builtin identity precompile resolution, missing low-level-call fallback, explicit failed creation results, and missing creation fallback; folded the checked witness intocheckedBuiltinMetadataSemanticsMatchand recorded the roadmap item. Verification:/Users/dan/.elan/bin/lake build SolidCore.Solidity.Interpreter SolidCore.Spine.L00_SourceSolidity.Interface,/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked, focused evals forexternalResolutionObservationMatches,checkedExternalResolutionObservationMatches, andcheckedBuiltinMetadataSemanticsMatch, full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 14:42 PDT - refactor/storage-field-word-observation-boundary - added
StorageFieldWordObservation,State.observeStorageFieldWordLoad, andState.observeStorageFieldWordStoreas a source-owned storage access boundary for later relation to Nethermind Yul/EVMsload/sstorebehavior, without exposing generated target storage code or byte-addressed memory. The observation records source field metadata, persistent/transient slot-word selection, packed field-word masking, input state, and store output state/slot/field words. Added a raw witness covering packed persistent loads/stores plus transient source-state loads/stores, and a checked witness over the accepted packed top-level storage source; folded that checked witness intocheckedStoragePathSemanticsMatch. Verification: focused builds forSolidCore.Solidity.Interpreter,SolidCore.Spine.L00_SourceSolidity.Interface, andSolidCore.Spine.L00_SourceSolidity.Checked; focused evals forstorageFieldWordObservationBoundaryMatchesandcheckedStorageFieldWordObservationBoundaryMatches; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. A diagnostic eval of the broadercheckedStoragePathSemanticsMatchstill hits the pre-existing nested-bytes"checked executable own contract call"errors, so that aggregate eval was not used as a success gate for this slice. - 2026-05-17 14:49 PDT - semantics/storage-fixture-repair - repaired the stale nested
bytes[]storage-path fixture that surfaced while checking the new storage observation boundary. The raw fixture now initializes the nested dynamic-bytes element throughState.storeStorageBytesAtinstead of the older word-array-style length/element slots, and the raw/checked set/clear witnesses now inspectState.loadStorageBytesAtfor[10, 90]and[10, 0]. Verification: focused interface/checked builds, focused evals fornestedBytesStoragePathSetMatches,nestedBytesStoragePathClearMatches,checkedNestedBytesStoragePathSetMatches, andcheckedNestedBytesStoragePathClearMatchesare green;checkedStoragePathSemanticsMatchnow evaluates toExcept.ok falseinstead of an error because older storage blob push/pop expectations in that aggregate remain false; full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 14:59 PDT - semantics/storage-fixture-repair - finished repairing the remaining stale
bytesstorage-path push/pop witnesses so the checked storage aggregate again reflects the current Solidity source bytes abstraction. The struct storage-path fixture now initializes its nestedbytesfield throughState.storeStorageBytesAt, addsstructStoragePathBlobBytesMatch, and checks direct, alias, internal-parameter, and modifier-mediatedbytes.push,bytes.push() =, andbytes.popthroughState.loadStorageBytesAtinstead of old word-array-style length/element slots. The checked witnesses reuse that source helper, keeping the evidence source-owned and relation-ready for later Yul/EVM storage proofs. Verification: focused interface/checked builds; focused evals for all raw/checked blob storage-path witnesses,checkedStorageFieldWordObservationBoundaryMatches, andcheckedStoragePathSemanticsMatchare green (Except.ok truefor the checked aggregate); full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 15:32 PDT - refactor/storage-path-resolution-boundary - added
StoragePathResolutionObservationandState.observeStoragePathResolutionas a source-owned boundary for future Solidity-to-Nethermind-Yul storage-address preservation. The observation records source input state, base slot/layout, path index values, and either the resolved source slot/layout or the source revert reason, covering mapping, struct-field, dynamic-array, fixed-array, andbytespath resolution without choosing target Yul storage-address code. Added raw and checked witnesses over the acceptedStructStoragePathfixture forentries[7].values[1],entries[7].blob[1],entries[7].scores[21], out-of-bounds array indexing, and scalar over-index type mismatch; folded the checked witness intocheckedStoragePathSemanticsMatch. Verification: focused interface/checked builds; focused evals forstoragePathResolutionObservationMatches,checkedStoragePathResolutionObservationMatches, andcheckedStoragePathSemanticsMatchare green; full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 15:35 PDT - compaction-resume - resumed the source-refactor goal after context compaction; current checkpoint is adding a Solidity-owned event emission observation for future relation to Nethermind Yul/EVM log builtins without starting lowering.
- 2026-05-17 15:45 PDT - refactor/event-emission-observation-boundary - added
EventEmissionObservationandRuntime.observeEventEmissionas a source-owned boundary for future relation to Nethermind Yul/EVMlogNbehavior, without exposing compiler memory layout or starting Solidity-to-Yul lowering. The observation records the Solidity context, input runtime, event name/values, emitted source event, target-shaped log entry, output runtime, and source encoding/name/arity failures. Added raw and checked witnesses over the acceptedEvents.Set(uint256 indexed,int256)fixture covering emitted ABI topics/data atself = 0xabc, output state/effect logs, missing event failure, and wrong-arity failure; folded the checked witness intocheckedEventErrorRollbackSemanticsMatchand recorded the roadmap item. Verification: focused builds forSolidCore.Solidity.Interpreter,SolidCore.Spine.L00_SourceSolidity.Interface, andSolidCore.Spine.L00_SourceSolidity.Checked; focused evals foreventEmissionObservationMatches,checkedEventEmissionObservationMatches, andcheckedEventErrorRollbackSemanticsMatchare green; full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 15:56 PDT - refactor/revert-payload-observation-boundary - added
RevertPayloadObservationandStmt.observeRevertPayloadas a source-owned boundary for future relation to Nethermind Yul/EVMrevertbehavior, without exposing generated revert code or target memory layout. The observation records empty, literal string, dynamic string-bytes, and custom-error source payload construction; custom/dynamic cases expose argument evaluation effects, preserved value positions under the source child-evaluation policy, sourceRevertData, final reverted source result, and type-mismatch failures. Added raw and checked witnesses over the accepted named custom-error fixture plus empty/string/dynamic-string/type-mismatch cases, folded the checked witness intocheckedEventErrorRollbackSemanticsMatch, and recorded the roadmap item. Verification: focused builds forSolidCore.Solidity.Interpreter,SolidCore.Spine.L00_SourceSolidity.Interface, andSolidCore.Spine.L00_SourceSolidity.Checked; focused evals forrevertPayloadObservationMatches,checkedRevertPayloadObservationMatches, andcheckedEventErrorRollbackSemanticsMatchare green; full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 16:13 PDT - refactor/require-check-observation-boundary - added
RequireCheckObservationandStmt.observeRequireCheckas a source-owned boundary for future relation to generated Nethermind Yul condition/revert code, without introducing lowering. The observation records Solidityassert, empty/stringrequire, dynamic string-reasonrequire, and custom-errorrequire: condition value/effects, eager dynamic/custom reason evaluation after the condition, candidate source revert payload observation, final normal/reverted source result, and condition/type-mismatch failures. Added raw and checked witnesses proving assert failure, literal string require failure, custom reason evaluation on both true and false conditions, dynamic string failure, and condition type mismatch; folded the checked witness intocheckedExpressionSideEffectSemanticsMatchand recorded the roadmap item. While checking the broader target-effect aggregate, repaired the staleassignmentExpressionReturnwitness for the Yul-compatible right-to-left tuple-child policy:return (x = 9, x)now expects[9, 1], restoringcheckedExpressionTargetEffectSemanticsMatch. Verification: focused builds forSolidCore.Solidity.Interpreter,SolidCore.Spine.L00_SourceSolidity.Interface, andSolidCore.Spine.L00_SourceSolidity.Checked; focused evals forrequireCheckObservationMatches,checkedRequireCheckObservationMatches,checkedExpressionSideEffectSemanticsMatch,assignmentExpressionReturnMatches,checkedAssignmentExpressionReturnMatches, andcheckedExpressionTargetEffectSemanticsMatchare green; full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 16:21 PDT - refactor/try-catch-match-observation-boundary - added
TryCatchMatchObservationandTryCatchClause.observeFindMatchas a source-owned boundary for later relation to Nethermind Yul/EVM failed-call handling, without modeling target call execution or generated catch dispatch. The observation records raw external revert bytes, clause count, selected catch index, selected source catch kind (Error,Panic, or low-level bytes), selected name, decoded source binding frame, matched body, or unmatched fallback. Added raw and checked witnesses provingError(string)decoding,Panic(uint256)decoding, low-level raw-bytes catch selection, and unmatched reversion fallback; folded the checked witness intocheckedTryCatchSemanticsMatchand recorded the roadmap item. Verification: focused builds forSolidCore.Solidity.Interpreter,SolidCore.Spine.L00_SourceSolidity.Interface, andSolidCore.Spine.L00_SourceSolidity.Checked; focused evals fortryCatchMatchObservationMatches,checkedTryCatchMatchObservationMatches, andcheckedTryCatchSemanticsMatchare green; full/Users/dan/.elan/bin/lake build,git diff --check, scoped no-hole scan, and scoped compiler-shim grep are green. - 2026-05-17 16:22 PDT - compaction-resume - resumed the source-refactor goal after the try/catch match boundary landed; next checkpoint is to find the remaining Solidity-owned observations that most directly prepare a later Nethermind Yul/EVM relation while avoiding any lowering implementation.
- 2026-05-17 16:30 PDT - refactor/modifier-application-observation-boundary - added
ModifierApplicationObservation,ModifierInvocation.observeApplication, andFunctionModifierExpansionObservationat the Solidity source facade so modifier invocation is explicit before any future relation to generated Nethermind Yul control flow. The observation records selected modifier name, ordered argument-to-parameter binding declarations, source placeholder replacement, resulting core source statement, and failure modes for missing modifiers, bodyless modifiers, bad arguments, bad targets, and core-expansion failure. Added raw and checked witnesses covering named-argument ordering, function-level expansion, multi-placeholder replacement, missing modifier fallback, bad-argument failure, and bodyless modifier failure; folded the checked witness intocheckedModifierSemanticsMatchand recorded the roadmap item. Verification: focused builds forSolidCore.Spine.L00_SourceSolidity.InterfaceandSolidCore.Spine.L00_SourceSolidity.Checked; focused evals formodifierApplicationObservationMatches,checkedModifierApplicationObservationMatches, andcheckedModifierSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 16:36 PDT - refactor/internal-call-observation-boundary - added
InternalCallObservationandFunctionDecl.observeInternalCallat the Solidity source facade so internal/free function call elaboration is explicit before any future relation to Nethermind Yul function calls. The observation records selected contract/free function kind, ordered source arguments after named-argument resolution, parameter/return counts, generated return binding names, return storage-reference flags, generated parameter/return prefix core statements, checked body core, statement-call core, and missing/failed expansion status. Added raw and checked witnesses covering contract internal named-argument resolution, free-function resolution, generated prefix/body/statement core presence, and missing-callee failure; folded the checked witness intocheckedTupleFreeFunctionSemanticsMatchand recorded the roadmap item. Verification: focused builds forSolidCore.Spine.L00_SourceSolidity.InterfaceandSolidCore.Spine.L00_SourceSolidity.Checked; focused evals forinternalCallObservationMatches,checkedInternalCallObservationMatches, andcheckedTupleFreeFunctionSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 16:45 PDT - refactor/inheritance-dispatch-observation-boundary - added
InheritanceDispatchObservation,Expr.observeDispatchCallRewrite, andDispatchCallRewriteObservationso Solidity inheritance dispatch is explicit before any future relation to Nethermind Yul function tables or dispatchers. The observation records C3 dispatch order, contextual ordinary functions, generatedsuperhelper names, generated explicit-base helper names, and the source rewrite ofsuper.f()/Base.f()into helper calls, without creating target code or lowering. Added raw and checked witnesses covering explicit-base helper generation, super-chain helper generation, C3 order for the diamond fixture,super.value()rewriting to__super_SuperChainTop_value, andExplicitBaseLeft.value()rewriting to__base_ExplicitBaseLeft_value; folded the checked witness intocheckedInheritanceConstructorSemanticsMatchand recorded the roadmap item. Verification: focused builds forSolidCore.Spine.L00_SourceSolidity.InterfaceandSolidCore.Spine.L00_SourceSolidity.Checked; focused evals forinheritanceDispatchObservationMatches,checkedInheritanceDispatchObservationMatches, andcheckedInheritanceConstructorSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped compiler-shim grep are green. - 2026-05-17 16:48 PDT - compaction-resume - resumed the source-refactor goal after context compaction; next checkpoint is a source-owned
usingexpansion observation for later relation to Nethermind Yul helper calls and operator rewrites, without starting lowering. - 2026-05-17 17:05 PDT - refactor/using-expansion-observation-boundary - added
UsingExpansionObservationandExpr.observeUsingExpansionat the Solidity source facade sousingmethod syntax, source-level/global using declarations, free-function extension calls, unary/binary operator bindings, internal library helpers, and external-library calls are explicit before any future relation to Nethermind Yul helper functions or operator lowering. The observation records source and expanded expressions, available contracts/free functions, using counts, selected method/operator/function/library/helper names, and rewritten argument counts; it reuses the existing source rewrite functions and adds no target syntax or lowering. Added raw and checked witnesses coveringx.inc()to__library_Math_inc, source-level using,x.freeInc()to a free function,Priceoperator rewrites, external-libraryplusOne, and unchanged no-match behavior; folded the checked witness intocheckedLibraryUsingSemanticsMatchand recorded the roadmap item. Verification: focused builds forSolidCore.Spine.L00_SourceSolidity.InterfaceandSolidCore.Spine.L00_SourceSolidity.Checked; focused evals forusingExpansionObservationMatches,checkedUsingExpansionObservationMatches, andcheckedLibraryUsingSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 17:16 PDT - refactor/constant-immutable-observation-boundary - added
ConstantInliningObservation,StateVarSourceObservation, andStateVars.observeConstantImmutableEnvironmentso Solidity constants and immutables are explicit source facts before any future relation to Nethermind Yul constants or immutable access code. The observation records source/file and state constant environments, direct constant replacement, inlined initializers, storage/transient/constant/immutable declaration classes, source runtime state names, and immutable tags, while keeping immutables as abstract source fields rather than bytecode patching or memory layout. Added raw and checked witnesses covering contract constants skipped from storage, source/file constants in state initializers, constant expression inlining, immutable tags forSEEDandx, and immutable initializers; folded the checked witness intocheckedInheritanceConstructorSemanticsMatchand recorded the roadmap item. Verification: focused builds forSolidCore.Spine.L00_SourceSolidity.InterfaceandSolidCore.Spine.L00_SourceSolidity.Checked; focused evals forconstantImmutableObservationMatches,checkedConstantImmutableObservationMatches, andcheckedInheritanceConstructorSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 18:36 PDT - refactor/expression-control-observation-boundary - added source-owned expression-control observations for future relation to Nethermind Yul branching, without introducing target syntax or lowering.
ShortCircuitEvaluationObservationrecords&&/||left-hand evaluation, skipped versus evaluated right-hand side, output value/runtime, and type/revert failures;TernaryEvaluationObservationrecords condition effects, selected then/else branch, branch value/runtime, and revert failures. Added raw and checked witnesses provingfalse && rhsandtrue || rhsskip side effects,true && rhsandfalse || rhsevaluate the right side, and ternaries preserve condition effects while evaluating exactly the selected branch. FoldedcheckedExpressionControlEvaluationObservationMatchesintocheckedExpressionSideEffectSemanticsMatchand recorded the roadmap item. Verification: focused builds forSolidCore.Solidity.Interpreter,SolidCore.Spine.L00_SourceSolidity.Interface, andSolidCore.Spine.L00_SourceSolidity.Checked; focused evals forexpressionControlEvaluationObservationMatches,checkedExpressionControlEvaluationObservationMatches, andcheckedExpressionSideEffectSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 18:39 PDT - compaction-resume - resumed the source-refactor goal after context compaction; current checkpoint is to audit the remaining Solidity-owned source observations most useful for later relation to Nethermind Yul/EVM semantics, without starting lowering.
- 2026-05-17 19:25 PDT - refactor/high-level-external-call-observation-boundary - added
HighLevelExternalCallObservationat the Solidity source facade so high-level external calls expose selector/signature construction, target contract recognition, named-argument ordering,call/staticcall/delegatecallchoice, mutability-sensitive value/gas option policy, no-return code checks, return bindings, and source-coretryExternalCallshape before any future relation to Nethermind Yul/EVM call sequences. Added raw and checked witnesses over the acceptedCheckedHighLevelTarget/CheckedHighLevelCallerfixtures covering named-argument ABI construction, viewstaticcall, no-return target-code checks, payable value+gas ordering, nonpayable value-option failure, duplicate named-argument ABI failure, and reserved low-level members. Folded the checked witness intocheckedExternalFunctionAndCallSemanticsMatchand recorded the roadmap item. Verification: focused builds forSolidCore.Spine.L00_SourceSolidity.InterfaceandSolidCore.Spine.L00_SourceSolidity.Checked; focused evals forhighLevelExternalCallObservationMatches,checkedHighLevelExternalCallObservationMatches, andcheckedExternalFunctionAndCallSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 19:37 PDT - refactor/external-function-value-call-observation-boundary - added
ExternalFunctionValueCallObservationat the Solidity source facade so calls through external function-typed values expose the source function expression, address-plus-selector core use, ABI argument construction, mutability-drivencall/staticcallkind, value/gas option policy, no-return code checks, generated return bindings, and source-coretryExternalCallshape before any future relation to Nethermind Yul/EVM call sequences. Added raw and checked witnesses over the existing external-function-pointer getter/setter fixtures covering view getterstaticcall, payable setter{value, gas}, nonpayable gas-only options, invalid nonpayable value options, bad arity, non-function type failure, and non-call rejection. Folded the checked witness intocheckedExternalFunctionAndCallSemanticsMatchand recorded the roadmap item. Verification: focused builds forSolidCore.Spine.L00_SourceSolidity.InterfaceandSolidCore.Spine.L00_SourceSolidity.Checked; focused evals forexternalFunctionValueCallObservationMatches,checkedExternalFunctionValueCallObservationMatches, andcheckedExternalFunctionAndCallSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 19:43 PDT - compaction-resume - resumed after compaction while adding
ContractCreationExpressionObservation; next checkpoint is raw/checked witnesses and verification for source-level contract creation expression elaboration, without introducing lowering. - 2026-05-17 19:51 PDT - refactor/contract-creation-expression-observation-boundary - added
ContractCreationExpressionObservationat the Solidity source facade sonew C(...)andnew C{value, salt}(...args...)expose contract-name resolution, constructor ABI argument ordering, core argument types, value/salt source-core expressions, and final abstractcontractCreatecore shape before any future relation to Nethermind Yul/EVMcreate/create2sequences. Added raw and checked witnesses covering named constructor argument reordering, value+salt options, duplicate named-argument ABI failure, invalid contract-creation option failure, non-contract type failure, and non-creation rejection; folded the checked witness intocheckedContractCreationSemanticsMatchand recorded the roadmap item. Verification: focused builds forSolidCore.Spine.L00_SourceSolidity.InterfaceandSolidCore.Spine.L00_SourceSolidity.Checked; focused evals forcontractCreationExpressionObservationMatches,checkedContractCreationExpressionObservationMatches, andcheckedContractCreationSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 20:06 PDT - refactor/internal-function-pointer-observation-boundary - added source-owned internal function-pointer rewrite observations for future relation to Nethermind Yul labels/function tables, without introducing any target representation.
InternalFunctionPointerCallRewriteObservationexposes an internal function-typed alias call as resolved target, deleted/uninitialized panic, or non-pointer call;InternalFunctionPointerRewriteObservationrecords source statement-sequence rewriting and final alias targets through the existing Solidity alias inliner. Added raw and checked witnesses coveringfp -> double, reassignment totriple, uninitialized/deleted-style panic rewriting, direct non-alias calls, and argument counts; folded the checked witness intocheckedInternalFunctionPointerSemanticsMatchand recorded the roadmap item. Verification: focused builds forSolidCore.Spine.L00_SourceSolidity.InterfaceandSolidCore.Spine.L00_SourceSolidity.Checked; focused evals forinternalFunctionPointerRewriteObservationMatches,checkedInternalFunctionPointerRewriteObservationMatches, andcheckedInternalFunctionPointerSemanticsMatch; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 20:16 PDT - compaction-resume - resumed after compaction while explaining the current Solidity-source refactor strategy; current checkpoint is the source-level arithmetic observation boundary for primitive results versus overflow/div-by-zero/type-panic behavior, without introducing generated Yul branch code.
- 2026-05-17 20:32 PDT - refactor/binary-arithmetic-observation-boundary - added
BinaryArithmeticObservationandBinaryOp.observeApplyso checked and unchecked Solidity binary arithmetic exposes source operand mode, source primitive result, and overflow/div-by-zero/type-panic outcome before any future relation to generated Nethermind Yul arithmetic/check code. Added raw and checked witnesses covering checked unsigned overflow, unchecked wrap, checked signed overflow, unchecked signed wrap, division-by-zero panic, and unsupported operand type mismatch; folded the checked witness intocheckedModularCheckedArithmeticSemanticsMatchand recorded the roadmap item. Verification: focused builds forSolidCore.Solidity.Interpreter,SolidCore.Spine.L00_SourceSolidity.Interface, andSolidCore.Spine.L00_SourceSolidity.Checked; focused evals forbinaryArithmeticObservationMatchesandcheckedBinaryArithmeticObservationMatches; full/Users/dan/.elan/bin/lake build;git diff --check; scoped no-hole scan; and scoped source compiler-shim grep are green. The monolithic arithmetic aggregate eval was stopped after running too long with no output; the aggregate is structurally wired and covered by the full build plus the new checked witness eval. - 2026-05-17 20:43 PDT - test-harness/forge-solc-interpreter - added a paired Forge/solc versus Solidity source-interpreter harness shaped after the
evm-compilerForge comparison scripts.scripts/compare_forge_solc_interpreter.shwrapsscripts/run_forge_interpreter_harness.py, usingSOLC/LAKE/FORGE/KEEP_TMP, temporary Foundry output/cache directories, failure-preserved logs, normalized Forge result files, Lean witness logs, and machine-readable pass/fail lines. Addedtests/forge-harness/manifest.jsonplus a checked-arithmetic Foundry suite that exercises solc/EVM overflow panic, unchecked wrapping, and division-by-zero panic, paired with Lean checked source-interpreter witnesses including the new binary arithmetic observation. This remains manifest-paired rather than single-source because the Solidity model has no concrete.solparser or solc-AST importer yet. Verification:scripts/compare_forge_solc_interpreter.shpasses;python3 -m py_compile scripts/run_forge_interpreter_harness.py;bash -n scripts/compare_forge_solc_interpreter.sh; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 20:49 PDT - test-harness/solc-ast-import-lane - added the first solc-AST-to-Lean-source importer scaffold for the Forge/interpreter harness.
scripts/solc_ast_to_lean_source.pyasks pinned solc for the Solidity source AST, renders a supported subset of analyzed contract syntax intoL00_SourceSolidityLean AST, and leaves acceptance/execution to the existing Lean checker/interpreter. The checked-arithmetic harness now has a sharedsrc/CheckedArithmetic.solcontract under test; Forge imports and tests it with regular solc, while the Lean lane imports the same solc-emitted AST into a generatedSolcAstImport.CheckedArithmetic.importedContractand checks acceptedness, overflow panic, unchecked wrapping, and division-by-zero panic against that generated contract. Verification:scripts/compare_forge_solc_interpreter.shpasses with the solc-AST lane;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 20:53 PDT - test-harness/solc-ast-storage-counter - extended the solc-AST importer harness lane from pure arithmetic into source storage. The importer now renders solc AST state-variable declarations plus assignment expressions and compound assignment operators into
ContractItem.stateVarandExpr.assign. Added a sharedStorageCounter.solForge fixture whose source contract has a privateuint256field,read,inc, andadd; Forge tests the same source through regular solc/EVM, while the Lean lane imports the solc-emitted AST and checks imported-contract acceptedness, initial zero readback,incstorage mutation, andincfollowed byadd(41)readback to42. Verification:scripts/compare_forge_solc_interpreter.shpasses with two paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 20:57 PDT - test-harness/solc-ast-event-emitter - extended the solc-AST importer harness lane to source event declarations and
emitstatements. The importer now renders solcEventDefinitionnodes, indexed event parameters, anonymous flags, andEmitStatementevent calls intoContractItem.eventDeclandStmt.emitEvent. Added a sharedEventEmitter.solForge fixture whose source contract emitsHit(uint256 indexed,uint256); Forge checks the real solc/EVM log emitter, topics, and ABI data, while the Lean lane imports the same solc-emitted AST and checks imported-contract acceptedness plus source event name, topics, and data bytes afterfire(4, 9). Verification:scripts/compare_forge_solc_interpreter.shpasses with three paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 21:01 PDT - compaction-resume - resumed after compaction while answering the Solidity parser frontend question; current checkpoint is deciding whether the solc-AST harness lane should remain solc-based or add a Solar parser option, without introducing Solidity-to-Yul lowering.
- 2026-05-17 21:07 PDT - test-harness/solc-ast-branch-require - extended the solc-AST importer harness lane to Solidity
ifstatements andrequirecalls. The importer now renders solcIfStatementnodes intoStmt.ifElse, preserving optional else bodies as source syntax. Added a sharedBranchRequire.solForge fixture whose source contract selects then/else storage branches and reverts fromrequire(x < 10, "too large"); Forge checks the same source through regular solc/EVM, while the Lean lane imports the solc-emitted AST and checks imported-contract acceptedness, then-branch readback, else-branch readback, successful require return, and source revert-reason data. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only branch-requirepasses; fullscripts/compare_forge_solc_interpreter.shpasses with four paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 21:11 PDT - test-harness/solc-ast-loop-control - extended the solc-AST importer harness lane to local variable declarations,
whilestatements,forstatements,break, andcontinue. Added a sharedLoopControl.solForge fixture whose source contract computes loop sums withcontinueskipping3,breakat6, andforpost-iteration updates; Forge checks the same source through regular solc/EVM, while the Lean lane imports the solc-emitted AST and checks imported-contract acceptedness pluswhileSum(10) = 12,forSum(10) = 12, andforSum(5) = 7. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only loop-controlpasses; fullscripts/compare_forge_solc_interpreter.shpasses with five paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 21:16 PDT - test-harness/solc-ast-function-calls - extended the solc-AST importer harness lane to preserve named function-call arguments as
Arg.namedinstead of flattening them to positional arguments. Added a sharedFunctionCalls.solForge fixture whose source contract uses an internal helper call to assign a named return variable by fallthrough, an empty named-return function to check default return initialization, and a named-argument internal callmix({right: x, left: 4}); Forge checks the same source through regular solc/EVM, while the Lean lane imports the solc-emitted AST and checks imported-contract acceptedness plusnamedFallthrough(7) = 14,defaultNamedReturn() = 0, andnamedArgumentOrder(9) = 409. A proposed barereturn;named-return fixture was rejected by local solc 0.8.35, so the same-source case stays on solc-accepted fallthrough behavior. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only function-callspasses; fullscripts/compare_forge_solc_interpreter.shpasses with six paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 21:20 PDT - test-harness/solc-ast-expression-control - extended the solc-AST importer harness lane to Solidity
Conditionalexpressions and parenthesized singletonTupleExpressionwrappers, preserving source ternaries and parenthesized side-effect expressions without adding lowering. Added a sharedExpressionControl.solForge fixture whose source contract usesfalse &&,true ||,true &&, andfalse ||with assignment side effects plus a ternary whose branches assign distinct values; Forge checks the same source through regular solc/EVM, while the Lean lane imports the solc-emitted AST and checks imported-contract acceptedness plusshortCircuit() = 1118,ternarySelect(true) = 707, andternarySelect(false) = 909. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only expression-controlpasses; fullscripts/compare_forge_solc_interpreter.shpasses with seven paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 21:22 PDT - compaction-resume - resumed after compaction while answering the Solidity parser frontend question; current checkpoint is keeping the solc-AST importer harness source-owned and deciding whether Solar should be an optional parser frontend rather than a semantic dependency.
- 2026-05-17 21:27 PDT - test-harness/solc-ast-custom-error - extended the solc-AST importer harness lane to Solidity
ErrorDefinitionnodes andRevertStatementnodes, preserving custom error declarations, positional error args, and named error args as source syntax without adding lowering. Added a sharedCustomError.solForge fixture whose source contract reverts withTooBig(value, 10)andPairBad({second: value + 2, first: value}); Forge checks real solc/EVM ABI revert bytes withabi.encodeWithSelector, while the Lean lane imports the same solc-emitted AST and checks imported-contract acceptedness,check(4) = 5, sourceRevertData.custom "TooBig" [20, 10], and named-argument sourceRevertData.custom "PairBad" [7, 9]. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only custom-errorpasses; fullscripts/compare_forge_solc_interpreter.shpasses with eight paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 21:33 PDT - test-harness/solc-ast-modifier-order - extended the solc-AST importer harness lane to Solidity
ModifierDefinition,ModifierInvocation, andPlaceholderStatementnodes, preserving source modifier declarations, function modifier lists, and_placement without adding lowering. Added a sharedModifierOrder.solForge fixture whose source contract runsadd(1, 100) gate(10)around a body and a failingadd(20, 1) gate(10)path; Forge checks real solc/EVM modifier sequencing and rollback, while the Lean lane imports the same solc-emitted AST and checks imported-contract acceptedness,run(5)followed byread() = 106, and revertedblocked()rolling back to slot0with reason"gate". Local solc 0.8.35 rejected named modifier invocation arguments, so this same-source case stays on solc-accepted positional modifier arguments. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only modifier-orderpasses; fullscripts/compare_forge_solc_interpreter.shpasses with nine paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 21:36 PDT - test-harness/solc-ast-constructor-deploy - extended the solc-AST importer harness lane to Solidity constructor
FunctionDefinitionnodes, preservingFunctionKind.constructor, no source name, parameters, mutability, body, and constructor visibility as emitted by solc 0.8.35 without adding lowering. Added a sharedConstructorDeploy.solForge fixture whose constructor setsvalue = seed + 1beforerequire(seed < 10, "ctor"); Forge checks real solc/EVM deployment initialization and deployment revert, while the Lean lane imports the same solc-emitted AST and checks imported-contract acceptedness, construction with seed4storing slot0 = 5, and construction with seed20reverting with"ctor"while rolling state back to slot0 = 0. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only constructor-deploypasses; fullscripts/compare_forge_solc_interpreter.shpasses with ten paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 21:44 PDT - test-harness/solc-ast-contract-creation - extended the solc-AST importer harness lane from singleton contract import to same-file multi-contract source units, while preserving the requested
importedContractas a default alias. The importer now emits typed per-contract Lean definitions, animportedContractslist, and animportedSourceUnitcontaining every same-file contract; it also renders solcNewExpressioncalls asExpr.newExprand parenthesizesTy.userpaths in generated Lean. Added a sharedContractCreation.solForge fixture withCreatedChildandContractCreationHarnessFactory.make; Forge checks real solc/EVM child deployment andchild.read() = 5, while the Lean lane imports both source contracts and checks the abstract Solidity contract-creation request forCreatedChildconstructor args plus the oracle-provided returned address0xc0de. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only contract-creationpasses; fullscripts/compare_forge_solc_interpreter.shpasses with eleven paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 21:48 PDT - test-harness/solc-ast-inheritance-base - extended the solc-AST importer harness lane to Solidity inheritance specifiers, preserving
ContractDecl.basesfrom solcInheritanceSpecifiernodes and reusing modifier invocation import for explicit base-constructor calls. Added a sharedInheritanceBase.solForge fixture withInheritanceBaseHarnessBaseandInheritanceBaseHarnessTarget is InheritanceBaseHarnessBase; the derived constructor callsInheritanceBaseHarnessBase(seed + 2)and then assigns from inheritedbaseValue. Forge checks real solc/EVM construction givesreadBase() = 7andreadOwn() = 10, while the Lean lane imports both source contracts and checks the same source construction, inherited external call, and derived storage behavior. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only inheritance-basepasses; fullscripts/compare_forge_solc_interpreter.shpasses with twelve paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 21:53 PDT - compaction-resume - resumed after compaction while widening the solc-AST harness create-options slice; next checkpoint is full Forge/solc/Lean verification and roadmap/log evidence for preserving Solidity
{value, salt}contract-creation options as source syntax before any future Yul/EVM create relation. - 2026-05-17 21:56 PDT - test-harness/solc-ast-create-options - extended the solc-AST importer harness lane to solc
FunctionCallOptionsnodes, preservingnew C{value: ..., salt: ...}(...)asExpr.callWithOptions (Expr.newExpr ...)with sourceCallOption.namedentries without adding lowering. Added a sharedCreateOptions.solForge fixture with payableCreatedWithOptionsandCreateOptionsFactory.make; Forge checks real solc/EVM value-bearing salted deployment andchild.read() = 9, while the Lean lane imports both source contracts and checks abstract Solidity contract-creation result for constructor args[4], value5, salt0x1234, and oracle returned address0xcafe. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only create-optionspasses; fullscripts/compare_forge_solc_interpreter.shpasses with thirteen paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 22:01 PDT - test-harness/solc-ast-high-level-call-options - extended the solc-AST importer harness lane to high-level external calls with source
{gas, value}options, reusing theFunctionCallOptionsimport path as Solidity source syntax and avoiding lowering. Added a sharedHighLevelCallOptions.solfixture with a payable target and a view target; Forge checks real solc/EVMtarget.payQuote{value: amount, gas: 50000}(amount)andtarget.viewGet{gas: 4321}(), while the Lean lane imports both contracts and checks abstract low-level call requests for call/staticcall kind, ABI calldata, target0xbeef, value, gas, returned bytes, and decoded return words. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only high-level-call-optionspasses; fullscripts/compare_forge_solc_interpreter.shpasses with fourteen paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 22:46 PDT - test-harness/solc-ast-low-level-call-options - extended the solc-AST importer harness lane to Solidity low-level
.call{value, gas}and.staticcall{gas}return expressions over the shared source contractLowLevelCallOptions.sol. The initial Lean witness exposed thatreturn target.call(...)with Solidity returns(bool, bytes)was being routed through the high-level external-call return expander; fixed the source-core elaboration withExpr.lowLevelTupleReturnCore?, which evaluates the low-level call once into a generated tuple local and returns its success/output projections. Forge checks real solc/EVM payload/value behavior againstLowLevelCallOptionsTarget, while the Lean lane imports both contracts and checks abstract low-level call records for kind, target, calldata, value, gas, success, output, and returned(bool, bytes). Verification: focusedlake build SolidCore.Spine.L00_SourceSolidity.Interface; focusedscripts/compare_forge_solc_interpreter.sh --only low-level-call-options; fullscripts/compare_forge_solc_interpreter.shpasses with fifteen paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 22:54 PDT - compaction-resume - resumed after compaction while widening the solc-AST tuple-destructure harness slice; next checkpoint is full Forge/solc/Lean verification and roadmap/log evidence for preserving Solidity tuple returns, destructuring, omitted tuple slots, and tuple assignment as source syntax before any future Yul relation.
- 2026-05-17 22:57 PDT - test-harness/solc-ast-tuple-destructure - extended the solc-AST importer harness lane to multi-component
TupleExpressionnodes and tuple-styleVariableDeclarationStatementdeclarations, including omitted slots as anonymous untyped source bindings. Added sharedTupleDestructure.solcovering direct tuple returns, internal-call destructuring, tuple destructuring with an omitted slot, and tuple assignment swap; Forge/solc and the Lean source interpreter agree ondirectPair(4) = (7, 8),destructureCall(4) = 56,literalHole(10) = 1012, andswap(10) = 120. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only tuple-destructurepasses; fullscripts/compare_forge_solc_interpreter.shpasses with sixteen paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 23:03 PDT - test-harness/solc-ast-mapping-index - extended the solc-AST importer harness lane to
Mappingtype nodes andIndexAccessexpressions, preserving Solidity mapping reads/writes as source syntax instead of lowering to any storage-address calculation. Added sharedMappingIndex.solcovering numeric-key mapping writes, same-key reads, default values, generated public mapping getters, separate key isolation, and address-key mappings; Forge/solc and the Lean source interpreter agree onwriteRead(7, 33) = 33,values(7) = 33,values(8) = 0,readDefault(8) = 0,writeTwo(1, 2) = 33,values(1) = 11,values(2) = 22,writeAddress(0x1234, 44) = 44,balances(0x1234) = 44, andbalances(0x9999) = 0. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only mapping-indexpasses; fullscripts/compare_forge_solc_interpreter.shpasses with seventeen paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 23:08 PDT - test-harness/solc-ast-whole-frontend-audit - pivoted the solc-AST importer lane toward a coverage-driven whole-AST frontend instead of continuing one fixture node at a time.
scripts/solc_ast_to_lean_source.pynow classifies solc ASTnodeTypes as supported, explicitly excluded (ImportDirective, inline assembly/Yul), or unimplemented, exposes--audit-coveragefor a single source, and rejects excluded nodes with source-layer diagnostics. Addedscripts/audit_solc_ast_frontend.pyto run the classification over everysolc_importsource in the Forge/interpreter manifest; the current shared corpus contains 17 sources and 40 solc node types, all supported/classified, with zero excluded or unimplemented node types. This keeps the frontend source-owned and does not add Solidity-to-Yul lowering. Verification:python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses;python3 scripts/solc_ast_to_lean_source.py tests/forge-harness/mapping-index/src/MappingIndex.sol --solc /Users/dan/.local/bin/solc --audit-coveragereports supported-only coverage for that source; fullscripts/compare_forge_solc_interpreter.shpasses with seventeen paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py scripts/audit_solc_ast_frontend.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; untracked whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 23:20 PDT - compaction-resume - resumed after compaction while converting the solc-AST frontend from fixture-by-fixture import support into whole source-unit/declaration rendering; immediate checkpoint is fixing generated Lean record syntax, then adding a source-declarations corpus case that exercises free and contract-local declaration nodes without starting any Solidity-to-Yul lowering.
- 2026-05-17 23:28 PDT - test-harness/solc-ast-source-declarations - took the larger whole-AST step the user suggested:
scripts/solc_ast_to_lean_source.pynow renders whole source-unit declaration surfaces, including pragmas, free functions/constants/events/errors/structs/enums/user-value-types, contract-local structs/enums/user-value-types/using declarations, fixed-array type names, source-level type-expression identifiers for struct constructors and enum members, and solc's internal visibility annotations normalized away where the Solidity source layer rejects them for file-level declarations. Added sharedSourceDeclarations.sol, whose Forge lane checks ordinary solc/EVM behavior over free declarations, local declarations,using, enums, structs, arrays, events, and public getters, while the Lean lane imports the same solc-emitted AST and checks the abstract source interpreter. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only source-declarationspasses;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcreports 18 sources, 46 supported node types, and zero excluded or unimplemented node types; fullscripts/compare_forge_solc_interpreter.shpasses with eighteen paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py scripts/audit_solc_ast_frontend.py;bash -n scripts/compare_forge_solc_interpreter.sh; andpython3 -m json.tool tests/forge-harness/manifest.jsonare green. - 2026-05-17 23:36 PDT - test-harness/solc-ast-expression-primitives - widened the solc-AST importer harness lane to source expression primitives already present in the Lean source semantics.
scripts/solc_ast_to_lean_source.pynow classifies and renders solcUnaryOperationnodes, mapping!,~, unary-,delete, and prefix/postfix++/--to sourceUnaryOp, and rendersTupleExpressioninline arrays asExpr.arrayinstead of rejecting them. Added sharedExpressionPrimitives.sol, whose Forge lane checks ordinary solc/EVM increment/decrement, delete, logical/bit/negative unary ops, and fixed memory array literals, while the Lean lane imports the same solc-emitted AST and checks the abstract source interpreter. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only expression-primitivespasses;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcreports 19 sources, 47 supported node types, and zero excluded or unimplemented node types; fullscripts/compare_forge_solc_interpreter.shpasses with nineteen paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py scripts/audit_solc_ast_frontend.py;bash -n scripts/compare_forge_solc_interpreter.sh; andpython3 -m json.tool tests/forge-harness/manifest.jsonare green. - 2026-05-17 23:39 PDT - compaction-resume - resumed after compaction after the expression-primitives solc-AST importer slice passed; next checkpoint is another source-owned frontend slice that moves the importer toward whole accepted Solidity AST coverage, still without Solidity-to-Yul lowering.
- 2026-05-17 23:47 PDT - test-harness/solc-ast-entrypoint-slice-control - widened the whole-AST importer lane to solc
IndexRangeAccessandDoWhileStatement, and pinned receive/fallback function kinds in a sharedEntrypointSliceControl.solcorpus case. The importer now renders byte/calldata slices asExpr.slicewith optional source start/end bounds and do-while loops asStmt.doWhile; the new paired case checks receive/fallback dispatch, closed and open-ended byte slices, and do-while body-before-condition behavior in Forge/solc and the Lean source interpreter without adding Solidity-to-Yul lowering. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only entrypoint-slice-controlpasses;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcreports 20 sources, 49 supported node types, and zero excluded or unimplemented node types; fullscripts/compare_forge_solc_interpreter.shpasses with twenty paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py scripts/audit_solc_ast_frontend.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-17 23:59 PDT - test-harness/solc-ast-try-catch - widened the whole-AST importer lane to solc
TryStatementandTryCatchClause, preserving the solc success-clause-plus-catches shape as sourceStmt.tryCatchReturnswith return bindings, success body, and source catch clauses forError,Panic, raw bytes, and bare catches. Added sharedTryCatch.sol, whose Forge lane checks concrete solc/EVM external-call try/catch routing and whose Lean lane imports the same solc-emitted AST and checks success, Error, Panic, raw-bytes, and bare catch paths against explicit abstract low-level-call oracle results plus account-code facts for no-return high-level calls. This stays source-owned and introduces no Solidity-to-Yul lowering. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only try-catchpasses;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcreports 21 sources, 51 supported node types, and zero excluded or unimplemented node types; fullscripts/compare_forge_solc_interpreter.shpasses with twenty-one paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py scripts/audit_solc_ast_frontend.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; whitespace scan; scoped no-hole scan; and scoped source compiler-shim grep are green. - 2026-05-18 00:02 PDT - compaction-resume - resumed after compaction while probing whether to pivot from the next solc
FunctionTypeNameslice to a truly whole-AST Solidity frontend plan, still keeping the layer abstract and avoiding Solidity-to-Yul lowering. - 2026-05-18 00:19 PDT - test-harness/solc-ast-frontend-frontier - tightened the solc-AST importer from corpus-only classification toward a whole-AST frontend boundary: render mode now rejects any unimplemented node type anywhere in the AST, structured NatSpec documentation is classified as metadata,
FunctionTypeNamerenders to sourceTy.function,OverrideSpecifierrenders into existing source override fields, unit-denominated/hex-string/unicode-string/address literals are preserved, and source-unit/contract child rendering fails instead of silently dropping unknown declaration children. Added sharedFrontendFrontier.sol, whose Forge lane checks ordinary solc/EVM overrides, function-valued external calls/equality, and literal forms, while the Lean lane imports the same solc-emitted AST and checks acceptedness, derived-contract construction/override execution, abstract external function-pointer calls/equality, and literal values. Also fixed the executable source projection so bodyless inherited abstract declarations remain interface/override evidence instead of requiring core code when executing a derived contract. This stays source-owned and introduces no Solidity-to-Yul lowering. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only frontend-frontierpasses;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcreports 22 sources, 54 node types, 53 supported node types, one metadata node type (StructuredDocumentation), and zero excluded or unimplemented node types; fullscripts/compare_forge_solc_interpreter.shpasses with twenty-two paired cases;python3 -m py_compile scripts/run_forge_interpreter_harness.py scripts/solc_ast_to_lean_source.py scripts/audit_solc_ast_frontend.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; whitespace scan; and scoped no-hole scan are green. - 2026-05-18 00:24 PDT - test-harness/solc-ast-render-audit - strengthened
scripts/audit_solc_ast_frontend.pyso the manifest-wide frontend audit renders everysolc_importcase with its declared contract and namespace, records render failures per case, and fails if classification passes but rendering does not. This closes the gap between node-kind coverage and actual importer traversal while keeping the frontend source-owned and without adding Solidity-to-Yul lowering. Verification:python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcnow reports 22 sources, 22 rendered sources, zero render failures, 54 node types, 53 supported node types, one metadata node type, and zero excluded/unimplemented node types; JSON audit output agrees; fullscripts/compare_forge_solc_interpreter.shpasses with twenty-two paired cases;python3 -m py_compile scripts/audit_solc_ast_frontend.py scripts/solc_ast_to_lean_source.py scripts/run_forge_interpreter_harness.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json; full/Users/dan/.elan/bin/lake build;git diff --check; whitespace scan; and scoped no-hole scan are green. - 2026-05-18 00:29 PDT - compaction-resume - resumed after compaction while finishing the solc-AST field-shape frontend chunk; current checkpoint is verification and logging for constant-expression static array lengths and explicit override base lists, still without Solidity-to-Yul lowering.
- 2026-05-18 00:32 PDT - test-harness/solc-ast-array-length-shapes - extended the solc-AST frontend beyond node-kind coverage to a field-shape case:
ArrayTypeName.lengthmay be an analyzed constant expression such asIdentifier SIZE, so the importer now recovers concrete static array lengths from solctypeDescriptions.typeStringwhile preserving the abstract SolidityTy.array. Extendedfrontend-frontierto coveruint256[SIZE]storage, public fixed-array getter/indexing,sumValues, and explicitoverride(BaseA, BaseB)base lists. Verification: fullscripts/compare_forge_solc_interpreter.shgreen for 22 paired cases;scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcreports 22 rendered sources, 54 node types, 53 supported, 1 metadata, 0 excluded/unimplemented, and 0 render failures; Python compile, manifest JSON parse,bash -n,lake build,git diff --check, whitespace scan, and no-hole scan are green. - 2026-05-18 00:39 PDT - test-harness/solc-ast-child-field-shapes - strengthened the whole-AST solc frontend boundary from node-kind/render coverage to child-field position coverage. The importer now classifies source-bearing AST child paths as source, metadata, or unclassified, and
render_modulerejects any unclassified child field before a supported node can silently disappear from the abstract Solidity source layer. The manifest audit now reports field-shape counts alongside node-kind counts; current corpus coverage is 22 rendered sources, 54 node types, 78 child fields, 76 source child fields, 2 metadata child fields, 0 unclassified child fields, and 0 render failures. This remains frontend evidence only and does not add Solidity-to-Yul lowering. Verification:scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solc, fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases, Python compile, manifest JSON parse,bash -n,lake build,git diff --check, whitespace scan, and no-hole scan are green. - 2026-05-18 00:48 PDT - test-harness/solc-ast-complete-child-field-denominator - closed the remaining classified child-field denominator for the pinned solc 0.8.35 shared corpus. The audit now reports classified source/metadata fields versus seen fields, not just unclassified failures. Extended
frontend-frontierwith solc-accepted modifier override declarations,using {frontendFrontierPlusOne} for uint256, inert documented declarations, and Lean/Forge checks for the modifier and using-list behavior. The importer also accepts solc 0.8.35'sUsingForDirective.functionList.functionshape and no longer counts the non-emitted user-value-type documentation field as 0.8.35 metadata. Current audit: 22 rendered sources, 54 node types, 86 child fields, 78/78 source child fields seen, 8/8 metadata child fields seen, 0 unseen source fields, 0 unseen metadata fields, 0 unclassified fields, and 0 render failures. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only frontend-frontier,scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solc, fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases, Python compile, manifest JSON parse,bash -n,lake build,git diff --check, whitespace scan, and no-hole scan are green. - 2026-05-18 00:55 PDT - test-harness/solc-ast-scalar-field-shapes - strengthened the whole-AST solc frontend boundary to classify scalar field positions as source, solc-analysis, metadata, or unclassified. Source scalars include names, visibility, mutability, operators, literal values, named-argument lists, inline-array markers, tuple/declaration holes, and
ElementaryTypeName.stateMutability; analysis scalars include solc type descriptions and expression analysis flags; metadata scalars include ids, source spans, references, selectors, exported-symbol tables, and NatSpec text.render_modulenow rejects unclassified scalar fields, and the manifest audit reports scalar-field counts alongside node and child-field counts. This also fixed a concrete importer fidelity issue: solc 0.8.35 spellsaddress payableasElementaryTypeName.name = "address"plusstateMutability = "payable", and the importer now renders that asTy.address true. Current audit: 22 rendered sources, 54 node types, 86 child fields, 364 scalar fields, 46 source scalar fields, 110 analysis scalar fields, 208 metadata scalar fields, 0 unclassified scalar fields, and 0 render failures. Verification:scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solc, fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases, Python compile, manifest JSON parse,bash -n,lake build,git diff --check, whitespace scan, and no-hole scan are green. - 2026-05-18 01:03 PDT - compaction-resume - resumed after compaction while finishing the source-scalar value-domain audit for the whole solc AST frontend; next checkpoint is verifying the extended frontend-frontier interface/anonymous-event/private-function coverage and logging the finite-domain scalar guard results without starting Solidity-to-Yul lowering.
- 2026-05-18 01:05 PDT - test-harness/solc-ast-source-scalar-value-domains - strengthened the solc-AST frontend audit with finite-domain checks for source scalar field values. Unknown source values for operators, contract/function kinds, visibilities, mutabilities, literal kinds/unit denominations, tuple/using flags, and catch names now fail before rendering. Extended
frontend-frontierwith interface declarations, anonymous event declarations, private helper functions, and shared Forge/Lean checks for interface execution, reducing unseen finite-domain source scalar fields from 12 to 10 while keeping unknown values at zero. Current audit: 22 rendered sources, 54 node types, 86 child fields, 78/78 source child fields seen, 8/8 metadata child fields seen, 367 scalar fields, 46 source scalar fields, 110 analysis scalar fields, 211 metadata scalar fields, 0 unclassified scalar fields, 25 finite source-scalar value domains, 0 unknown source-scalar values, 10 unseen finite-domain source scalar fields, and 0 render failures. Verification:scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solc; fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases;python3 -m py_compile scripts/solc_ast_to_lean_source.py scripts/audit_solc_ast_frontend.py scripts/run_forge_interpreter_harness.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json;/Users/dan/.elan/bin/lake build;git diff --check; whitespace scan; and scoped no-hole scan are green. - 2026-05-18 01:24 PDT - test-harness/solc-ast-finite-domain-closure - closed the pinned 0.8.35 finite source-scalar denominator in the whole-AST frontend audit.
scripts/audit_solc_ast_frontend.pynow emits exactunseenSourceScalarValues; the value-domain denominator was narrowed to valid Solidity source spellings for function-type/function/variable visibility, andfrontend-frontiernow exercises every remaining valid value for assignment operators, binary operators, function-type mutability/visibility, unit denominations, using-global, immutable declarations, transient declarations, and storage local references. This exposed two source-shape details and one fidelity fix:using {f as +}carriesUsingForDirective.functionList.definitionplusfunctionList.operator, solc's user-defined operatorBinaryOperation.functionandContractDefinition.internalFunctionIDs.*are analysis/metadata rather than source syntax, and solc 0.8.35 encodestransientstate variables asVariableDeclaration.storageLocation = "transient", which the importer now maps back toVarMutability.transientwhile preserving the abstract source layer. Current audit: 22 rendered sources, 54 node types, 87 child fields, 79/79 source child fields seen, 8/8 metadata child fields seen, 375 scalar fields, 47 source scalar fields, 111 analysis scalar fields, 217 metadata scalar fields, 0 unclassified scalar fields, 25 finite source-scalar value domains, 0 unknown source-scalar values, 0 unseen finite-domain source scalar values, and 0 render failures. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only frontend-frontier;scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solc; fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases;python3 -m py_compile scripts/solc_ast_to_lean_source.py scripts/audit_solc_ast_frontend.py scripts/run_forge_interpreter_harness.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json;/Users/dan/.elan/bin/lake build;git diff --check; whitespace scan; and scoped no-hole scan are green. - 2026-05-18 01:29 PDT - test-harness/solc-ast-denominator-gates - made the whole-AST frontend coverage denominator enforce itself rather than merely report drift.
scripts/audit_solc_ast_frontend.pynow records and fails on unseen classified source child fields, unseen classified metadata child fields, unseen classified source scalar fields, and unseen finite-domain source scalar values, in addition to the existing excluded/unimplemented/unclassified/unknown/render-failure gates. The current pinned 0.8.35 corpus remains closed under the stricter gate: 79/79 source child fields, 8/8 metadata child fields, 47/47 source scalar fields, 25/25 finite source-scalar value-domain fields, 0 unseen finite-domain values, and 0 render failures. Verification:scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solc; JSON audit check for all unseen counts; fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases;python3 -m py_compile scripts/solc_ast_to_lean_source.py scripts/audit_solc_ast_frontend.py scripts/run_forge_interpreter_harness.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json;/Users/dan/.elan/bin/lake build;git diff --check; whitespace scan; and scoped no-hole scan are green. - 2026-05-18 01:35 PDT - test-harness/solc-ast-node-denominator-gates - extended the whole-AST frontend audit gate to supported and metadata node kinds. Removed
StateVariableDeclarationfrom the pinned solc 0.8.35 supported-node denominator because current solc emits state variables asVariableDeclarationnodes in contract/source-unit contexts; the dormant renderer branch remains harmless compatibility code, but the public supported set is now evidence-backed. The audit now fails on unseen supported node kinds and unseen metadata node kinds as well as the existing field/value/render gates. Current audit: 22 rendered sources, 54 node types, 53/53 supported node kinds seen, 1/1 metadata node kind seen, 87 child fields, 79/79 source child fields seen, 8/8 metadata child fields seen, 375 scalar fields, 47/47 source scalar fields seen, 25 finite source-scalar value-domain fields, 0 unknown values, 0 unseen finite-domain values, and 0 render failures. Verification:scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solc; JSON audit check for all unseen node/field/value counts; fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases;python3 -m py_compile scripts/solc_ast_to_lean_source.py scripts/audit_solc_ast_frontend.py scripts/run_forge_interpreter_harness.py;bash -n scripts/compare_forge_solc_interpreter.sh;python3 -m json.tool tests/forge-harness/manifest.json;/Users/dan/.elan/bin/lake build;git diff --check; whitespace scan; and scoped no-hole scan are green. - 2026-05-18 01:40 PDT - compaction-resume - resumed after compaction while reassessing the whole-solc-AST frontend strategy for the Solidity source semantics; next checkpoint is clarifying whether the importer should preserve the whole accepted AST surface as the source denominator, then continuing the checked-executable gap audit without starting Solidity-to-Yul lowering.
- 2026-05-18 02:16 PDT - compaction-resume - resumed after compaction while closing the checked-executable projection gap for the whole-solc-AST frontend; current checkpoint is documenting and rechecking the raw-source
using/UDVT boundary without starting Solidity-to-Yul lowering. - 2026-05-18 02:17 PDT - test-harness/checked-raw-source-using-boundary - closed the checked-executable gap for the solc-AST frontend scalar-operator frontier by moving checked source-to-core translation back to the raw checked source surface for core elaboration while keeping resolved source for observations.
ContractDecl.toCoreFromOrders?now selects source-levelusingexpansions before UDVT erasure, threads file-level user-value types/enums/structs into the source type envs, and clears using declarations after pre-expansion to avoid post-erasure rewrites. Thefrontend-frontierLean lane now executesFrontendFrontierScalarOps.operatorFrontier == 93andunitFrontier == 21, while preserving global UDVT operator using and source-declarations. Verification: focused frontend-frontier and source-declarations harnesses pass; fullscripts/compare_forge_solc_interpreter.shpasses for 22 cases;scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with all unseen/unclassified/unknown/render counts zero;lake build SolidCore.Spine.L00_SourceSolidity.Checked; fulllake build; Python compile;bash -n; manifest JSON;git diff --check; trailing-whitespace scan; and scoped no-hole/no-partial scan are green. - 2026-05-18 02:19 PDT - compaction-resume - resumed after compaction while continuing the Solidity source boundary refactor; next checkpoint is auditing constructor/deployment elaboration for the same raw-source, pre-erasure
using/UDVT behavior as checked calls, without adding lowering. - 2026-05-18 02:35 PDT - test-harness/checked-raw-source-constructor-using-boundary - aligned constructor/deployment source-core projection with ordinary checked calls.
ContractDecl.constructorFunctionFromOrders?, constructor wrappers, directSourceUnitconstruction, and checked constructor lookup now thread file-level user-value types/enums/structs plus raw sourceusingdeclarations through source-owned elaboration, so deployment no longer pre-erases source types before selectingusing/operator rewrites. Added aFrontendFrontierConstructorUsingForge/Lean witness where a constructor computes a public result through global UDVT operatorusing. Verification: focused frontend-frontier harness passes; fullscripts/compare_forge_solc_interpreter.shpasses for 22 cases;scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with all hard-gate counts zero;lake build SolidCore.Spine.L00_SourceSolidity.Checked; fulllake build; Python compile;bash -n; manifest JSON;git diff --check; trailing-whitespace scan; and scoped no-hole/no-partial scan are green. - 2026-05-18 02:41 PDT - compaction-resume - resumed after compaction while answering whether the Solidity frontend should ingest the whole solc AST; current checkpoint is repairing the in-flight source expression elaboration patch for constructor UDVT/using calls without starting Solidity-to-Yul lowering.
- 2026-05-18 03:01 PDT - test-harness/source-expression-elaboration-constructor - answered the whole-AST frontend question as a source-boundary policy and strengthened checked source-core expression elaboration without starting Solidity-to-Yul lowering.
FunctionDecl.internalBinarySingleReturnUseCore?now preserves left-to-right source sequencing when a binary expression has a left operand that is a source wrapper around a single-return internal/free-function call and a right operand that is another single-return internal/free-function call; the frontend-frontier constructor witness now combines a UDVT operator free-function call with a file-levelusingmethod call and checksresult == 83through both Forge/solc and the imported Lean source interpreter. Verification:lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean;lake build SolidCore.Spine.L00_SourceSolidity.Checked; focusedscripts/compare_forge_solc_interpreter.sh --only frontend-frontier; fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases;scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcwith all hard gates zero; fulllake build; Python compile;bash -n; manifest JSON;git diff --check; tab scan; trailing-whitespace scan; and scoped no-hole/no-partial scan are green. - 2026-05-18 03:03 PDT - compaction-resume - resumed after compaction while answering whether the Solidity frontend should ingest the whole solc AST; current checkpoint is clarifying whole-AST policy versus source-semantics projection before adding more checked source-layer observations, without starting Solidity-to-Yul lowering.
- 2026-05-18 03:16 PDT - source-observation/internal-binary-expression-elaboration - added
InternalBinaryExpressionElaborationObservationplus operand elaboration kinds so the Solidity source layer records left-to-right binary operand sequencing, short-circuit right-operand skipping, the_sol_bin_lhstemporary boundary, and the source-core expansion result for internal-call binary expressions without starting Solidity-to-Yul lowering. Wired a checked witness for a type-conversion-wrapped single-return internal/free-function call on the left and a single-return free-function call on the right. Verification so far:lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean;lake build SolidCore.Spine.L00_SourceSolidity.Checked; focusedscripts/compare_forge_solc_interpreter.sh --only frontend-frontier; fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases;scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solc; Python compile;bash -n; and manifest JSON parse are green. - 2026-05-18 03:27 PDT - source-observation/child-evaluation-policy - added
ChildEvaluationPolicyObservationand threaded it throughExprListEvaluationObservationso the Solidity source runtime records the requested child-evaluation order, the effective order, the Nethermind-Yul-compatible order, and whether the default came from Solidity's unspecified sibling-order policy. Added a checked witness that the absent source policy uses the Yul-compatible right-to-left order while explicit left-to-right/right-to-left test contexts remain observable, without starting Solidity-to-Yul lowering. Verification so far:lake build SolidCore.Solidity.Interpreter;lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean;lake build SolidCore.Spine.L00_SourceSolidity.Checked; fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases;scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solc; Python compile;bash -n; and manifest JSON parse are green.
2026-05-18 03:31 PDT compaction-resume: Resumed source-semantics refactor goal; current checkpoint is deciding whether the Forge/solc frontend should ingest the whole Solidity AST while keeping the semantics abstract and source-faithful.
- 2026-05-18 03:48 PDT - source-observation/low-level-call-evaluation - added
LowLevelCallEvaluationObservationto the Solidity source interpreter, exposing low-level call expression source operands, effective child-evaluation policy, parsed gas/value option-order metadata, decoded target/calldata/value/gas request, abstract host/precompile resolution, returned(bool, bytes)value, and output runtime trace without starting Solidity-to-Yul lowering. Added raw and checked witnesses, folded the checked witness intocheckedLowLevelCallSemanticsMatch, and recorded the source boundary inROADMAP.md. Verification:lake build SolidCore.Solidity.Interpreter;lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean;lake build SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forlowLevelCallEvaluationObservationMatches,checkedLowLevelCallEvaluationObservationMatches, andcheckedLowLevelCallSemanticsMatch; fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases;scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcwith all hard gates zero; Python compile;bash -n; manifest JSON parse; fulllake build;git diff --check; tab/trailing-whitespace scan; and scoped no-hole/no-partial scan are green. - 2026-05-18 04:00 PDT - source-observation/contract-creation-evaluation - added
ContractCreationEvaluationObservationto the Solidity source interpreter, exposing sourcenewexpression operands, effective child-evaluation policy, decoded constructor args/value/salt request, abstract contract-creation resolution, successful returned address/runtime trace, and failure revert data without modeling EVM deployment layout or starting Solidity-to-Yul lowering. Added raw and checked witnesses, folded the checked witness intocheckedContractCreationSemanticsMatch, and recorded the boundary inROADMAP.md. Verification:lake build SolidCore.Solidity.Interpreter;lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean;lake build SolidCore.Spine.L00_SourceSolidity.Checked; focused evals forcontractCreationEvaluationObservationMatches,checkedContractCreationEvaluationObservationMatches, andcheckedContractCreationSemanticsMatch; fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases;scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcwith all hard gates zero; Python compile;bash -n; manifest JSON parse; fulllake build;git diff --check; tab/trailing-whitespace scan; and scoped no-hole/no-partial scan are green. - 2026-05-18 04:03 PDT - compaction-resume - resumed while answering whether the Solidity frontend should consume the whole solc AST; current checkpoint is clarifying full-AST ingestion versus source-semantics projection without starting Solidity-to-Yul lowering.
- 2026-05-18 04:18 PDT - source-observation/try-external-call-evaluation - added
TryExternalCallEvaluationObservationfor sourcetryexternal-call statements, exposing operand sequencing, decoded target/calldata/value/gas request, source missing-code fallback, abstract low-level call resolution, ABI-decoded return binding, selected catch match, body result, and final statement result without modeling Yul/EVM dispatch or memory layout. Added raw and checked witnesses covering successfulreturnsbinding and missing-code low-level catch routing, and folded the checked witness intocheckedTryCatchSemanticsMatch. Verification:lake build SolidCore.Solidity.Interpreter;lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean;lake build SolidCore.Spine.L00_SourceSolidity.Checked; focused evals fortryExternalCallEvaluationObservationMatches,checkedTryExternalCallEvaluationObservationMatches, andcheckedTryCatchSemanticsMatch; fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases;scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcwith all hard gates zero; Python compile;bash -n; manifest JSON parse; fulllake build;git diff --check; tab/trailing-whitespace scan; and scoped no-hole/no-partial scan are green. - 2026-05-18 04:29 PDT - source-observation/try-contract-create-evaluation - added
TryContractCreateEvaluationObservationfor sourcetry newstatements, exposing constructor-argument/value/salt operand sequencing, abstract contract-creation resolution, source external-interaction trace, created-address return binding, selected catch match, body result, and final statement result without modeling deployment byte layout or generating Yul dispatch. Added raw and checked witnesses covering successful address binding and failed abstract creation routed to a low-level catch, and folded the checked witness intocheckedTryCatchSemanticsMatch. Verification:lake build SolidCore.Solidity.Interpreter;lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean;lake build SolidCore.Spine.L00_SourceSolidity.Checked; focused evals fortryContractCreateEvaluationObservationMatches,checkedTryContractCreateEvaluationObservationMatches, andcheckedTryCatchSemanticsMatch; fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases;scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcwith all hard gates zero; Python compile;bash -n; manifest JSON parse; fulllake build;git diff --check; tab/trailing-whitespace scan; and scoped no-hole/no-partial scan are green. - 2026-05-18 04:46 PDT - compaction-resume - resumed while answering whether the Solidity frontend should consume the whole solc AST; current checkpoint is separating full-AST ingestion from the abstract typed source semantics without starting Solidity-to-Yul lowering.
- 2026-05-18 04:58 PDT - source-observation/terminal-evaluation - added
TerminalEvaluationObservationfor source terminal statements, exposing return-expression evaluation, abstract revert payload construction, source child-evaluation policy, selfdestruct recipient evaluation, and abstract account-level selfdestruct effects as Solidity outcomes without lowering to Yul stack/memory/control-flow layout. Added raw and checked witnesses covering explicit return values, custom-error revert, dynamicError(string)bytes-expression revert, and Cancun-created-account selfdestruct effects, and folded the checked witness intocheckedControlFlowStatementSemanticsMatch. Verification:lake build SolidCore.Solidity.Interpreter;lake build SolidCore.Spine.L00_SourceSolidity.Checked;lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean; focused evals forterminalEvaluationObservationMatches,checkedTerminalEvaluationObservationMatches, andcheckedControlFlowStatementSemanticsMatch; fulllake build; fullscripts/compare_forge_solc_interpreter.shfor 22 paired cases;scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcwith all hard gates zero; Python compile;bash -n; manifest JSON parse;git diff --check; tab/trailing-whitespace scan; and scoped no-hole/no-partial scan are green. - 2026-05-18 05:09 PDT - test-harness/terminal-statements - added a shared
terminal-statementsForge/solc/imported-Lean case covering explicit tuple returns, named-return fallthrough, revert string payloads, custom-error named-argument ordering, andselfdestructhalting before a following storage write. This exposed and fixed a source projection gap: solc 0.8.35 may emitrevert("...")as an expression statement containing aFunctionCall, soStmt.toCore?now routes expression statements through the existing source-owned no-return-effect classifier before ordinary expression lowering. The Lean lane imports the same solc AST, checks source calls and selfdestruct effects, and checkscheckedTerminalEvaluationObservationMatches, without adding Solidity-to-Yul lowering. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only terminal-statements;scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcwith 23 rendered sources and all hard gates zero;lake env lean SolidCore/Spine/L00_SourceSolidity/Interface.lean;lake build SolidCore.Spine.L00_SourceSolidity.Checked; fulllake build; fullscripts/compare_forge_solc_interpreter.shfor 23 paired cases; Python compile;bash -n; and manifest JSON parse are green. - 2026-05-18 05:12 PDT - compaction-resume - resumed while answering whether the Solidity frontend should consume the whole solc AST; current checkpoint is distinguishing whole-AST audit/render coverage from source-semantics commitments without starting Solidity-to-Yul lowering.
- 2026-05-18 05:14 PDT - audit/whole-ast-source-boundary - clarified the source-layer boundary for the solc-AST importer: the whole solc AST is the fail-closed ingestion/audit denominator for the pinned Solidity 0.8.35 corpus, but only classified source constructs enter the abstract Lean Solidity semantics; solc metadata, analysis fields, diagnostics, codegen artifacts, imports, and inline assembly/Yul remain outside the source semantics. No Solidity-to-Yul lowering was added.
- 2026-05-18 05:17 PDT - audit/source-yul-prep-completion - completed the source-refactor completion audit for the active
$verifiable-compilergoal. Requirement evidence:ROADMAP.mdrecords the PR #84 Nethermind Yul target shape (exec/eval/evalValues/call/primCall, scoped blocks, declaration/assignment split, zeroed returns, right-to-left argument effects, failed calls, switch behavior, and haltingSELFDESTRUCT) and the/Users/dan/Projects/evm-compilerproof-architecture context;SolidCore/Solidity/Interpreter.lean,SolidCore/Solidity/ABI.lean, andSolidCore/Spine/L00_SourceSolidity/Interface.leanexpose source-owned observation boundaries for context, state/effects, locals, memory abstraction, storage/layout/path/field words, ABI entries/dispatch/result encoding, function entries/exits, deployment, contract calls, child-expression policy, control flow, calls/create/try/catch, terminals, events, reverts, modifiers, internal calls, inheritance, using, constants/immutables, and arithmetic;Checked.leanfolds the new checked witnesses into the existing source-semantics aggregate gates;SharedSemantics/README.mdand named shared modules document the Solidity-safe sharing boundary for words, Keccak, block/tx/account reads, call/create requests, logs, and precompile behavior while keeping Solidity storage, memory, locals, ABI dispatch, and context observations abstract;tests/forge-harnessplus the solc-AST importer provide 23 paired Forge/solc/interpreter cases and a fail-closed whole-AST corpus audit. Negative evidence check: no Solidity-to-Yul compiler/lowering files or publicYulsyntax use were introduced; the deletedSolidCore/Solidity/ControlCore.leanwas the old source-to-core shim; remaining compiler-word hits are compile-time-constant/typechecker names or docs. Verification:/Users/dan/.elan/bin/lake buildpassed,scripts/compare_forge_solc_interpreter.shpassed for all 23 cases,python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpassed with zero excluded/unimplemented/unclassified/unseen/unknown/render-failure gates,bash -n scripts/compare_forge_solc_interpreter.sh, manifest JSON parse,git diff --check, roadmap-open-item grep, and scoped Lean no-hole/no-partial scan are green. No Solidity-to-Yul compiler implementation or lowering was started. - 2026-05-18 07:02 PDT - compaction-resume - resumed the ongoing Forge/solc/interpreter expansion goal after compaction; current checkpoint is finishing the OpenZeppelin Ownable real-project fixture and the inherited-internal-call executable projection gap it exposed.
- 2026-05-18 07:53 PDT - test-harness/openzeppelin-ownable-real-project - added the first real-project Forge/solc/imported-Lean harness slice, adapted from OpenZeppelin Contracts v5.6.1
Context.solandOwnable.solwith imports inlined because import resolution remains out of scope. The newopenzeppelin-ownablecase checks constructor owner setup, custom-error rejection,onlyOwnermodifier dispatch, inherited internal_msgSender, ownership transfer/renounce behavior, and event emission under ordinary Forge/solc and the abstract Solidity interpreter. The slice exposed and fixed two source executable projection gaps: inherited contract-internal callees now keep the caller's contract type environment while free-function callees stay isolated, and sourceifconditions can project binary/internal-call operands throughconditionUseCoreWithInternalCalls?instead of forcing plain expression lowering. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-ownablepasses; fullscripts/compare_forge_solc_interpreter.shpasses for 24 cases;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 24 rendered sources and all hard gates zero;/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; and scoped Lean no-hole/no-partial scan are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/access/Ownable.sol and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/Context.sol. - 2026-05-18 07:59 PDT - compaction-resume - resumed the ongoing real-project Forge/solc/interpreter expansion after compaction; current checkpoint is finishing the OpenZeppelin ERC20 slice and the inherited-interface implementation typechecker gap it exposed.
- 2026-05-18 08:34 PDT - compaction-resume - resumed the ongoing real-project Forge/solc/interpreter expansion after compaction; current checkpoint is wiring the OpenZeppelin ERC20 slice into the shared manifest and verifying the harness, importer, typechecker, and abstract interpreter changes it exposed.
- 2026-05-18 08:48 PDT - test-harness/openzeppelin-erc20-real-project - added an import-inlined OpenZeppelin Contracts v5.6.1 ERC20/Context/interface/error real-project slice. The
openzeppelin-erc20Forge side checks constructor metadata/initial mint, transfer and insufficient-balance custom error, approvals,transferFrom, max allowance preservation, zero receiver, and insufficient allowance; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including string metadata, mapping storage, events, allowances, and custom errors. The slice exposed and fixed three source-layer gaps: interface contracts may inherit still-unimplemented interface functions without becoming abstract, executable projection now infers mapping index result types, and direct storage-backedstring/bytesreturns project through abstract storage bytes instead of scalar storage words. The harness default timeout is now 300s so larger real-project Lean witnesses can finish. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-erc20passes; fullscripts/compare_forge_solc_interpreter.shpasses for 25 paired cases;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 25 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; tab/trailing-whitespace scan; and scoped Lean no-hole/no-partial scan are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/token/ERC20/ERC20.sol and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/Context.sol. - 2026-05-18 09:26 PDT - compaction-resume - resumed the ongoing real-project Forge/solc/interpreter expansion after compaction; current checkpoint is finishing the OpenZeppelin AccessControl slice and the internal-call/event/modifier projection gaps it exposed.
- 2026-05-18 10:26 PDT - test-harness/openzeppelin-access-control-real-project - added an import-inlined OpenZeppelin Contracts v5.6.1 AccessControl/ERC165/Context/interface real-project slice. The
openzeppelin-access-controlForge side checks constructor admin setup, ERC165 interface IDs, grant/touch/revoke with rollback, role-admin changes, delegated grants, and renounce confirmation; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including inherited interfaces, overloaded internal_checkRole, role-admin mappings, modifier dispatch, events, custom errors, andsuper.supportsInterface. The slice exposed and fixed source-layer projection gaps: solcsuperidentifiers now import as source identifiers instead of user types, statement internal calls preserve returned side-effect values, unary conditions can consume internal-call booleans, event arguments can include internal calls, modifier arguments are evaluated through caller-scope temps, internal-call arguments are evaluated before callee parameter binding, nested internal-call argument temps remain in scope for the following call, and modifier parameters get internal runtime aliases so placeholder bodies keep seeing the caller's variables. Verification: direct Forge for the fixture passed 4 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-access-controlpasses; fullscripts/compare_forge_solc_interpreter.shpasses for 26 paired cases;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 26 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; tab/trailing-whitespace scan; and scoped Lean no-hole/no-partial scan are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/access/AccessControl.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/access/IAccessControl.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/Context.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/introspection/ERC165.sol, and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/introspection/IERC165.sol. - 2026-05-18 10:36 PDT - compaction-resume - resumed the ongoing real-project Forge/solc/interpreter expansion after compaction; current checkpoint is finishing the Uniswap v3-periphery
TransferHelperslice and the direct library-call import/typecheck gap it exposed. - 2026-05-18 11:08 PDT - test-harness/uniswap-transfer-helper-real-project - added an import-inlined Uniswap v3-periphery v1.3.0
TransferHelperslice. Theuniswap-transfer-helperForge side checkssafeTransferFrom,safeTransfer,safeApprove, andsafeTransferETHbehavior for true-returning tokens, no-return tokens, false returns, failed low-level calls, successful ETH sends, and rejected ETH sends; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter using source-level low-level-call results rather than EVM memory layout. The slice exposed and fixed source-layer gaps: solc type-name direct library calls now typecheck as direct library calls, executable library-call rewriting acceptstypeName (Ty.user ...)receivers, low-level(bool, bytes)tuple call results can bind into local declarations with holes, and selector resolution now has qualified contract/function keys soIERC20.approve.selectoris not confused with an unrelated harnessapproveoverload. Verification: direct Forge for the fixture passed 4 tests; focusedscripts/compare_forge_solc_interpreter.sh --only uniswap-transfer-helperpasses; fullscripts/compare_forge_solc_interpreter.shpasses for 27 paired cases;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 27 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; tab/trailing-whitespace scan; and scoped Lean no-hole/no-partial scan are green. Source: https://raw.githubusercontent.com/Uniswap/v3-periphery/v1.3.0/contracts/libraries/TransferHelper.sol. - 2026-05-18 11:12 PDT - compaction-resume - resumed after compaction and confirmed the sustained Forge/solc/interpreter expansion goal is already active; next checkpoint is adding another real-project Solidity slice, running it through Forge and the abstract interpreter, and extending only the source-layer harness/importer/semantics gaps it exposes.
- 2026-05-18 11:30 PDT - test-harness/dapphub-weth9-real-project - added a modernized DappHub ds-weth
WETH9real-project slice with no imports and no inline assembly/Yul. Thedapphub-weth9Forge side checks deposit through bothdepositandreceive,totalSupply, withdraw success/failure, transfer, approve,transferFrom, max-allowance preservation, and rollback on failed allowance/balance requires; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including source-levelmsg.value,receive, public mapping getters, events, abstractaddress(this).balance, andtransferas an abstract low-level call with 2300 gas. The slice exposed and fixed an importer gap: solc representspayable(msg.sender)as a type conversion toaddress payable, andscripts/solc_ast_to_lean_source.pynow maps that accepted AST form to the existingExpr.payableConversionsource construct instead of the rejected directaddress payable(...)type-conversion form. Verification: direct Forge for the fixture passed 4 tests; focusedscripts/compare_forge_solc_interpreter.sh --only dapphub-weth9passes; fullscripts/compare_forge_solc_interpreter.shpasses for 28 paired cases;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 28 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; tab/trailing-whitespace scan; and scoped Lean no-hole/no-partial scan are green. Source: https://raw.githubusercontent.com/dapphub/ds-weth/master/src/weth9.sol. - 2026-05-18 11:36 PDT - compaction-resume - resumed the ongoing Forge/solc/interpreter expansion goal after compaction; current checkpoint is finishing the OpenZeppelin VestingWallet real-project slice and the low-level call calldata typing gap it exposed.
- 2026-05-18 12:13 PDT - compaction-resume - resumed the ongoing Forge/solc/interpreter expansion goal after compaction; current checkpoint is re-running the full paired harness and final gates for the OpenZeppelin VestingWallet real-project slice.
- 2026-05-18 12:33 PDT - test-harness/openzeppelin-vesting-wallet-real-project - added an import-inlined, assembly-free OpenZeppelin Contracts v5.6.1
VestingWallet/Ownable/Address/SafeERC20slice. The Forge side checks constructor/getters, ETH receive and vesting math, ETH release at half/end, failed ETH release rollback, ERC20 release at half/end, and failed ERC20 release rollback; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter. The slice exposed and fixed source-layer gaps: literal string calldata for low-level calls now contextually converts tobytes; low-level address built-ins are recognized only for actual address receivers, so contract/interface methods namedtransfer,call, etc. remain high-level external calls; high-level externaltransferin conditions can bind a single bool return; overloaded public calls can use a selector plus custom context throughCheckedContract.callTargetWithContext; and member-call dispatch now recognizesabi,super, explicit-base, and library targets before ordinary address low-level-call receiver typing. The source fixture hoists a few intermediate expressions inreleasable,release,vestedAmount, and_vestingScheduleto stay inside the current executable source projection while preserving Forge-observed Solidity behavior. Verification: direct Forge for the VestingWallet fixture passed 5 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-vesting-walletpasses; after repairing the shared member-dispatch regression, focused AccessControl and TransferHelper reruns pass; fullscripts/compare_forge_solc_interpreter.shpasses for 29 paired cases;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 29 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; tab/trailing-whitespace scan; scoped Lean no-hole/no-partial scan; and generated VestingWallet Forge artifact cleanup are green. Source: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/finance/VestingWallet.sol. - 2026-05-18 12:42 PDT - compaction-resume - resumed after compaction and confirmed the sustained Forge/solc/interpreter expansion goal is already active; current checkpoint is continuing real-project Solidity slices, starting from the OpenZeppelin Pausable/ReentrancyGuard executable-projection gap, without adding import resolution, inline assembly/Yul, or Solidity-to-Yul lowering.
- 2026-05-18 13:38 PDT - test-harness/openzeppelin-pausable-reentrancy-real-project - added an import-inlined OpenZeppelin Contracts v4.9.6
Pausable/ReentrancyGuard/Contextslice. The Forge side checks initial pause/entered state, pause/unpause cycle,whenPaused/whenNotPausedrevert strings and rollback,nonReentrantentered/reset behavior, failure rollback, and nested external self-call reentrancy rejection; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter for constructor state, modifiers, events, revert-string rollback, and nonReentrant guard state. The slice exposed and fixed source-layer executable projection gaps: inherited modifier bodies are no longer re-typechecked under the derived caller environment for private helper calls,requireconditions can use the same internal-call condition elaboration asif, and internal calls to inherited functions with prefix-only modifiers expand those modifier prefixes at the source layer before core projection while preserving after-placeholder modifiers on the existing checked path. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-pausable-reentrancypasses; fullscripts/compare_forge_solc_interpreter.shpasses for 30 paired cases;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 30 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; tab/trailing-whitespace scan; scoped Lean no-hole/no-partial scan; and generated Pausable/Reentrancy Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/security/Pausable.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/security/ReentrancyGuard.sol, and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/Context.sol. - 2026-05-18 13:40 PDT - compaction-resume - resumed after compaction while answering the current Forge-harness status; manifest currently has 30 paired cases and the latest recorded full paired run passed all 30.
- 2026-05-18 14:06 PDT - test-harness/openzeppelin-counters-real-project - added an import-inlined OpenZeppelin Contracts v4.9.6
Counterslibrary slice. The Forge side checks increment/decrement/reset, revert-string rollback on decrement at zero, and independence of two storage counters; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter, includingusing OpenZeppelinCounters for OpenZeppelinCounters.Counter, storage struct receiver mutation, unchecked arithmetic, event emission, and rollback. The slice exposed and fixed a source typechecker gap: contract-local nested types are now visible through qualified source paths likeOpenZeppelinCounters.Counter, while external references to library functions qualify the library's local nested type names before argument matching so unqualified library parameters line up with qualified receiver/storage types. Verification: direct Forge for the fixture passed 3 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-counterspasses; fullscripts/compare_forge_solc_interpreter.shpasses for 31 paired cases;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 31 rendered sources and all hard gates zero;/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; tab/trailing-whitespace scan; scoped Lean no-hole/no-partial scan; and generated Counters Forge artifact cleanup are green. Source: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/Counters.sol. - 2026-05-18 14:14 PDT - compaction-resume - resumed after compaction while answering the current Forge-harness status; manifest currently has 32 paired cases, 31 are known green end-to-end, and the newest OpenZeppelin BitMaps case has a passing Forge side but still exposes a source interpreter storage-reference gap.
- 2026-05-18 15:12 PDT - compaction-resume/status - resumed after compaction and re-ran the full paired Forge/solc/imported-Lean comparison for the current status question;
scripts/compare_forge_solc_interpreter.shnow passes withcases=32andpaired_cases_passed=yes, including the OpenZeppelin BitMaps case. - 2026-05-18 15:32 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; manifest has 33 cases, the latest fully green paired run passed 32, and the new OpenZeppelin EnumerableSet slice has a passing Forge side but still needs source executable projection repair before the paired harness is 33/33.
- 2026-05-18 16:16 PDT - test-harness/openzeppelin-enumerable-set-real-project - completed the import-inlined, assembly-free OpenZeppelin Contracts v4.9.6
EnumerableSetUintSet slice. The Forge side checks add/duplicate/contains/index, swap-and-pop middle removal, delete-driven raw-index cleanup, last removal, and missing-value removal; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter. The slice exposed and fixed source-layer gaps for nested storage structs behind storage references: internal storage-parameter binding can now alias a storage-ref path such asset._inner, storage array push/pop and push-assignment can operate through storage-ref paths such asset._values, and sourcelengthover a storage-root/storage-ref path reads the abstract storage path length instead of treating the array as an in-memory value. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-enumerable-setpasses; fullscripts/compare_forge_solc_interpreter.shpasses withcases=33andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 33 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; tab/trailing-whitespace scan; scoped Lean no-hole/no-partial scan; and generated BitMaps/EnumerableSet Forge artifact cleanup are green. Source: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/structs/EnumerableSet.sol. - 2026-05-18 16:20 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; manifest has 33 cases and the latest recorded full paired Forge/solc/imported-Lean run passed with
cases=33andpaired_cases_passed=yes. - 2026-05-18 16:43 PDT - test-harness/openzeppelin-safecast-real-project - added an import-free, assembly-free OpenZeppelin Contracts v5.6.1
SafeCastslice covering selected checked unsigned downcasts, signed-to-unsigned conversion, signed downcasts, unsigned-to-signed conversion,type(T).min/max, named returns, and custom-error payloads. The Forge side checks success and revert behavior against ordinary solc/EVM execution; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter. The slice exposed and fixed a source executable-projection gap: binary operands in conditions now lower through the source type environment/common operand type when local type information is needed, so Solidity contextual typing for signed literal comparisons and explicit casts such asuint256(type(int256).max)is preserved instead of degrading to word-vs-int runtime mismatches. Primitivetype(intN).min/maxandtype(uintN).min/maxmember expressions also now expose their source ABI type to the projection. Verification: direct Forge for the fixture passed; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-safecastpasses; fullscripts/compare_forge_solc_interpreter.shpasses withcases=34andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 34 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; tab/trailing-whitespace scan; scoped Lean no-hole/no-partial scan; and generated SafeCast Forge artifact cleanup are green. Source: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/math/SafeCast.sol. - 2026-05-18 16:51 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; current checkpoint is confirming whether the newly added OpenZeppelin Arrays slice makes the full paired Forge/solc/imported-Lean harness green at 35 cases.
- 2026-05-18 17:05 PDT - test-harness/openzeppelin-arrays-real-project - added an assembly-free OpenZeppelin Contracts v5.6.1
Arrays/Math.averageslice, preserving Solidity-level binary-search behavior over memory and storage arrays while keeping EVM byte-addressed memory layout abstract. The Forge side checks lower/upper bounds, legacyfindUpperBound, empty memory arrays, storage seeding, and overflow-safe average behavior; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter. Verification: direct Forge for the fixture passed; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-arrayspassed; the full pairedscripts/compare_forge_solc_interpreter.shrun completed successfully with the 35-case manifest; manifest parse reportscases=35and last caseopenzeppelin-arrays; generated Arrays Forge artifacts were cleaned. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/Arrays.sol and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/math/Math.sol. - 2026-05-18 17:38 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; manifest currently has 35 paired cases green, while the in-progress OpenZeppelin Checkpoints slice is not yet counted because its executable projection is still being isolated.
- 2026-05-18 20:27 PDT - test-harness/openzeppelin-checkpoints-real-project - completed an import-inlined, assembly-free OpenZeppelin Contracts v5.6.1
CheckpointsTrace256 slice, keeping byte-addressed storage/memory layout abstract while checking ordered checkpoint insertion, same-key updates,latestCheckpointtuple returns, storage-arrayat/field reads, lower/upper binary lookup behavior, and rollback on unordered insertion. The slice exposed and fixed source-layer gaps: executable projection now supports returning all values from a multi-return internal/library call by capturing callee return slots, and the typechecker consistently qualifies contract-local state-variable types and enum/type-name member expressions so local struct/enum constructors and state vars agree with imported solc ASTs. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-checkpointspasses; focused--only source-declarationspasses after the local-type qualification repair; fullscripts/compare_forge_solc_interpreter.shpasses withcases=36andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 36 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; tab/trailing-whitespace scan; scoped Lean no-hole/no-partial scan; and generated Checkpoints Forge artifact cleanup are green. Source: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/structs/Checkpoints.sol. - 2026-05-18 20:44 PDT - compaction-resume - resumed the ongoing Forge/solc/interpreter expansion goal after compaction; current checkpoint is adding another broad real-project Solidity slice beyond the 36 green cases while keeping import resolution, inline assembly/Yul, and Solidity-to-Yul lowering out of scope.
- 2026-05-18 21:13 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; current checkpoint is distinguishing the last fully green 36-case paired run from the newly added OpenZeppelin ERC721 slice, whose Forge side passes but whose imported-Lean executable projection is still failing.
- 2026-05-18 21:25 PDT - compaction-resume - resumed the ongoing Forge/solc/interpreter harness expansion after compaction; current checkpoint is repairing the OpenZeppelin ERC721 core executable-projection failure so the 37-case manifest can become fully paired-green.
- 2026-05-18 22:43 PDT - status/forge-harness - full paired
scripts/compare_forge_solc_interpreter.shnow passes withcases=37andpaired_cases_passed=yes, including the new OpenZeppelin ERC721 core slice. - 2026-05-18 23:03 PDT - test-harness/openzeppelin-erc1155-core-real-project - added an import-inlined, assembly-free OpenZeppelin Contracts v5.6.1 ERC1155 core slice, keeping contract receiver acceptance hooks out of scope with inline assembly/Yul and bytecode-level receiver inspection. The Forge side checks URI metadata and updates, ERC165/ERC1155/interface IDs, single mint/transfer/burn, batch mint/transfer,
balanceOfBatch, operator approval/unset, custom-error selectors, and rollback for missing approval, invalid receiver/operator, array length mismatch, and insufficient balance. The imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including dynamic memory array allocation and returns, nested balance mappings, batch array arguments, constructor URI initialization, short-circuit authorization, and custom-error payloads. Verification: direct Forge for the fixture passes 5 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-erc1155-corepasses; fullscripts/compare_forge_solc_interpreter.shpasses withcases=38andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 38 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated ERC1155 Forge artifact cleanup are green. Source: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/token/ERC1155/ERC1155.sol. - 2026-05-18 23:22 PDT - test-harness/openzeppelin-erc6909-core-real-project - added an import-inlined OpenZeppelin Contracts v5.6.1 ERC6909 core slice. The Forge side checks ERC165/ERC6909 interface IDs, mint/transfer/burn, per-token allowances, infinite allowance preservation, operator approval/unset, transferFrom behavior, custom-error selectors, and rollback for invalid receiver/spender, insufficient allowance, and insufficient balance. The imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including triple-nested allowance mappings,
type(uint256).max, authorization short-circuiting through operators, bool returns, and revert payloads. Verification: direct Forge for the fixture passes 4 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-erc6909-corepasses; fullscripts/compare_forge_solc_interpreter.shpasses withcases=39andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 39 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated ERC6909 Forge artifact cleanup are green. Source: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/token/ERC6909/ERC6909.sol. - 2026-05-18 23:33 PDT - compaction-resume - resumed the ongoing Forge/solc/interpreter expansion goal after compaction; current checkpoint is repairing the Uniswap V3 math slice so the 40-case manifest can become fully paired-green.
- 2026-05-18 23:57 PDT - test-harness/uniswap-v3-math-real-project - completed an import-inlined, assembly-free Uniswap V3 Core math slice covering
BitMathand thegetSqrtRatioAtTickhalf ofTickMath;getTickAtSqrtRatioremains out of scope because upstream uses inline assembly/Yul. The Forge side checks most/least-significant-bit scans, zero-input reverts, TickMath bounds, and known sqrt-ratio constants; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including shift assignments,type(T).maxmasks, signed tick widening/absolute-value casts, unchecked ratio arithmetic, and revert-string bounds. The slice exposed and fixed a source executable projection gap: context-aware ternary lowering now lowers the condition and both branches under the current type environment, so signed comparisons such astick < 0 ? ... : ...use Solidity's operand typing instead of the older env-blind expression path. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only uniswap-v3-mathpasses; fullscripts/compare_forge_solc_interpreter.shpasses withcases=40andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 40 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated Uniswap V3 math Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/Uniswap/v3-core/main/contracts/libraries/BitMath.sol and https://raw.githubusercontent.com/Uniswap/v3-core/main/contracts/libraries/TickMath.sol. - 2026-05-19 00:15 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; manifest has 41 cases, the last fully logged paired run is green at 40, and the OpenZeppelin MerkleProof case is queued for focused paired verification before being counted as fully green.
- 2026-05-19 00:28 PDT - status/forge-harness - focused
scripts/compare_forge_solc_interpreter.sh --only openzeppelin-merkle-proofpasses, and the full pairedscripts/compare_forge_solc_interpreter.shnow passes withcases=41andpaired_cases_passed=yes. - 2026-05-19 00:49 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; last recorded full paired run is green at 41 cases, with the OpenZeppelin DoubleEndedQueue slice still in progress and not yet counted.
- 2026-05-19 00:59 PDT - compaction-resume - resumed the ongoing Forge/solc/interpreter harness expansion after compaction; current checkpoint is fixing the OpenZeppelin DoubleEndedQueue executable projection so it can become paired case 42.
- 2026-05-19 01:53 PDT - test-harness/openzeppelin-double-ended-queue-real-project - added an import-inlined, assembly-free OpenZeppelin Contracts v4.9.6 DoubleEndedQueue bytes32 deque slice, plus the two SafeCast helpers it uses. The Forge side checks push/pop at both ends, signed begin/end window movement,
front/back/at, customEmpty/OutOfBoundsreverts, SafeCast failure for indexes aboveint256.max, andclearfollowed by reuse. The imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including signed int128 deque indexes, mapping keys, checked vs unchecked arithmetic, named internal return-slot hygiene, and contextual typing of integer literals in binary expressions. Private raw storage layout introspection was intentionally not modeled or tested at this Solidity source layer. Verification: direct Forge for the fixture passes 4 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-double-ended-queuepasses; fullscripts/compare_forge_solc_interpreter.shpasses withcases=42andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 42 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated DoubleEndedQueue Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/structs/DoubleEndedQueue.sol and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/math/SafeCast.sol. - 2026-05-19 02:00 PDT - compaction-resume - resumed the ongoing Forge/solc/interpreter harness expansion after compaction; current checkpoint is finishing the in-progress Uniswap V2 libraries real-project slice so it can become paired case 43.
- 2026-05-19 02:30 PDT - compaction-resume - resumed the ongoing Forge/solc/interpreter harness expansion after compaction; current checkpoint is repairing the typed library/internal-call executable-projection regression, restoring the 42-case paired baseline, then landing the Uniswap V2 libraries slice as case 43.
- 2026-05-19 03:19 PDT - compaction-resume - resumed the ongoing Forge/solc/interpreter harness expansion after compaction; current checkpoint is diagnosing the Uniswap V2
encodepanic around2 ** 112, preserving the green 42-case baseline, and landing the libraries slice as paired case 43. - 2026-05-19 03:44 PDT - test-harness/uniswap-v2-libraries-real-project - added an import-inlined, assembly-free Uniswap V2 libraries slice covering SafeMath, Math
min/sqrt, UQ112x112encode/uqdiv, and peripherysortTokens/pairFor/quote/getAmountOut/getAmountIn. The Forge side checks pair derivation, pricing math, fixed-point helpers, SafeMath, and revert strings; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter. The slice exposed and fixed a source executable-projection gap: extracted internal library helpers now inline constants from their own library plus source-level constants, instead of only the target contract's constant environment, souint224 internal constant Q112 = 2 ** 112is available in the helper body without modeling EVM layout. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only uniswap-v2-libraries --timeout 300passes; fullscripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=43andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 43 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated Uniswap V2 Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/Uniswap/v2-periphery/master/contracts/libraries/SafeMath.sol, https://raw.githubusercontent.com/Uniswap/v2-periphery/master/contracts/libraries/UniswapV2Library.sol, https://raw.githubusercontent.com/Uniswap/v2-core/master/contracts/libraries/Math.sol, and https://raw.githubusercontent.com/Uniswap/v2-core/master/contracts/libraries/UQ112x112.sol. - 2026-05-19 03:50 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; manifest has 43 paired cases and the latest recorded full paired Forge/solc/imported-Lean run passed with
cases=43andpaired_cases_passed=yes. - 2026-05-19 04:33 PDT - compaction-resume - resumed the ongoing Forge/solc/interpreter harness expansion after compaction; current checkpoint is promoting the focused-green Solmate ERC20/EIP-2612 slice to a full 44-case paired run and final audit/build evidence.
- 2026-05-19 05:06 PDT - test-harness/solmate-erc20-real-project - added an import-inlined Solmate ERC20/EIP-2612 real-project slice. The Forge side checks constructor metadata/getters/domain separator, mint/burn/transfer/allowance/transferFrom/max allowance, a positive
permitpath using Foundry signing, expired permit rejection, and transfer underflow rollback; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter for metadata/domain separator, ERC20 state flow, and expired permit rollback while keeping the full permit body source-checkable. The slice exposed and fixed source-layer gaps: explicit dynamicstring <-> bytesconversions now typecheck, annotated storagebytes(string(name))lowers to abstract storage bytes instead of EVM layout, ABIencode/encodePackedarguments can hoist real single-return internal calls such asDOMAIN_SEPARATOR()into typed temps, and the full-suite rerun exposed an older low-level-call-options regression where annotated localbytes(payload)needed to project back to the abstract local bytes value. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only solmate-erc20 --timeout 300passes; focused--only low-level-call-options --timeout 300passes after the projection repair; fullscripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=44andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 44 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated Solmate Forge artifact cleanup are green. Source: https://raw.githubusercontent.com/transmissions11/solmate/main/src/tokens/ERC20.sol. - 2026-05-19 05:22 PDT - test-harness/openzeppelin-nonces-real-project - added an import-free OpenZeppelin Contracts v5.6.1
Noncesslice. The Forge side checksnonces,_useNoncepost-increment return behavior,_useCheckedNoncesuccess, custom-error failure data, rollback after a failed checked nonce, and independence across accounts; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including mapping post-increment in an internal return expression, named multi-returns in the harness, and custom-error rollback. Verification: direct Forge for the fixture passes 3 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-nonces --timeout 300passes; fullscripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=45andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 45 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated Nonces Forge artifact cleanup are green. Source: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/Nonces.sol. - 2026-05-19 05:31 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; the last fully green paired run is 45 cases, and the in-progress OpenZeppelin PaymentSplitter fixture is Forge-green but not yet paired-green.
- 2026-05-19 05:55 PDT - test-harness/openzeppelin-payment-splitter-real-project - added an import-inlined, ETH-only OpenZeppelin Contracts v4.9.6
PaymentSplitterslice, keeping ERC20/SafeERC20 import dependencies, inline assembly/Yul, and byte-addressed EVM layout out of scope. The Forge side checks constructor payee/share bookkeeping, receive/event behavior, proportional ETH release, low-level ETH send success/failure rollback, and constructor zero/duplicate payee reverts; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including constructor memory-array iteration, inherited_msgSender, abstractaddress(this).balance, type-name library calls, and abstract low-level calls with value. The slice exposed and fixed a source executable-projection gap: returning an internal/public call whose argument contains another single-return internal/public call now hoists that argument into a typed temporary before evaluating the outer call, matching the existing source-level left-to-right/Yul-like internal-call argument strategy. Verification: direct Forge for the fixture passes; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-payment-splitter --timeout 300passes; fullscripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=46andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 46 rendered sources and all hard gates zero;/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated PaymentSplitter Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/finance/PaymentSplitter.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/Address.sol, and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/Context.sol. - 2026-05-19 06:02 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; manifest has 46 paired cases, and the last full paired Forge/solc/imported-Lean run passed with
cases=46andpaired_cases_passed=yes. - 2026-05-19 06:33 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; the OpenZeppelin RefundEscrow focused paired case is green, the manifest has 47 cases, and the full 47-case paired harness is being polled before counting it as fully green.
- 2026-05-19 06:45 PDT - status/forge-harness - full paired
scripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=47andpaired_cases_passed=yes, including the new OpenZeppelin RefundEscrow slice. - 2026-05-19 07:16 PDT - test-harness/openzeppelin-enumerable-map-real-project - added an import-inlined, assembly-free OpenZeppelin Contracts v4.9.6
EnumerableMap/EnumerableSetslice, omitting the upstream memory-layoutkeys()helpers while preserving the Solidity-level typed map wrappers. The Forge side checksUintToAddressMapinsertion/update/tryGet/at/removal andAddressToUintMapzero-value membership, tuple returns, missing-key revert, and removal behavior; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter. The slice exposed and fixed a source executable-projection gap:using forexpansion over overloaded library methods now tries all same-name inline-library overloads and selects the one whose receiver and arguments match, instead of checking only the first overload and falling back to an external call on a storage value. Verification: direct Forge for the fixture passes 3 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-enumerable-map --timeout 300passes; fullscripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=48andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 48 rendered sources and all hard gates zero;/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest/interface/progress tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated EnumerableMap/RefundEscrow Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/structs/EnumerableMap.sol and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/structs/EnumerableSet.sol. - 2026-05-19 07:20 PDT - compaction-resume - resumed after compaction while selecting OpenZeppelin ERC20Snapshot as the next real-project paired Forge/solc/imported-Lean slice; current verified baseline is 48 paired-green cases.
- 2026-05-19 07:48 PDT - test-harness/openzeppelin-erc20-snapshot-real-project - added an import-inlined, assembly-free OpenZeppelin Contracts v4.9.6
ERC20Snapshot/ERC20/Arrays/Counters/Contextslice. The Forge side checks snapshot id sequencing, historical balances and total supply across mint/transfer/burn, snapshot-id validation reverts, duplicate-snapshot-entry suppression across repeated transfers, and allowance-driventransferFrom; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including base-constructor metadata, inherited hooksupercalls, storage structs containing dynamic arrays, binary-search historical lookup, allowance spending, and rollback-shaped validation reverts. No source semantics change was needed for this slice; it fit the current abstract Solidity model. Verification: direct Forge for the fixture passes 4 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-erc20-snapshot --timeout 300passes; fullscripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=49andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 49 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest/progress tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated ERC20Snapshot Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/token/ERC20/extensions/ERC20Snapshot.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/token/ERC20/ERC20.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/Arrays.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/Counters.sol, and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/Context.sol. - 2026-05-19 08:08 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; manifest has 50 cases, the verified paired baseline remains 49, and the OpenZeppelin ERC20 capped/pausable slice is Forge-green but still blocked in the imported-Lean executable projection.
- 2026-05-19 08:48 PDT - test-harness/openzeppelin-erc20-capped-pausable-real-project - added an import-inlined, assembly-free OpenZeppelin Contracts v4.9.6
ERC20Capped/ERC20Pausable/Ownable/Pausable/ERC20/Contextdiamond-inheritance slice. The Forge side checks constructor owner/cap/metadata, owner-gated mint/pause/unpause/ownership transfer, cap rollback, paused transfer/mint/burn rollback, burn after unpause, and balance/supply preservation. The imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including multiple inheritance override dispatch, inherited modifiers, base constructor metadata, immutable cap state, finalsuper._mint/hook chains, revert rollback, and owner context changes. The slice exposed and fixed source executable-projection gaps: diamond storage-order flattening now deduplicates virtual bases before collecting state vars, and internal-call-aware type inference now recurses through expressions such astotalSupply() + amount <= cap()so inherited helper bodies can allocate typed temporaries for nested internal/public calls. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-erc20-capped-pausable --timeout 300passes; fullscripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=50andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 50 rendered sources and all hard gates zero;/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checked; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest/interface/progress tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated capped/pausable Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/token/ERC20/extensions/ERC20Capped.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/token/ERC20/extensions/ERC20Pausable.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/token/ERC20/ERC20.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/access/Ownable.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/security/Pausable.sol, and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/Context.sol. - 2026-05-19 09:13 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; current checkpoint is confirming whether the OpenZeppelin ERC721Enumerable slice has promoted the paired Forge/solc/imported-Lean harness from 50 to 51 fully green cases.
- 2026-05-19 09:30 PDT - test-harness/openzeppelin-erc721-enumerable-real-project - added an import-inlined, assembly-free OpenZeppelin Contracts v4.9.6 ERC721Enumerable/ERC721 slice, omitting safe-transfer receiver bytecode checks with inline assembly/Yul and bytecode-level receiver inspection while preserving the Solidity-level enumerable bookkeeping. The Forge side checks interface IDs, metadata, mint enumeration, owner/global token lookup, transfer owner swap-and-pop, approved burn owner/global swap-and-pop, duplicate/bounds reverts, and rollback. The imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including inherited hook
superdispatch, dynamic storage-array push/pop, mapping-index deletes, approvals, burn/transfer paths, enumeration arrays, and revert rollback. No core semantics change was needed after localizing nested internal-call arguments and trimming the safe-transfer receiver surface. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-erc721-enumerable --timeout 300passes; fullscripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=51andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 51 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest/interface/progress tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated ERC721Enumerable Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/token/ERC721/extensions/ERC721Enumerable.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/token/ERC721/ERC721.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/introspection/ERC165.sol, and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/Context.sol. - 2026-05-19 10:13 PDT - test-harness/openzeppelin-access-control-enumerable-real-project - added an import-inlined, assembly-free OpenZeppelin Contracts v5.6.1
AccessControlEnumerable/AccessControl/EnumerableSet.AddressSetslice, omitting upstreamvalues()helpers because they use memory-layout assembly while preserving source-level role enumeration. The Forge side checks admin enumeration, ERC165/access/enumerable interface IDs, duplicate grant suppression, revoke swap-and-pop enumeration, bounds revert, delegated admin grants, custom-error rollback,touchmodifier authorization, and renounce removal. The imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including interface inheritance, inherited concrete implementations satisfying interface declarations, nested storage structs behind role mappings,using forAddressSet calls, address/bytes32 casts, custom-error rollback, and sender-sensitive role administration. The slice exposed and fixed a source typechecker over-strictness: duplicate inherited override members now require an explicit override only when there is a real multiple-concrete-implementation conflict; an abstract interface declaration satisfied by one inherited concrete implementation is accepted, matching solc. Verification: direct Forge passes 3 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-access-control-enumerable --timeout 300passes; fullscripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=52andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 52 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest/typechecker/progress tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/access/extensions/AccessControlEnumerable.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/access/AccessControl.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/access/extensions/IAccessControlEnumerable.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/structs/EnumerableSet.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/introspection/ERC165.sol, and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/Context.sol. - 2026-05-19 10:48 PDT - test-harness/openzeppelin-erc1155-supply-real-project - added an import-inlined, assembly-free OpenZeppelin Contracts v5.6.1
ERC1155Supply/ERC1155slice, omitting contract receiver bytecode checks and the upstreamArrays.unsafeMemoryAccessmemory-layout helper while preserving source-level ERC1155 supply behavior. The Forge side checks metadata/interface IDs, overloadedtotalSupply()andtotalSupply(uint256),exists, batch mint supply increments, operator batch transfer without supply changes, single and batch burn decrements, and rollback for array length mismatch and insufficient balance. The imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including inherited_updateoverride dispatch throughsuper, overloaded public functions selected by argument shape, dynamic memory arrays, per-id and aggregate supply mappings, sender-sensitive approval/transfer flow, and custom-error rollback. No core semantics change was required for this slice. Verification: direct Forge passes 3 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-erc1155-supply --timeout 300passes; fullscripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=53andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 53 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest/typechecker/progress tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/token/ERC1155/extensions/ERC1155Supply.sol and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/token/ERC1155/ERC1155.sol. - 2026-05-19 11:19 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; current checkpoint is confirming the 54-case paired Forge/solc/imported-Lean status after adding the OpenZeppelin ERC1155 pausable/supply slice.
- 2026-05-19 11:20 PDT - test-harness/openzeppelin-erc1155-pausable-supply-real-project - added an import-inlined, assembly-free OpenZeppelin Contracts v5.6.1
ERC1155Supply/ERC1155Pausable/ERC1155/Pausableslice, omitting contract receiver bytecode checks and the upstreamArrays.unsafeMemoryAccessmemory-layout helper while preserving source-level ERC1155 supply and pause behavior. The Forge side checks metadata/interface IDs, overloadedtotalSupply()andtotalSupply(uint256),exists, batch mint/transfer/burn supply behavior, pause/unpause, and rollback for paused mint/transfer/burn. The imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including sibling_updateoverridesuperlinearization, Pausable modifiers/custom errors, dynamic arrays, overloaded functions, per-id/all supply mappings, sender-sensitive transfer approval, and rollback. No core semantics change was required for this slice. Verification: direct Forge passes 4 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-erc1155-pausable-supply --timeout 300passes; fullscripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=54andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 54 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest/typechecker/progress tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/token/ERC1155/extensions/ERC1155Supply.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/token/ERC1155/extensions/ERC1155Pausable.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/token/ERC1155/ERC1155.sol, and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/Pausable.sol. - 2026-05-19 12:39 PDT - test-harness/openzeppelin-erc721-royalty-real-project - added an import-inlined, assembly-free OpenZeppelin Contracts v4.9.6
ERC721Royalty/ERC721/ERC2981/ERC165slice, omitting safe-transfer receiver bytecode checks and import resolution while preserving the Solidity-level ERC721 royalty behavior. The Forge side checks metadata/interface IDs, default royalty math, per-token royalty override/reset/delete, approved burn cleanup, post-burn owner/approval reverts, and rollback for invalid royalty receiver and fee settings. The imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including multiple-inheritancesupportsInterfacesuper-linearization, storage structs copied through mappings,uint96royalty fractions, delete/reset of struct storage, royalty amount truncation, sender-sensitive approval-mediated burn, and revert rollback. No core semantics change was required for this slice. Verification: direct Forge passes 4 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-erc721-royalty --timeout 300passes; fullscripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=55andpaired_cases_passed=yes; isolated batched replay of all 55 manifest cases also passes withbatched_paired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 55 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest/typechecker/progress tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/token/ERC721/extensions/ERC721Royalty.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/token/common/ERC2981.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/token/ERC721/ERC721.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/introspection/ERC165.sol, and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.9.6/contracts/utils/Context.sol. - 2026-05-19 13:19 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; current checkpoint is distinguishing the fully logged 55-case paired-green baseline from the in-progress OpenZeppelin ERC721URIStorage case 56.
- 2026-05-19 13:44 PDT - status/forge-harness - isolated batched replay now passes all 56 manifest cases, including the new OpenZeppelin ERC721URIStorage slice, with every per-case log showing
case_result=<case> forge=ok lean=okandpaired_cases_passed=yes. - 2026-05-19 14:33 PDT - test-harness/openzeppelin-ecdsa-real-project - added an import-inlined, assembly-free OpenZeppelin Contracts v5.6.1
ECDSAslice covering the no-assemblyv/r/sand ERC-2098r/vsoverloads. The upstream byte-signature parsing overloads and parse helpers remain out of scope because they use inline assembly/Yul. The Forge side checks Foundry-signed recovery, method-styleusing forrecovery, ERC-2098 short signature recovery, high-srejection withECDSAInvalidSignatureS(bytes32), and invalid-signature custom-error behavior. The imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including overloaded direct internal library calls, method-styleusing for, fixed-bytes bit operations, enum recovery statuses, custom-error reverts, and sharedecrecoverprecompile results supplied through the source-layer external context. The slice exposed and fixed a source executable-projection gap: direct type-name library calls now select among all same-name internal/external library overloads by argument shape instead of trying only the first same-name function. Verification: direct Forge passes 4 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-ecdsa --timeout 300passes; monolithic full harness under the current tree proves cases 1-21 before hitting the known stale-session/no-active-process log quirk athigh-level-call-options; isolated replay of cases 22-57 passes withbatched_22_to_57_passed=yes, includingopenzeppelin-ecdsa;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 57 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest/interface/typechecker/progress tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated ERC721URIStorage/ECDSA Forge artifact cleanup are green. Source: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/cryptography/ECDSA.sol. - 2026-05-19 14:39 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; manifest has 57 cases, with OpenZeppelin ECDSA as the last fully paired-green case and OpenZeppelin ERC2771Context still only queued.
- 2026-05-19 15:13 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; manifest has 58 cases, with OpenZeppelin ERC2771Context as the latest focused paired-green case and OpenZeppelin Multicall still only queued.
- 2026-05-19 14:57 PDT - test-harness/openzeppelin-erc2771-context-real-project - added an import-inlined, assembly-free OpenZeppelin Contracts v5.6.1
ERC2771Context/Contextslice, keeping import resolution and inline assembly/Yul out of scope while preserving Solidity-level meta-transaction calldata suffix behavior. The Forge side checks trusted-forwarder immutables, direct sender/data, forwarded sender extraction, forwarded_msgData()suffix stripping, untrusted sender fallback, and trusted short-calldata fallback. The imported-Lean side checks the same solc AST through raw ABI calldata calls into the abstract Solidity interpreter, including constructor-set immutable state,msg.dataas calldata, calldata length/slices,bytes20(msg.data[...])to address extraction, appended sender suffixes, dynamic bytes ABI payloads, and a three-value return tuple whose first element is an internal helper call. The slice exposed and fixed source-layer gaps:msg.datanow carries calldata location in the common typechecker, and the executable projection handles a three-value return tuple headed by a single-return internal call. Verification: direct Forge passes 4 tests; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-erc2771-context --timeout 300passes; focused regressions forentrypoint-slice-control,openzeppelin-ecdsa, andlow-level-call-optionspass;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 58 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; new-fixture/manifest/interface/typechecker/progress tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated ERC2771Context Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/metatx/ERC2771Context.sol and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/Context.sol. - 2026-05-19 17:03 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; manifest has 58 cases, with OpenZeppelin ERC2771Context as the latest focused paired-green case and OpenZeppelin Multicall still not promoted.
- 2026-05-19 21:17 PDT - test-harness/openzeppelin-multicall-real-project - promoted the import-inlined, assembly-free OpenZeppelin Contracts v5.6.1
Multicall/Context/Address.functionDelegateCallslice as manifest case 59, keeping import resolution, inline assembly/Yul, byte-level revert bubbling, and EVM memory layout outside the source layer while preserving Solidity-levelbytes[] calldataiteration andbytes.concatcontext propagation. The Forge side checks delegatecalls to self returningbytes[], forwarded ERC2771-style suffix propagation into subcall calldata, and delegatecall failure reverts. The imported-Lean side checks the same solc AST through the abstract Solidity interpreter, including abstract delegatecall request/return traces, raw ABI calldata with appended sender suffixes, dynamic array returns of dynamic bytes, and the library helper path. The slice exposed and fixed two source-layer gaps: function return coercion now deep-dereferences nested abstract memory refs so memory arrays of dynamic values return as Solidity values rather than leakedmemoryRefs, and source-core list lowering for local declarations initialized by ternaries now uses the same target-aware condition/branch elaboration as assignment lowering so locals such as Multicall'scontextremain in scope for following statements. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-multicall --timeout 300passes withcase_result=openzeppelin-multicall forge=ok lean=okandpaired_cases_passed=yes; focused regressions foropenzeppelin-erc2771-context,low-level-call-options, andopenzeppelin-ecdsapass;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 59 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse showing 59 cases withopenzeppelin-multicalllast;git diff --check; new-fixture/manifest/interpreter/interface/typechecker/progress tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated Multicall Forge artifact cleanup are green. Sources: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/Multicall.sol, https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/Context.sol, and https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/Address.sol. - 2026-05-19 21:20 PDT - compaction-resume - resumed the active Forge/solc/interpreter harness expansion goal after context compaction; current checkpoint is counting the working Forge cases before continuing with the next real-project slice.
- 2026-05-20 08:54 PDT - compaction-resume - resumed the Timers real-project case after compaction; current checkpoint is manifest-patched but not yet focused-harness verified, so the last fully paired-green baseline remains 59 cases.
- 2026-05-20 08:58 PDT - status/forge-harness - manifest parses with 60 cases and tail
openzeppelin-timers;lake build SolidCore.Spine.L00_SourceSolidity.Interfacepasses, and focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-timers --timeout 300passes withcase_result=openzeppelin-timers forge=ok lean=okandpaired_cases_passed=yes. The latest full all-case sweep still needs rerun, but individually verified paired coverage is now 60 cases. - 2026-05-20 09:42 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; manifest has 61 cases, with 58 currently counted as paired Forge/solc/imported-Lean green and three known regressions still open (
openzeppelin-enumerable-map,openzeppelin-erc20-snapshot, andopenzeppelin-ecdsa). - 2026-05-20 10:08 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; manifest has 61 cases, and the latest focused regression evidence has repaired
openzeppelin-enumerable-mapandopenzeppelin-ecdsa, leavingopenzeppelin-erc20-snapshotas the only known red case before a fresh full sweep. - 2026-05-20 11:05 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; the latest full harness evidence has 61 manifest cases with 60 paired Forge/solc/imported-Lean cases green, after repairing
openzeppelin-erc20-snapshot, leavingopenzeppelin-vesting-walletred in checked executable translation isolated torelease(address). - 2026-05-20 11:42 PDT - status/forge-harness - repaired the remaining
openzeppelin-vesting-walletexecutable translation regression by letting direct andusinglibrary-call overload matching try the source signature before the library-qualified signature, so source-unit interface parameters such asOpenZeppelinVestingIERC20still match while library-local types keep their qualified fallback. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Interfacepasses; focused regression batch foropenzeppelin-vesting-wallet,openzeppelin-erc20-snapshot,openzeppelin-enumerable-map,openzeppelin-ecdsa,frontend-frontier,openzeppelin-timers, andopenzeppelin-nonces-keyedpasses; fullscripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=61andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 61 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; scoped tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated Forge artifact cleanup are green. - 2026-05-20 12:13 PDT - compaction-resume - resumed the active Forge/solc/interpreter harness expansion after compaction; current checkpoint is 62 paired cases green, with OpenZeppelin SignedMath landed, and the next step is adding another real-project source slice.
- 2026-05-20 12:58 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; manifest has 63 cases with OpenZeppelin Time queued, direct Forge is green for that new slice, and the last fully paired Forge/solc/imported-Lean baseline remains 62 cases while Time is still failing checked executable projection.
- 2026-05-20 13:51 PDT - compaction-resume - resumed after compaction while promoting OpenZeppelin Time; focused Time and terminal-statement regressions are green, but the full 63-case sweep is still blocked by an
openzeppelin-erc1155-coresemantic mismatch, so the next step is isolating that focused case. - 2026-05-20 14:27 PDT - test-harness/openzeppelin-time-real-project - promoted the import-inlined, assembly-free OpenZeppelin Contracts v5.6.1
Timeslice as manifest case 63, coveringDelaypacking/unpacking, timestamp/block-number wrappers, delay updates, andTime.max. The Forge side checks clock accessors, packing round trips, delayed update behavior, and max helpers; the imported-Lean side checks the same solc AST through the abstract Solidity interpreter. The slice exposed and fixed source executable-projection gaps for tuple assignment from internal multi-return calls, tuple variable declarations with holes, contextual multi-return ternaries, late direct library calls after locals enter scope, and preservation ofmemorylocations in tuple var-declaration lowering. Verification: focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-time --timeout 300passes; focusedopenzeppelin-erc1155-corerepair passes after the tuple-memory fix; focused regression batch foropenzeppelin-erc1155-core,openzeppelin-time,terminal-statements,openzeppelin-signed-math,frontend-frontier,openzeppelin-timers, andopenzeppelin-nonces-keyedpasses; fullscripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=63andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 63 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse showingopenzeppelin-timelast;git diff --check; scoped tab/trailing-whitespace scan; scoped no-hole/no-partial scan; and generated Forge artifact cleanup are green. Source: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.6.1/contracts/utils/types/Time.sol. - 2026-05-20 14:36 PDT - compaction-resume/status - resumed after compaction to answer the current Forge-case count; the last logged full paired sweep is 63 cases green, and the in-progress Compound Timelock slice is direct-Forge green but still blocked in checked executable projection before it can become manifest case 64.
- 2026-05-20 15:48 PDT - compaction-resume/status - resumed after compaction while answering the overall Solidity-semantics project status; current checkpoint is polling the 64-case full paired Forge/solc/imported-Lean sweep after the Compound Timelock slice focused and regression evidence passed.
- 2026-05-20 15:50 PDT - test-harness/compound-timelock-real-project - promoted an import-inlined, assembly-free Compound Protocol
Timelockslice as manifest case 64, keeping import resolution and inline assembly/Yul outside the Solidity source layer while preserving queue/cancel/execute,SafeMath.add, self-only admin delay changes, payable low-level calls, raw calldata execution, eta/grace-period guards, events, and rollback. The slice exposed and fixed a source executable-projection gap for nested internal single-return calls inside direct/usinglibrary helper arguments, such aseta >= getBlockTimestamp().add(delay), by typing nested arguments with the internal-call-aware ABI environment and localizing nested call arguments before the outer internal/library call. Verification: direct Forge passes 5 tests; focusedscripts/compare_forge_solc_interpreter.sh --only compound-timelock --timeout 300passes; focused regression batch forcompound-timelock,openzeppelin-time,openzeppelin-erc1155-core,openzeppelin-signed-math,frontend-frontier,low-level-call-options, anduniswap-v2-librariespasses; fullFORGE=/Users/dan/.foundry/bin/forge scripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=64andpaired_cases_passed=yes;python3 scripts/audit_solc_ast_frontend.py --solc /Users/dan/.local/bin/solcpasses with 64 rendered sources and all hard gates zero; full/Users/dan/.elan/bin/lake build; Python compile;bash -n; manifest JSON parse;git diff --check; scoped tab/trailing-whitespace scan; and scoped no-hole/no-partial scan are green. Sources: https://raw.githubusercontent.com/compound-finance/compound-protocol/master/contracts/Timelock.sol and https://raw.githubusercontent.com/compound-finance/compound-protocol/master/contracts/SafeMath.sol. - 2026-05-20 16:04 PDT - compaction-resume/status - resumed after compaction while answering the overall project status; last fully recorded paired sweep remains 64 green cases, and the manifest now has an in-progress 65th Compound ExponentialNoError case whose Forge/source acceptance pass but checked executable projection is still being repaired.
- 2026-05-20 16:51 PDT - compaction-resume/status - resumed after compaction to answer the overall project status; current evidence remains 64 fully paired Forge/solc/imported-Lean cases green, with the 65th Compound ExponentialNoError case present in the manifest and still being checked against the executable projection.
- 2026-05-20 17:12 PDT - status/project - manifest parses with 65 cases and tail
compound-exponential-no-error; the current counted baseline remains the 64-case full paired Forge/solc/imported-Lean sweep from Compound Timelock, and a freshlake build SolidCore.Spine.L00_SourceSolidity.Interfacecompleted successfully after recompiling the large source interface. - 2026-05-20 17:44 PDT - compaction-resume/status - resumed after compaction while answering the overall Solidity-semantics project status; current checkpoint is checking whether the 65th Compound ExponentialNoError case passes after preserving source struct tags for overload resolution while still lowering structs to abstract core tuples.
- 2026-05-20 19:36 PDT - status/project - promoted the Compound
ExponentialNoErrorslice as manifest case 65 and restored the full paired green baseline. The slice exposed and fixed source executable-projection gaps for struct-tag tuple return projection, nested internal-call argument typing during overload selection, all-arguments-before-parameter binding for internal calls to avoid name shadowing such asgreaterThanExp(right, left), and raw ABIError(string)fixture normalization for safe-downcast reverts. The follow-up full sweep exposed an OpenZeppelin EnumerableMap regression where post-structusinglibrary dispatch missed qualified/unqualified nested struct shapes; nominal path matching now accepts exact paths or same-last-segment unqualified matches for user/struct shapes while preserving abstract struct lowering. Verification:/Users/dan/.elan/bin/lake build SolidCore.Spine.L00_SourceSolidity.Checkedpasses; focusedscripts/compare_forge_solc_interpreter.sh --only compound-exponential-no-error --timeout 300passes; focusedscripts/compare_forge_solc_interpreter.sh --only openzeppelin-enumerable-map --timeout 300passes; fullFORGE=/Users/dan/.foundry/bin/forge scripts/compare_forge_solc_interpreter.sh --timeout 300passes withcases=65andpaired_cases_passed=yes. - 2026-05-20 19:38 PDT - compaction-resume - resumed the active Forge/solc/interpreter expansion goal after compaction; the current baseline is 65 paired cases green, and the next concrete candidate is the queued OpenZeppelin MerkleProof slice that is present on disk but not yet in the manifest.
- 2026-05-20 20:48 PDT - compaction-resume/status - resumed after compaction while answering whether fresh Solidity/Forge cases pass immediately; current checkpoint is a 66-case manifest with Compound JumpRateModel focused-green after a source executable-projection repair, while the full paired sweep is still running.
- 2026-06-25 23:28 PDT - semantics/binary-internal-call-regression-and-66-case-baseline - narrowed
FunctionDecl.internalBinarySingleReturnUseCore?so the left-nested-internal-call fallback only claims a binary expression when the ordinary left operand cannot project directly; plain typed binaries now fall back to the existing contextual lowering, restoring signed literal comparisons in OpenZeppelin SafeCast and Uniswap V3 while retaining Compound JumpRateModel expressions such as(utilizationRate(...) * rateToPool) / BASE. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Interface;lake build SolidCore.Spine.L00_SourceSolidity.Checked; focused paired SafeCast, Uniswap V3, and Compound JumpRateModel cases; pinned solc 0.8.35 AST audit across 66 sources with all unseen/excluded/unimplemented/unclassified/render-failure gates zero; Python compile; shell syntax; manifest parse;git diff --check; and the full pinned-solc paired harness withcases=66andpaired_cases_passed=yesare green. The user-selected next semantics priority is direct reference-type aliasing/copying coverage before ABI and remaining typechecker completeness work. - 2026-06-25 23:34 PDT - compaction-resume/reference-assignments - resumed the active source-semantics goal after compaction with the 66-case paired baseline green and a new case 67 differential fixture in progress. Forge confirms eight reference assignment behaviors; the imported interpreter already agrees on six, while whole dynamic-array storage-to-memory and storage-to-storage copies currently revert because recursive whole-array loading is not yet implemented in
State.loadStorageLayoutAt. - 2026-06-26 00:14 PDT - semantics/reference-assignment-and-whole-storage-array-loading - promoted
reference-assignmentsas paired manifest case 67 and completed the abstract reference-copy behavior it exposed.State.loadStorageLayoutAtnow reconstructs fixed and dynamic arrays recursively from their declared source storage layouts, including packed and nested elements, through a computable layout-depth fuel; target-typed state-array copies use the existing wholestoragePathexpression rather than the length-oriented state-array expression. Reads through localstoragealiases now use the same whole-path loader, fixing storage-ref-to-memory copies and makinglocalRef.lengthoperate on the abstract array value. The paired fixture checks fourteen solc behaviors: memory aliasing, calldata-to-memory copying, storage aliasing, dynamic/fixed/packed/nested storage-to-memory copying, dynamic/fixed storage-to-storage copying, copying through a local storage alias, storage-alias length, memory-to-storage copying, memory-struct aliasing, and storage-struct-to-memory copying. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Interface;lake build SolidCore.Spine.L00_SourceSolidity.Checked; focused pairedreference-assignments,frontend-frontier,openzeppelin-checkpoints, andopenzeppelin-enumerable-map; pinned solc 0.8.35 AST audit across 67 rendered sources with all hard gates zero; Python compile; shell syntax; manifest parse; scoped no-hole scan;git diff --check; Forge artifact cleanup; and the full pinned-solc paired harness withcases=67andpaired_cases_passed=yesare green. - 2026-06-26 01:04 PDT - semantics/malformed-abi-and-recursive-width-canonicalization - promoted
abi-malformedas paired manifest case 68 and aligned the source ABI boundary with solc's malformed-input behavior. Matched selectors with undecodable arguments now produce a semantic empty-data revert instead of meta-levelnone; sourceabi.decodefailures also revert empty. The interpreter's codec now enforces the same canonical address, fixed-bytes, and external-function padding rules as external dispatch. RecursiveAbiCleanupmetadata preserves narrow signed/unsigned widths beside abstract core types for function parameters andabi.decode, rejecting noncanonicaluint8, sign-incorrectint8, and malformeduint8[]elements before execution while leaving source arithmetic abstract. The solc-AST importer now recognizes dynamic/fixed array type-expressionIndexAccessnodes such as theuint8[]argument toabi.decode. Differential tests also pin solc's deliberate permissiveness for absent/nonzero dynamic-byte padding, trailing bytes, unaligned offsets, and head-aliasing offsets. Verification: direct Forge passes 8 tests; focused pairedabi-malformed,function-calls,entrypoint-slice-control,try-catch, andcustom-error;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned solc 0.8.35 AST audit across 68 rendered sources with all hard gates zero; Python compile; shell syntax; manifest parse; scoped no-hole scan;git diff --check; and the full pinned-solc paired harness withcases=68andpaired_cases_passed=yesare green. - 2026-06-26 01:10 PDT - compaction-resume/abi-boundaries - resumed the active source-semantics goal after compaction with the 68-case paired baseline green. Forge now pins solc behavior for malformed constructor arguments, generated public-getter inputs, and high-level external return values; constructor and getter cleanup propagation is implemented but not yet rebuilt, and high-level return cleanup propagation remains the immediate open edit.
- 2026-06-26 01:49 PDT - semantics/complete-exposed-abi-canonicality-boundaries - completed recursive ABI canonicality propagation at generated public getters, inheritance-aware constructors, and high-level external return decoding.
tryExternalCallnow carries returnAbiCleanupmetadata and converts malformed decode/canonicality failures into solc-compatible empty-data reverts.ExternalCallKindEntrynow preserves declared return types as well as parameters and mutability, so a call such asreturn I(target).narrowValue()decodes against the callee'suint8ABI before applying the caller'suint256destination conversion. Synthesized constructors preserve only the target constructor's calldata cleanup metadata; base-constructor arguments remain internal. Theabi-malformedfixture now has 11 Forge tests and five imported-Lean evaluations covering ordinary dispatch, nested values,abi.decode, generated getters, constructor calldata, and malformed high-level returns. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Checked; focused pairedabi-malformed,constructor-deploy,mapping-index,high-level-call-options, andtry-catch; pinned solc 0.8.35 AST audit across 68 rendered sources with all hard gates zero; Python compile; shell syntax; manifest parse; scoped no-hole scan; andgit diff --checkare green. The monolithic paired wrapper hit its documented stale no-child subprocess-poll state and was terminated; an independent bounded-concurrency replay of every manifest entry passed exactly 68/68 isolated Forge/solc/imported-Lean cases with zero failures. - 2026-06-26 02:53 PDT - compaction-resume/reference-bytes-boundaries - resumed the active source-semantics goal after compaction. The expanded
reference-assignmentsfixture is focused-green across Forge and imported Lean after generalizing storage-array push-assignment length reads from legacy word-only values to abstract bytes and dynamic-array containers; the fresh 68-case isolated replay wrapper again reached a stale no-child state before printing its aggregate, so its per-case evidence is being recovered before the final checkpoint is recorded. - 2026-06-26 03:01 PDT - semantics/dynamic-bytes-string-reference-boundaries - extended paired case 67,
reference-assignments, from array/struct copies to 10 Forge tests and 30 imported-Lean checks covering dynamicbytesandstringmemory aliases, calldata-to-memory copies, storage aliases, storage-to-memory and storage-to-storage copies, nested struct members, 31/32-byte transitions at the abstract Solidity layer, long values, push/pop mutation, empty-pop panic0x31, and direct/nestedbytes.push() = value. The new push-assignment checks exposed a real interpreter bug: storage-array push assignment assumed the loaded container was a legacy length word, while source-owned bytes and dynamic arrays are represented by abstract containers.Value.storageArrayLength?now reads either representation, and both root-path and storage-reference-path push-assignment evaluators use it. Verification: direct Forge passes all 10 tests; focused pairedreference-assignmentspasses all three imported evaluations;lake build SolidCore.Spine.L00_SourceSolidity.Checkedpasses; a bounded-concurrency replay passes the other 67 manifest cases with no failures, complementing the focused final case for 68/68 current paired coverage; the pinned solc 0.8.35 AST audit passes across 68 rendered sources with every hard gate zero; manifest JSON, Python compile, shell syntax,git diff --check, and the scoped no-hole/no-partial scan are green. The next source-semantics frontier is a solc-differential acceptedness audit of common typechecking, especially reference data-location legality and invalid-program rejection; external-world semantics and compiler construction remain deferred. - 2026-06-26 03:02 PDT - compaction-resume/typechecker-acceptedness - resumed the active source-semantics goal at the common-typechecker frontier; current work is to compare valid and invalid reference data-location programs against pinned solc, turn mismatches into focused checked regressions, and keep external-world and compiler work deferred.
- 2026-06-26 03:57 PDT - semantics/typechecker-calldata-origin-discipline - promoted
typechecker-calldata-originsas paired case 69 and repaired a common-typechecker over-acceptance found by pinned solc probes. Function and modifier signatures plus checked expressions now preserve full parameter/return data-location metadata, so calldata aliases can originate only from calldata through local declarations, direct reassignment, internal calls, modifiers, using receivers, returns, and tuple/multi-return bindings. External contract calls erase source alias constraints at the ABI boundary; public/external library calls erase non-storage calldata constraints while retaining storage-slot reference requirements. Five syntactically valid negative.solfixtures now require pinned solc rejection and corresponding Lean rejection for memory-to-calldata local binding, return, internal call, reassignment, and tuple binding. The valid fixture adds two Forge tests and imported-Lean execution for calldata aliases, copies, internal calls/libraries, returns, pointer reassignment, and tuple propagation. The tuple case exposed and fixed a core interpreter defect: dynamic-arrayValue.coerceLike?incorrectly required the assigned array to match the empty default slot's length, so multi-return capture of nonempty dynamic arrays reverted; dynamic-array coercion now accepts arbitrary lengths and uses an available element template recursively. The harness now streams child stdout/stderr directly to logs, eliminating Python 3.14's stale pipe-selector state after long Lean children. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Checked; focused case 69; focused tuple/reference/high-level-call/library regressions; complete bounded replay with exactly 69/69 isolated cases green; pinned solc 0.8.35 AST audit over 69 rendered sources with every hard gate zero; manifest JSON, Python compile, shell syntax,git diff --check, and scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan are green. - 2026-06-26 03:57 PDT - architecture-risk/external-library-dynamic-reference-projection - the new valid source and Forge tests prove that memory values may cross public/external library calldata parameters, and the common checker models that ABI boundary. The checked executable projection still fails later statement lowering for public-library calls carrying dynamic arrays, even though using expansion and ABI lookup both resolve; case 69 therefore checks whole-source acceptedness but filters those two external-library functions from its imported runtime witness. Repair this projection path before claiming complete library/reference executable semantics.
- 2026-06-26 03:59 PDT - compaction-resume/external-library-reference-projection - resumed the active source-semantics goal at the documented public-library dynamic-reference lowering gap; current work is to make direct and
usingpublic library calls with memory-to-calldata ABI arguments project to abstract delegatecall requests and execute against explicit oracle responses. - 2026-06-26 04:01 PDT - compaction-resume/external-library-call-lowering - Resumed after compaction while isolating why
Expr.externalCallWithReturnsCoreWithKindEnv?rejects an ABI-recognized public-library call with a dynamic reference argument; next checkpoint is the generic checked projection fix and restoration of the filtered runtime cases. - 2026-06-26 04:40 PDT - semantics/external-library-dynamic-reference-projection-resolved - repaired the general source-call sequencing gap behind public/external library calls with dynamic reference arguments. Library expansion wraps a call in its source result conversion;
FunctionDecl.internalTypeConversionSingleReturnUseCore?now falls through from internal-call conversion to abstract high-level external-call and external-function-value sequencing, preserving the existing mutual-recursion termination measure and keeping host behavior as an oracle-backedtryExternalCall. Both the older scalar direct/usinglibrary examples now evaluate successfully instead ofnone. Case 69 no longer filters the imported contract: its whole source unit projects, and a new runtime witness checks direct andusingmemory-to-calldatauint256[]library calls against exact ABI calldata, delegatecall target/kind, decoded output, and recorded interaction. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Checked; focused case 69 with and without Forge; complete pinned-solc paired replay withcases=69andpaired_cases_passed=yes; pinned solc 0.8.35 AST audit over 69 rendered sources with every hard gate zero; Python compile; shell syntax; manifest JSON parse;git diff --check; and scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan are green. The active semantics-completion goal remains open for broader typechecking, reference, ABI, and source-feature differential audits; external-world concretization and compiler construction remain deferred. - 2026-06-26 05:26 PDT - semantics/reference-delete-location-and-alias-semantics - promoted
reference-deleteas paired case 70 after a pinned-solc data-location probe exposed two source-semantics mismatches. The common checker alloweddelete inputfor a direct calldata reference because direct calldata identifiers are legitimately writable for pointer reassignment; the delete rule now rejects calldata unconditionally while preserving calldata-to-calldata reassignment. The runtime previously applieddefaultLiketo amemoryRef, leaving the same object and all aliases unchanged. Deleting a memory-reference local now reads its abstract memory object, allocates a fresh recursive default object, and rebinds only the deleted local, matching solc for dynamic arrays, fixed arrays, and structs while preserving aliases to the old object. The new Forge/imported-Lean fixture proves(deleted, alias)results(0,2),(0,11), and(0,13), and its invalid lane requires both pinned-solc and the common checker to reject calldata delete. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Checked; focused case 70; focusedreference-assignmentsandtypechecker-calldata-origins; complete paired replay withcases=70andpaired_cases_passed=yes; pinned-solc 0.8.35 AST audit over 70 rendered sources with every hard gate zero; Python compile; shell syntax; manifest JSON parse;git diff --check; and scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan are green. The next acceptedness slice is operation-specific reference location legality beyond delete, especially reassignment versus mutation through members, indexes, slices, and tuples. - 2026-06-26 05:35 PDT - semantics/reference-delete-family-completion - expanded paired case 70 across the remaining abstract reference-delete family. Whole-reference deletion of memory
bytesandstringnow has Forge/imported-Lean alias witnesses alongside dynamic arrays, fixed arrays, and structs; nested dynamic-array element and struct-member deletion proves in-place mutation is visible through aliases, distinguishing it from whole-local rebinding. A second invalid lane pins solc and common-checker rejection ofdeleteon a local storage pointer. The expanded common checker gate, seven imported runtime checks, three Forge tests, focused paired case, checked module build, 70-source fail-closed AST audit, andgit diff --checkare green. No new semantic implementation was needed beyond the generic fresh-default memory-reference deletion from the prior checkpoint. The next structural typechecking gap is function-type parameter/return data locations: the sourceTy.functionshape and solc-AST importer currently erase them even though pinned solc treats internal memory/calldata/storage locations as function-type compatibility constraints. - 2026-06-26 05:36 PDT - compaction-resume - resumed after context compaction with the 70-case reference-delete checkpoint green. The next active frontier is a location-aware function-type representation: internal function values must preserve memory/calldata/storage parameter and return locations, while external function values must use solc's ABI-boundary memory canonicalization. No compiler or external-world work is in scope.
- 2026-06-26 06:23 PDT - semantics/function-type-reference-locations - closed the structural function-type location gap and promoted
function-type-locationsas paired case 71. SourceTynow carries aligned parameter and return data-location lists; validity checks location/type shape and external ABI legality; implicit function conversion compares locations; internal function values preserve declaration memory/calldata/storage locations; values obtained from public/external declarations canonicalize reference parameters and returns to memory while explicitly written external pointer types retain their spelling; function-pointer calls enforce storage/calldata origins and propagate return locations. The solc-AST importer emits exactFunctionTypeNamelocations, and executable internal-alias resolution now synthesizes the same location-aware type rather than erasing it. Pinned solc rejects memory-to-calldata, calldata-to-memory, and external-value-memory-to-explicit-calldata assignments; the common checker mirrors all three distinctions. Forge and imported Lean execute memory, calldata, and storage internal pointers with reference returns. Verification: checked module build; focused function-pointer/frontier cases; complete sequential replay withcases=71andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit over 71 rendered sources with every hard gate zero; Python compile; shell syntax; manifest JSON parse; scoped no-sorry/no-admit/no-axiom scan; andgit diff --checkare green. - 2026-06-26 07:14 PDT - compaction-resume/pointer-return-definite-assignment - resumed after compaction with paired case 72 focused-green. The common checker now models solc-style definite assignment for named storage/calldata pointer returns across expression order, branches, loops, terminal paths, and modifier placeholder continuation; implemented modifiers without
_are rejected. The 72-source fail-closed AST audit is green. A full 72-case sequential harness was already running at compaction and its final result still needs recovery. Two checked executable-projection frontiers remain explicit: binding a single calldata-pointer return to a local calldata variable, and calling a storage-pointer-returning internal function through a modifier. - 2026-06-26 07:57 PDT - semantics/pointer-return-definite-assignment-and-modifier-projection - promoted
pointer-return-definiteas paired case 72 and closed both executable frontiers from the compaction checkpoint. The common checker now matches pinned solc definite assignment for named storage/calldata pointer returns across complete and partial branches, explicit returns and reads, one-pass versus maybe-executed loops, terminal reverts, and modifier placeholder continuation; implemented modifiers without a placeholder are rejected. The cycle-breaking internal modifier inliner now lowers synthetic modifier argument/parameter bindings sequentially through the existing location-aware parameter machinery, carrying ordinary type and storage-reference environments. As a result, direct internal calldata-pointer returns bound to calldata locals and storage-pointer-returning internal calls executed through branching modifiers are both paired at runtime with Forge. Verification:Interface,TypeCheck, andCheckedbuilds; focused pointer-return, modifier-order, function-type-location, and calldata-origin cases; pinned-solc 0.8.35 fail-closed AST audit over 72 rendered sources with every hard gate zero; Python compile; shell syntax; manifest JSON parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and the complete sequential replay withcases=72andpaired_cases_passed=yesare green. Typechecking is broad but remains completeness-audit-open for rarer location, conversion, overload, inheritance, and callable-form combinations. - 2026-06-26 08:39 PDT - semantics/override-data-locations-and-storage-pointer-effects - promoted
override-data-locationsas paired case 73 after a spec-shaped declaration-context audit found two common-checker mismatches. Override members now retain parameter and return data locations separately from their location-erased Solidity signature key: public/internal function and modifier overrides require exact locations, while an external base remains memory/calldata-canonical and may be implemented by an external or public function with different source spelling. Bare local storage-reference identifiers no longer count as state reads, matching solc for pure storage-pointer pass/return; state variables and storage member/index projections still require view mutability. The valid imported source also covers free memory/calldata/storage functions, library storage and ABI parameters, modifier locations, constructor memory, internal/private pointers, and runtime identity across public/external override forms. Pinned solc and the common checker reject public parameter, public return, internal function, modifier, and pure storage-projection invalid lanes. Verification:TypeCheckandCheckedbuilds; focused case 73 plus inheritance-base, modifier-order, and function-type-locations regressions; pinned-solc 0.8.35 fail-closed AST audit over 73 rendered sources with every hard gate zero; Python compile; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and the complete sequential replay withcases=73andpaired_cases_passed=yesare green. The broader acceptedness audit remains active for conversion, overload resolution, multi-base conflicts, and callable-form constraints. - 2026-06-26 08:44 PDT - compaction-resume/callable-identity - resumed the active source-semantics goal after compaction with the 73-case paired baseline green; the immediate frontier is pinned-solc differential auditing of contextual overload resolution and multi-base callable identity in the common checker.
- 2026-06-26 09:52 PDT - semantics/callable-inheritance-identity - promoted
callable-identityas paired case 74 and repaired the common checker’s generic inherited function/modifier identity rules. Pinned solc confirms that a bare overloaded function name is not contextually disambiguated by an expected function-pointer type, location-only overloads are duplicate signatures, unrelated abstract/concrete or abstract/abstract base declarations require an explicit derived override, and a bodyless override may not erase an implemented function or modifier. At the same time, an abstract declaration is dominated when a descendant base explicitly overrides it, including the valid direct ancestor-plus-descendant function and modifier inheritance forms. The checker now computes strict origin ancestry, excludes only dominated unimplemented declarations from inherited conflict sets, requires dominating implementations for concrete inherited obligations, and rejects bodyless overrides of implemented members. Case 74 pairs runtime function/modifier dominance, external memory/calldata multi-base canonicalization, explicit unrelated-base resolution, and ordinary overload calls with seven pinned-solc invalid lanes and focused common-checker witnesses. Verification:TypeCheckandCheckedbuilds; focused callable-identity plus inheritance-base, modifier-order, function-type-locations, and override-data-locations replay; pinned-solc 0.8.35 fail-closed AST audit across 74 rendered sources with every hard gate zero; Python compile, shell syntax, manifest parse, scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan, whitespace scan, andgit diff --check. The complete sequential sweep passed 73 cases and timed out only the largereference-assignmentsLean witness at the global 300-second bound; that witness passed in isolation under 600 seconds, and a generic manifest-local timeout override was added and verified by passing the case with a global one-second bound. Thus all 74 cases have current paired-green evidence, while the broader source-semantics goal remains active for conversion, remaining callable-form, reference, ABI, and whole-language audits. - 2026-06-26 12:12 PDT - compaction-resume/address-contract-conversions - resumed the active source-semantics goal after compaction. Paired case 75 is focused-green and the pinned-solc 75-source fail-closed AST audit has every hard gate at zero after making explicit address-to-contract conversions sensitive to inherited payable receive/fallback behavior. The complete 75-case sequential replay remains pending while recovering the accidentally disappeared untracked Python harness sources from preserved bytecode; temporary launchers execute successfully but are not an acceptable maintainable endpoint.
- 2026-06-26 12:27 PDT - incident-resolution/harness-source-recovery - replaced the temporary bytecode launchers with maintainable recovered source for the Forge/interpreter runner, solc-AST importer, and fail-closed frontend audit. The recovered importer produces byte-for-byte identical Lean output to the preserved original bytecode across all 75 manifest sources, and the recovered audit produces a byte-for-byte identical complete JSON report. Python compilation, shell syntax, the normal-path 75-source audit with every hard gate zero, and focused case 75 all pass. The shell wrapper now defaults directly to the pinned solc 0.8.35 artifact instead of the stale local 0.8.26 binary. A fresh complete 75-case replay is the remaining recovery gate.
- 2026-06-26 13:01 PDT - semantics/address-value-conversion-categories - closed the harness recovery gate with a complete sequential replay reporting
cases=75andpaired_cases_passed=yes, including the manifest-local 600-secondreference-assignmentswitness. Promotedaddress-value-conversionsas paired case 76 after pinned solc exposed two common-checker mismatches: direct nonpayableaddress -> bytes20is valid, while directaddress payable -> uint160is invalid because it combines payability erasure with a representation-category conversion. The checker now accepts nonpayable address conversions to same-widthbytes20/uint160, rejects the payable forms and wrong-width targets, and preserves the reversebytes20/uint160 -> addressrules. Forge and imported Lean execute six direct/round-trip conversions; four invalid files pin solc rejection. Verification:TypeCheckandCheckedbuilds; focused case 76; focusedabi-malformed,callable-identity, andaddress-contract-conversionsregressions; 76-source fail-closed AST audit with every hard gate zero; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-26 13:08 PDT - semantics/library-type-value-discipline - promoted
library-type-usesas paired case 77 after a declaration-context audit found that the common checker treated library paths as ordinary contract value types. Pinned solc permits transient library type expressions such asaddress(L(input))andtype(L).name, but rejects library types in parameters, returns, locals, state variables, struct fields, events, errors, mapping keys, array elements, function types, andusing fortargets. The checker now distinguishes contract value paths from library paths, recursively rejects library types in value-bearing declarations, mapping/ABI/function-type shapes, and using targets, while retaining library paths as valid explicit type expressions. Verification: focused case 77 with 11 solc-invalid lanes; focused source-declarations, frontend-frontier, OpenZeppelin ECDSA, OpenZeppelin Multicall, and function-type-location regressions;TypeCheckandCheckedbuilds; 77-source fail-closed AST audit with every hard gate zero; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-26 13:25 PDT - semantics/type-code-member-kinds - promoted
type-code-membersas paired case 78 after pinned solc showed thattype(T).creationCodeand.runtimeCodeare available for concrete contracts and libraries but absent for interfaces and explicitly abstract contracts. The common checker now applies those kind/abstractness constraints in addition to the existing self/ancestor restriction. The imported source exposed and closed a checked executable-projection gap forbytes(type(T).name): source type names already evaluate to abstract byte strings, so the string/bytes conversion now projects directly without introducing compiler memory layout. Verification: focused case 78 with four solc-invalid lanes; isolated checked-projection probe; focused frontend-frontier and library-type regressions; existing checked code-info and runtime-code ABI witnesses;Interface,TypeCheck, andCheckedbuilds; 78-source fail-closed AST audit with every hard gate zero; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-26 13:33 PDT - semantics/address-environment-member-receivers - promoted
address-member-receiversas paired case 79 after pinned solc showed that.balance,.code, and.codehashare members ofaddressvalues, not contract or library values; those require an explicitaddress(...)conversion. The common checker now requires an actual address receiver for all three members while retaining ordinary contract identity/comparison behavior and transient library conversion expressions. The paired case checks concrete Forge address environment behavior, imported acceptedness/runtime identity, and six independent contract/library invalid lanes. Verification: focused case 79; focused expression-primitives, Dapphub WETH9, library-type-uses, and type-code-members regressions;TypeCheckandCheckedbuilds; 79-source fail-closed AST audit with every hard gate zero; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-26 13:35 PDT - compaction-resume - resumed the non-external-world Solidity semantics goal from the green 79-case pinned-solc/Forge/imported-Lean baseline; cases 76-79 closed address conversion, library value-type, type-code member, and address-member acceptedness gaps, and the next typechecking audit targets remaining callable/member, placement, overload, and inheritance distinctions.
- 2026-06-26 13:57 PDT - semantics/function-member-kind-discipline - promoted
function-member-kindsas paired case 80 after pinned solc and direct Lean probes exposed that the common checker accepted transient-library member selectors/calls and namespace-function.address, and accepted library functions inabi.encodeCall. Type namespaces now retain selectors, only bound contract/interface values expose function.selector/.addressand member calls, and library functions are excluded fromabi.encodeCall. The imported source also exposed two executable/source-AST gaps: solc erases parentheses around a singleabi.encodeCallargument to a scalar AST, which the checker and abstract ABI projection now support, and bound external-function.addressno longer depends on an unrelated current-contract selector table. Verification: nine pinned-solc invalid lanes; focused case 80 with Forge, imported acceptedness, namespace/bound member execution, and encoded payload equality;Checkedbuild; focused library-type, type-code, address-member, frontend, function-type-location, and callable-identity regressions; 80-source fail-closed AST audit with every hard gate zero; andgit diff --checkare green. - 2026-06-26 14:35 PDT - compaction-resume - resumed with paired case 81
local-pointer-definitefocused-green: the common checker now models solc-style definite assignment for local storage/calldata pointers, distinguishes local storage-pointer rebinding from state mutation, and checked execution represents an uninitialized storage alias with an unobservable sentinel until its first proven assignment. Neighboring reference/typechecking regressions, the 81-source fail-closed AST audit, hygiene checks, and checkpoint documentation remain in progress. - 2026-06-26 14:42 PDT - semantics/local-pointer-definite-assignment - promoted
local-pointer-definiteas paired case 81 after pinned solc exposed that uninitialized local storage/calldata pointers are legal when unused or definitely assigned before every read, while the common checker rejected all uninitialized storage locals and permitted unsafe calldata reads. The checker now performs scope-sensitive per-pointer control-flow analysis with branch intersection, solc-conservative loops, do-while carry, and lexical shadowing; local storage-pointer rebinding is no longer misclassified as a state write. Checked execution preserves the declaration through an impossible empty source-name alias sentinel until the first statically proven assignment. The paired case covers straight-line, both-branch, do-while, unused, shadowing, calldata, storage mutation, six invalid read/partial-branch/loop lanes, Forge execution, imported acceptedness, and imported runtime equality. Verification: focused case 81; focused pointer-return-definite, calldata-origin, reference-delete, override-location, function-type-location, and heavy reference-assignment regressions;Checkedbuild; 81-source fail-closed AST audit with every hard gate zero; manifest parse; Python compilation; shell syntax; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. The common typechecker is operational and broad, but the active goal remains open for the final differential acceptedness audit and a defensible completeness claim. - 2026-06-26 21:28 PDT - compaction-resume - resumed case82 WIP after pause: runtime inheritance-list base constructor arguments are accepted by pinned solc and now mostly handled by importer/checker/projection; current tree has an unfinished constructor-using propagation patch that must be fixed before rebuilding.
- 2026-06-26 21:42 PDT - semantics/base-constructor-runtime-args - promoted
base-constructor-runtime-argsas paired case 82. Inheritance-list base-constructor arguments now remain runtime expressions instead of compile-time constants; the common checker gives header args file-scope functions/constants plus file- and current-contractusingdeclarations while still excluding state vars and bare current-contract functions; the checked projection evaluates each base arg once into a typed temporary before binding base constructor params, preserving target constructor parameter scope and using the immediate derived contract'susingscope. The case coversblock.number,msg.sender,msg.value, file free calls, file-level function/libraryusing, contract-localusing, constructor-parameter args,address(this).balancethrough abstract context, an abstract external oracle call, and an abstract self-call that Forge concretely reverts during construction. Pinned solc rejects state-var, bare current-function, wrong-type, and wrong-receiver contract-local-using header lanes. Verification:TypeCheckandCheckedbuilds; focused case 82; focused constructor/inheritance/creation/modifier/create-options/function-member/local-pointer regressions; 82-source fail-closed solc-AST audit with every hard gate zero; manifest parse; Python compilation; shell syntax; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and generated Forge artifact cleanup are green. - 2026-06-27 02:08 PDT - test/full-corpus-case82 - closed the missing full-corpus gate for case 82. The first 82-case sequential run exposed a constructor projection regression in
frontend-frontier: preserved source-unitusingdeclarations were correctly needed for inheritance-header base args, but ordinary constructor bodies had already had source-unitusingexpanded like ordinary functions, so replaying sourceusingafter user-type erasure double-expanded the constructor's UDVT/global-operator expression and madeFrontendFrontierConstructorUsingfail to produce a checked constructor.constructorBodyForDeployment?now receives the cleared ordinary body using scope while base-header arg projection still receives the immediate-derived plus sourceusingscope. Verification:Checkedbuild; focusedfrontend-frontierandbase-constructor-runtime-args; complete sequential paired replay withcases=82andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit over 82 rendered sources with every hard gate zero; Python compilation; shell syntax; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-27 02:11 PDT - compaction-resume - resumed after the green full 82-case corpus checkpoint; next work is a narrow solc-differential probe of ABI/event/error or tuple/struct encoding frontiers before adding case 83.
- 2026-06-27 02:52 PDT - semantics/abi-struct-tuples - promoted
abi-struct-tuplesas paired case 83 after a solc/importer probe exposed a common-checker nominal path mismatch forabi.decode(encoded, (Pair))assigned toPair memory: the decoded expression used the contract-qualifiedAbiStructTuplesHarnessTarget.Pair, while the local declaration retained the short source spelling. The checker now treats short and qualified user paths as aliases only when they appear as the explicit adjacent local-type alias pair installed by the current type context, preserving rejection of unrelatedOther.Pairshapes. The case executesabi.encode,abi.decode, and round-trip behavior for a nominal struct with a dynamicbytesfield against tuple-shaped abstract ABI bytes, without modeling compiler memory layout. Verification:TypeCheckandCheckedbuilds; focusedabi-struct-tuples,abi-malformed,reference-delete, andfrontend-frontier; complete sequential paired replay withcases=83andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit over 83 rendered sources with every hard gate zero; manifest parse; Python compilation; shell syntax; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-27 03:27 PDT - compaction-resume - resumed after promoting case 84
abi-coder-modes; full 84-case corpus and AST audit were green before compaction, and final hygiene status is being recovered before logging the checkpoint. - 2026-06-27 03:31 PDT - semantics/abi-coder-modes - promoted
abi-coder-modesas paired case 84. The corpus now preserves realpragma abicoder v1through solc-AST import, accepts v1 dynamic arrays of static elements, and pins solc rejection for v1 struct parameters, nested dynamic array parameters, struct ABI encoding, and duplicate ABI-coder pragmas, while keeping ABI bytes abstract rather than modeling compiler memory layout. Verification: focused case 84;Checkedbuild; focusedabi-struct-tuplesandabi-malformedregressions; complete sequential paired replay withcases=84andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit over 84 rendered sources with every hard gate zero; manifest parse; Python compilation; shell syntax; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-27 04:01 PDT - semantics/event-indexed-dynamic - promoted
event-indexed-dynamicas paired case 85. Dynamic indexed Solidity events are now pinned through Forge, real solc AST import, and checked Lean execution: indexedbytesandstringtopics hash the raw dynamic payloads, anonymous dynamic events omit the signature topic, non-indexed dynamic payloads remain ABI-encoded data bytes, and source event values stay visible in the abstract log. Verification: focused case 85;Checkedbuild; focusedevent-emitter,custom-error, andabi-malformedregressions; complete sequential paired replay withcases=85andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit over 85 rendered sources with every hard gate zero; manifest parse; Python compilation; shell syntax; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-27 04:35 PDT - semantics/custom-error-dynamic - promoted
custom-error-dynamicas paired case 86. Dynamic custom-error payloads are now pinned through Forge, real solc AST import, checked source execution, and ABI-entry execution:string/byteserror arguments preserve sourceRevertData.customvalues and encode to externally observed revert bytes, and a struct argument with nested dynamicbytesis treated as a tuple-shaped ABI payload without exposing compiler memory layout. Verification: focused case 86;Checkedbuild; focusedcustom-error,terminal-statements, andabi-struct-tuplesregressions; complete sequential paired replay withcases=86andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit over 86 rendered sources with every hard gate zero; manifest parse; Python compilation; shell syntax; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-27 04:44 PDT - compaction-resume - resumed case 87
abi-function-valuesWIP: Forge passes, imported Lean currently exposes a common checker/projection gap for bare bound external function values such asI(target).echo. - 2026-06-27 05:24 PDT - semantics/abi-function-values - promoted
abi-function-valuesas paired case 87. External function values are now pinned through Forge, real solc AST import, and checked source execution as abstract Solidity address-plus-selector values:.address/.selectormembers, equality,abi.encode, strict ABI dirty-padding rejection, returned bound external function values such asI(target).echo, and calls through external function values all execute without modeling EVM memory layout. The common checker now types bare bound contract/interface members as external function values, and the checked projection builds a coreexternalFunctionvalue from the receiver address plus the statically selected ABI selector under an expected external-function type. Verification:Checkedbuild; focused case 87; focusedfunction-member-kinds,function-type-locations,abi-coder-modes, andcustom-error-dynamicregressions; complete sequential paired replay withcases=87andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit over 87 rendered sources with every hard gate zero; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-27 05:27 PDT - compaction-resume - resumed after case 87 green; next slice is a focused differential reference-type probe around memory/storage/calldata aliasing and copying while keeping the Solidity source layer abstract.
- 2026-06-27 06:16 PDT - semantics/reference-mapping-storage - promoted
reference-mapping-storageas paired case 88. Storage mapping references are now pinned through pinned solc, real solc AST import, and checked source execution: local mapping aliases, nested mapping aliases, mapping members inside storage structs, anddeleteof a storage struct containing a mapping resets scalar fields while preserving prior mapping entries. Pinned solc exposed and the common checker now rejects directdeleteon mapping lvalues, including nested mapping values, while memory mapping values/copies remain rejected. Verification:TypeCheckandCheckedbuilds; focused case 88; focusedmapping-index,reference-delete, and heavyreference-assignmentsregressions; complete sequential paired replay withcases=88andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit over 88 rendered sources with every hard gate zero; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. Harness caveat: current Forge integration still reportsforge=okeven when no parsed Foundry test-result lines are emitted, so the solc reject/import and Lean witnesses are the decisive evidence for this checkpoint until the Forge runner is hardened. - 2026-06-27 06:22 PDT - consolidation/forge-discovery-harness - hardened the Forge leg of
scripts/run_forge_interpreter_harness.pyso every Forge-bearing case first runsforge test --listwithout quiet output, recordsDISCOVERED tests=N, and fails closed on zero discovered tests before the normal quiet pinned-solc Forge run. Quiet output now recordsQUIET_FORGE_RESULTS_SUPPRESSEDinstead of a misleading missing-results marker after discovery succeeds, and failure logs include the list pass. Verification: focusedreference-mapping-storagewith Lean/solc rejects green andDISCOVERED tests=3; all-case Forge/solc-reject discovery sweep with--skip-leanpassed overcases=88; Python compilation, shell syntax, manifest parse, andgit diff --checkare green. The 06:16 harness caveat is resolved; full Lean corpus was not rerun after this harness-only patch because the prior 88-case paired replay already covered unchanged Lean semantics and the new full sweep specifically exercises the changed Forge-discovery path. - 2026-06-27 06:25 PDT - compaction-resume - resumed after hardening Forge discovery; current baseline is case 88 with the full Lean corpus green before the harness-only patch and all-case Forge discovery green after it.
- 2026-06-27 07:10 PDT - semantics/reference-mapping-struct-copy - extended
reference-mapping-storageto pin recursive Solidity rules for structs containing mappings. The common checker now rejects assignment into storage values whose type recursively contains a mapping while preserving legal local/named storage-pointer rebinding, and checked examples cover storage copy rejection, non-storage placement rejection, local storage-reference rebinding, and internal storage parameters. The Forge/solc/Lean case now includes storage-struct reference rebinding plus pinned-solc rejects for calldata params, memory locals, memory returns, and storage copies of mapping-bearing structs. Verification:TypeCheckandCheckedbuilds; focusedreference-mapping-storage; focusedreference-delete, heavyreference-assignments,openzeppelin-bitmaps, andopenzeppelin-enumerable-setregressions; pinned-solc 0.8.35 fail-closed AST audit oversources=88,rendered_sources=88,render_failures=0; complete paired replay withcases=88andpaired_cases_passed=yes; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-27 07:59 PDT - compaction-resume/string-calldata-slices - resumed after compaction with calldata string slice support implemented and focused checks green; current checkpoint is to recover or rerun the complete paired corpus, then finish hygiene and log the case.
- 2026-06-27 08:30 PDT - semantics/string-calldata-slices - extended
entrypoint-slice-controlto pin Solidity's calldata slice boundary forbytesandstring. The common checker now acceptsstring calldataslices while preserving calldata-only slice discipline, rejects string indexing and.length, and keeps memory/storage byte slices rejected to match pinned solc. Forge checks concrete string slice/prefix behavior; imported Lean checks the same abstract bytes results plus common-checker accept/reject witnesses. Verification:TypeCheckandCheckedbuilds before compaction; focusedentrypoint-slice-control; complete sequential paired replay withcases=88,forge_interpreter_compare=pass, andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit oversources=88,rendered_sources=88,render_failures=0; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-27 08:37 PDT - semantics/calldata-array-slice-pairing - extended the same slice-control lane to pair calldata dynamic-array slices against pinned solc and Forge. The contract now returns
uint256[] calldatamiddle/prefix/tail slices; imported Lean checks the abstract dynamic-array results; pinned solc rejects memory/storage array and string slices; and the common checker now has explicit memory/storage bytes/string/array slice rejection witnesses while accepting calldata bytes/string/array slices. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedentrypoint-slice-controlwithsolc_rejects=ok forge=ok lean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc 0.8.35 fail-closed AST audit oversources=88,rendered_sources=88,render_failures=0; manifest parse; shell syntax; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-27 08:43 PDT - semantics/slice-member-rejections - pinned solc/common-checker rejection of
.lengthon calldata bytes, string, and dynamic-array slice expressions. The slice-control manifest now has separate invalid fixtures for each slice member form, and the common checker aggregate includes bytes/string/array slice-member rejection witnesses. Verification:TypeCheckandCheckedbuilds; focusedentrypoint-slice-controlwithsolc_rejects=ok forge=ok lean=ok; pinned-solc 0.8.35 fail-closed AST audit oversources=88,rendered_sources=88,render_failures=0; manifest parse; shell syntax; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-27 08:53 PDT - semantics/slice-index-pairing - pinned direct indexing of calldata bytes and dynamic-array slices while preserving string-index rejection. Pinned solc and Forge accept
bytes calldataanduint256[] calldataslice indexing; the imported Lean interpreter returns the same abstract scalar words, and pinned solc/common checker rejectstring calldataslice indexing. Verification:TypeCheckandCheckedbuilds; focusedentrypoint-slice-controlwithsolc_rejects=ok forge=ok lean=ok; pinned-solc 0.8.35 fail-closed AST audit oversources=88,rendered_sources=88,render_failures=0; manifest parse; shell syntax; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan; andgit diff --checkare green. - 2026-06-27 09:25 PDT - test/full-corpus-after-slice-indexes - restored the full-corpus gate after the final slice-index patch. The complete paired Forge/solc/imported-Lean replay passes with
forge_interpreter_compare=pass,status=0,cases=88, andpaired_cases_passed=yes, including the heavyreference-assignmentswitness. Fast hygiene after the replay is green: pinned-solc 0.8.35 fail-closed AST audit oversources=88,rendered_sources=88,render_failures=0; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and generated cache cleanup. - 2026-06-27 09:34 PDT - compaction-resume - resumed after full slice-index corpus and hygiene were green; current checkpoint is to finish calldata slice assignment to calldata locals without changing the abstract Solidity-layer boundary.
- 2026-06-27 10:21 PDT - semantics/calldata-slice-local-bindings - paired Solidity's accepted calldata slice local bindings for bytes, string, and dynamic arrays. The slice-control fixture now covers
bytes calldata local = input[1:3],string calldata local = input[1:3], anduint256[] calldata local = input[1:3]; Forge checks length/return/index behavior; imported Lean checks the same abstract results. The common checker has explicit accepted witnesses for the three forms, and the checked projection now types string slice expressions consistently in plain/env/internal-function ABI typing plus bytes/string env conversions, sostring calldatalocals can be initialized from string slices and returned as memory strings without modeling EVM byte-addressed memory. Verification:TypeCheckbuild;Checkedbuilds after both projection patches; focusedentrypoint-slice-controlwithsolc_rejects=ok forge=ok lean=ok; complete paired replay withforge_interpreter_compare=pass,status=0,cases=88, andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit oversources=88,rendered_sources=88,render_failures=0; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and generated cache cleanup are green. - 2026-06-27 11:01 PDT - semantics/calldata-slice-memory-local-copies - pinned Solidity's accepted calldata-slice-to-memory-local copy forms for bytes, string, and dynamic arrays. Pinned solc accepts
bytes memory local = input[1:3],string memory local = input[1:3], anduint256[] memory local = input[1:3]; the common checker now names accepted witnesses for all three, andentrypoint-slice-controlpairs Forge plus imported Lean checks for copied length, returned string bytes, and copied array indexing while preserving the abstract source memory model. Verification:TypeCheckandCheckedbuilds; focusedentrypoint-slice-controlwithsolc_rejects=ok forge=ok lean=ok; complete paired replay withforge_interpreter_compare=pass,status=0,cases=88, andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit oversources=88,rendered_sources=88,render_failures=0; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and generated cache cleanup are green. - 2026-06-27 11:04 PDT - compaction-resume/calldata-slice-copy-independence - resumed after compaction from the green 88-case calldata-slice memory-local-copy checkpoint; next slice is to pin mutation of copied
bytesand dynamic-array memory locals as independent from their calldata sources. - 2026-06-27 11:42 PDT - semantics/calldata-slice-memory-copy-independence - extended
entrypoint-slice-controlto pin that calldata-slice-to-memory-local bindings are real source-layer copies for mutable reference types. Forge and imported Lean now executebytes memory local = input[1:3]; local[0] = 0xff; return (local[0], input[1]);and the analogousuint256[] memorymutation, checking that the copied memory local changes while the calldata source remains unchanged; string memory-local copies stay covered by returned bytes because Solidity has no string indexing/mutation. The common checker and checked aggregate now include explicit accepted witnesses for the two mutation forms. Verification:TypeCheckandCheckedbuilds; focusedentrypoint-slice-controlwithsolc_rejects=ok forge=ok lean=ok; complete paired replay withforge_interpreter_compare=pass,status=0,cases=88, andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit withsources=88,rendered_sources=88,render_failures=0,unimplemented_node_types=0, andunclassified_child_fields=0; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and generated cache cleanup are green. - 2026-06-27 12:27:59 PDT - compaction-resume/nested-memory-reference-aliases - resumed during the full 88-case corpus after adding real-solc reference-assignment coverage for nested memory array aliases and struct dynamic-array-field aliases; focused reference-assignments,
TypeCheck,Checked, AST audit, and the recovered full corpus are green, with final hygiene and checkpoint documentation pending. - 2026-06-27 12:29:25 PDT - semantics/nested-memory-reference-aliases - extended
reference-assignmentsto pair nested memory array aliases and struct dynamic-array-field aliases against pinned solc, Forge, solc-AST import, and checked Lean execution. The imported source now covers whole-memory-array assignment aliasing, path-selected row aliasing, struct field aliasing, and whole-struct memory assignment aliasing through the abstract Solidity source memory model, without introducing byte-addressed compiler memory layout. Verification: focusedreference-assignments;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck;lake build SolidCore.Spine.L00_SourceSolidity.Checked; complete paired replay withforge_interpreter_compare=pass,status=0,cases=88, andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit withsources=88,rendered_sources=88,render_failures=0,unimplemented_node_types=0, andunclassified_child_fields=0; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and generated cache cleanup are green. - 2026-06-27 13:00:09 PDT - compaction-resume/internal-memory-return-aliases - resumed after adding the focused
reference-internal-memory-boundariescase: Forge/solc accept all six witnesses, while imported Lean currently shows memory-array, tuple, and bytes internal return capture copying instead of preserving source-level memory aliases. - 2026-06-27 14:39:29 PDT - compaction-resume/internal-memory-return-aliases-full-replay - resumed during the second full 89-case replay after narrowing return-value memory-ref preservation to bare memory locals; focused new reference, calldata-origin, OpenZeppelin ERC1155/721, reference-assignments, and Checked builds are green, with full-corpus aggregate and final hygiene pending.
- 2026-06-27 14:41:07 PDT - semantics/internal-memory-return-aliases - promoted
reference-internal-memory-boundariesas paired case 89. Internal memory-array and bytes parameters/returns now preserve Solidity source-level memory aliasing for bare returned memory locals, including duplicated tuple returns and structs containing memory arrays, while indexed return expressions still evaluate normally. Tuple return projection now prefers direct core return expressions when no internal-call temporary is needed, so abstract memory refs can cross the internal-return boundary without lowering to compiler memory layout. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Checked; focusedreference-internal-memory-boundaries,typechecker-calldata-origins,openzeppelin-erc1155-pausable-supply,openzeppelin-erc721-royalty,openzeppelin-erc721-uri-storage,reference-assignments,entrypoint-slice-control, andfunction-type-locations; complete paired replay withforge_interpreter_compare=pass,status=0,cases=89, andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit withsources=89,rendered_sources=89,render_failures=0,unimplemented_node_types=0, andunclassified_child_fields=0; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and generated cache cleanup are green. - 2026-06-27 15:01:43 PDT - compaction-resume/storage-push-return-references - resumed after compaction while adding
reference-assignmentscoverage for storagepush()return references; Forge/solc pass the new witness and imported Lean currently returnsExcept.ok false. - 2026-06-27 16:19:40 PDT - semantics/storage-push-return-references - extended
reference-assignmentsto pin Solidity storagepush()return references for nested dynamic arrays and arrays of structs. The checked projection now lowersT storage x = target.push()as siblingstorageArrayPush...plusstorageAliasPathstatements so the new storage local remains in the surrounding Solidity scope, and runtime.lengthevaluation now consistently accepts storage-path values represented as word lengths. Forge, pinned solc, solc-AST import, and checked Lean agree onnestedStored.push()returning a row reference andbucketList.push()returning a struct reference whose dynamic-array field can be pushed and mutated through aliases. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Checked; stripped diagnostic for the two new calls returned(1, 1, 32)and(1, 1, 42); focusedreference-assignmentswithsolc_rejects=skipped forge=ok lean=ok; complete paired replay withforge_interpreter_compare=pass,status=0,cases=89, andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit withsources=89,rendered_sources=89,render_failures=0,unimplemented_node_types=0, andunclassified_child_fields=0; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and generated cache cleanup are green. - 2026-06-27 16:23:54 PDT - compaction-resume/storage-pop-deep-clears - resumed after compaction with the storage
pop()deep-clear/reuse Solidity functions already added toreference-assignments; next checkpoint is to pair Forge, solc-AST import, and checked Lean execution for nested dynamic-array and struct-field cleanup. - 2026-06-27 17:09:18 PDT - semantics/storage-pop-deep-clears - extended
reference-assignmentsto pin Solidity storage dynamic-arraypop()cleanup before slot reuse, covering a popped nested dynamic-array row and a popped struct element whose dynamic-array field must be empty after the element is pushed again. Forge/pinned solc and imported Lean agree on(1, 0, 12)forstorageNestedArrayPopClearsElementand(1, 0, 22)forstorageStructArrayPopClearsElement, so the existing abstract source storage cleanup rule already matches Solidity without adding EVM byte-addressed layout. Also optimized the heavy imported reference-assignment matrix to reuse one checked contract instead of rechecking the imported source for every pair witness. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Checked; focusedreference-assignmentswithsolc_rejects=skipped forge=ok lean=ok; complete paired replay withforge_interpreter_compare=pass,status=0,cases=89, andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit withsources=89,rendered_sources=89,render_failures=0,unimplemented_node_types=0, andunclassified_child_fields=0; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and generated cache cleanup are green. - 2026-06-27 17:46:00 PDT - semantics/storage-delete-deep-clears - extended
reference-assignmentsto pin Solidity storagedeletedeep clearing before reuse: deleting a nested dynamic array clears the old row, deleting an array of structs clears the old struct dynamic-array field, and deleting a storage struct clears its dynamicbytesfield plus scalar tag before pushing new bytes. Forge/pinned solc and imported Lean agree on(1, 0, 14),(1, 0, 24), and(0, 32, 0)for the three new witnesses, confirming the existing abstract source storage-delete rule matches Solidity without modeling byte-addressed EVM layout. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Checked; focusedreference-assignmentswithsolc_rejects=skipped forge=ok lean=ok; complete paired replay withforge_interpreter_compare=pass,status=0,cases=89, andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit withsources=89,rendered_sources=89,render_failures=0,unimplemented_node_types=0, andunclassified_child_fields=0; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and generated cache cleanup are green. - 2026-06-27 17:48:48 PDT - compaction-resume/abi-malformed-next-slice - resumed after the green 89-case storage-delete checkpoint; next slice is to extend ABI malformed-input coverage while preserving the abstract Solidity source semantics boundary.
- 2026-06-27 18:21:54 PDT - semantics/abi-return-data-malformed-dynamic - extended
abi-malformedto pin high-level external return-data decoding for dynamic values. Forge/pinned solc and imported Lean now agree that a high-levelbytesreturn with missing tail padding decodes successfully to length 1, while a high-leveluint8[]return containing the noncanonical word 256 reverts with empty data; this keeps ABI return decoding source-abstract and matched to solc without modeling compiler memory layout. Verification: focusedabi-malformedwithsolc_rejects=skipped forge=ok lean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc 0.8.35 fail-closed AST audit withsources=89,rendered_sources=89,render_failures=0,unimplemented_node_types=0, andunclassified_child_fields=0; complete paired replay withforge_interpreter_compare=pass,status=0,cases=89, andpaired_cases_passed=yes; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and generated cache cleanup are green. - 2026-06-27 18:26:51 PDT - compaction-resume/abi-encoding-helpers - resumed after the green 89-case ABI malformed-return checkpoint; next slice is focused ABI encoding-helper coverage for
abi.encodePacked, selector/signature encoders, and their source-level reject rules. - 2026-06-27 19:11:14 PDT - semantics/abi-encoding-helpers - promoted
abi-encoding-helpersas paired case 90. Forge/pinned solc and imported Lean now agree onabi.encodePackedfor fixed bytes,uint256, calldata bytes, dynamicuint8[]values with padded packed array elements, and external function values encoded as address-plus-selector bytes;abi.encodeWithSelector, literalabi.encodeWithSignature, and runtime-stringabi.encodeWithSignatureproduce the same selector-prefixed canonical ABI payload. Pinned solc and the common checker reject packed structs and nested dynamic arrays. Verification: focusedabi-encoding-helperswithsolc_rejects=ok forge=ok lean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc 0.8.35 fail-closed AST audit withsources=90,rendered_sources=90,render_failures=0,unimplemented_node_types=0, andunclassified_child_fields=0; complete paired replay withforge_interpreter_compare=pass,status=0,cases=90, andpaired_cases_passed=yes; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan found only Solidity test strings containingpartial;git diff --check; and generatedscripts/__pycache__cleanup are green. - 2026-06-27 19:16:23 PDT - typechecker/override-signature-compatibility - extended
callable-identityto pin common-checker and pinned-solc rejection of override signature/base-list errors: return-type mismatch, public-to-external visibility narrowing, pure-to-view mutability weakening, missing explicit multi-base override list, and incomplete explicit base list. The underlying common checker already enforced these rules; the new Lean examples and solc fixtures make the acceptedness audit visible in the harness. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedcallable-identitywithsolc_rejects=ok forge=ok lean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc 0.8.35 fail-closed AST audit withsources=90,rendered_sources=90,render_failures=0,unimplemented_node_types=0, andunclassified_child_fields=0; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and generatedscripts/__pycache__cleanup are green. Full 90-case replay was not rerun after this focused invalid-fixture-only extension; the immediately previous full replay was green. - 2026-06-27 19:19:58 PDT - compaction-resume/typechecker-status - resumed after the ABI-helper case 90 and override-signature acceptedness checkpoints; status question is whether the shared Solidity checker is complete, with remaining audit buckets still listed for placement, conversion, overload, inheritance, and callable forms.
- 2026-06-27 23:56:25 PDT - typechecker/numeric-bytes-conversions - promoted
numeric-bytes-conversionsas paired case 91. Pinned solc, Forge, imported Lean, and the common checker now agree on Solidity's one-step integer/fixed-bytes conversion discipline: same-sign integer width changes, same-width integer sign changes, fixed-bytes width changes, and same-width fixed-bytes/integer conversions are accepted and executable, while int8-to-uint16, uint8-to-int16, bytes2-to-uint8, and uint32-to-bytes2 are rejected as casts that change two dimensions at once. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusednumeric-bytes-conversionswithsolc_rejects=ok forge=ok lean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc 0.8.35 fail-closed AST audit withsources=91,rendered_sources=91,render_failures=0,unimplemented_node_types=0, andunclassified_child_fields=0; complete paired replay withforge_interpreter_compare=pass,status=0,cases=91, andpaired_cases_passed=yes; Python compilation; shell syntax; manifest parse; scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan;git diff --check; and generated Foundry/Python cache cleanup are green. - 2026-06-28 00:03:15 PDT - compaction-resume/callable-signature-identity - resumed after the 91-case numeric/fixed-bytes conversion checkpoint; next slice is callable overload signature identity acceptedness against pinned solc and the common checker.
- 2026-06-28 00:37:41 PDT - typechecker/callable-signature-identity - extended
callable-identitywith pinned-solc and common-checker rejection of overloads that differ only by return type, parameter name, visibility, or mutability, in addition to the existing location-only overload rejection.FunctionSig.sameSignaturealready matched solc's name-plus-parameter-type identity rule; the new fixtures make that rule explicit in the corpus. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedcallable-identitywithsolc_rejects=ok forge=ok lean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc 0.8.35 fail-closed AST audit withsources=91,rendered_sources=91,render_failures=0,unimplemented_node_types=0, andunclassified_child_fields=0; complete paired replay withforge_interpreter_compare=pass,status=0,cases=91, andpaired_cases_passed=yes; Python compilation; shell syntax; manifest JSON parse withsolc_rejects=116andlean_evals=349; scoped no-sorry/no-admit/no-axiom scan;git diff --check; and generated cache cleanup are green. - 2026-06-28 00:44:52 PDT - typechecker/declaration-signature-identity - extended
source-declarationswith pinned-solc invalid lanes and a common-checker aggregate for declaration signature identity: modifiers and custom errors reject same-name overloads, events accept overloads by ABI parameter type, and duplicate event ABI signatures reject even when only parameter names orindexedflags differ. The common checker already enforced the underlying rules through contract declaration name uniqueness and event ABI signature checks; the new fixtures make them explicit in the paired corpus. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationswithsolc_rejects=ok forge=ok lean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc 0.8.35 fail-closed AST audit withsources=91,rendered_sources=91,render_failures=0,unimplemented_node_types=0, andunclassified_child_fields=0; Python compilation; shell syntax; manifest JSON parse withsolc_rejects=120andlean_evals=350; scoped no-sorry/no-admit/no-axiom scan;git diff --check; and generated__pycache__cleanup are green. The full 91-case replay was not rerun for this invalid-lane-only extension; the immediately preceding full replay at 00:37 remained green and the focused case covers every changed manifest path. - 2026-06-28 07:58:18 PDT - compaction-resume/typechecker-status - resumed after compaction to answer the current full-typechecker status question; latest checkpoint is the 93-case corpus with recent event, try/catch, and custom-error acceptedness slices green, while the next audit buckets include state mutability, builtin call discipline, remaining conversion/overload corners, and whole-typechecking completeness against solc.
- 2026-06-28 09:13:17 PDT - typechecker/state-mutability-acceptedness - paired Solidity state-mutability acceptedness against pinned solc and the common checker. Added
stateMutabilityDisciplineMatchescovering pure state-read rejection, view state-read acceptance, view state-write rejection, nonpayable state-write acceptance, modifier-induced read/write restrictions, pure-calls-view rejection, view-calls-pure acceptance, view event emission rejection, and view contract-creation rejection. Added pinned-solc invalid lanes for pure state reads, view state writes, pure modifiers that read state, view modifiers that write state, pure calls to view functions, view event emissions, and view contract creation. Fixed the shared checker so applied modifier bodies are rechecked under the caller's mutability, while inherited modifier helper calls remain resolvable for cases such as OpenZeppelin ReentrancyGuard. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationswithsolc_rejects=ok,forge=ok, andlean=ok; focusedopenzeppelin-pausable-reentrancywithforge=okandlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; complete paired replay withforge_interpreter_compare=pass,status=0,cases=93, andpaired_cases_passed=yes; pinned-solc 0.8.35 fail-closed AST audit withsources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; manifest parse reportscases=93,solc_rejects=234, andlean_evals=375; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan with only Solidity test-stringpartialhits,git diff --check, and generated-cache cleanup are green. - 2026-06-28 09:49:34 PDT - typechecker/require-revert-builtin-acceptedness - paired
require/revertbuiltin acceptedness against pinned solc and the common checker. AddedrequireRevertBuiltinDisciplineMatchesover accepted condition-only, string-reason, custom-errorrequire, single custom-errorrevert, and multi-argument custom-errorrevertexamples, plus common-checker rejection ofuint256reason payloads. Added pinned-solc invalid lanes forrequire(true, 7)andrevert(7)underbranch-require. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedbranch-requirewithsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc 0.8.35 fail-closed AST audit withsources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; complete paired replay withforge_interpreter_compare=pass,status=0,cases=93, andpaired_cases_passed=yes; manifest parse reportscases=93,solc_rejects=236, andlean_evals=376; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom scan with only Solidity test-stringpartialhits,git diff --check, and generated-cache cleanup are green. - 2026-06-28 09:53:15 PDT - compaction-resume/semantics-status - resumed after compaction to answer how far the Solidity source semantics is from completion; latest green baseline is the 93-case corpus with
requireRevertBuiltinDisciplineMatchespaired, while the active goal remains full internal Solidity semantics excluding imports, inline assembly/Yul, external-world concretization, and compiler construction. - 2026-06-28 09:56:58 PDT - typechecker/named-aggregate-manifest-coverage - tightened the typechecker coverage harness so every currently named common-checker aggregate ending in
DisciplineMatches,CanonicalMatches, orAcceptednessDisciplineMatchesis directly exposed as a manifest Lean eval. Added explicit eval gates for constructor data-location, modifier data-location, and fixed-point ABI canonicality, bringing the direct aggregate diff to zero while leaving the broader source-completeness audit active. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationswith pinned solc 0.8.35 reportssolc_rejects=ok,forge=ok, andlean=ok; focusedfixed-point-boundaryreportssolc_rejects=ok,forge=skipped, andlean=ok; manifest parse reportscases=93,solc_rejects=236, andlean_evals=379. - 2026-06-28 10:16:29 PDT - compaction-resume/semantics-distance-status - resumed after compaction while answering how far the Solidity source semantics is from completion; latest green baseline is the 93-case corpus with direct named typechecker aggregate manifest coverage, while the current enum ABI malformed cleanup slice has
TypeCheckgreen but still needs executable projection and focused harness repair before becoming the next checked checkpoint. - 2026-06-28 10:56:52 PDT - semantics/enum-abi-strict-cleanup - repaired and paired enum ABI strict-cleanup behavior. The source
Ty.enummarker now survives enum-name resolution long enough for ABI cleanups to enforce the declared enum max value, while executable projection explicitly permits Solidity's enum-to-unsigned-integer casts such asuint256(value). Theabi-malformedfixture now pins solc behavior for malformed enum calldata,abi.decodeenum payloads, and high-level external enum return data, all reverting with empty output for the out-of-range value2on a two-case enum. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Interface;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedabi-malformedwith pinned solc 0.8.35 reportssolc_rejects=skipped,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=93, andpaired_cases_passed=yes; manifest parse reportscases=93,solc_rejects=236, andlean_evals=379; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 11:36:32 PDT - semantics/global-primitive-builtins - extended
expression-primitivesto pair deterministic global primitive builtins against pinned solc and the imported Lean source interpreter. The shared Solidity fixture now checksaddmod(type(uint256).max, 2, 5) = 2,mulmod(type(uint256).max, type(uint256).max, 10) = 5,keccak256(hex"010203"), nonzero modular arithmetic, and Solidity panic0x12for zero modulus. Added pinned-solc invalid lanes and a common-checker aggregate for signedaddmod/mulmodoperands and non-byteskeccak256payloads. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedexpression-primitiveswith pinned solc 0.8.35 reportssolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=93, andpaired_cases_passed=yes; manifest parse reportscases=93,solc_rejects=239, andlean_evals=381; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan,git diff --check, and generated-cache cleanup are green. - 2026-06-28 16:32:40 PDT - compaction-resume/semantics-distance-status - resumed after compaction to answer the Solidity semantics completion-distance question; latest logged baseline is the green 93-case corpus through deterministic primitive builtins, with the assert panic/rollback slice edited and focused-green but full-corpus recovery still to confirm before the next checkpoint.
- 2026-06-28 17:31:02 PDT - semantics/assert-builtin-panic-rollback - extended
branch-requireto pair Solidityassertbuiltin behavior against pinned solc, Forge, and imported Lean. The fixture now checks normal boolean assertions, false-assertPanic(0x01), rollback of state writes across failed assertions, and committed writes across successful assertions; pinned solc and the common checker reject non-bool assert conditions. Also recovered a stale full-replay process from compaction before rerunning the bounded corpus. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedbranch-requirewith pinned solc 0.8.35 reportssolc_rejects=ok,forge=ok, andlean=ok; focusedopenzeppelin-pausable-reentrancyandopenzeppelin-bitmapsregressions reportforge=okandlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=93, andpaired_cases_passed=yes; pinned-solc AST audit reportssources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; manifest parse reportscases=93,solc_rejects=240, andlean_evals=385; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan,git diff --check, process cleanup check, and generated-cache cleanup are green. - 2026-06-28 17:35:58 PDT - typechecker/calldata-signed-slice-bounds - pinned calldata slice-bound typing against solc in
entrypoint-slice-control. Added a pinned-solc invalid fixture forbytes calldataslicing with anint256lower bound and wired the existing common-checkercalldataSliceSignedIndexRejectedwitness into the slice aggregate, while keeping unsigned byte/string/array calldata slice coverage executable. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedentrypoint-slice-controlwith pinned solc 0.8.35 reportssolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; manifest parse reportscases=93,solc_rejects=241, andlean_evals=385; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan,git diff --check, process cleanup check, and generated-cache cleanup are green. The immediately preceding full 93-case replay after the assert slice was green; this invalid-fixture-only extension was verified with the focused case rather than rerunning the complete corpus. - 2026-06-28 17:43:10 PDT - typechecker/calldata-signed-slice-bounds-complete - completed the calldata signed-slice-bound pairing across byte, string, and dynamic-array calldata slices. Added pinned-solc invalid fixtures for
string calldataanduint256[] calldataslices withint256lower bounds and added matching common-checker witnessescalldataStringSliceSignedIndexRejectedandcalldataArraySliceSignedIndexRejectedto the slice aggregate. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedentrypoint-slice-controlwith pinned solc 0.8.35 reportssolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; manifest parse reportscases=93,solc_rejects=243, andlean_evals=385; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan,git diff --check, process cleanup check, and generated-cache cleanup are green. The complete 93-case corpus was last rerun after the assert slice; this follow-up changed only invalid fixtures and common-checker witnesses and was verified with the focused case. - 2026-06-28 17:46:27 PDT - compaction-resume/semantics-completion-status - resumed after compaction to answer how far the Solidity source semantics is from completion; latest checkpoint is 93 cases, 243 pinned-solc rejects, and 385 Lean evals, with full replay last green after the assert slice and focused checks green for the calldata signed-slice-bound followups.
- 2026-06-28 17:57:21 PDT - typechecker/calldata-slice-member-calls - pinned calldata array-slice member-call rejection against solc and the common checker. Added a pinned-solc invalid fixture for
input[1:3].first()through ausinglibrary onuint256[]and added the matching common-checker witnesscalldataArraySliceUsingMemberCallRejectedto theentrypoint-slice-controlslice aggregate, while preserving accepted slice indexing and calldata-local bindings. Verification: manifest JSON parse;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedentrypoint-slice-controlwith pinned solc 0.8.35 reportssolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; manifest parse reportscases=93,solc_rejects=244, andlean_evals=385; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan,git diff --check, process cleanup check, and generated-cache cleanup are green. The complete 93-case corpus was last rerun after the assert slice; this follow-up changed only invalid fixtures and common-checker witnesses and was verified with the focused case. - 2026-06-28 18:02:40 PDT - typechecker/low-level-duplicate-call-options - pinned low-level call-option uniqueness against solc and the common checker. Added a pinned-solc invalid fixture for
target.call{gas: 1, gas: 2}(payload)and added the matching common-checker witnesslowLevelDuplicateGasOptionRejectedtolowLevelCallOptionPlacementDisciplineMatches, while preserving existing accepted gas/value low-level call behavior. Verification: manifest JSON parse;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedlow-level-call-optionswith pinned solc 0.8.35 reportssolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; manifest parse reportscases=93,solc_rejects=245, andlean_evals=385; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan,git diff --check, process cleanup check, and generated-cache cleanup are green. The complete 93-case corpus was last rerun after the assert slice; this follow-up changed only invalid fixtures and common-checker witnesses and was verified with the focused case. - 2026-06-28 18:06:44 PDT - typechecker/low-level-unknown-call-options - pinned low-level call-option name-domain rejection against solc and the common checker. Added a pinned-solc invalid fixture for
target.call{foo: 1}(payload)and added the matching common-checker witnesslowLevelUnknownOptionRejectedtolowLevelCallOptionPlacementDisciplineMatches, while preserving existing accepted gas/value low-level call behavior. Verification: manifest JSON parse;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedlow-level-call-optionswith pinned solc 0.8.35 reportssolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; manifest parse reportscases=93,solc_rejects=246, andlean_evals=385; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan,git diff --check, process cleanup check, and generated-cache cleanup are green. The complete 93-case corpus was last rerun after the assert slice; this follow-up changed only invalid fixtures and common-checker witnesses and was verified with the focused case. - 2026-06-28 18:08:36 PDT - compaction-resume/semantics-completion-distance - resumed after compaction to answer the current completion-distance question; latest checkpoint remains the 93-case corpus with 246 pinned-solc rejects and 385 Lean evals, with remaining roadmap work centered on full acceptedness audit, reference-type edge coverage, and ABI edge coverage.
- 2026-06-28 18:47:05 PDT - typechecker/low-level-duplicate-value-options - extended low-level call-option uniqueness pairing from duplicate
gasto duplicatevalue. AddedlowLevelDuplicateValueOptionRejectedto the common-checker aggregate, added the pinned-solc invalid fixtureDuplicateLowLevelValueOption.sol, and refreshed the low-level manifest description so duplicate gas/value are both explicit. Verification: manifest JSON parse;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedlow-level-call-optionsthrough the pinned 0.8.35 wrapper withsolc_rejects=ok,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=93,rendered_sources=93,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; complete paired replay withforge_interpreter_compare=pass,status=0,cases=93, andpaired_cases_passed=yes; manifest parse reportscases=93,solc_rejects=247, andlean_evals=385; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan,git diff --check, process cleanup check, and generated-cache cleanup are green. A first direct harness invocation used PATH's 0.8.26 solc and failed the^0.8.35pragma gate, so the verified commands usescripts/compare_forge_solc_interpreter.shwith the pinned 0.8.35 artifact. - 2026-06-28 19:27:16 PDT - semantics/packed-storage-differential - promoted packed storage behavior into the Forge/solc/imported-Lean corpus as case 94. Added
packed-storage, covering top-level packeduint8/uint16/bool/int8fields, packed struct fields, and a packed fixeduint8[4]array. Forge checks source-visible returned values against solc/EVM, while imported Lean checks the same reads plus abstract source storage words at the corresponding packed slots; this strengthens reference-type/storage-layout coverage without introducing byte-addressed memory modeling. Verification: manifest JSON parse; focusedpacked-storagethrough pinned solc 0.8.35 withsolc_rejects=skipped,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withsources=94,rendered_sources=94,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; complete paired replay withforge_interpreter_compare=pass,status=0,cases=94, andpaired_cases_passed=yes; manifest parse reportscases=94,solc_rejects=247, andlean_evals=388; Python compilation, shell syntax, scoped no-sorry/no-admit/no-axiom/no-unsafe/no-partial scan,git diff --check, process cleanup check, and generated-cache cleanup are green. - 2026-06-28 19:29:55 PDT - compaction-resume/semantics-completion-status - resumed after compaction to answer how far the Solidity source semantics is from completion; latest durable checkpoint is the green 94-case corpus through packed-storage differential coverage, with remaining work concentrated in full acceptedness audit, reference-type edge coverage, ABI edge coverage, and a final source-surface audit.
- 2026-06-28 19:42:39 PDT - semantics/indexed-event-array-struct-topics - extended
event-indexed-dynamicto pin indexed event dynamic-array and struct topic hashing against Forge/solc and imported Lean. The source event fixture now emitsComposite(uint8[],(uint8,uint16),bytes)and checks Solidity's event-indexed in-place encoding for the dynamic array and struct topics plus non-indexed payload data. FixedabiEventTopic?so bytes/string, dynamic arrays, fixed arrays, and tuples/structs are hashed as indexed event parameters, rather than hashing only dynamic ABI types; value types and fixed bytes remain direct topic words. Verification: manifest JSON parse;lake build SolidCore.Solidity.Interpreter; focusedevent-indexed-dynamicthrough pinned solc 0.8.35 withsolc_rejects=skipped,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withrendered_sources=94,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; manifest parse reportscases=94,solc_rejects=247, andlean_evals=389. - 2026-06-28 20:17:05 PDT - test/indexed-event-array-struct-topics-full-replay - reran the complete Forge/solc/imported-Lean corpus after the indexed event topic fix. Verification: complete paired replay with
forge_interpreter_compare=pass,status=0,cases=94, andpaired_cases_passed=yes;git diff --check; process cleanup check; generated-cache scan; scoped no-sorry/no-admit/no-axiom/no-unsafe scan; and scoped no-partialscan are green. - 2026-06-28 20:20:52 PDT - semantics/indexed-event-fixed-array-topics - extended
event-indexed-dynamicwith an explicit indexed fixed-array event witness. Forge/solc and imported Lean now agree thatFixed(uint8[2],bytes)hashes the fixed array using Solidity's event-indexed in-place element encoding while retaining the abstract fixed-array indexed value and non-indexed bytes payload in the source observation. Verification: manifest JSON parse; focusedevent-indexed-dynamicthrough pinned solc 0.8.35 withsolc_rejects=skipped,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit withrendered_sources=94,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; manifest parse reportscases=94,solc_rejects=247, andlean_evals=390. The immediately preceding full 94-case replay after the shared event-topic semantic fix was green; this follow-up only adds focused coverage for that already-verified branch. - 2026-06-29 00:41:46 PDT - compaction-resume/memory-allocation - resumed after adding the focused
memory-allocationpaired Forge/solc/imported-Lean case; focused replay and checked build were green, and the solc AST audit result was recovered before wrap-up. - 2026-06-29 00:44:12 PDT - semantics/memory-allocation - promoted
memory-allocationas paired case 96. The case coversnew uint256[](n),new bytes(n),new string(n), nested dynamic-array default values, source-visible mutation/length behavior, and pinned-solc rejection of fixed-array allocation, invalid allocation arities, and signed allocation lengths. Verification: manifest JSON parse; focusedmemory-allocationthrough pinned solc 0.8.35 reportssolc_rejects=ok,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=96,rendered_sources=96,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; manifest parse reportscases=96,solc_rejects=257, andlean_evals=401. The complete 95-case corpus was green immediately before this harness-only allocation case; the full 96-case replay was not rerun in this checkpoint. - 2026-06-29 01:29:00 PDT - test/full-corpus-96 - complete paired Forge/solc/imported-Lean replay after the
memory-allocationaddition is green:forge_interpreter_compare=pass,status=0,cases=96, andpaired_cases_passed=yes. - 2026-06-29 07:03:39 PDT - semantics/mapping-dynamic-value-delete - extended
reference-mapping-storagewith mapping values whose storage contents are dynamic arrays,bytes,string, and a struct containing dynamic array/bytesfields. Forge/solc and imported Lean now agree that deleting the selected mapping entry restores the selected key's source-visible default dynamic contents while neighboring keys remain intact; the struct witness records a pre-delete checksum and post-delete default fields to avoid legacy solc stack pressure without switching this case to via-IR. Verification: manifest JSON parse; focusedreference-mapping-storagethrough pinned solc 0.8.35 reportssolc_rejects=ok,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=96,rendered_sources=96,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; manifest parse reportscases=96,solc_rejects=257,lean_evals=402, andreference_mapping_evals=6. The complete 96-case corpus was green immediately before this focused reference-type extension. - 2026-06-28 20:23:22 PDT - compaction-resume/semantics-completion-status - resumed after compaction to answer how far the Solidity source semantics is from completion; latest checkpoint is 94 Forge/solc/interpreter cases, 247 pinned-solc rejects, and 390 Lean evals, with full replay green immediately before the fixed-array indexed-event witness.
- 2026-06-28 21:01:07 PDT - semantics/indexed-event-nested-dynamic-struct-topic - extended
event-indexed-dynamicwith an indexed struct containing a dynamicbytesmember. Forge/solc and imported Lean agree thatNested((uint8,bytes),bytes)hashes the struct using Solidity's special event-indexed in-place encoding: the scalar member is word-encoded, the nested bytes payload is right-padded without an ABI length/offset word, and the source event still retains the abstract tuple and non-indexed bytes payload. Verification: manifest JSON parse;lake build SolidCore.Solidity.Interpreter; focusedevent-indexed-dynamicthrough pinned solc 0.8.35 withsolc_rejects=skipped,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=94,rendered_sources=94,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=94, andpaired_cases_passed=yes; manifest parse reportscases=94,solc_rejects=247,lean_evals=391, andevent_indexed_dynamic_evals=6;git diff --check, process cleanup check, generated-cache cleanup, scoped no-sorry/no-admit/no-axiom/no-unsafe scan, and source/script no-partialscan are green. - 2026-06-28 21:06:57 PDT - semantics/indexed-event-dynamic-bytes-array-topic - extended
event-indexed-dynamicwith an indexedbytes[]event parameter. Forge/solc and imported Lean agree thatChunks(bytes[],bytes)hashes the dynamic array by concatenating each dynamic bytes element right-padded to a word, with no array length and no per-element ABI length/offset words, while source observations retain the abstract dynamic-array-of-bytes value. Verification: manifest JSON parse;lake build SolidCore.Solidity.Interpreter; focusedevent-indexed-dynamicthrough pinned solc 0.8.35 withsolc_rejects=skipped,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=94,rendered_sources=94,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; manifest parse reportscases=94,solc_rejects=247,lean_evals=392, andevent_indexed_dynamic_evals=7. The immediately preceding full 94-case replay after the nested-dynamic-struct event witness was green; this follow-up only adds focused coverage for the same event-indexed branch. - 2026-06-28 21:11:47 PDT - semantics/indexed-event-dynamic-struct-array-topic - extended
event-indexed-dynamicwith an indexed dynamic array of structs whose members include dynamicbytes. Forge/solc and imported Lean agree thatPacketList((uint8,bytes)[],bytes)hashes the array by concatenating each packet's source in-place event encoding, with each tag word followed by the packet body right-padded to a word and no array length, struct offset, or bytes length words. Source observations retain the abstract dynamic array of tuple packet values. Verification: manifest JSON parse;lake build SolidCore.Solidity.Interpreter; focusedevent-indexed-dynamicthrough pinned solc 0.8.35 withsolc_rejects=skipped,forge=ok, andlean=ok;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=94,rendered_sources=94,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; manifest parse reportscases=94,solc_rejects=247,lean_evals=393, andevent_indexed_dynamic_evals=8. The complete 94-case corpus was last rerun after the nested-dynamic-struct event witness; this follow-up only adds focused recursive coverage for the same event-indexed branch. - 2026-06-28 22:36:00 PDT - compaction-resume/semantics-goal-distance - resumed after compaction to answer goal-distance status; latest work had added a calldata
Blob[]to memory deep-copy witness with focused reference-assignment, checked build, and AST-audit evidence, while the 300s full-corpus replay was still pending recovery. - 2026-06-28 22:48:03 PDT - semantics/calldata-struct-array-memory-copy - extended
reference-assignmentswith a calldataBlob[]to memory copy witness where mutating the copied nestedbytesand scalar struct fields leaves the original calldata values unchanged. This pins deep-copy behavior for dynamic arrays of structs containing dynamic bytes without modeling compiler memory layout. Verification: manifest JSON parse;lake build SolidCore.Spine.L00_SourceSolidity.Checked; focusedreference-assignmentsthrough pinned solc 0.8.35 reportssolc_rejects=skipped,forge=ok, andlean=ok; pinned-solc AST audit reportssources=94,rendered_sources=94,unimplemented_node_types=0,unclassified_child_fields=0, andrender_failures=0; complete paired replay with 300s per-case timeout reportsforge_interpreter_compare=pass,status=0,cases=94, andpaired_cases_passed=yes; manifest parse reportscases=94,solc_rejects=247,lean_evals=393, andreference_assignment_evals=6. - 2026-06-28 22:57:38 PDT - semantics/storage-struct-array-memory-copy - extended
reference-assignmentswith a storageBlob[]to memory copy witness where mutating the copied nestedbytesand scalar struct fields leaves the original storage array unchanged. This pairs the calldata struct-array copy witness with the analogous storage boundary while keeping memory abstract. Verification: manifest JSON parse; focusedreference-assignmentsthrough pinned solc 0.8.35 reportssolc_rejects=skipped,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checkedcompletes successfully; pinned-solc AST audit reportssources=94,rendered_sources=94,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; manifest parse reportscases=94,solc_rejects=247,lean_evals=393, andreference_assignment_evals=6. The complete 94-case corpus was green immediately before this focused same-case extension. - 2026-06-28 23:06:10 PDT - semantics/storage-struct-array-storage-copy - extended
reference-assignmentswith a storageBlob[]to storageBlob[]copy witness where mutating the copied nestedbytesand scalar struct fields leaves the original storage array unchanged. This pins deep-copy rather than aliasing behavior for dynamic storage arrays whose elements contain dynamic bytes. Verification: manifest JSON parse; focusedreference-assignmentsthrough pinned solc 0.8.35 reportssolc_rejects=skipped,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checkedcompletes successfully; pinned-solc AST audit reportssources=94,rendered_sources=94,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; manifest parse reportscases=94,solc_rejects=247,lean_evals=393, andreference_assignment_evals=6. The complete 94-case corpus was last green before the focused storage struct-array copy extensions. - 2026-06-28 23:23:09 PDT - semantics/storage-struct-array-alias-nested-bytes - extended
reference-assignmentswith a storage local alias witness forBlob[]where mutating nested dynamicbytesand scalar fields throughBlob[] storage localRefmutates the original storage array. Verification: manifest JSON parse; focusedreference-assignmentsthrough pinned solc 0.8.35 reportssolc_rejects=skipped,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checkedcompletes successfully; pinned-solc AST audit reportssources=94,rendered_sources=94,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; manifest parse reportscases=94,solc_rejects=247,lean_evals=393, andreference_assignment_evals=6. - 2026-06-28 23:23:09 PDT - architecture-risk/memory-struct-array-storage-copy-via-ir - attempted to add a
Blob[] memoryto storage copy witness for nested dynamic bytes, but pinned solc 0.8.35 legacy Forge rejects it with codegen error 1834: copyingstruct ... memory[] memoryto storage is supported only by the IR pipeline. Do not include this shape in the default legacy Forge corpus until the harness grows an explicit via-IR lane; it remains a source-semantics edge to classify separately from ordinary solc type rejection. - 2026-06-28 23:29:19 PDT - compaction-resume/memory-struct-array-storage-copy-via-ir - resumed while fixing the explicit via-IR
Blob[] memoryto storage copy witness; Forge via-IR passes, but the imported Lean interpreter currently returnsExcept.ok false, so the remaining checkpoint is to repair or classify that source-semantics edge. - 2026-06-29 00:32:30 PDT - semantics/memory-struct-array-storage-copy-via-ir - promoted
reference-via-ir-memory-storageas paired case 95. The harness now has an explicit via-IR Forge lane for Solidity source-validBlob[] memoryto storage assignment of dynamic arrays of structs containing nested dynamicbytes; the interpreter now recursively materializes memory references at storage-write and storage-push boundaries viaRuntime.storageMaterializedValue, so storage receives a deep source-level copy while memory-to-memory aliasing remains handled by the separate memory reference paths. Verification: manifest JSON parse;lake build SolidCore.Solidity.Interpreter; focusedreference-via-ir-memory-storagereportssolc_rejects=skipped,forge=ok, andlean=ok; focusedreference-assignmentsandreference-internal-memory-boundariesreportforge_interpreter_compare=pass;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc 0.8.35 AST audit reportssources=95,rendered_sources=95,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=95, andpaired_cases_passed=yes; manifest parse reportscases=95,solc_rejects=247, andlean_evals=395. - 2026-06-29 07:09:27 PDT - compaction-resume/goal-completion-status - resumed after compaction to answer current goal-distance status; latest durable checkpoint is the green 96-case corpus plus focused mapping dynamic-value delete coverage, with a fixed-array ABI malformed witness partly wired in Forge tests and manifest Lean evals still pending.
- 2026-06-29 07:18:16 PDT - semantics/abi-fixed-array-malformed - extended
abi-malformedto pair fixed-size array ABI narrow-element cleanup against solc. Forge/solc and imported Lean now agree that malformed accesseduint8[2]calldata rejects at external dispatch, while malformed fixed-array elements reject whenabi.decodeand high-level external return decoding materialize the full array. Verification: manifest JSON parse; focusedabi-malformedthrough pinned solc 0.8.35 reportssolc_rejects=skipped,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=96,rendered_sources=96,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; manifest parse reportscases=96,solc_rejects=257,lean_evals=402, andabi_malformed_evals=8. Solc also permits an external calldata fixed array with a dirty unaccessed second element when the body reads onlyinput[0]; the current source ABI entry still eagerly rejects that shape, so lazy calldata cleanup remains an ABI/reference-type refinement rather than part of this checkpoint. - 2026-06-29 08:51 PDT - compaction-resume/goal-completion-distance - resumed after compaction to answer goal-distance status; latest checkpoint has the lazy fixed-array calldata ABI refinement implemented and the complete 96-case Forge/solc/imported-Lean corpus log reports
forge_interpreter_compare=pass,status=0, andpaired_cases_passed=yes. - 2026-06-29 08:53:16 PDT - semantics/lazy-calldata-abi-cleanup - repaired external ABI dispatch so parameter ABI cleanup is lazy for decoded source values: a dirty unaccessed
uint8[2]calldata element is accepted when onlyinput[0]is read, while reading the dirty element reverts with empty data;abi.decodeand high-level external return decoding remain strict when they materialize the whole value. Verification:lake build SolidCore.Solidity.ABI; focusedabi-malformedthrough pinned solc 0.8.35 reportssolc_rejects=skipped,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=96,rendered_sources=96,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=96, andpaired_cases_passed=yes; manifest parse reportscases=96,solc_rejects=257,lean_evals=402, andabi_malformed_evals=8. - 2026-06-29 10:12:19 PDT - semantics/top-level-scalar-abi-cleanup - refined external ABI dispatch cleanup to match solc's scalar-vs-aggregate boundary: malformed top-level scalar parameters (
bool,address, fixed-bytes, enum,uint8, andint8) reject before body execution even when unnamed and unused, while nested narrow elements inside calldata aggregates remain lazy until observed. AddedAbiCleanup.lazyParamValue/AbiCleanups.lazyParamValuesfor entry parameters, kept recursive aggregate elements onAbiCleanup.lazyValue, added Forge and imported-Leanabi-malformedwitnesses for unused malformed scalar parameters, and restored constructor scalar malformed calldata to decode-rejected/no-deployment observations. Verification:lake build SolidCore.Solidity.ABI; direct ForgetestExternalUnusedScalarCanonicalDecodingpasses under pinned solc 0.8.35; focusedabi-malformedpaired replay reportssolc_rejects=skipped,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=96,rendered_sources=96,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=96, andpaired_cases_passed=yes; manifest parse reportscases=96,solc_rejects=257,lean_evals=402, andabi_malformed_evals=8;git diff --check, scoped no-sorry/admit/axiom/unsafe, no-partial, generated-cache cleanup, and process cleanup checks are green. - 2026-06-29 10:17:35 PDT - semantics/nested-aggregate-abi-cleanup - extended the
abi-malformeddifferential coverage to pin lazy cleanup inside calldata aggregates beyond fixed arrays. Pinned solc and imported Lean now agree that a malformed dynamicuint8[]element still permits reading.length, a malformed second field in a calldata struct/tuple still permits reading the clean first field, and reading the dirty element/field reverts with empty data. Verification: direct ForgetestExternalNestedNarrowIntegerCanonicalDecodingpasses under pinned solc 0.8.35; focusedabi-malformedpaired replay reportssolc_rejects=skipped,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.CheckedreportsBuild completed successfully; pinned-solc AST audit reportssources=96,rendered_sources=96,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; manifest parse reportscases=96,solc_rejects=257,lean_evals=402, andabi_malformed_evals=8. The immediately preceding complete 96-case replay was green after the ABI cleanup semantics change; this checkpoint changes only the focusedabi-malformedfixture and imported-Lean witness. - 2026-06-29 10:37:25 PDT - compaction-resume/goal-completion-distance - resumed after compaction to answer current goal-distance status; active edge is constructor ABI strict decoding for malformed aggregate arguments, with external nested-aggregate ABI cleanup already green and a temporary diagnostic manifest eval still present.
- 2026-06-29 11:44:26 PDT - semantics/constructor-aggregate-abi-cleanup - completed constructor ABI strict cleanup for malformed aggregate args in
abi-malformed: pinned solc rejects constructor calldata with dirty nesteduint8elements inside dynamic arrays, fixed arrays, and structs even when the constructor reads only length or a clean sibling, while external function calldata keeps the previously paired lazy aggregate behavior. Source cleanup metadata already preserved the aggregate trees; rebuildingSolidCore.Spine.L00_SourceSolidity.Checkedmade the strict deployment observation path visible to the imported-Lean harness, and the temporary diagnostic eval was removed. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Checked; focusedabi-malformedreportsforge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes; pinned-solc AST audit reportssources=96,rendered_sources=96,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=96, andpaired_cases_passed=yes; manifest parse reportscases=96,solc_rejects=257,lean_evals=402, andabi_malformed_evals=8;git diff --check, scoped no-sorry/admit/axiom/unsafe, no-partial, Python/shell syntax checks, generated-cache cleanup, and process cleanup checks are green. - 2026-06-29 11:48:52 PDT - compaction-resume/completion-status - resumed after compaction to answer goal-distance status; latest durable checkpoint is the green 96-case Forge/solc/imported-Lean corpus plus constructor strict aggregate ABI cleanup.
- 2026-06-29 12:26:38 PDT - semantics/receive-fallback-dispatch - promoted receive/fallback ABI dispatch into a dedicated Forge/solc/imported-Lean case. The new fixture pairs empty-calldata
receive, fallback on unknown calldata and empty calldata when no receive exists, typed fallback raw returndata, function selector precedence over fallback, missing receive/fallback empty-data reverts, and inherited/overridden receive/fallback dispatch while keeping sender/value/data observations source-abstract. Verification: focusedreceive-fallback-dispatchreportssolc_rejects=skipped,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=97, andpaired_cases_passed=yes; manifest parse reportscases=97,solc_rejects=257,lean_evals=405, andreceive_fallback_dispatch_evals=3;git diff --check, scoped no-sorry/admit/axiom/unsafe, and no-partialchecks are green. - 2026-06-29 13:21:03 PDT - compaction-resume/goal-completion-distance - resumed after compaction to answer goal-distance status; latest in-flight slice is ABI selector-collision acceptedness, with direct function/getter collision fixtures and checker hooks added and final corpus result still to be recovered.
- 2026-06-29 14:50:01 PDT - semantics/abi-selector-collisions - paired ABI selector-collision acceptedness against pinned solc. The common checker now derives canonical ABI signatures/selectors for external-callable function surfaces, rejects duplicate 4-byte selectors across direct functions, generated public getters, and inherited dispatch surfaces, and caches selector words before duplicate detection so real-project imports avoid repeated Keccak work. Added pinned invalid fixtures for
burn(uint256)versuscollate_propagate_storage(bytes16)and a public mapping getter collision. Verification: pinned solc 0.8.35 rejects both fixtures with function-signature-hash-collision diagnostics;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationsreportssolc_rejects=ok,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; focusedopenzeppelin-erc20passes after replacing the initial pairwise selector recomputation that caused a deterministic Lean heartbeat timeout; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=97, andpaired_cases_passed=yes; manifest parse reportscases=97,solc_rejects=259,lean_evals=405,source_declarations_solc_rejects=55, andsource_declarations_lean_evals=12;git diff --check, scoped no-sorry/admit/axiom/unsafe, and no-partialchecks are green. - 2026-06-29 15:29:47 PDT - semantics/inherited-abi-selector-collisions - extended ABI selector-collision acceptedness coverage to inherited dispatch surfaces. Added pinned solc rejects for a derived external function colliding with an inherited external
burn(uint256)function and with an inherited public mapping getter, and added common-checker witnesses tocallableSignatureIdentityDisciplineMatches. Verification: pinned solc 0.8.35 rejects both inherited fixtures with function-signature-hash-collision diagnostics;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationsreportssolc_rejects=ok,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=97, andpaired_cases_passed=yes; manifest parse reportscases=97,solc_rejects=261,lean_evals=405,source_declarations_solc_rejects=57, andsource_declarations_lean_evals=12;git diff --check, scoped no-sorry/admit/axiom/unsafe, no-partial, and process cleanup checks are green. - 2026-06-29 15:31:41 PDT - compaction-resume/goal-completion-distance - resumed after compaction to answer current goal-distance status; latest durable checkpoint is inherited ABI selector-collision acceptedness, with the full 97-case Forge/solc/imported-Lean corpus green and the broader source-semantics goal still active.
- 2026-06-29 16:13:06 PDT - semantics/inherited-name-shadowing-acceptedness - exposed inherited declaration/name shadowing as a manifest-covered common-checker discipline and added representative pinned-solc invalid lanes for visible inherited state-variable shadowing, function-vs-inherited-state collisions, function-vs-inherited-type collisions, and duplicate inherited event signatures. Verification: pinned solc 0.8.35 rejects the four new invalid fixtures with declaration-collision diagnostics;
lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationsreportssolc_rejects=ok,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; manifest parse reportscases=97,solc_rejects=265,lean_evals=406,source_declarations_solc_rejects=61, andsource_declarations_lean_evals=13; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=97, andpaired_cases_passed=yes;git diff --check, scoped no-sorry/admit/axiom/unsafe, no-partial, and process cleanup checks are green. - 2026-06-29 16:13:06 PDT - architecture-risk/runtime-private-shadowing-execution - acceptedness now explicitly covers Solidity's private inherited-name shadowing boundary, but executable reference semantics still needs a focused origin-sensitive private state shadowing case;
Context.storageField?is name-keyed, so a base/private and derived/private same-name storage scenario should be audited before closing reference-type completeness. - 2026-06-29 16:18:44 PDT - compaction-resume/private-shadowing-execution - resumed after compaction while fixing executable private inherited state shadowing; focused source-declarations probe currently has solc/Forge green and imported-Lean rejecting
PrivateShadowDerivedduring checked executable generation. - 2026-06-29 17:12:35 PDT - semantics/private-inherited-storage-shadowing - resolved
runtime-private-shadowing-executionby giving duplicate inherited runtime state declarations distinct abstract source-level storage keys and rewriting lexical function/modifier bodies through state aliases before core translation. Added a Forge/imported-LeanPrivateShadowBase/PrivateShadowDerivedwitness wheresetBase/readBaseuse the base privatevalueand derived methods/direct reads use the derived privatevalue, without modeling EVM byte-addressed storage layout. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Interface; focusedsource-declarationsreportssolc_rejects=ok,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=97, andpaired_cases_passed=yes; manifest parse reportscases=97,solc_rejects=265,lean_evals=407,source_declarations_solc_rejects=61, andsource_declarations_lean_evals=14;git diff --check, scoped no-sorry/admit/axiom/unsafe, no-partial, and process cleanup checks are green. - 2026-06-29 17:43:12 PDT - compaction-resume/goal-completion-distance - resumed after compaction to answer current goal-distance status; in-flight slice extends private inherited storage shadowing coverage through state initializers and constructors, with focused checks green and the full paired corpus still being recovered.
- 2026-06-29 18:04:44 PDT - semantics/private-inherited-storage-shadowing-constructors - extended origin-sensitive private inherited storage shadowing through state-initializer and constructor execution with paired
PrivateShadowConstructorBase/PrivateShadowConstructorDerivedForge/imported-Lean coverage. Fixed state-declaration alias rewriting so lexical state declarations themselves take their runtime keys before initializer/core translation, while the Solidity source boundary still exposes ordinary names. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Interface; focusedsource-declarationsreportssolc_rejects=ok,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=97, andpaired_cases_passed=yes; manifest parse reportscases=97,solc_rejects=265,lean_evals=408,source_declarations_solc_rejects=61, andsource_declarations_lean_evals=15;git diff --check, scoped no-sorry/admit/axiom/unsafe, no-partial, and process cleanup checks are green. - 2026-06-29 23:26:55 PDT - compaction-resume/goal-completion-status - resumed after compaction to answer how close the Solidity source-semantics goal is; latest durable checkpoint is a green 97-case corpus through private inherited storage shadowing constructors, with a focused user-defined operator/importer extension green but a full-corpus replay currently blocked by an
openzeppelin-erc721-royaltyLean timeout that still needs diagnosis. - 2026-06-30 00:28:30 PDT - semantics/udvt-operator-using-sweep - completed the user-defined value type global operator
usingsweep infrontend-frontier. The solc-AST importer now records function parameter counts and uses the referenced function arity to disambiguate unary-from binary-inusing { f as - };UnaryOperation.functionis classified as solc analysis metadata. The paired fixture executes all overloadable UDVT operator families in Forge and imported Lean: arithmetic, bitwise, comparisons, unary negation, and bit-not. Diagnosed the apparentopenzeppelin-erc721-royaltyfull-corpus hang as performance/load rather than semantic failure: split Lean witnesses are all green, the harness timeout self-test kills subprocess groups correctly, focused royalty is green withtimeout 240, and the complete replay is green withtimeout 600. Verification:python3 -m py_compile scripts/solc_ast_to_lean_source.py scripts/audit_solc_ast_frontend.py scripts/run_forge_interpreter_harness.py; manifest JSON parse;git diff --check;lake build SolidCore.Spine.L00_SourceSolidity.Checked; focusedfrontend-frontierreportsforge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes; focusedopenzeppelin-erc721-royaltyreportsforge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=97, andpaired_cases_passed=yes; manifest parse reportscases=97,solc_rejects=265, andlean_evals=409; scoped no-sorry/admit/axiom/unsafe, Lean/script no-partial, and process cleanup checks are green. - 2026-06-30 00:35:28 PDT - semantics/transient-storage-boundary - extended
frontend-frontierto pair transient storage message-call persistence and transaction-boundary clearing against solc/Forge. The fixture now writes and reads a transient variable within the same top-level Forge test transaction, writes transient storage duringsetUp, and confirms the test-body top-level call observes zero; the imported Lean witness mirrors this with ordinaryCheckedInput.callContractpreserving transient state andCheckedInput.callContractTransactionclearing it before and after execution. Verification: manifest JSON parse; direct pinned Forgefrontend-frontierreports2 passed; focusedfrontend-frontierpaired replay reportsforge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; Python syntax checks; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0. The complete 97-case replay was green immediately before this focused fixture-only extension. - 2026-06-30 04:58:35 PDT - compaction-resume/status-audit - Resumed the active Solidity source-semantics completion goal after context compaction; checkpoint is the post-transient-boundary full Forge/solc/interpreter corpus run, then a closeness audit against the remaining typechecker/reference/ABI/internal semantics surface.
- 2026-06-30 05:25:01 PDT - test/post-transient-full-corpus - Complete pinned-solc/Forge/imported-Lean replay after the transient storage boundary fixture is green:
forge_interpreter_compare=pass,status=0,cases=97,paired_cases_passed=yes; key broad fixtures includingfrontend-frontier,reference-assignments,abi-malformed, andopenzeppelin-erc721-royaltyall reportforge=ok/lean=ok. - 2026-06-30 05:31:01 PDT - typechecker/function-typed-named-call - Pinned Solidity's rejection of named arguments through function-typed values. Added
NamedFunctionTypeCall.solto thefunction-type-locationspinned-solc invalid lanes and extendedfunctionTypeLocationDisciplineMatcheswith a common-checker witness for the same shape. Verification: direct pinned solc rejects withNamed argument "a" does not match function declaration;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck;lake build SolidCore.Spine.L00_SourceSolidity.Checked; focusedfunction-type-locationspaired replay reportsforge_interpreter_compare=pass,status=0,cases=1,paired_cases_passed=yes; manifest parse reportscases=97,solc_rejects=266,lean_evals=410;git diff --checkis green. - 2026-06-30 05:35:14 PDT - typechecker/tuple-index-rejection - Tightened the source checker to match solc's tuple boundary: tuple destructuring remains supported, but indexing tuple expressions or multi-return call results is rejected at the Solidity source layer. Added
TupleIndex.solto thetuple-destructurepinned-solc invalid lanes and extendedtupleDestructuringStaticRejectionDisciplineMatches. Verification: direct pinned solc rejects tuple indexing withIndexed expression has to be a type, mapping or array;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedtuple-destructurepaired replay reportsforge_interpreter_compare=pass,status=0,cases=1,paired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; manifest parse reportscases=97,solc_rejects=267,lean_evals=410;git diff --checkis green. - 2026-06-30 05:37:30 PDT - compaction-resume/goal-completion-status - Resumed after compaction to answer current distance-to-goal for the Solidity source-semantics completion objective; latest checkpoint is a green 97-case corpus before the two focused typechecker boundary tightenings, both of which are themselves green.
- 2026-06-30 06:21:50 PDT - typechecker/source-unit-pragmas - Paired source-unit pragma directive acceptedness against pinned solc. The common checker now rejects duplicate experimental pragmas, preserves solc's order-sensitive legacy ABI coder behavior where
pragma abicoder v2; pragma experimental ABIEncoderV2;is accepted but the reverse order is rejected, and manifest lanes pin bad Solidity-version, unknown, unsupported-experimental, bad-abicoder, duplicate-experimental, and experimental-before-abicoder directives. Verification: direct pinned solc probes established the accepted/rejected order;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationsandabi-coder-modespaired replays both reportforge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; manifest parse reportscases=97,solc_rejects=273, andlean_evals=411; Python harness syntax checks andgit diff --checkare green; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=97, andpaired_cases_passed=yes. - 2026-06-30 07:04:39 PDT - audit/source-boundary-exclusions - Added a lean-only
source-boundariesmanifest case for the explicit source-layer exclusions: checked source-unit entry rejects unresolved imports while raw execution remains separate, and checked source programs reject inline assembly/Yul by approved scope. The common typechecker aggregate coverage audit now finds allTypeCheck.lean*DisciplineMatches/*SemanticsMatch/*BoundaryMatchesaggregates manifest-visible; the broad top-levelcheckedSourceSoliditySemanticsMatcheval was measured and intentionally not added to every harness run because it is too expensive. Verification: focusedsource-boundariesreplay reportsforge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; complete paired replay reportsforge_interpreter_compare=pass,status=0,cases=98, andpaired_cases_passed=yes; manifest parse reportscases=98,solc_rejects=273, andlean_evals=413; Python harness syntax checks,git diff --check, and process cleanup checks are green. - 2026-06-30 07:06:04 PDT - compaction-resume/goal-distance-status - Resumed after compaction to answer how close the active Solidity source-semantics completion goal is; current checkpoint is a green 98-case pinned-solc/Forge/imported-Lean corpus with explicit source-boundary exclusions covered.
- 2026-06-30 07:13:23 PDT - typechecker/storage-to-calldata-origins - Extended the calldata-origin acceptedness slice from memory sources to storage sources. Added pinned-solc invalid lanes for storage-to-calldata local bindings, returns, internal calls, reassignment, and tuple destructuring, and extended
calldataOriginDisciplineMatchesso the common checker rejects the same family against explicit storage-backed source variables. Verification:lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedtypechecker-calldata-originsreplay reportssolc_rejects=ok,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; manifest parse reportscases=98,solc_rejects=278, andlean_evals=413;git diff --checkis green. - 2026-06-30 07:19:50 PDT - semantics/abi-high-level-address-fixed-return-strictness - Extended the
abi-malformedhigh-level external return-data boundary to cover two static ABI cleanup families that were not explicit in the paired corpus: malformed address high bits and dirty fixed-bytes padding. The shared.solfixture now has address/fixed-bytes return interfaces and fallback targets that return malformed words, Forge expects empty-data reverts, and the imported Lean high-level return boundary checks the same abstract low-level oracle outputs. Verification: focusedabi-malformedreplay reportsforge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; manifest parse reportscases=98,solc_rejects=278, andlean_evals=413;git diff --checkis green. - 2026-06-30 07:27:25 PDT - compaction-resume/goal-completion-status - Resumed after compaction to answer how close the active Solidity source-semantics completion goal is; latest durable checkpoint is a green 98-case corpus through source-boundary exclusions, calldata-origin acceptedness, and high-level ABI address/fixed-bytes cleanup, with the current in-flight ABI ignored-component return slice exposing an executable projection gap rather than a broad design gap.
- 2026-06-30 08:55:15 PDT - semantics/abi-ignored-return-component-strictness - Completed the high-level multi-return ABI strictness slice exposed by ignored tuple components.
Interface.leannow projects external member calls and external function-value calls through binding-aware helpers that declare only named tuple positions while still decoding and ABI-cleaning every declared return component before assignment, so malformed ignoredaddressor fixed-bytes return components revert just like solc. Verification:lake build SolidCore.Spine.L00_SourceSolidity.Interface; focusedabi-malformedreplay reportssolc_rejects=skipped,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; complete paired replay with--timeout 600reportsforge_interpreter_compare=pass,status=0,cases=98, andpaired_cases_passed=yes; manifest parse reportscases=98,solc_rejects=278, andlean_evals=413;git diff --checkis green. - 2026-06-30 09:02:11 PDT - semantics/abi-function-value-ignored-return-strictness - Added explicit paired evidence for the external function-value half of ignored multi-return ABI cleanup. The
abi-malformedfixture now createsfunction() external returns (uint256, address)andfunction() external returns (uint256, bytes4)values from interface members, calls them through function-typed locals, ignores the malformed second return component, and checks that solc/Forge and the imported Lean interpreter both revert with empty data before assigning the named component. Verification: manifest JSON parse; focusedabi-malformedreplay reportssolc_rejects=skipped,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0, andrender_failures=0; manifest parse reportscases=98,solc_rejects=278, andlean_evals=414;git diff --checkis green. Complete corpus was not rerun after this fixture-only extension; the immediately preceding complete 98-case replay at 08:55 was green and the focused changed case passed. - 2026-06-30 09:46:49 PDT - compaction-resume/goal-completion-distance - Resumed after compaction to answer how close the active Solidity source-semantics completion goal is; current checkpoint is the external function-value ignored-return ABI fixture with focused checks green and the full 98-case corpus replay still being recovered.
- 2026-06-30 10:32:33 PDT - test/post-abi-function-value-full-corpus - Complete pinned-solc/Forge/imported-Lean replay after the external function-value ignored-return ABI fixture is green:
forge_interpreter_compare=pass,status=0,cases=98, andpaired_cases_passed=yes;abi-malformedreportssolc_rejects=skipped,forge=ok, andlean=ok; manifest parse reportscases=98,solc_rejects=278, andlean_evals=414;git diff --checkis green. - 2026-06-30 10:40:03 PDT - typechecker/externally-visible-storage-locations - Extended declaration data-location acceptedness with direct pinned-solc/common-checker coverage for public/external storage parameters and storage returns. Added four
source-declarationsinvalid lanes (ExternalStorageParam,PublicStorageParam,ExternalStorageReturn,PublicStorageReturn) and wired the checker aggregate so externally visible storage params/returns reject while library storage-parameter behavior remains separate. Verification: direct pinned solc 0.8.35 rejects all four with storage-location diagnostics; manifest parse reportscases=98,solc_rejects=282, andlean_evals=414;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedsource-declarationsreplay reportssolc_rejects=ok,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked;git diff --checkis green. - 2026-06-30 10:46:11 PDT - compaction-resume/goal-completion-status - Resumed after compaction to answer current distance-to-goal for the Solidity source-semantics completion objective; durable checkpoint is a green 98-case corpus plus externally visible storage-location acceptedness, with free-function memory/calldata/storage reference boundary coverage currently being recovered.
- 2026-06-30 10:48:03 PDT - semantics/free-function-reference-boundaries - Added paired Forge/imported-Lean coverage for free functions with
memory,calldata, andstoragereference parameters/returns inoverride-data-locations. The fixture now round-trips memory and calldata arrays through free functions and checks that a storage reference returned from a free function aliases and mutates the original abstract storage array. Verification: direct pinned Forge foroverride-data-locationspasses; focusedoverride-data-locationsreplay reportssolc_rejects=ok,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.CheckedreportsBuild completed successfullywith only the known unused-variable warnings inInterface.lean:19943andTypeCheck.lean:5406; manifest parse reportscases=98,solc_rejects=282, andlean_evals=415;git diff --checkis green. - 2026-06-30 11:45:17 PDT - typechecker/function-type-abi-boundary - Promoted ABI-exposed function-type invalid shapes into the paired
function-type-locationslane. Added pinned-solc rejects and common-checker coverage for public internal-function parameters, invalidpublicfunction-type visibility, public internal-function state getters, and public getters for structs containing internal functions, while keeping public external-function pointer getters accepted. Verification: direct pinned solc 0.8.35 rejects all four new invalid fixtures with internal-type/function-visibility diagnostics; manifest parse reportscases=98,solc_rejects=286, andlean_evals=416;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedfunction-type-locationsreplay reportssolc_rejects=ok,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; complete paired replay with--timeout 600reportsforge_interpreter_compare=pass,status=0,cases=98, andpaired_cases_passed=yes;git diff --checkis green. - 2026-06-30 11:50:31 PDT - typechecker/function-type-abi-admissibility - Extended the paired
function-type-locationsacceptedness slice with external function-type ABI admissibility rules. Added pinned-solc rejects andfunctionTypeAbiAdmissibilityDisciplineMatchesfor external function types containing internal functions, external function types containing storage mapping parameters, and internal payable function types, while preserving common-checker acceptance for external function pointer parameters and payable external function types. Verification: direct pinned solc 0.8.35 rejects the three new invalid fixtures with internal-type/data-location/payable diagnostics; manifest parse reportscases=98,solc_rejects=289, andlean_evals=417;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedfunction-type-locationsreplay reportssolc_rejects=ok,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked;git diff --checkis green. The immediately preceding complete 98-case replay before these three fixture-only additions was green. - 2026-06-30 11:53:24 PDT - compaction-resume/goal-completion-status - Resumed after compaction to answer distance-to-goal for the active Solidity source-semantics completion objective; current checkpoint is a green 98-case full replay before the latest function-type ABI admissibility fixture-only additions, plus focused green checker/paired coverage for those additions.
- 2026-06-30 12:44:05 PDT - compaction-resume/goal-completion-status - Resumed after compaction to answer current distance-to-goal; latest in-flight checkpoint has focused public external-function pointer getter/storage/call-through coverage green, while the following full-corpus replay was interrupted after appearing stuck and is not counted as a green corpus result.
- 2026-06-30 12:45:06 PDT - semantics/public-external-function-pointer-getter - Paired public external-function pointer state getter semantics against solc in
abi-function-values: storing a bound external function pointer writes a typed abstract storage word, the generated public getter returns the stored address plus selector,.address/.selectoron the stored function value observe the stored pointer rather than the getter selector, and calls through the stored pointer use the abstract low-level call boundary. Verification: direct pinned solc compile passes; direct focused ForgetestPublicFunctionPointerGetterAndCallpasses;lake build SolidCore.Solidity.Interpreter,lake build SolidCore.Spine.L00_SourceSolidity.Interface, andlake build SolidCore.Spine.L00_SourceSolidity.Checkedcomplete with only known unused-variable warnings; focusedabi-function-valuesand neighboringfunction-member-kindspaired replays reportforge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes; manifest parse reportscases=98,solc_rejects=289, andlean_evals=418;git diff --checkis green. A subsequent complete replay was interrupted after roughly twenty minutes with the Python harness apparently sleeping and no child Lean/Forge process, so it remains inconclusive rather than green. - 2026-06-30 14:56:06 PDT - test/post-public-external-function-pointer-full-corpus - Restored the full pinned-solc/Forge/imported-Lean corpus checkpoint after the public external-function pointer getter/storage/call-through change. Complete replay with
FORGE=/Users/dan/.foundry/bin/forge scripts/compare_forge_solc_interpreter.sh --timeout 900reportsforge_interpreter_compare=pass,status=0,cases=98, andpaired_cases_passed=yes; the previously suspiciousfrontend-frontierandopenzeppelin-erc721-royaltylanes were slow but completed, andabi-function-valuesplusfunction-member-kindspassed in the full run. Manifest parse reportscases=98,solc_rejects=289, andlean_evals=418; pinned-solc AST audit reportssources=97,rendered_sources=97,unimplemented_node_types=0,unclassified_child_fields=0,unclassified_scalar_fields=0,unknown_source_scalar_value_fields=0, andrender_failures=0;lake build SolidCore.Spine.L00_SourceSolidity.Checkedcompletes with only the known unused-variable warnings inInterface.lean:20058andTypeCheck.lean:5406;git diff --checkis green. - 2026-06-30 15:00:06 PDT - compaction-resume/goal-completion-status - Resumed after compaction to answer distance-to-goal for the active Solidity source-semantics completion objective; latest durable checkpoint is the green 98-case pinned-solc/Forge/imported-Lean corpus plus zero unimplemented pinned-solc AST node types.
- 2026-06-30 16:55:46 PDT - typechecker/array-bytes-mutator-member-acceptedness - Paired Solidity
push/popmutator-member acceptedness against pinned solc and the common checker inreference-assignments. Added fourteen solc-reject lanes for memory/calldata/fixed-array/string receivers, calldata and memorybytes, namedpush, badpoparity, wrongbytes.pushelement type, and view-state array mutation; addedarrayMutationMemberDisciplineMatchescovering accepted storage dynamic-array and storage-bytesmutation plus the rejection family. Verification: manifest parse reportscases=98,solc_rejects=303, andlean_evals=419;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedreference-assignmentsreplay reportssolc_rejects=ok,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked; complete paired replay withFORGE=/Users/dan/.foundry/bin/forge scripts/compare_forge_solc_interpreter.sh --timeout 900reportsforge_interpreter_compare=pass,status=0,cases=98, andpaired_cases_passed=yes;git diff --checkis green. - 2026-06-30 17:29:35 PDT - typechecker/length-member-lvalue-acceptedness - Paired Solidity
.lengthlvalue/update acceptedness against pinned solc and the common checker inreference-assignments. Added six solc-reject lanes for storage dynamic-array length assignment/increment, storagebyteslength assignment/decrement, fixed-array length assignment, and memory-array length assignment; addedlengthMemberLValueDisciplineMatchesproving the common checker rejects the same family while preserving ordinary length reads. Verification: manifest parse reportscases=98,solc_rejects=309, andlean_evals=420;lake build SolidCore.Spine.L00_SourceSolidity.TypeCheck; focusedreference-assignmentsreplay reportssolc_rejects=ok,forge=ok,lean=ok,forge_interpreter_compare=pass,status=0,cases=1, andpaired_cases_passed=yes;lake build SolidCore.Spine.L00_SourceSolidity.Checked;git diff --checkis green. A complete paired replay was started and the PTY was interrupted while it was running; the orphaned process continued through real imported-Lean children and eventually exited with the harness temp directory removed, matching the success cleanup path, but its final stdout summary was not recoverable and is not counted as a durable full-corpus summary. - 2026-06-30 17:31:29 PDT - compaction-resume/current-slice-wrap - Resumed after compaction to wrap the
.lengthacceptedness slice, rerun narrow sanity checks, and pause without marking the broad Solidity semantics goal complete.