fix: binder name

Binder names are relevant for the `induction` tactic.
This commit is contained in:
Leonardo de Moura 2021-08-26 11:11:37 -07:00
parent 21a4296ca8
commit cf49e6fe8f

View file

@ -92,7 +92,7 @@ environment environment::add_quot() const {
/* constant {u} quot.ind {α : Sort u} {r : αα → Prop} {β : @quot.{u} α r → Prop}
: ( a : α, β (@quot.mk.{u} α r a)) q : @quot.{u} α r, β q */
new_env.add_core(constant_info(quot_val(*quot_consts::g_quot_ind, {u_name},
lctx.mk_pi({alpha, r, beta}, mk_arrow(all_quot, lctx.mk_pi(q, beta_q))), quot_kind::Ind)));
lctx.mk_pi({alpha, r, beta}, mk_pi("mk", all_quot, lctx.mk_pi(q, beta_q))), quot_kind::Ind)));
new_env.mark_quot_initialized();
return new_env;
}