\[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: 17.0 s
Input Error: 10.0
Output Error: 6.6
Log:
Profile: 🕒
\(\begin{cases} (\left(\frac{y}{z}\right) * x + a)_* - \frac{y}{\frac{z}{a}} & \text{when } z \le -1.1200702374891714 \cdot 10^{+279} \\ (\left(a - x\right) * \left(\frac{y - z}{\left(1.0 + t\right) - z}\right) + x)_* & \text{when } z \le 9.019727682954405 \cdot 10^{+206} \\ (\left(\frac{y}{z}\right) * x + a)_* - \frac{y}{\frac{z}{a}} & \text{otherwise} \end{cases}\)

    if z < -1.1200702374891714e+279 or 9.019727682954405e+206 < z

    1. Started with
      \[x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right)\]
      29.9
    2. Applied simplify to get
      \[\color{red}{x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right)} \leadsto \color{blue}{(\left(a - x\right) * \left(\frac{y - z}{\left(1.0 + t\right) - z}\right) + x)_*}\]
      29.9
    3. Using strategy rm
      29.9
    4. Applied div-inv to get
      \[(\left(a - x\right) * \color{red}{\left(\frac{y - z}{\left(1.0 + t\right) - z}\right)} + x)_* \leadsto (\left(a - x\right) * \color{blue}{\left(\left(y - z\right) \cdot \frac{1}{\left(1.0 + t\right) - z}\right)} + x)_*\]
      30.0
    5. Using strategy rm
      30.0
    6. Applied fma-udef to get
      \[\color{red}{(\left(a - x\right) * \left(\left(y - z\right) \cdot \frac{1}{\left(1.0 + t\right) - z}\right) + x)_*} \leadsto \color{blue}{\left(a - x\right) \cdot \left(\left(y - z\right) \cdot \frac{1}{\left(1.0 + t\right) - z}\right) + x}\]
      30.0
    7. Applied simplify to get
      \[\color{red}{\left(a - x\right) \cdot \left(\left(y - z\right) \cdot \frac{1}{\left(1.0 + t\right) - z}\right)} + x \leadsto \color{blue}{\frac{\left(a - x\right) \cdot \left(y - z\right)}{1.0 - \left(z - t\right)}} + x\]
      50.7
    8. Applied taylor to get
      \[\frac{\left(a - x\right) \cdot \left(y - z\right)}{1.0 - \left(z - t\right)} + x \leadsto \left(\frac{y \cdot x}{z} + a\right) - \frac{y \cdot a}{z}\]
      12.1
    9. 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}}\]
      12.1
    10. Applied simplify to get
      \[\left(\frac{y \cdot x}{z} + a\right) - \frac{y \cdot a}{z} \leadsto (\left(\frac{y}{z}\right) * x + a)_* - \frac{y}{\frac{z}{a}}\]
      1.6

    11. Applied final simplification

    if -1.1200702374891714e+279 < z < 9.019727682954405e+206

    1. Started with
      \[x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right)\]
      7.3
    2. Applied simplify to get
      \[\color{red}{x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right)} \leadsto \color{blue}{(\left(a - x\right) * \left(\frac{y - z}{\left(1.0 + t\right) - z}\right) + x)_*}\]
      7.3

  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))))