Is $operatorname{tr}|A|=operatorname{tr}|A^dagger|$?












1














Is it true that $operatorname{tr}|A|=operatorname{tr}|A^dagger|$ for any operator in a Hilbert space? I can prove this statement for normal operators such that $[A,A^dagger]=0$. I want to know is there any proof or counter example for general case?










share|cite|improve this question
























  • What does the vertical line mean? Do they mean just the trace or something else?
    – Dog_69
    Nov 21 '18 at 20:27










  • @Dog_69 $|A|=sqrt{A A^{dagger}}$
    – mathvc_
    Nov 21 '18 at 20:28










  • Then, if you space is not finite dimensional I would say not, because in general $A^{daggerdagger}neq A$.
    – Dog_69
    Nov 21 '18 at 21:55






  • 1




    @Dog_69 Well at least for bounded operators, the ${}^dagger$ map is an involution, i.e. $A^{daggerdagger}=A$. For unbounded operators, this is a whole different thing involving possible domain problems etc. - then again, I personally would rather not tackle the above question for unbounded operators for various reasons.
    – Frederik vom Ende
    Nov 22 '18 at 14:28












  • @FrederikvomEnde Got it. Thanks.
    – Dog_69
    Nov 22 '18 at 16:31
















1














Is it true that $operatorname{tr}|A|=operatorname{tr}|A^dagger|$ for any operator in a Hilbert space? I can prove this statement for normal operators such that $[A,A^dagger]=0$. I want to know is there any proof or counter example for general case?










share|cite|improve this question
























  • What does the vertical line mean? Do they mean just the trace or something else?
    – Dog_69
    Nov 21 '18 at 20:27










  • @Dog_69 $|A|=sqrt{A A^{dagger}}$
    – mathvc_
    Nov 21 '18 at 20:28










  • Then, if you space is not finite dimensional I would say not, because in general $A^{daggerdagger}neq A$.
    – Dog_69
    Nov 21 '18 at 21:55






  • 1




    @Dog_69 Well at least for bounded operators, the ${}^dagger$ map is an involution, i.e. $A^{daggerdagger}=A$. For unbounded operators, this is a whole different thing involving possible domain problems etc. - then again, I personally would rather not tackle the above question for unbounded operators for various reasons.
    – Frederik vom Ende
    Nov 22 '18 at 14:28












  • @FrederikvomEnde Got it. Thanks.
    – Dog_69
    Nov 22 '18 at 16:31














1












1








1







Is it true that $operatorname{tr}|A|=operatorname{tr}|A^dagger|$ for any operator in a Hilbert space? I can prove this statement for normal operators such that $[A,A^dagger]=0$. I want to know is there any proof or counter example for general case?










share|cite|improve this question















Is it true that $operatorname{tr}|A|=operatorname{tr}|A^dagger|$ for any operator in a Hilbert space? I can prove this statement for normal operators such that $[A,A^dagger]=0$. I want to know is there any proof or counter example for general case?







hilbert-spaces






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 21 '18 at 19:53









Adrian Keister

4,79851933




4,79851933










asked Nov 21 '18 at 19:47









mathvc_mathvc_

678




678












  • What does the vertical line mean? Do they mean just the trace or something else?
    – Dog_69
    Nov 21 '18 at 20:27










  • @Dog_69 $|A|=sqrt{A A^{dagger}}$
    – mathvc_
    Nov 21 '18 at 20:28










  • Then, if you space is not finite dimensional I would say not, because in general $A^{daggerdagger}neq A$.
    – Dog_69
    Nov 21 '18 at 21:55






  • 1




    @Dog_69 Well at least for bounded operators, the ${}^dagger$ map is an involution, i.e. $A^{daggerdagger}=A$. For unbounded operators, this is a whole different thing involving possible domain problems etc. - then again, I personally would rather not tackle the above question for unbounded operators for various reasons.
    – Frederik vom Ende
    Nov 22 '18 at 14:28












  • @FrederikvomEnde Got it. Thanks.
    – Dog_69
    Nov 22 '18 at 16:31


















  • What does the vertical line mean? Do they mean just the trace or something else?
    – Dog_69
    Nov 21 '18 at 20:27










  • @Dog_69 $|A|=sqrt{A A^{dagger}}$
    – mathvc_
    Nov 21 '18 at 20:28










  • Then, if you space is not finite dimensional I would say not, because in general $A^{daggerdagger}neq A$.
    – Dog_69
    Nov 21 '18 at 21:55






  • 1




    @Dog_69 Well at least for bounded operators, the ${}^dagger$ map is an involution, i.e. $A^{daggerdagger}=A$. For unbounded operators, this is a whole different thing involving possible domain problems etc. - then again, I personally would rather not tackle the above question for unbounded operators for various reasons.
    – Frederik vom Ende
    Nov 22 '18 at 14:28












  • @FrederikvomEnde Got it. Thanks.
    – Dog_69
    Nov 22 '18 at 16:31
















What does the vertical line mean? Do they mean just the trace or something else?
– Dog_69
Nov 21 '18 at 20:27




What does the vertical line mean? Do they mean just the trace or something else?
– Dog_69
Nov 21 '18 at 20:27












@Dog_69 $|A|=sqrt{A A^{dagger}}$
– mathvc_
Nov 21 '18 at 20:28




@Dog_69 $|A|=sqrt{A A^{dagger}}$
– mathvc_
Nov 21 '18 at 20:28












Then, if you space is not finite dimensional I would say not, because in general $A^{daggerdagger}neq A$.
– Dog_69
Nov 21 '18 at 21:55




Then, if you space is not finite dimensional I would say not, because in general $A^{daggerdagger}neq A$.
– Dog_69
Nov 21 '18 at 21:55




1




1




@Dog_69 Well at least for bounded operators, the ${}^dagger$ map is an involution, i.e. $A^{daggerdagger}=A$. For unbounded operators, this is a whole different thing involving possible domain problems etc. - then again, I personally would rather not tackle the above question for unbounded operators for various reasons.
– Frederik vom Ende
Nov 22 '18 at 14:28






@Dog_69 Well at least for bounded operators, the ${}^dagger$ map is an involution, i.e. $A^{daggerdagger}=A$. For unbounded operators, this is a whole different thing involving possible domain problems etc. - then again, I personally would rather not tackle the above question for unbounded operators for various reasons.
– Frederik vom Ende
Nov 22 '18 at 14:28














@FrederikvomEnde Got it. Thanks.
– Dog_69
Nov 22 '18 at 16:31




@FrederikvomEnde Got it. Thanks.
– Dog_69
Nov 22 '18 at 16:31










1 Answer
1






active

oldest

votes


















0














Note: Any references to theorems etc. I will make in the following are with respect to the book "Methods of Modern Mathematical Physics. I: Functional Analysis" by Reed & Simon (1980).



If your Hilbert space $mathcal H$ is separable and $Ainmathcal B(mathcal H)$, i.e. $A$ is a bounded operator on $mathcal H$, your assertion is indeed true for the following reason. As you might know, on separable Hilbert spaces one defines the trace class to be
$$
mathcal B^1(mathcal H):=lbrace Ainmathcal B(mathcal H),|,operatorname{tr}(sqrt{A^dagger A})<inftyrbrace,.
$$

Here one uses that on positive semi-definite operators, the trace is well-defined (independent of the chosen orthonormal basis), linear and takes values in $[0,infty]$. Now if $Ainmathcal B^1(mathcal H)$ then $A$ is compact (Theorem VI.21) which is equivalent to admitting a singular value decomposition
$$
A=sum_{ninmathbb N}sigma_n(A)langle psi_n,cdotranglephi_ntag{1}
$$

with unique non-negative numbers $(sigma_n(A))_{ninmathbb N}$ and orthonormal systems $(psi_n)_{ninmathbb N}$, $(phi_n)_{ninmathbb N}$ in $mathcal H$ where the sum converges in the operator norm (Theorem VI.17). Due to the above singular value decompoition, it is evident that every compact operator $A$ on $mathcal H$ satisfies
$$
operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A),,tag{2}
$$

where the right-hand side (and thus both sides) might take the value $infty$. This is enough preparation to prove the statement in question.




Proposition. Let $Ainmathcal B(mathcal H)$. Then $operatorname{tr}(sqrt{A^dagger A})=operatorname{tr}(sqrt{A A^dagger})$, where one side (and thus both sides) might take the value $infty$.




Proof. We may assume that at either $operatorname{tr}(sqrt{A^dagger A})$ or $operatorname{tr}(sqrt{A A^dagger})$ (or both) are finite - otherwise we would obviously be done due to $operatorname{tr}(sqrt{A^dagger A})=infty=operatorname{tr}(sqrt{A A^dagger})$. W.l.o.g. $operatorname{tr}(sqrt{A^dagger A})<infty$ so $Ainmathcal B^1(mathcal H)$ and $operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A)$. By (1), obviously $A^dagger$ is compact as well with $sigma_n(A^dagger)=(sigma_n(A))^*=sigma_n(A)$ and thus
$$
operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A)=sum_{ninmathbb N}sigma_n(A^dagger)=operatorname{tr}(sqrt{A A^dagger})<infty
$$

which concludes the proof. $quadsquare$






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%2f3008243%2fis-operatornametra-operatornametra-dagger%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














    Note: Any references to theorems etc. I will make in the following are with respect to the book "Methods of Modern Mathematical Physics. I: Functional Analysis" by Reed & Simon (1980).



    If your Hilbert space $mathcal H$ is separable and $Ainmathcal B(mathcal H)$, i.e. $A$ is a bounded operator on $mathcal H$, your assertion is indeed true for the following reason. As you might know, on separable Hilbert spaces one defines the trace class to be
    $$
    mathcal B^1(mathcal H):=lbrace Ainmathcal B(mathcal H),|,operatorname{tr}(sqrt{A^dagger A})<inftyrbrace,.
    $$

    Here one uses that on positive semi-definite operators, the trace is well-defined (independent of the chosen orthonormal basis), linear and takes values in $[0,infty]$. Now if $Ainmathcal B^1(mathcal H)$ then $A$ is compact (Theorem VI.21) which is equivalent to admitting a singular value decomposition
    $$
    A=sum_{ninmathbb N}sigma_n(A)langle psi_n,cdotranglephi_ntag{1}
    $$

    with unique non-negative numbers $(sigma_n(A))_{ninmathbb N}$ and orthonormal systems $(psi_n)_{ninmathbb N}$, $(phi_n)_{ninmathbb N}$ in $mathcal H$ where the sum converges in the operator norm (Theorem VI.17). Due to the above singular value decompoition, it is evident that every compact operator $A$ on $mathcal H$ satisfies
    $$
    operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A),,tag{2}
    $$

    where the right-hand side (and thus both sides) might take the value $infty$. This is enough preparation to prove the statement in question.




    Proposition. Let $Ainmathcal B(mathcal H)$. Then $operatorname{tr}(sqrt{A^dagger A})=operatorname{tr}(sqrt{A A^dagger})$, where one side (and thus both sides) might take the value $infty$.




    Proof. We may assume that at either $operatorname{tr}(sqrt{A^dagger A})$ or $operatorname{tr}(sqrt{A A^dagger})$ (or both) are finite - otherwise we would obviously be done due to $operatorname{tr}(sqrt{A^dagger A})=infty=operatorname{tr}(sqrt{A A^dagger})$. W.l.o.g. $operatorname{tr}(sqrt{A^dagger A})<infty$ so $Ainmathcal B^1(mathcal H)$ and $operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A)$. By (1), obviously $A^dagger$ is compact as well with $sigma_n(A^dagger)=(sigma_n(A))^*=sigma_n(A)$ and thus
    $$
    operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A)=sum_{ninmathbb N}sigma_n(A^dagger)=operatorname{tr}(sqrt{A A^dagger})<infty
    $$

    which concludes the proof. $quadsquare$






    share|cite|improve this answer


























      0














      Note: Any references to theorems etc. I will make in the following are with respect to the book "Methods of Modern Mathematical Physics. I: Functional Analysis" by Reed & Simon (1980).



      If your Hilbert space $mathcal H$ is separable and $Ainmathcal B(mathcal H)$, i.e. $A$ is a bounded operator on $mathcal H$, your assertion is indeed true for the following reason. As you might know, on separable Hilbert spaces one defines the trace class to be
      $$
      mathcal B^1(mathcal H):=lbrace Ainmathcal B(mathcal H),|,operatorname{tr}(sqrt{A^dagger A})<inftyrbrace,.
      $$

      Here one uses that on positive semi-definite operators, the trace is well-defined (independent of the chosen orthonormal basis), linear and takes values in $[0,infty]$. Now if $Ainmathcal B^1(mathcal H)$ then $A$ is compact (Theorem VI.21) which is equivalent to admitting a singular value decomposition
      $$
      A=sum_{ninmathbb N}sigma_n(A)langle psi_n,cdotranglephi_ntag{1}
      $$

      with unique non-negative numbers $(sigma_n(A))_{ninmathbb N}$ and orthonormal systems $(psi_n)_{ninmathbb N}$, $(phi_n)_{ninmathbb N}$ in $mathcal H$ where the sum converges in the operator norm (Theorem VI.17). Due to the above singular value decompoition, it is evident that every compact operator $A$ on $mathcal H$ satisfies
      $$
      operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A),,tag{2}
      $$

      where the right-hand side (and thus both sides) might take the value $infty$. This is enough preparation to prove the statement in question.




      Proposition. Let $Ainmathcal B(mathcal H)$. Then $operatorname{tr}(sqrt{A^dagger A})=operatorname{tr}(sqrt{A A^dagger})$, where one side (and thus both sides) might take the value $infty$.




      Proof. We may assume that at either $operatorname{tr}(sqrt{A^dagger A})$ or $operatorname{tr}(sqrt{A A^dagger})$ (or both) are finite - otherwise we would obviously be done due to $operatorname{tr}(sqrt{A^dagger A})=infty=operatorname{tr}(sqrt{A A^dagger})$. W.l.o.g. $operatorname{tr}(sqrt{A^dagger A})<infty$ so $Ainmathcal B^1(mathcal H)$ and $operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A)$. By (1), obviously $A^dagger$ is compact as well with $sigma_n(A^dagger)=(sigma_n(A))^*=sigma_n(A)$ and thus
      $$
      operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A)=sum_{ninmathbb N}sigma_n(A^dagger)=operatorname{tr}(sqrt{A A^dagger})<infty
      $$

      which concludes the proof. $quadsquare$






      share|cite|improve this answer
























        0












        0








        0






        Note: Any references to theorems etc. I will make in the following are with respect to the book "Methods of Modern Mathematical Physics. I: Functional Analysis" by Reed & Simon (1980).



        If your Hilbert space $mathcal H$ is separable and $Ainmathcal B(mathcal H)$, i.e. $A$ is a bounded operator on $mathcal H$, your assertion is indeed true for the following reason. As you might know, on separable Hilbert spaces one defines the trace class to be
        $$
        mathcal B^1(mathcal H):=lbrace Ainmathcal B(mathcal H),|,operatorname{tr}(sqrt{A^dagger A})<inftyrbrace,.
        $$

        Here one uses that on positive semi-definite operators, the trace is well-defined (independent of the chosen orthonormal basis), linear and takes values in $[0,infty]$. Now if $Ainmathcal B^1(mathcal H)$ then $A$ is compact (Theorem VI.21) which is equivalent to admitting a singular value decomposition
        $$
        A=sum_{ninmathbb N}sigma_n(A)langle psi_n,cdotranglephi_ntag{1}
        $$

        with unique non-negative numbers $(sigma_n(A))_{ninmathbb N}$ and orthonormal systems $(psi_n)_{ninmathbb N}$, $(phi_n)_{ninmathbb N}$ in $mathcal H$ where the sum converges in the operator norm (Theorem VI.17). Due to the above singular value decompoition, it is evident that every compact operator $A$ on $mathcal H$ satisfies
        $$
        operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A),,tag{2}
        $$

        where the right-hand side (and thus both sides) might take the value $infty$. This is enough preparation to prove the statement in question.




        Proposition. Let $Ainmathcal B(mathcal H)$. Then $operatorname{tr}(sqrt{A^dagger A})=operatorname{tr}(sqrt{A A^dagger})$, where one side (and thus both sides) might take the value $infty$.




        Proof. We may assume that at either $operatorname{tr}(sqrt{A^dagger A})$ or $operatorname{tr}(sqrt{A A^dagger})$ (or both) are finite - otherwise we would obviously be done due to $operatorname{tr}(sqrt{A^dagger A})=infty=operatorname{tr}(sqrt{A A^dagger})$. W.l.o.g. $operatorname{tr}(sqrt{A^dagger A})<infty$ so $Ainmathcal B^1(mathcal H)$ and $operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A)$. By (1), obviously $A^dagger$ is compact as well with $sigma_n(A^dagger)=(sigma_n(A))^*=sigma_n(A)$ and thus
        $$
        operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A)=sum_{ninmathbb N}sigma_n(A^dagger)=operatorname{tr}(sqrt{A A^dagger})<infty
        $$

        which concludes the proof. $quadsquare$






        share|cite|improve this answer












        Note: Any references to theorems etc. I will make in the following are with respect to the book "Methods of Modern Mathematical Physics. I: Functional Analysis" by Reed & Simon (1980).



        If your Hilbert space $mathcal H$ is separable and $Ainmathcal B(mathcal H)$, i.e. $A$ is a bounded operator on $mathcal H$, your assertion is indeed true for the following reason. As you might know, on separable Hilbert spaces one defines the trace class to be
        $$
        mathcal B^1(mathcal H):=lbrace Ainmathcal B(mathcal H),|,operatorname{tr}(sqrt{A^dagger A})<inftyrbrace,.
        $$

        Here one uses that on positive semi-definite operators, the trace is well-defined (independent of the chosen orthonormal basis), linear and takes values in $[0,infty]$. Now if $Ainmathcal B^1(mathcal H)$ then $A$ is compact (Theorem VI.21) which is equivalent to admitting a singular value decomposition
        $$
        A=sum_{ninmathbb N}sigma_n(A)langle psi_n,cdotranglephi_ntag{1}
        $$

        with unique non-negative numbers $(sigma_n(A))_{ninmathbb N}$ and orthonormal systems $(psi_n)_{ninmathbb N}$, $(phi_n)_{ninmathbb N}$ in $mathcal H$ where the sum converges in the operator norm (Theorem VI.17). Due to the above singular value decompoition, it is evident that every compact operator $A$ on $mathcal H$ satisfies
        $$
        operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A),,tag{2}
        $$

        where the right-hand side (and thus both sides) might take the value $infty$. This is enough preparation to prove the statement in question.




        Proposition. Let $Ainmathcal B(mathcal H)$. Then $operatorname{tr}(sqrt{A^dagger A})=operatorname{tr}(sqrt{A A^dagger})$, where one side (and thus both sides) might take the value $infty$.




        Proof. We may assume that at either $operatorname{tr}(sqrt{A^dagger A})$ or $operatorname{tr}(sqrt{A A^dagger})$ (or both) are finite - otherwise we would obviously be done due to $operatorname{tr}(sqrt{A^dagger A})=infty=operatorname{tr}(sqrt{A A^dagger})$. W.l.o.g. $operatorname{tr}(sqrt{A^dagger A})<infty$ so $Ainmathcal B^1(mathcal H)$ and $operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A)$. By (1), obviously $A^dagger$ is compact as well with $sigma_n(A^dagger)=(sigma_n(A))^*=sigma_n(A)$ and thus
        $$
        operatorname{tr}(sqrt{A^dagger A})=sum_{ninmathbb N}sigma_n(A)=sum_{ninmathbb N}sigma_n(A^dagger)=operatorname{tr}(sqrt{A A^dagger})<infty
        $$

        which concludes the proof. $quadsquare$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 22 '18 at 12:52









        Frederik vom EndeFrederik vom Ende

        6371321




        6371321






























            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%2f3008243%2fis-operatornametra-operatornametra-dagger%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

            Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

            ts Property 'filter' does not exist on type '{}'

            mat-slide-toggle shouldn't change it's state when I click cancel in confirmation window