chore: Update Lean to v4.19.0

This commit is contained in:
Leni Aniva 2025-05-07 09:53:29 -04:00
parent 120eb90291
commit d41ec67a63
Signed by: aniva
GPG Key ID: D5F96287843E8DFB
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ structure Context where
structure State where
options : Protocol.Options := {}
nextId : Nat := 0
goalStates : Std.HashMap Nat GoalState := Std.HashMap.empty
goalStates : Std.HashMap Nat GoalState := Std.HashMap.emptyWithCapacity
env : Environment
-- Parser state
@ -225,7 +225,7 @@ def execute (command: Protocol.Command): MainM Json := do
reset (_: Protocol.Reset): EMainM Protocol.StatResult := do
let state ← getMainState
let nGoals := state.goalStates.size
set { state with nextId := 0, goalStates := .empty }
set { state with nextId := 0, goalStates := .emptyWithCapacity }
return { nGoals }
stat (_: Protocol.Stat): EMainM Protocol.StatResult := do
let state ← getMainState

View File

@ -1 +1 @@
leanprover/lean4:v4.18.0
leanprover/lean4:v4.19.0