let subst, newm =
List.partition
(function (_,(Some tag,_,_,_)) ->
- tag <> in_scope_tag && tag <> out_scope_tag
+ tag <> NCicMetaSubst.in_scope_tag &&
+ not (NCicMetaSubst.is_out_scope_tag tag)
| _ -> true)
subst
in
let in_m, out_m =
List.partition
- (function (_,(Some tag,_,_,_)) -> tag = in_scope_tag | _ -> assert false)
+ (function (_,(Some tag,_,_,_)) ->
+ tag = NCicMetaSubst.in_scope_tag | _ -> assert false)
newm
in
let metasenv = List.map (fun (i,(_,c,_,t)) -> i,(None,c,t)) in_m @ metasenv in
[ select_tac ~where;
distribute_tac (fun status goal ->
let goalty = get_goalty status goal in
+ let _,_,w = what in
let status, what =
disambiguate status what None (ctx_of goalty) in
let _ty_what = typeof status (ctx_of what) what in
(* check inductive... find eliminator *)
- let w = (*astify what *) CicNotationPt.Ident ("m",None) in
let holes = [
CicNotationPt.Implicit;CicNotationPt.Implicit;CicNotationPt.Implicit]
in