diff options
| author | Andreas Grois <andi@grois.info> | 2025-04-13 13:22:53 +0200 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2025-04-13 13:22:53 +0200 |
| commit | 8dbe99432db14b5f73585b9e34ecff6e61e76ca8 (patch) | |
| tree | 5661b583c8ba54713ce876add172b64304ec8957 /Common/Parsing.lean | |
| parent | 2390fe0a2fbbdd283d21049a1e997026d7d1948c (diff) | |
Lean 4.16
Diffstat (limited to 'Common/Parsing.lean')
| -rw-r--r-- | Common/Parsing.lean | 2 |
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 |
