~what:[t1'] ~with_what:[C.Rel 1] ~where:gty'
in
C.Lambda
- (FreshNamesGenerator.mk_fresh_name metasenv context C.Anonymous ty,
+ (FreshNamesGenerator.mk_fresh_name ~subst:[] metasenv context C.Anonymous ~typ:ty,
ty, gty'')
in
let fresh_meta = ProofEngineHelpers.new_meta_of_proof proof in
~what:[t1'] ~with_what:[C.Rel 1] ~where:gty'
in
C.Lambda
- (FreshNamesGenerator.mk_fresh_name metasenv context C.Anonymous ty,
+ (FreshNamesGenerator.mk_fresh_name ~subst:[] metasenv context C.Anonymous ~typ:ty,
ty, gty'')
in
let fresh_meta = ProofEngineHelpers.new_meta_of_proof proof in
T.type_of_aux' metasenv context arg
in
let fresh_name =
- FreshNamesGenerator.mk_fresh_name
+ FreshNamesGenerator.mk_fresh_name ~subst:[]
metasenv context (Cic.Name "Heta") ~typ:argty
in
(C.Appl [C.Lambda (fresh_name,argty,aux 0 t) ; arg])
in
mk_tactic (apply_tac ~term)
-let intros_tac ?(mk_fresh_name_callback = FreshNamesGenerator.mk_fresh_name) ()=
+let intros_tac ?(mk_fresh_name_callback = FreshNamesGenerator.mk_fresh_name ~subst:[]) ()=
let intros_tac
- ?(mk_fresh_name_callback = FreshNamesGenerator.mk_fresh_name) ()
+ ?(mk_fresh_name_callback = FreshNamesGenerator.mk_fresh_name ~subst:[]) ()
(proof, goal)
=
let module C = Cic in
in
mk_tactic (intros_tac ~mk_fresh_name_callback ())
-let cut_tac ?(mk_fresh_name_callback = FreshNamesGenerator.mk_fresh_name) ~term=
+let cut_tac ?(mk_fresh_name_callback = FreshNamesGenerator.mk_fresh_name ~subst:[]) ~term=
let cut_tac
- ?(mk_fresh_name_callback = FreshNamesGenerator.mk_fresh_name)
+ ?(mk_fresh_name_callback = FreshNamesGenerator.mk_fresh_name ~subst:[])
term (proof, goal)
=
let module C = Cic in
in
mk_tactic (cut_tac ~mk_fresh_name_callback term)
-let letin_tac ?(mk_fresh_name_callback=FreshNamesGenerator.mk_fresh_name) ~term=
+let letin_tac ?(mk_fresh_name_callback=FreshNamesGenerator.mk_fresh_name ~subst:[]) ~term=
let letin_tac
- ?(mk_fresh_name_callback = FreshNamesGenerator.mk_fresh_name)
+ ?(mk_fresh_name_callback = FreshNamesGenerator.mk_fresh_name ~subst:[])
term (proof, goal)
=
let module C = Cic in
contesto e si lifta di tot... COSA SIGNIFICA TUTTO CIO'?????? *)
let generalize_tac
- ?(mk_fresh_name_callback = FreshNamesGenerator.mk_fresh_name) terms
+ ?(mk_fresh_name_callback = FreshNamesGenerator.mk_fresh_name ~subst:[]) terms
=
let module PET = ProofEngineTypes in
let generalize_tac mk_fresh_name_callback terms status =