summaryrefslogtreecommitdiff
path: root/Common/Substring.lean
diff options
context:
space:
mode:
Diffstat (limited to 'Common/Substring.lean')
-rw-r--r--Common/Substring.lean1
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