Hi! i would like to ask if there is anyway to implement exp(\Phi) where \Phi(x) is a scalar field in cadabra 2x and work with it. Is it the chain rule also available? thank you,

Bye

+2 votes

Hi! i would like to ask if there is anyway to implement exp(\Phi) where \Phi(x) is a scalar field in cadabra 2x and work with it. Is it the chain rule also available? thank you,

Bye

What I mean is if you define

```
{\mu,\nu}::Indices;
\partial{#}::PartialDerivative;
\phi::Depends(\partial{#});
ex:=\partial_{\mu}{e**(\phi)};
```

and you apply the product_rule to it, an unexpected result appears:

`\phi e**(\phi -1) \partial_{\mu}{e}. `

Im not sure if this is a bug or I am implementing in a wrong way the exponential function.