Inflatox

Latest version: v0.10.0

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.10.0

Features
- Added common subexpression elimination (cse) option for compiler
- Equations of motion are now computed and compiled in addition to the consistency condition
- Reworked symbolic simplification system
- Added automatic numerical verification of basis orthonormality

Breaking Changes
- Renamed `SymbolicCalculation` to `InflationModelBuilder`
- Renamed `SymbolicOutput` to `InflationModel`

Non-breaking behaviour changes
- `InflationModelBuilder`'s constructor now has `assertions=True` by default
- `InflationCondition`'s constructor now has `verify_basis=True` by default

Bugfixes
- fixed bug in documentation (thanks to TJMarchand)
- fixed CRITICAL bug in definition of gradient (discovered by TJMarchand)
- fixed bug in shortcut definition of second basis vector in 2-field inflation models (discovered
by TJMarchand)

0.9.1

General
- Added unit tests
- Added integration tests for models from arXiv:2405:11628
- Added automated tests to CI

Bugfixes
- fixed bug in documentation example
- fixed incomprehensible error message when passing integers as start or stop value

0.9.0

API changes
- Replaced `new` method on `SymbolicCalculation` with `new_from_list`. `new_from_list` still exists,
but has been deprecated.
- Removed all support for Einsteinpy-related API's
- Added support for passing custom compiler/linker flags directly to zigcc using the `compiler_flags`
option on the `Compiler` class.
- Added experimental support for compiling inflatox binaries with special functions by linking the
GNU Scientific Library (GSL).
- Added support for transpiling Bessel functions using the GSL
- Added support for transpiling Hypergeometric functions (small subset) using the GSL

General
- Removed dependency on Einsteinpy (huge dependency reduction)
- Started migration to new PyO3 `bound` API (slight performance improvement)
- Improved (zig) compiler output

Bugfixes
- fixed assertions

0.8.2

General
- added assertion error messages

Bugfixes
- fixed bug with printing sympy expressions outside IPython environments

0.8.1

published in March 2024 (rather than the May 2024 _real_ 0.8.0) was unintentionally published to
PyPi. Version 0.8.1 should remedy this issue.

0.8.0

General
- Bumped the minimum required python version from 3.7 to 3.8. This was already the case (due to the
usage of `std`'s `typing` lib), but not reflected in the package manifest.
- Improved and updated documentation where necessary
- Added `docs.md` documentation file
- Added `builds.md` wiht build instructions

Mathematical changes
- Moved away from the $\kappa=3$ paradigm to a more sensible calculation for
$\varepsilon_H$:
$$
\varepsilon_H=3 \times \frac{\varepsilon_V - 1/2 (V_t/V)^2}
{\varepsilon_V+V_{tt}/V - 1/2 (V_t/V)^2}
$$
Where $V_{tt}$ is calculated using the assumption $\tan\delta=V_{vw}/V_{vv}$ and $1/2(V_t/V)^2=
\varepsilon_V\sin^2\delta$. Note that this new equation gives different results: it is less
restrictive than the previous $\kappa=3$ paradigm, although it is better motivated from a
theoretical standpoint.
- Replaced $\varepsilon_H$ calculation with $\eta_{\parallel}$ calculation, where $\eta_{\parallel}$
is calculated as:
$$
\eta_{\parallel}=\omega\tan\delta -3
$$

API changes
- Renamed `AnguelovaLazaroiuCondition` to `GeneralisedAL`
- `SymbolicCalculation` no longer requires the vector $w \perp \nabla V$ to be speficied by default
(it is still possible to do so as an option)

Upgrades
- Updated Rayon 1.8 -> 1.10
- Upgraded PyO3 0.20 -> 0.21
- Upgraded numpy 0.20 -> 0.21

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.