Skip to content

Upgrade to Lean 4.27.0 and update dependencies#30

Open
kelemeno wants to merge 2 commits intoNethermindEth:mainfrom
kelemeno:claude/apply-verification-changes-WVMbX
Open

Upgrade to Lean 4.27.0 and update dependencies#30
kelemeno wants to merge 2 commits intoNethermindEth:mainfrom
kelemeno:claude/apply-verification-changes-WVMbX

Conversation

@kelemeno
Copy link
Copy Markdown

  • Bump lean-toolchain from v4.9.1 to v4.27.0
  • Update mathlib dependency reference to v4.27.0 in lakefile.lean
  • Update lake-manifest.json to v1.1.0 with synced dependency revisions (batteries, Qq, aesop, proofwidgets v0.0.38→v0.0.85, Cli, importGraph, LeanSearchClient, plausible added as new transitive dep)

Mirrors changes from kelemeno/contracts-formal-verification PR #2.

https://claude.ai/code/session_015Y5otP46AcK4ontHNLFjHm

claude added 2 commits March 11, 2026 22:57
- Bump lean-toolchain from v4.9.1 to v4.27.0
- Update mathlib dependency reference to v4.27.0 in lakefile.lean
- Update lake-manifest.json to v1.1.0 with synced dependency revisions
  (batteries, Qq, aesop, proofwidgets v0.0.38→v0.0.85, Cli, importGraph,
   LeanSearchClient, plausible added as new transitive dep)

Mirrors changes from kelemeno/contracts-formal-verification PR NethermindEth#2.

https://claude.ai/code/session_015Y5otP46AcK4ontHNLFjHm
- Update lake-manifest.json: fix configFile for Qq and batteries (lakefile.toml)
- Clear/Interpreter.lean: remove Mathlib.Init.Data.List.Lemmas import
- Clear/Instr.lean: update import to Mathlib.Data.Nat.Basic
- Clear/SizeLemmas.lean: replace deprecated simp_arith with simp +arith
- Clear/UInt256.lean: fix Fin.ofNat (explicit modulus), UInt8.val→toNat,
  Array.data→toList, Nat.strong_rec_on→termination_by, pow_le_pow_right→
  Nat.pow_le_pow_right, zero_pow instance ambiguity, import paths
- Clear/EVMState.lean: fix Fin.ofNat, UInt8.val, Array.data, Nat.fold,
  add NeZero Address.size instance
- Clear/YulNotation.lean: fix parser API (c.inputString, s.next c start,
  Substring.Raw.mk, mkIdResult extra Bool arg), Formatter.pushToken extra
  Bool arg, split syntax catName:=... declarations, rename block→yulBlock,
  case→yulCase, default→yulDefault, switch→yulSwitch to avoid conflicts,
  fix quasiquote patterns to use $blk:yulBlock + getBlockBody helper

https://claude.ai/code/session_015Y5otP46AcK4ontHNLFjHm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants