chore: don't use grind in HTTP (#13639)
This commit is contained in:
parent
bd20c51ae4
commit
a43972c856
1 changed files with 8 additions and 1 deletions
|
|
@ -50,7 +50,14 @@ instance : Decidable (IsLowerCase s) :=
|
|||
namespace IsLowerCase
|
||||
|
||||
private theorem Char.toLower_idempotent (c : Char) : c.toLower.toLower = c.toLower := by
|
||||
grind [Char.toLower]
|
||||
simp only [Char.toLower]
|
||||
split
|
||||
· split
|
||||
· next h1 h2 =>
|
||||
simp only [UInt32.le_iff_toNat_le, UInt32.toNat_add, seval] at h1 h2
|
||||
omega
|
||||
· simp
|
||||
· rfl
|
||||
|
||||
/--
|
||||
Proof that applying `toLower` to any string results in a string that satisfies the `IsLowerCase`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue