X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=components%2Ftactics%2Fsetoids.mli;fp=components%2Ftactics%2Fsetoids.mli;h=abe71f4eb0b95326dcf2fa1145fa15c727a5d4e4;hp=0000000000000000000000000000000000000000;hb=f61af501fb4608cc4fb062a0864c774e677f0d76;hpb=58ae1809c352e71e7b5530dc41e2bfc834e1aef1 diff --git a/components/tactics/setoids.mli b/components/tactics/setoids.mli new file mode 100644 index 000000000..abe71f4eb --- /dev/null +++ b/components/tactics/setoids.mli @@ -0,0 +1,70 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* Cic.term -> ProofEngineTypes.tactic) -> unit +val register_general_rewrite : (bool -> Cic.term -> ProofEngineTypes.tactic) -> unit + +val print_setoids : unit -> unit + +val equiv_list : unit -> Cic.term list +val default_relation_for_carrier : + ?filter:(relation -> bool) -> Cic.term -> relation relation_class +(* [default_morphism] raises [Not_found] *) +val default_morphism : + ?filter:(Cic.term morphism -> bool) -> Cic.term -> relation morphism + +val setoid_replace : + Cic.term option -> Cic.term -> Cic.term -> new_goals:Cic.term list -> ProofEngineTypes.tactic +val setoid_replace_in : + string -> Cic.term option -> Cic.term -> Cic.term -> new_goals:Cic.term list -> + ProofEngineTypes.tactic + +val general_s_rewrite : bool -> Cic.term -> new_goals:Cic.term list -> ProofEngineTypes.tactic +val general_s_rewrite_in : + string -> bool -> Cic.term -> new_goals:Cic.term list -> ProofEngineTypes.tactic + +val setoid_reflexivity_tac : ProofEngineTypes.tactic +val setoid_symmetry : ProofEngineTypes.tactic +val setoid_symmetry_in : string -> ProofEngineTypes.tactic +val setoid_transitivity : Cic.term -> ProofEngineTypes.tactic + +val add_relation : + string -> Cic.term -> Cic.term -> Cic.term option -> + Cic.term option -> Cic.term option -> unit + +val new_named_morphism : + string -> Cic.term -> morphism_signature option -> unit + +val relation_table_find : Cic.term -> relation +val relation_table_mem : Cic.term -> bool