chore: fix inconsistent style in internal hash map lemmas (#5033)
This commit is contained in:
parent
8c96d213f3
commit
3efd0e4e1f
2 changed files with 2 additions and 2 deletions
|
|
@ -92,7 +92,7 @@ theorem Perm.map (f : α → β) {l₁ l₂ : List α} (h : Perm l₁ l₂) : Pe
|
|||
induction h
|
||||
· exact .refl _
|
||||
· exact .cons _ ‹_›
|
||||
. exact .swap _ _ ‹_›
|
||||
· exact .swap _ _ ‹_›
|
||||
· exact .trans ‹_› ‹_›
|
||||
|
||||
theorem reverse_perm {l : List α} : Perm l.reverse l := by
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ theorem Sublist.length_le {l₁ l₂ : List α} (h : Sublist l₁ l₂) : l₁.l
|
|||
theorem Sublist.of_cons_left {l₁ l₂ : List α} {a : α} (h : Sublist (a::l₁) l₂) : Sublist l₁ l₂ := by
|
||||
cases h
|
||||
· exact .cons_right .refl
|
||||
. exact .cons_right ‹_›
|
||||
· exact .cons_right ‹_›
|
||||
· next h t ih => exact .cons_right (Sublist.of_cons_left ‹_›)
|
||||
|
||||
@[simp]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue