lean4-htt/library
Leonardo de Moura ea8ecfd390 fix(library/init/meta/interactive): use replace_target at simp_goal
replace_target uses id_locked.
The id_locked solution is more robust because simp may build a proof
using refl lemmas, but type_context may not be able to establish that
the previous and new target are definitionally equal.

@Armael This commit fixes the issue in the KreMLin proof you showed me.
Now, the following tactic succeeds (as expected)
```
        simp [lowstar_semantics.apply_ectx],
```
and the resulting goal is
```
...
|- exp.subbuf (exp.loc (b, n, list.nil field)) a_1 = exp.subbuf ↑?m_1 ?m_2
```
2017-06-05 15:21:20 -07:00
..
data feat(init/data/nat): bitwise operations 2017-05-30 12:47:44 -07:00
init fix(library/init/meta/interactive): use replace_target at simp_goal 2017-06-05 15:21:20 -07:00
smt feat(frontends/lean): swap (t) and ``(t) semantics 2017-05-15 09:41:31 -07:00
system feat(frontends/lean/decl_cmds): allow implicit locals in constants & axioms 2017-05-17 10:38:12 -07:00
tools/debugger chore(*): remove mini_crush 2017-05-31 10:10:47 -07:00
.project feat(*): C++ code generator 2016-12-05 16:11:41 -08:00
leanpkg.path feat(leanpkg): add package manager 2017-05-01 14:11:38 -07:00
library.md feat(init/data/nat/bitwise): properties of bitwise ops 2017-05-31 14:18:44 -07:00
standard.lean chore(library/system): enforce Lean naming conventions IO ==> io 2016-11-17 11:27:37 -08:00