summaryrefslogtreecommitdiff
path: root/Common
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2025-04-13 13:22:53 +0200
committerAndreas Grois <andi@grois.info>2025-04-13 13:22:53 +0200
commit8dbe99432db14b5f73585b9e34ecff6e61e76ca8 (patch)
tree5661b583c8ba54713ce876add172b64304ec8957 /Common
parent2390fe0a2fbbdd283d21049a1e997026d7d1948c (diff)
Lean 4.16
Diffstat (limited to 'Common')
-rw-r--r--Common/Parsing.lean2
1 files changed, 1 insertions, 1 deletions
diff --git a/Common/Parsing.lean b/Common/Parsing.lean
index 91bb751..b1ee779 100644
--- a/Common/Parsing.lean
+++ b/Common/Parsing.lean
@@ -103,7 +103,7 @@ instance [ToString Element] : ToString (MaybeEmptyRectangularGrid Element) where
have : x + e.width *y < e.elements.size := by
simp[Membership.mem, inferInstance, Std.instMembershipNatRange] at h₁ h₂
rw[e.size_valid]
- exact Nat.two_d_coordinate_to_index_lt_size h₁ h₂
+ exact Nat.two_d_coordinate_to_index_lt_size h₁.right.left h₂.right.left
r := r ++ (ToString.toString e.elements[x+e.width*y])
r