From 8bf196796456cc9e7b6685d74741bf2cf305234c Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 31 Mar 2023 06:23:39 +0200 Subject: [PATCH] doc/stdenv/Dependencies: fix inference rule var name t0 is mentioned in the conclusion so we cannot use placeholder in the premise. --- doc/stdenv/stdenv.chapter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md index 8d125d5b2f33..8c0a7f7f5bb7 100644 --- a/doc/stdenv/stdenv.chapter.md +++ b/doc/stdenv/stdenv.chapter.md @@ -257,7 +257,7 @@ propagated-dep(mapOffset(h0, t0, h1), ``` let mapOffset(h, t, i) = i + (if i <= 0 then h else t - 1) -dep(h0, _, A, B) +dep(h0, t0, A, B) propagated-dep(h1, t1, B, C) h0 + h1 in {-1, 0, 1} h0 + t1 in {-1, 0, -1}