summaryrefslogtreecommitdiff
path: root/Day16.lean
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2025-04-13 20:43:15 +0200
committerAndreas Grois <andi@grois.info>2025-04-13 20:43:15 +0200
commit671ccf18e506398fd8eb65ebac92ec6d2fd03ccd (patch)
tree593e38a09792d820917d8fdc9efecaf6ec67fe00 /Day16.lean
parent8dbe99432db14b5f73585b9e34ecff6e61e76ca8 (diff)
Lean 4.17
Diffstat (limited to 'Day16.lean')
-rw-r--r--Day16.lean2
1 files changed, 1 insertions, 1 deletions
diff --git a/Day16.lean b/Day16.lean
index ec602ca..7e5d3a9 100644
--- a/Day16.lean
+++ b/Day16.lean
@@ -267,7 +267,7 @@ private theorem SeenExitDirections.countExitDirections_increasesWhenSet {table :
unfold Parsing.RectangularGrid.Coordinate.toIndex at h₁ ⊢
unfold Array.set
simp[←Array.foldl_toList] at h₁ ⊢
- rw[Array.getElem_eq_getElem_toList] at h₁ ⊢
+ rw[←Array.getElem_toList] at h₁ ⊢
apply countExitDirections_increasesWhenSet_Aux
assumption