(Cic.term * Cic.context * Cic.term) list *
(Cic.term * Cic.context * Cic.term) list
+(* Not primitive, but useful for elim *)
+
+exception AllSelectedTermsMustBeConvertible;;
+
+val generalize_tac:
+ ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
+ ProofEngineTypes.lazy_pattern ->
+ ProofEngineTypes.tactic
+
(* ALB, needed by the new paramodulation... *)
-val apply_tac_verbose_with_subst:
- term:Cic.term -> ProofEngineTypes.proof * int ->
- Cic.substitution * (ProofEngineTypes.proof * int list)
+val apply_with_subst:
+ term:Cic.term -> ?subst:Cic.substitution -> ?maxmeta:int -> ProofEngineTypes.proof * int ->
+ Cic.substitution * (ProofEngineTypes.proof * int list) * int
(* not a real tactic *)
val apply_tac_verbose :
val apply_tac:
term: Cic.term -> ProofEngineTypes.tactic
+val applyP_tac: (* apply for procedural reconstruction *)
+ term: Cic.term -> ProofEngineTypes.tactic
val exact_tac:
term: Cic.term -> ProofEngineTypes.tactic
val intros_tac:
val elim_intros_simpl_tac:
?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
- ?depth:int -> ?using:Cic.term -> Cic.term -> ProofEngineTypes.tactic
+ ?depth:int -> ?using:Cic.term ->
+ ?pattern:ProofEngineTypes.lazy_pattern -> Cic.term ->
+ ProofEngineTypes.tactic
val elim_intros_tac:
?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
- ?depth:int -> ?using:Cic.term -> Cic.term -> ProofEngineTypes.tactic
+ ?depth:int -> ?using:Cic.term ->
+ ?pattern:ProofEngineTypes.lazy_pattern -> Cic.term ->
+ ProofEngineTypes.tactic
+
+val cases_intros_tac:
+ ?howmany:int ->
+ ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
+ ?pattern:ProofEngineTypes.lazy_pattern -> Cic.term ->
+ ProofEngineTypes.tactic
+
+(* FG *)
+
+val mk_predicate_for_elim:
+ context:Cic.context -> metasenv:Cic.metasenv ->
+ ugraph:CicUniv.universe_graph -> goal:Cic.term ->
+ arg:Cic.term -> using:Cic.term -> cpattern:Cic.term -> args_no:int ->
+ Cic.metasenv * Cic.term * Cic.term * Cic.term list