0
$\begingroup$

I have a constraint set $C = \{1 \leq x \leq i, j \leq y \leq j+2\}$, now I would like to get another constraint set $C'$ from $C$ to instantiate all $j$ by a value 5, so $C' = \{1 \leq x \leq i, 5 \leq y \leq 7\}$

I am looking for an elegant way to express the relaion between $C$ and $C'$.

Some suggest $C' = C[j \mapsto 5]$ or $C' = C \leftarrow (j \mapsto 5)$ that I don't find appropriate.

Do you think $C' = C \sqcap \{j = 5\}$ makes sense?

Does anyone have any better idea?

$\endgroup$
  • $\begingroup$ If you're writing something that you want anyone else to read, the best idea in this case may just be to use words. I doubt there's any existing notation that will be clear to everyone already. If it's really necessary, you can define your own notation, and make it clear that you're using your own notation. $\endgroup$ – JohnJamesSmith Mar 19 '12 at 0:50
  • $\begingroup$ I agree that I have to define my own notation and explain before using it, but I have to decide which notation makes sense to be defined... $\endgroup$ – SoftTimur Mar 19 '12 at 1:03
0
$\begingroup$

Well, inspired by that notation used in calculus, you might try $C|_{j=5}$.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.