Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
datokrat committed Feb 11, 2025
1 parent 7555158 commit 4dd5916
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Std/Data/DTreeMap/Internal/Lemmas.lean
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Authors: Markus Himmel
-/
prelude
import Std.Data.HashMap.Basic
import Std.Data.DTreeMap.Internal.WF
import Std.Data.DTreeMap.Internal.WF.Lemmas

/-!
# API lemmas for `DTreeMap.Impl`
Expand Down Expand Up @@ -39,7 +39,7 @@ scoped macro "empty" : tactic => `(tactic| { intros; simp_all [List.isEmpty_iff]
open Lean

private def queryNames : Array Name :=
#[``apply_isEmpty, ``apply_contains, ``apply_size]
#[``isEmpty_eq_isEmpty, ``contains_eq_containsKey, ``size_eq_length]

private def modifyMap : Std.HashMap Name Name :=
.ofList
Expand Down Expand Up @@ -79,7 +79,7 @@ attribute [local instance] beqOfOrd
attribute [local instance] equivBEq_of_transOrd

theorem isEmpty_empty : isEmpty (empty : Impl α β) := by
simp [Impl.apply_isEmpty]
simp [Impl.isEmpty_eq_isEmpty]

theorem isEmpty_insert [TransOrd α] (h : t.WF) {k : α} {v : β k} :
(t.insert k v h.balanced).impl.isEmpty = false := by
Expand Down

0 comments on commit 4dd5916

Please sign in to comment.