\[x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right)\]
Test:
Hakyll.Web.Tags:renderTagCloud from hakyll-4.7.2.3
Bits:
128 bits
Bits error versus x
Bits error versus y
Bits error versus z
Bits error versus t
Bits error versus a
Time: 29.6 s
Input Error: 10.0
Output Error: 5.8
Log:
Profile: 🕒
\(\begin{cases} \left(x - a\right) \cdot \frac{y}{z} + a & \text{when } z \le -3.345492643787901 \cdot 10^{+220} \\ x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right) & \text{when } z \le 2.5331775868435904 \cdot 10^{+228} \\ \left(x - a\right) \cdot \frac{y}{z} + a & \text{otherwise} \end{cases}\)

    if z < -3.345492643787901e+220 or 2.5331775868435904e+228 < z

    1. Started with
      \[x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right)\]
      29.9
    2. Using strategy rm
      29.9
    3. Applied flip-- to get
      \[x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \color{red}{\left(a - x\right)} \leadsto x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \color{blue}{\frac{{a}^2 - {x}^2}{a + x}}\]
      44.0
    4. Applied associate-*r/ to get
      \[x + \color{red}{\frac{y - z}{\left(t + 1.0\right) - z} \cdot \frac{{a}^2 - {x}^2}{a + x}} \leadsto x + \color{blue}{\frac{\frac{y - z}{\left(t + 1.0\right) - z} \cdot \left({a}^2 - {x}^2\right)}{a + x}}\]
      44.1
    5. Applied taylor to get
      \[x + \frac{\frac{y - z}{\left(t + 1.0\right) - z} \cdot \left({a}^2 - {x}^2\right)}{a + x} \leadsto \left(\frac{y \cdot x}{z} + a\right) - \frac{y \cdot a}{z}\]
      13.1
    6. Taylor expanded around inf to get
      \[\color{red}{\left(\frac{y \cdot x}{z} + a\right) - \frac{y \cdot a}{z}} \leadsto \color{blue}{\left(\frac{y \cdot x}{z} + a\right) - \frac{y \cdot a}{z}}\]
      13.1
    7. Applied simplify to get
      \[\left(\frac{y \cdot x}{z} + a\right) - \frac{y \cdot a}{z} \leadsto a + \left(\frac{y}{\frac{z}{x}} - \frac{y}{\frac{z}{a}}\right)\]
      1.6

    8. Applied final simplification
    9. Applied simplify to get
      \[\color{red}{a + \left(\frac{y}{\frac{z}{x}} - \frac{y}{\frac{z}{a}}\right)} \leadsto \color{blue}{\left(x - a\right) \cdot \frac{y}{z} + a}\]
      1.1

    if -3.345492643787901e+220 < z < 2.5331775868435904e+228

    1. Started with
      \[x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right)\]
      6.6

  1. Removed slow pow expressions

Original test:


(lambda ((x default) (y default) (z default) (t default) (a default))
  #:name "Hakyll.Web.Tags:renderTagCloud from hakyll-4.7.2.3"
  (+ x (* (/ (- y z) (- (+ t 1.0) z)) (- a x))))