How can I notate the assignment of each variable in a tuple to a specific value?












1












$begingroup$


Assume I have a tuple of variables, i.e. $mathcal{T} = (x_1,...,x_n)$. Now I would like to assign each of those elements in the tuple to the same value $c$. How I can I denote this in a formally correct way? Maybe using the $forall$ symbol?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    $x_1 = x_2 = ldots = c_n = c$?
    $endgroup$
    – Bermudes
    Jan 21 at 13:14
















1












$begingroup$


Assume I have a tuple of variables, i.e. $mathcal{T} = (x_1,...,x_n)$. Now I would like to assign each of those elements in the tuple to the same value $c$. How I can I denote this in a formally correct way? Maybe using the $forall$ symbol?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    $x_1 = x_2 = ldots = c_n = c$?
    $endgroup$
    – Bermudes
    Jan 21 at 13:14














1












1








1





$begingroup$


Assume I have a tuple of variables, i.e. $mathcal{T} = (x_1,...,x_n)$. Now I would like to assign each of those elements in the tuple to the same value $c$. How I can I denote this in a formally correct way? Maybe using the $forall$ symbol?










share|cite|improve this question











$endgroup$




Assume I have a tuple of variables, i.e. $mathcal{T} = (x_1,...,x_n)$. Now I would like to assign each of those elements in the tuple to the same value $c$. How I can I denote this in a formally correct way? Maybe using the $forall$ symbol?







notation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 21 at 13:14







Chris

















asked Jan 21 at 13:11









ChrisChris

1084




1084








  • 1




    $begingroup$
    $x_1 = x_2 = ldots = c_n = c$?
    $endgroup$
    – Bermudes
    Jan 21 at 13:14














  • 1




    $begingroup$
    $x_1 = x_2 = ldots = c_n = c$?
    $endgroup$
    – Bermudes
    Jan 21 at 13:14








1




1




$begingroup$
$x_1 = x_2 = ldots = c_n = c$?
$endgroup$
– Bermudes
Jan 21 at 13:14




$begingroup$
$x_1 = x_2 = ldots = c_n = c$?
$endgroup$
– Bermudes
Jan 21 at 13:14










1 Answer
1






active

oldest

votes


















4












$begingroup$

Why not just write $x_i=c$ for all $i$, or, as suggested above, $x_1=cdots=x_n=c$? You could also write $(x_1,ldots,x_n)=(c,ldots,c)$.



If you wanted to use notation alone, you could write
$$forall 1leq ileq n:x_i=c$$
or if the range is understood,
$$forall i:x_i=c$$
However it's a bit of a pet peeve of mine when people only use notation like this. Words are often more understandable. If you do use this, use it sparingly, unless you actually are writing formal strings for the purpose of studying them.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    True, I could do that, but I don't think its nice. I thought more about something like: $forall x_i in mathcal{T}: x_i = c$ but I don't know if that is correct formally.
    $endgroup$
    – Chris
    Jan 21 at 13:15






  • 2




    $begingroup$
    @Chris I would avoid using notation like that unless it's absolutely necessary. It's hard to read.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:16










  • $begingroup$
    @Chris I put in two examples of doing it the way you suggest.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:20










  • $begingroup$
    thanks! I agree that the most simple notation which transports the same message is probably the cleanest way. But besides that, was my proposed solution correct from a formal point of view?
    $endgroup$
    – Chris
    Jan 21 at 13:22










  • $begingroup$
    @Chris Yes. You could quantify over the set or over the index.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:22











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3081863%2fhow-can-i-notate-the-assignment-of-each-variable-in-a-tuple-to-a-specific-value%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









4












$begingroup$

Why not just write $x_i=c$ for all $i$, or, as suggested above, $x_1=cdots=x_n=c$? You could also write $(x_1,ldots,x_n)=(c,ldots,c)$.



If you wanted to use notation alone, you could write
$$forall 1leq ileq n:x_i=c$$
or if the range is understood,
$$forall i:x_i=c$$
However it's a bit of a pet peeve of mine when people only use notation like this. Words are often more understandable. If you do use this, use it sparingly, unless you actually are writing formal strings for the purpose of studying them.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    True, I could do that, but I don't think its nice. I thought more about something like: $forall x_i in mathcal{T}: x_i = c$ but I don't know if that is correct formally.
    $endgroup$
    – Chris
    Jan 21 at 13:15






  • 2




    $begingroup$
    @Chris I would avoid using notation like that unless it's absolutely necessary. It's hard to read.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:16










  • $begingroup$
    @Chris I put in two examples of doing it the way you suggest.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:20










  • $begingroup$
    thanks! I agree that the most simple notation which transports the same message is probably the cleanest way. But besides that, was my proposed solution correct from a formal point of view?
    $endgroup$
    – Chris
    Jan 21 at 13:22










  • $begingroup$
    @Chris Yes. You could quantify over the set or over the index.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:22
















4












$begingroup$

Why not just write $x_i=c$ for all $i$, or, as suggested above, $x_1=cdots=x_n=c$? You could also write $(x_1,ldots,x_n)=(c,ldots,c)$.



If you wanted to use notation alone, you could write
$$forall 1leq ileq n:x_i=c$$
or if the range is understood,
$$forall i:x_i=c$$
However it's a bit of a pet peeve of mine when people only use notation like this. Words are often more understandable. If you do use this, use it sparingly, unless you actually are writing formal strings for the purpose of studying them.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    True, I could do that, but I don't think its nice. I thought more about something like: $forall x_i in mathcal{T}: x_i = c$ but I don't know if that is correct formally.
    $endgroup$
    – Chris
    Jan 21 at 13:15






  • 2




    $begingroup$
    @Chris I would avoid using notation like that unless it's absolutely necessary. It's hard to read.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:16










  • $begingroup$
    @Chris I put in two examples of doing it the way you suggest.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:20










  • $begingroup$
    thanks! I agree that the most simple notation which transports the same message is probably the cleanest way. But besides that, was my proposed solution correct from a formal point of view?
    $endgroup$
    – Chris
    Jan 21 at 13:22










  • $begingroup$
    @Chris Yes. You could quantify over the set or over the index.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:22














4












4








4





$begingroup$

Why not just write $x_i=c$ for all $i$, or, as suggested above, $x_1=cdots=x_n=c$? You could also write $(x_1,ldots,x_n)=(c,ldots,c)$.



If you wanted to use notation alone, you could write
$$forall 1leq ileq n:x_i=c$$
or if the range is understood,
$$forall i:x_i=c$$
However it's a bit of a pet peeve of mine when people only use notation like this. Words are often more understandable. If you do use this, use it sparingly, unless you actually are writing formal strings for the purpose of studying them.






share|cite|improve this answer











$endgroup$



Why not just write $x_i=c$ for all $i$, or, as suggested above, $x_1=cdots=x_n=c$? You could also write $(x_1,ldots,x_n)=(c,ldots,c)$.



If you wanted to use notation alone, you could write
$$forall 1leq ileq n:x_i=c$$
or if the range is understood,
$$forall i:x_i=c$$
However it's a bit of a pet peeve of mine when people only use notation like this. Words are often more understandable. If you do use this, use it sparingly, unless you actually are writing formal strings for the purpose of studying them.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Jan 21 at 13:19

























answered Jan 21 at 13:14









Matt SamuelMatt Samuel

38.8k63769




38.8k63769












  • $begingroup$
    True, I could do that, but I don't think its nice. I thought more about something like: $forall x_i in mathcal{T}: x_i = c$ but I don't know if that is correct formally.
    $endgroup$
    – Chris
    Jan 21 at 13:15






  • 2




    $begingroup$
    @Chris I would avoid using notation like that unless it's absolutely necessary. It's hard to read.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:16










  • $begingroup$
    @Chris I put in two examples of doing it the way you suggest.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:20










  • $begingroup$
    thanks! I agree that the most simple notation which transports the same message is probably the cleanest way. But besides that, was my proposed solution correct from a formal point of view?
    $endgroup$
    – Chris
    Jan 21 at 13:22










  • $begingroup$
    @Chris Yes. You could quantify over the set or over the index.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:22


















  • $begingroup$
    True, I could do that, but I don't think its nice. I thought more about something like: $forall x_i in mathcal{T}: x_i = c$ but I don't know if that is correct formally.
    $endgroup$
    – Chris
    Jan 21 at 13:15






  • 2




    $begingroup$
    @Chris I would avoid using notation like that unless it's absolutely necessary. It's hard to read.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:16










  • $begingroup$
    @Chris I put in two examples of doing it the way you suggest.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:20










  • $begingroup$
    thanks! I agree that the most simple notation which transports the same message is probably the cleanest way. But besides that, was my proposed solution correct from a formal point of view?
    $endgroup$
    – Chris
    Jan 21 at 13:22










  • $begingroup$
    @Chris Yes. You could quantify over the set or over the index.
    $endgroup$
    – Matt Samuel
    Jan 21 at 13:22
















$begingroup$
True, I could do that, but I don't think its nice. I thought more about something like: $forall x_i in mathcal{T}: x_i = c$ but I don't know if that is correct formally.
$endgroup$
– Chris
Jan 21 at 13:15




$begingroup$
True, I could do that, but I don't think its nice. I thought more about something like: $forall x_i in mathcal{T}: x_i = c$ but I don't know if that is correct formally.
$endgroup$
– Chris
Jan 21 at 13:15




2




2




$begingroup$
@Chris I would avoid using notation like that unless it's absolutely necessary. It's hard to read.
$endgroup$
– Matt Samuel
Jan 21 at 13:16




$begingroup$
@Chris I would avoid using notation like that unless it's absolutely necessary. It's hard to read.
$endgroup$
– Matt Samuel
Jan 21 at 13:16












$begingroup$
@Chris I put in two examples of doing it the way you suggest.
$endgroup$
– Matt Samuel
Jan 21 at 13:20




$begingroup$
@Chris I put in two examples of doing it the way you suggest.
$endgroup$
– Matt Samuel
Jan 21 at 13:20












$begingroup$
thanks! I agree that the most simple notation which transports the same message is probably the cleanest way. But besides that, was my proposed solution correct from a formal point of view?
$endgroup$
– Chris
Jan 21 at 13:22




$begingroup$
thanks! I agree that the most simple notation which transports the same message is probably the cleanest way. But besides that, was my proposed solution correct from a formal point of view?
$endgroup$
– Chris
Jan 21 at 13:22












$begingroup$
@Chris Yes. You could quantify over the set or over the index.
$endgroup$
– Matt Samuel
Jan 21 at 13:22




$begingroup$
@Chris Yes. You could quantify over the set or over the index.
$endgroup$
– Matt Samuel
Jan 21 at 13:22


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3081863%2fhow-can-i-notate-the-assignment-of-each-variable-in-a-tuple-to-a-specific-value%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith