chore(library/congr_lemma_manager): fix style

This commit is contained in:
Leonardo de Moura 2016-01-03 18:02:50 -08:00
parent 19ebedd480
commit 4478d570bd

View file

@ -11,13 +11,17 @@ Author: Leonardo de Moura
namespace lean { namespace lean {
enum class congr_arg_kind { enum class congr_arg_kind {
Fixed, /* It is a parameter for the congruence lemma, the parit occurs in the left and right hand sides. */ /* It is a parameter for the congruence lemma, the parit occurs in the left and right hand sides. */
FixedNoParam, /* It is not a parameter for the congruence lemma, the lemma was specialized for this parameter. Fixed,
This only happens if the parameter is a subsingleton/proposition, and other parameters depend on it. */ /* It is not a parameter for the congruence lemma, the lemma was specialized for this parameter.
Eq, /* The lemma contains three parameters for this kind of argument a_i, b_i and (eq_i : a_i = b_i). This only happens if the parameter is a subsingleton/proposition, and other parameters depend on it. */
a_i and b_i represent the left and right hand sides, and eq_i is a proof for their equality. */ FixedNoParam,
Cast /* congr-simp lemma contains only one parameter for this kind of argument, and congr-lemmas contains two. /* The lemma contains three parameters for this kind of argument a_i, b_i and (eq_i : a_i = b_i).
They correspond to arguments that are subsingletons/propositions. */ a_i and b_i represent the left and right hand sides, and eq_i is a proof for their equality. */
Eq,
/* congr-simp lemma contains only one parameter for this kind of argument, and congr-lemmas contains two.
They correspond to arguments that are subsingletons/propositions. */
Cast
}; };
class congr_lemma { class congr_lemma {