What are the objects of Hom$(y,x)$ in the contra-variant Yoneda functor












1












$begingroup$


I am reading about the contra-variant Yoneda functor and I am bit confused about what objects actually are in the Hom set.



More specifically, if $Hom(-,x):mathcal{C}^{op}rightarrow Set$ is the contra-variant Yoneda functor, then are the elements of $Hom(-,x)(y) = Hom(y,x)$ morphisms in $mathcal{C}$ between $y$ and $x$? Or are they morphisms in $mathcal{C}^{op}$ from $y$ to $x$, which then would correspond to morphism $x$ to $y$ in $mathcal{C}$?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Minor nit. Usually the Yoneda embedding is the functor that produces $mathsf{Hom}(-,X)$, i.e. it is a functor $mathcal Cto[mathcal C^{op},mathbf{Set}]$ were $[mathcal D,mathcal E]$ stands for the category of functors from $mathcal D$ to $mathcal E$. The idea is that $mathcal C$ is embedded into $[mathcal C^{op},mathbf{Set}]$. Since this overall functor is covariant, it is the (covariant) Yoneda embedding. The other way, $mathcal C^{op}to[mathcal C,mathbf{Set}]$ is sometimes called the contravariant Yoneda embedding, though in reality they are the same thing.
    $endgroup$
    – Derek Elkins
    Feb 2 at 21:15


















1












$begingroup$


I am reading about the contra-variant Yoneda functor and I am bit confused about what objects actually are in the Hom set.



More specifically, if $Hom(-,x):mathcal{C}^{op}rightarrow Set$ is the contra-variant Yoneda functor, then are the elements of $Hom(-,x)(y) = Hom(y,x)$ morphisms in $mathcal{C}$ between $y$ and $x$? Or are they morphisms in $mathcal{C}^{op}$ from $y$ to $x$, which then would correspond to morphism $x$ to $y$ in $mathcal{C}$?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Minor nit. Usually the Yoneda embedding is the functor that produces $mathsf{Hom}(-,X)$, i.e. it is a functor $mathcal Cto[mathcal C^{op},mathbf{Set}]$ were $[mathcal D,mathcal E]$ stands for the category of functors from $mathcal D$ to $mathcal E$. The idea is that $mathcal C$ is embedded into $[mathcal C^{op},mathbf{Set}]$. Since this overall functor is covariant, it is the (covariant) Yoneda embedding. The other way, $mathcal C^{op}to[mathcal C,mathbf{Set}]$ is sometimes called the contravariant Yoneda embedding, though in reality they are the same thing.
    $endgroup$
    – Derek Elkins
    Feb 2 at 21:15
















1












1








1





$begingroup$


I am reading about the contra-variant Yoneda functor and I am bit confused about what objects actually are in the Hom set.



More specifically, if $Hom(-,x):mathcal{C}^{op}rightarrow Set$ is the contra-variant Yoneda functor, then are the elements of $Hom(-,x)(y) = Hom(y,x)$ morphisms in $mathcal{C}$ between $y$ and $x$? Or are they morphisms in $mathcal{C}^{op}$ from $y$ to $x$, which then would correspond to morphism $x$ to $y$ in $mathcal{C}$?










share|cite|improve this question









$endgroup$




I am reading about the contra-variant Yoneda functor and I am bit confused about what objects actually are in the Hom set.



More specifically, if $Hom(-,x):mathcal{C}^{op}rightarrow Set$ is the contra-variant Yoneda functor, then are the elements of $Hom(-,x)(y) = Hom(y,x)$ morphisms in $mathcal{C}$ between $y$ and $x$? Or are they morphisms in $mathcal{C}^{op}$ from $y$ to $x$, which then would correspond to morphism $x$ to $y$ in $mathcal{C}$?







category-theory






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Feb 2 at 13:06









foshofosho

4,7811033




4,7811033












  • $begingroup$
    Minor nit. Usually the Yoneda embedding is the functor that produces $mathsf{Hom}(-,X)$, i.e. it is a functor $mathcal Cto[mathcal C^{op},mathbf{Set}]$ were $[mathcal D,mathcal E]$ stands for the category of functors from $mathcal D$ to $mathcal E$. The idea is that $mathcal C$ is embedded into $[mathcal C^{op},mathbf{Set}]$. Since this overall functor is covariant, it is the (covariant) Yoneda embedding. The other way, $mathcal C^{op}to[mathcal C,mathbf{Set}]$ is sometimes called the contravariant Yoneda embedding, though in reality they are the same thing.
    $endgroup$
    – Derek Elkins
    Feb 2 at 21:15




















  • $begingroup$
    Minor nit. Usually the Yoneda embedding is the functor that produces $mathsf{Hom}(-,X)$, i.e. it is a functor $mathcal Cto[mathcal C^{op},mathbf{Set}]$ were $[mathcal D,mathcal E]$ stands for the category of functors from $mathcal D$ to $mathcal E$. The idea is that $mathcal C$ is embedded into $[mathcal C^{op},mathbf{Set}]$. Since this overall functor is covariant, it is the (covariant) Yoneda embedding. The other way, $mathcal C^{op}to[mathcal C,mathbf{Set}]$ is sometimes called the contravariant Yoneda embedding, though in reality they are the same thing.
    $endgroup$
    – Derek Elkins
    Feb 2 at 21:15


















$begingroup$
Minor nit. Usually the Yoneda embedding is the functor that produces $mathsf{Hom}(-,X)$, i.e. it is a functor $mathcal Cto[mathcal C^{op},mathbf{Set}]$ were $[mathcal D,mathcal E]$ stands for the category of functors from $mathcal D$ to $mathcal E$. The idea is that $mathcal C$ is embedded into $[mathcal C^{op},mathbf{Set}]$. Since this overall functor is covariant, it is the (covariant) Yoneda embedding. The other way, $mathcal C^{op}to[mathcal C,mathbf{Set}]$ is sometimes called the contravariant Yoneda embedding, though in reality they are the same thing.
$endgroup$
– Derek Elkins
Feb 2 at 21:15






$begingroup$
Minor nit. Usually the Yoneda embedding is the functor that produces $mathsf{Hom}(-,X)$, i.e. it is a functor $mathcal Cto[mathcal C^{op},mathbf{Set}]$ were $[mathcal D,mathcal E]$ stands for the category of functors from $mathcal D$ to $mathcal E$. The idea is that $mathcal C$ is embedded into $[mathcal C^{op},mathbf{Set}]$. Since this overall functor is covariant, it is the (covariant) Yoneda embedding. The other way, $mathcal C^{op}to[mathcal C,mathbf{Set}]$ is sometimes called the contravariant Yoneda embedding, though in reality they are the same thing.
$endgroup$
– Derek Elkins
Feb 2 at 21:15












2 Answers
2






active

oldest

votes


















1












$begingroup$

The confusion comes from the notation $C^{op}$, which is often used only to indicate that the functor is contravariant.



The covariant Yoneda lemma uses the covariant functor $Hom(x,-):Cto Set$, while the contravariant Yoneda lemma uses the contravariant functor $Hom(-,x):Cto Set$. This contravariant functor is equivalent to the covariant functor $Hom(x,-):C^{op}to Set$ if we want to be strict with the notation, but as I said, usually one only means by $C^{op}to Set$ that the functor is contravariant.



To sum up, $Hom(-,x)(y)=Hom(y,x)$ is the set of morphism $yto x$ in $C$, which is the same as morphisms $xto y$ in $C^{op}$.






share|cite|improve this answer











$endgroup$









  • 1




    $begingroup$
    Great. Thanks for your answer. I will accept it when I am allowed to.
    $endgroup$
    – fosho
    Feb 2 at 13:17










  • $begingroup$
    Thanks, I'm gald it helped :)
    $endgroup$
    – Javi
    Feb 2 at 13:17



















1












$begingroup$

Indeed, the elements of $Hom(-,x)(y)=Hom(y,x)$ are the morphisms from $y$ to $x$ in $mathcal{C}$. For this reason, this functor is often written $mathcal{C}(-,x)$ as well.



The reason why $mathcal{C}^{op}$ gets involved is that this functor is contravariant. Given a morphism $f:y rightarrow z$ in $mathcal{C}$, the only natural way to understand $mathcal{C}(-,x)(f)$ is as a function $mathcal{C}(z,x) rightarrow mathcal{C}(y,x)$ given by composing i.e. $g:z rightarrow x$ is sent to $g circ f: y rightarrow z rightarrow x$.



This makes the functor $mathcal{C}(-,x)$ contravariant on $mathcal{C}$, or covariant on $mathcal{C}^{op}$.






share|cite|improve this answer









$endgroup$














    Your Answer








    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%2f3097271%2fwhat-are-the-objects-of-homy-x-in-the-contra-variant-yoneda-functor%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1












    $begingroup$

    The confusion comes from the notation $C^{op}$, which is often used only to indicate that the functor is contravariant.



    The covariant Yoneda lemma uses the covariant functor $Hom(x,-):Cto Set$, while the contravariant Yoneda lemma uses the contravariant functor $Hom(-,x):Cto Set$. This contravariant functor is equivalent to the covariant functor $Hom(x,-):C^{op}to Set$ if we want to be strict with the notation, but as I said, usually one only means by $C^{op}to Set$ that the functor is contravariant.



    To sum up, $Hom(-,x)(y)=Hom(y,x)$ is the set of morphism $yto x$ in $C$, which is the same as morphisms $xto y$ in $C^{op}$.






    share|cite|improve this answer











    $endgroup$









    • 1




      $begingroup$
      Great. Thanks for your answer. I will accept it when I am allowed to.
      $endgroup$
      – fosho
      Feb 2 at 13:17










    • $begingroup$
      Thanks, I'm gald it helped :)
      $endgroup$
      – Javi
      Feb 2 at 13:17
















    1












    $begingroup$

    The confusion comes from the notation $C^{op}$, which is often used only to indicate that the functor is contravariant.



    The covariant Yoneda lemma uses the covariant functor $Hom(x,-):Cto Set$, while the contravariant Yoneda lemma uses the contravariant functor $Hom(-,x):Cto Set$. This contravariant functor is equivalent to the covariant functor $Hom(x,-):C^{op}to Set$ if we want to be strict with the notation, but as I said, usually one only means by $C^{op}to Set$ that the functor is contravariant.



    To sum up, $Hom(-,x)(y)=Hom(y,x)$ is the set of morphism $yto x$ in $C$, which is the same as morphisms $xto y$ in $C^{op}$.






    share|cite|improve this answer











    $endgroup$









    • 1




      $begingroup$
      Great. Thanks for your answer. I will accept it when I am allowed to.
      $endgroup$
      – fosho
      Feb 2 at 13:17










    • $begingroup$
      Thanks, I'm gald it helped :)
      $endgroup$
      – Javi
      Feb 2 at 13:17














    1












    1








    1





    $begingroup$

    The confusion comes from the notation $C^{op}$, which is often used only to indicate that the functor is contravariant.



    The covariant Yoneda lemma uses the covariant functor $Hom(x,-):Cto Set$, while the contravariant Yoneda lemma uses the contravariant functor $Hom(-,x):Cto Set$. This contravariant functor is equivalent to the covariant functor $Hom(x,-):C^{op}to Set$ if we want to be strict with the notation, but as I said, usually one only means by $C^{op}to Set$ that the functor is contravariant.



    To sum up, $Hom(-,x)(y)=Hom(y,x)$ is the set of morphism $yto x$ in $C$, which is the same as morphisms $xto y$ in $C^{op}$.






    share|cite|improve this answer











    $endgroup$



    The confusion comes from the notation $C^{op}$, which is often used only to indicate that the functor is contravariant.



    The covariant Yoneda lemma uses the covariant functor $Hom(x,-):Cto Set$, while the contravariant Yoneda lemma uses the contravariant functor $Hom(-,x):Cto Set$. This contravariant functor is equivalent to the covariant functor $Hom(x,-):C^{op}to Set$ if we want to be strict with the notation, but as I said, usually one only means by $C^{op}to Set$ that the functor is contravariant.



    To sum up, $Hom(-,x)(y)=Hom(y,x)$ is the set of morphism $yto x$ in $C$, which is the same as morphisms $xto y$ in $C^{op}$.







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Feb 2 at 13:18

























    answered Feb 2 at 13:15









    JaviJavi

    3,15321032




    3,15321032








    • 1




      $begingroup$
      Great. Thanks for your answer. I will accept it when I am allowed to.
      $endgroup$
      – fosho
      Feb 2 at 13:17










    • $begingroup$
      Thanks, I'm gald it helped :)
      $endgroup$
      – Javi
      Feb 2 at 13:17














    • 1




      $begingroup$
      Great. Thanks for your answer. I will accept it when I am allowed to.
      $endgroup$
      – fosho
      Feb 2 at 13:17










    • $begingroup$
      Thanks, I'm gald it helped :)
      $endgroup$
      – Javi
      Feb 2 at 13:17








    1




    1




    $begingroup$
    Great. Thanks for your answer. I will accept it when I am allowed to.
    $endgroup$
    – fosho
    Feb 2 at 13:17




    $begingroup$
    Great. Thanks for your answer. I will accept it when I am allowed to.
    $endgroup$
    – fosho
    Feb 2 at 13:17












    $begingroup$
    Thanks, I'm gald it helped :)
    $endgroup$
    – Javi
    Feb 2 at 13:17




    $begingroup$
    Thanks, I'm gald it helped :)
    $endgroup$
    – Javi
    Feb 2 at 13:17











    1












    $begingroup$

    Indeed, the elements of $Hom(-,x)(y)=Hom(y,x)$ are the morphisms from $y$ to $x$ in $mathcal{C}$. For this reason, this functor is often written $mathcal{C}(-,x)$ as well.



    The reason why $mathcal{C}^{op}$ gets involved is that this functor is contravariant. Given a morphism $f:y rightarrow z$ in $mathcal{C}$, the only natural way to understand $mathcal{C}(-,x)(f)$ is as a function $mathcal{C}(z,x) rightarrow mathcal{C}(y,x)$ given by composing i.e. $g:z rightarrow x$ is sent to $g circ f: y rightarrow z rightarrow x$.



    This makes the functor $mathcal{C}(-,x)$ contravariant on $mathcal{C}$, or covariant on $mathcal{C}^{op}$.






    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$

      Indeed, the elements of $Hom(-,x)(y)=Hom(y,x)$ are the morphisms from $y$ to $x$ in $mathcal{C}$. For this reason, this functor is often written $mathcal{C}(-,x)$ as well.



      The reason why $mathcal{C}^{op}$ gets involved is that this functor is contravariant. Given a morphism $f:y rightarrow z$ in $mathcal{C}$, the only natural way to understand $mathcal{C}(-,x)(f)$ is as a function $mathcal{C}(z,x) rightarrow mathcal{C}(y,x)$ given by composing i.e. $g:z rightarrow x$ is sent to $g circ f: y rightarrow z rightarrow x$.



      This makes the functor $mathcal{C}(-,x)$ contravariant on $mathcal{C}$, or covariant on $mathcal{C}^{op}$.






      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$

        Indeed, the elements of $Hom(-,x)(y)=Hom(y,x)$ are the morphisms from $y$ to $x$ in $mathcal{C}$. For this reason, this functor is often written $mathcal{C}(-,x)$ as well.



        The reason why $mathcal{C}^{op}$ gets involved is that this functor is contravariant. Given a morphism $f:y rightarrow z$ in $mathcal{C}$, the only natural way to understand $mathcal{C}(-,x)(f)$ is as a function $mathcal{C}(z,x) rightarrow mathcal{C}(y,x)$ given by composing i.e. $g:z rightarrow x$ is sent to $g circ f: y rightarrow z rightarrow x$.



        This makes the functor $mathcal{C}(-,x)$ contravariant on $mathcal{C}$, or covariant on $mathcal{C}^{op}$.






        share|cite|improve this answer









        $endgroup$



        Indeed, the elements of $Hom(-,x)(y)=Hom(y,x)$ are the morphisms from $y$ to $x$ in $mathcal{C}$. For this reason, this functor is often written $mathcal{C}(-,x)$ as well.



        The reason why $mathcal{C}^{op}$ gets involved is that this functor is contravariant. Given a morphism $f:y rightarrow z$ in $mathcal{C}$, the only natural way to understand $mathcal{C}(-,x)(f)$ is as a function $mathcal{C}(z,x) rightarrow mathcal{C}(y,x)$ given by composing i.e. $g:z rightarrow x$ is sent to $g circ f: y rightarrow z rightarrow x$.



        This makes the functor $mathcal{C}(-,x)$ contravariant on $mathcal{C}$, or covariant on $mathcal{C}^{op}$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Feb 2 at 13:19









        ChessanatorChessanator

        2,3751412




        2,3751412






























            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%2f3097271%2fwhat-are-the-objects-of-homy-x-in-the-contra-variant-yoneda-functor%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