Skip to content

Commit

Permalink
test for #26
Browse files Browse the repository at this point in the history
  • Loading branch information
lecopivo committed Oct 25, 2023
1 parent 387e536 commit 4ac0357
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions test/issues/26.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import SciLean


variable (a : Nat)

/- expected
info: let x := a + a;
a + (a + x) : ℕ
-/

/--
info: a +
let x := a + a;
a + x : ℕ
-/
#guard_msgs in
#check
(a +
(a +
let x := a + a
x))
rewrite_by
lsimp (config := {zeta := false, singlePass := true})

0 comments on commit 4ac0357

Please sign in to comment.