From $\mathbb{Q}$, the set of all rational numbers, I make some new structure $I$, and also make strict order and (equivalence) equality on $I$.
I want to use rewrite tactic for my defined relations (strict order, or equality). For example,
H : a < const_I 0
H0 : const_I 0 == b
I want to write
rewrite H0 in H.
However, this writing tells me that "not a rewritable relation".
Is there a way to use some new defined relations with 'rewrite' tactic?
<
relation as==
and rewriting. So you should first prove theorems about your==
to convince Coq it is rewritable. $\endgroup$rewrite
will do the job. $\endgroup$