chore: don't use grind in HTTP (#13639)

This commit is contained in:
Henrik Böving 2026-05-05 15:06:12 +02:00 committed by GitHub
parent bd20c51ae4
commit a43972c856
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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`