From 2a9261d1ba962deff9fcc1784be44563af513af5 Mon Sep 17 00:00:00 2001
From: Andreas Grois <andi@grois.info>
Date: Fri, 10 Oct 2025 00:30:19 +0200
Subject: Lean 4.18

---
 Common/Parsing.lean | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'Common/Parsing.lean')

diff --git a/Common/Parsing.lean b/Common/Parsing.lean
index b1ee779..8237613 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₁.right.left h₂.right.left
+          exact Nat.two_d_coordinate_to_index_lt_size h₁.left h₂.left
         r := r ++ (ToString.toString e.elements[x+e.width*y])
     r
 
-- 
cgit v1.2.3

