How to define the subset with the two smallest elements












0














I am having a bit of trouble with basic notation.



I have a set of color value pairs e.g. CV = {(blue, 3), (orange,54), (red, 1), (brown, 43), (yellow,7)} and I want to define the subset that contains the lowest two values. In our case that would be Subset = {(blue, 3), (red, 1)}.



Thanks in advance.










share|cite|improve this question






















  • What is the context ? Programming or maths. Why do yo want a specific notation ?
    – Yves Daoust
    Nov 20 '18 at 22:43






  • 2




    Why do you insist on having notation for this? Words convey the meaning in a rather clear, concise, and relatively unambiguous way. If you try to use notation for it instead, you run the risk of it being more confusing and difficult to read.
    – JMoravitz
    Nov 20 '18 at 23:21










  • @YvesDaoust math.I have run into the problem that it is often not exactly clear to others what I mean. So I was wondering if there is a clean notation for this one.
    – oldmansaur
    Nov 20 '18 at 23:42










  • What is the context ? Programming or maths ?
    – Yves Daoust
    Nov 21 '18 at 9:10










  • Note that for this subset to be unambiguously defined, there must be at least two pairs, and the values must be distinct.
    – Yves Daoust
    Nov 21 '18 at 9:12
















0














I am having a bit of trouble with basic notation.



I have a set of color value pairs e.g. CV = {(blue, 3), (orange,54), (red, 1), (brown, 43), (yellow,7)} and I want to define the subset that contains the lowest two values. In our case that would be Subset = {(blue, 3), (red, 1)}.



Thanks in advance.










share|cite|improve this question






















  • What is the context ? Programming or maths. Why do yo want a specific notation ?
    – Yves Daoust
    Nov 20 '18 at 22:43






  • 2




    Why do you insist on having notation for this? Words convey the meaning in a rather clear, concise, and relatively unambiguous way. If you try to use notation for it instead, you run the risk of it being more confusing and difficult to read.
    – JMoravitz
    Nov 20 '18 at 23:21










  • @YvesDaoust math.I have run into the problem that it is often not exactly clear to others what I mean. So I was wondering if there is a clean notation for this one.
    – oldmansaur
    Nov 20 '18 at 23:42










  • What is the context ? Programming or maths ?
    – Yves Daoust
    Nov 21 '18 at 9:10










  • Note that for this subset to be unambiguously defined, there must be at least two pairs, and the values must be distinct.
    – Yves Daoust
    Nov 21 '18 at 9:12














0












0








0







I am having a bit of trouble with basic notation.



I have a set of color value pairs e.g. CV = {(blue, 3), (orange,54), (red, 1), (brown, 43), (yellow,7)} and I want to define the subset that contains the lowest two values. In our case that would be Subset = {(blue, 3), (red, 1)}.



Thanks in advance.










share|cite|improve this question













I am having a bit of trouble with basic notation.



I have a set of color value pairs e.g. CV = {(blue, 3), (orange,54), (red, 1), (brown, 43), (yellow,7)} and I want to define the subset that contains the lowest two values. In our case that would be Subset = {(blue, 3), (red, 1)}.



Thanks in advance.







notation






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 20 '18 at 22:36









oldmansaur

275




275












  • What is the context ? Programming or maths. Why do yo want a specific notation ?
    – Yves Daoust
    Nov 20 '18 at 22:43






  • 2




    Why do you insist on having notation for this? Words convey the meaning in a rather clear, concise, and relatively unambiguous way. If you try to use notation for it instead, you run the risk of it being more confusing and difficult to read.
    – JMoravitz
    Nov 20 '18 at 23:21










  • @YvesDaoust math.I have run into the problem that it is often not exactly clear to others what I mean. So I was wondering if there is a clean notation for this one.
    – oldmansaur
    Nov 20 '18 at 23:42










  • What is the context ? Programming or maths ?
    – Yves Daoust
    Nov 21 '18 at 9:10










  • Note that for this subset to be unambiguously defined, there must be at least two pairs, and the values must be distinct.
    – Yves Daoust
    Nov 21 '18 at 9:12


















  • What is the context ? Programming or maths. Why do yo want a specific notation ?
    – Yves Daoust
    Nov 20 '18 at 22:43






  • 2




    Why do you insist on having notation for this? Words convey the meaning in a rather clear, concise, and relatively unambiguous way. If you try to use notation for it instead, you run the risk of it being more confusing and difficult to read.
    – JMoravitz
    Nov 20 '18 at 23:21










  • @YvesDaoust math.I have run into the problem that it is often not exactly clear to others what I mean. So I was wondering if there is a clean notation for this one.
    – oldmansaur
    Nov 20 '18 at 23:42










  • What is the context ? Programming or maths ?
    – Yves Daoust
    Nov 21 '18 at 9:10










  • Note that for this subset to be unambiguously defined, there must be at least two pairs, and the values must be distinct.
    – Yves Daoust
    Nov 21 '18 at 9:12
















What is the context ? Programming or maths. Why do yo want a specific notation ?
– Yves Daoust
Nov 20 '18 at 22:43




What is the context ? Programming or maths. Why do yo want a specific notation ?
– Yves Daoust
Nov 20 '18 at 22:43




2




2




Why do you insist on having notation for this? Words convey the meaning in a rather clear, concise, and relatively unambiguous way. If you try to use notation for it instead, you run the risk of it being more confusing and difficult to read.
– JMoravitz
Nov 20 '18 at 23:21




Why do you insist on having notation for this? Words convey the meaning in a rather clear, concise, and relatively unambiguous way. If you try to use notation for it instead, you run the risk of it being more confusing and difficult to read.
– JMoravitz
Nov 20 '18 at 23:21












@YvesDaoust math.I have run into the problem that it is often not exactly clear to others what I mean. So I was wondering if there is a clean notation for this one.
– oldmansaur
Nov 20 '18 at 23:42




@YvesDaoust math.I have run into the problem that it is often not exactly clear to others what I mean. So I was wondering if there is a clean notation for this one.
– oldmansaur
Nov 20 '18 at 23:42












What is the context ? Programming or maths ?
– Yves Daoust
Nov 21 '18 at 9:10




What is the context ? Programming or maths ?
– Yves Daoust
Nov 21 '18 at 9:10












Note that for this subset to be unambiguously defined, there must be at least two pairs, and the values must be distinct.
– Yves Daoust
Nov 21 '18 at 9:12




Note that for this subset to be unambiguously defined, there must be at least two pairs, and the values must be distinct.
– Yves Daoust
Nov 21 '18 at 9:12










1 Answer
1






active

oldest

votes


















0














$S in mathcal P(A) land |S| = 2 land (exists (a,b) in S implies (b = min{S[mathrm{Dom}, f]} lor b = min{(S[mathrm{Dom} , f] / min{S[mathrm{Dom} ,f]})})$.



Whew. I wonder why you need this, tho.
Note that this set must exist by the axiom of specification.






share|cite|improve this answer





















    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%2f3007003%2fhow-to-define-the-subset-with-the-two-smallest-elements%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









    0














    $S in mathcal P(A) land |S| = 2 land (exists (a,b) in S implies (b = min{S[mathrm{Dom}, f]} lor b = min{(S[mathrm{Dom} , f] / min{S[mathrm{Dom} ,f]})})$.



    Whew. I wonder why you need this, tho.
    Note that this set must exist by the axiom of specification.






    share|cite|improve this answer


























      0














      $S in mathcal P(A) land |S| = 2 land (exists (a,b) in S implies (b = min{S[mathrm{Dom}, f]} lor b = min{(S[mathrm{Dom} , f] / min{S[mathrm{Dom} ,f]})})$.



      Whew. I wonder why you need this, tho.
      Note that this set must exist by the axiom of specification.






      share|cite|improve this answer
























        0












        0








        0






        $S in mathcal P(A) land |S| = 2 land (exists (a,b) in S implies (b = min{S[mathrm{Dom}, f]} lor b = min{(S[mathrm{Dom} , f] / min{S[mathrm{Dom} ,f]})})$.



        Whew. I wonder why you need this, tho.
        Note that this set must exist by the axiom of specification.






        share|cite|improve this answer












        $S in mathcal P(A) land |S| = 2 land (exists (a,b) in S implies (b = min{S[mathrm{Dom}, f]} lor b = min{(S[mathrm{Dom} , f] / min{S[mathrm{Dom} ,f]})})$.



        Whew. I wonder why you need this, tho.
        Note that this set must exist by the axiom of specification.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 21 '18 at 1:35









        Lucas Henrique

        995314




        995314






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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.


            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%2f3007003%2fhow-to-define-the-subset-with-the-two-smallest-elements%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

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents