diff options
| author | Andreas Grois <andi@grois.info> | 2025-10-12 23:44:28 +0200 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2025-10-12 23:44:28 +0200 |
| commit | 4379a1b052a7b7843613d5a3217b4bdbe37341fd (patch) | |
| tree | 006f608e2268b60e17adc842c13d228c7fc4c45d /Common | |
| parent | 6aaa70943202efaa1e6b4ff8b6b8b6b94a564040 (diff) | |
Lean 4.20.1
Diffstat (limited to 'Common')
| -rw-r--r-- | Common/Substring.lean | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Common/Substring.lean b/Common/Substring.lean index 194e405..4ed39b4 100644 --- a/Common/Substring.lean +++ b/Common/Substring.lean @@ -44,7 +44,6 @@ theorem drop_bsize_dec (s : Substring) (n : Nat) (h₁ : ¬s.isEmpty) (h₂ : n split <;> try split <;> try split all_goals simp - omega else have h₄ : s.stopPos.byteIdx - (s.startPos.byteIdx + ({ str := s.str, startPos := s.startPos, stopPos := s.stopPos : Substring}.nextn nn (if s.startPos + 0 = s.stopPos then 0 else { byteIdx := (s.str.next (s.startPos + 0)).byteIdx - s.startPos.byteIdx })).byteIdx) = 0 := by omega |
