chore(library/congr_lemma_manager): fix style
This commit is contained in:
parent
19ebedd480
commit
4478d570bd
1 changed files with 11 additions and 7 deletions
|
@ -11,13 +11,17 @@ Author: Leonardo de Moura
|
|||
|
||||
namespace lean {
|
||||
enum class congr_arg_kind {
|
||||
Fixed, /* 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.
|
||||
This only happens if the parameter is a subsingleton/proposition, and other parameters depend on it. */
|
||||
Eq, /* The lemma contains three parameters for this kind of argument a_i, b_i and (eq_i : a_i = b_i).
|
||||
a_i and b_i represent the left and right hand sides, and eq_i is a proof for their equality. */
|
||||
Cast /* 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. */
|
||||
/* It is a parameter for the congruence lemma, the parit occurs in the left and right hand sides. */
|
||||
Fixed,
|
||||
/* It is not a parameter for the congruence lemma, the lemma was specialized for this parameter.
|
||||
This only happens if the parameter is a subsingleton/proposition, and other parameters depend on it. */
|
||||
FixedNoParam,
|
||||
/* The lemma contains three parameters for this kind of argument a_i, b_i and (eq_i : a_i = b_i).
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue