Implementation

The rules for making calculations and simplifications can be divided into different categories:

  1. Automatic rules
    These are applied automatically after initialization and usually result in a simplification of the expression.
  2. "Replacement rules"
    There are predefined and freely definable (application specific) substitution rules. A set of such rules is generally summarized under a name. The reason that they are not automatically executed is that the benefits are typically situational. So it may be desirable that sums are summarized or even divided, because one or the other leads to a simplification.

    contracted = p c ^ p 1 , p 2 , p 3 1 + p d ^ p 1 , p 2 , p 3 2 // QAReplace ["SumContract"] p ( c ^ p 1 , p 2 , p 3 1 + d ^ p 1 , p 2 , p 3 2 ) contracted // QAReplace ["SumExpand"] p c ^ p 1 , p 2 , p 3 1 + p d ^ p 1 , p 2 , p 3 2

  3. Assumptions
    The Mathematica function Simplify can perform simplifications based on certain assumptions. To make this more manageable, sets of assumptions can be grouped under one name. They can then be referenced under this name.
    For example: exp // QASimplify["Dirac"]
    The expression exp is simplified here on the assumptions of the name "Dirac".
    Assumptions are in general application-specific.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok