https://github.com/EasyCrypt/easycrypt
Revision 89618ebb9290a5dbec3fe1a6a57b441bcba18a63 authored by Pierre-Yves Strub on 15 November 2017, 06:54:48 UTC, committed by Pierre-Yves Strub on 15 November 2017, 06:54:48 UTC
Syntax is: wlog: x1 ... xn / form. It transforms the goal G into: |- (forall x1 ... xn, form => G) => G |- form => G
1 parent 1923b91
Tip revision: 89618ebb9290a5dbec3fe1a6a57b441bcba18a63 authored by Pierre-Yves Strub on 15 November 2017, 06:54:48 UTC
New tactic: wlog (without loss of generality).
New tactic: wlog (without loss of generality).
Tip revision: 89618eb
ecUserMessages.mli
(* --------------------------------------------------------------------
* Copyright (c) - 2012--2016 - IMDEA Software Institute
* Copyright (c) - 2012--2017 - Inria
*
* Distributed under the terms of the CeCILL-C-V1 license
* -------------------------------------------------------------------- *)
(* -------------------------------------------------------------------- *)
open EcUtils
open EcTypes
open EcEnv
(* -------------------------------------------------------------------- *)
module TypingError : sig
open EcTyping
val pp_tyerror : env -> Format.formatter -> tyerror -> unit
val pp_cnv_failure : env -> Format.formatter -> tymod_cnv_failure -> unit
val pp_mismatch_funsig : env -> Format.formatter -> mismatch_funsig -> unit
val pp_modappl_error : env -> Format.formatter -> modapp_error -> unit
val pp_restr_error : env -> Format.formatter -> restriction_error -> unit
end
(* -------------------------------------------------------------------- *)
module InductiveError : sig
open EcHiInductive
val pp_rcerror : env -> Format.formatter -> rcerror -> unit
val pp_dterror : env -> Format.formatter -> dterror -> unit
val pp_fxerror : env -> Format.formatter -> fxerror -> unit
end
(* -------------------------------------------------------------------- *)
module PredError : sig
open EcHiPredicates
val pp_tperror : env -> Format.formatter -> tperror -> unit
end
(* -------------------------------------------------------------------- *)
module CloneError : sig
open EcThCloning
val string_of_ovkind : ovkind -> string
val pp_clone_error : env -> Format.formatter -> clone_error -> unit
end
(* -------------------------------------------------------------------- *)
module PTermError : sig
open EcProofTerm
val string_of_argkind : argkind -> string
val pp_pterm_apperror : Format.formatter -> pterror -> unit
end
(* -------------------------------------------------------------------- *)
module RedError : sig
open EcFol
val pp_incompatible_form : Format.formatter -> env -> form pair -> unit
val pp_incompatible_type : Format.formatter -> env -> ty pair -> unit
end
(* -------------------------------------------------------------------- *)
val pp_parse_error : Format.formatter -> string option -> unit
val pp_alias_clash : env -> Format.formatter -> EcPV.alias_clash -> unit
val pp_tc_error : Format.formatter -> EcCoreGoal.tcerror -> unit
(* -------------------------------------------------------------------- *)
val register : unit -> unit
Computing file changes ...