chore: adjust stdlib to recent changes
This commit is contained in:
parent
7a7ba648d5
commit
8e81f03e3a
2 changed files with 2 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ theorem mod_lt (x : Nat) {y : Nat} : y > 0 → x % y < y := by
|
|||
exact hgt
|
||||
| ind x y h h₂ =>
|
||||
intro h₃
|
||||
let ⟨_, h₁⟩ := h
|
||||
have ⟨_, h₁⟩ := h
|
||||
rw [mod_eq_sub_mod h₁]
|
||||
exact h₂ h₃
|
||||
|
||||
|
|
|
|||
|
|
@ -166,7 +166,7 @@ partial instance : ToJson DocumentSymbol where
|
|||
toJson :=
|
||||
let rec go
|
||||
| DocumentSymbol.mk sym =>
|
||||
have ToJson DocumentSymbol := ⟨go⟩
|
||||
have ToJson DocumentSymbol from ⟨go⟩
|
||||
toJson sym
|
||||
go
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue