lean4-htt/tests/lean/run/compiler_proj_bug.lean
Leonardo de Moura 124b4d37fe feat(library/compiler): port simp_inductive to the new compiler stack
This commit also fixes a bug in the old `simp_inductive` module, and
removes now obsolete files (`compiler_step_visitor` and `old_util`).
2018-10-08 16:58:43 -07:00

7 lines
115 B
Text

structure S :=
(a : nat) (h : a > 0) (b : nat)
def f (s : S) :=
s.b - s.a
#eval f {a := 5, b := 30, h := sorry }