Idris2/tests/idris2/basic014/expected

12 lines
505 B
Plaintext
Raw Normal View History

1/1: Building Rewrite (Rewrite.idr)
Rewrite.idr:15:25--17:1:While processing right hand side of wrongCommutes at Rewrite.idr:15:1--17:1:
2020-06-11 23:46:36 +03:00
Rewriting by m + k = k + m did not change type S k + m = m + S k at:
15 wrongCommutes (S k) m = rewrite plusCommutes m k in ?bar
16
17 wrongCommutes2 : (n, m : Nat) -> n + m = m + n
Rewrite.idr:19:26--20:1:While processing right hand side of wrongCommutes2 at Rewrite.idr:19:1--20:1:
2020-06-11 23:46:36 +03:00
Nat is not a rewrite rule type at:
19 wrongCommutes2 (S k) m = rewrite m in ?bar