Details

Time bar (total: 1.9s)

analyze5.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
62.5%37.5%0%4
81.2%18.7%0%5
90.6%9.4%0%6
95.3%4.7%0%7
97.6%2.3%0%8
98.8%1.2%0%9
99.4%0.6%0%10
99.7%0.3%0%11
99.8%0.1%0%12
99.9%0.1%0%13
99.9%0%0%14
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample1.2s (61.6%)

Results
461.0ms2093×body512valid
395.0ms4745×body128valid
146.0ms431×body1024valid
144.0ms987×body256valid
0.0msbody128invalid

preprocess33.0ms (1.8%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11213
21813
32613
43613
55413
69113
712413
816713
920313
1022913
1123113
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Outputs
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
(-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 1 x))
(+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))
Compiler

Compiled 10 to 8 computations (20% saved)

simplify9.0ms (0.5%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11213
21813
32613
43613
55413
69113
712413
816713
920313
1022913
1123113
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Outputs
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
(-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 1 x))
(+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
12.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
12.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Compiler

Compiled 39 to 31 computations (20.5% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
2.0b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
1.0ms
x
@0
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
1.0ms
x
@-inf
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))

rewrite50.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
896×log1p-expm1-u_binary64
896×expm1-log1p-u_binary64
89×add-sqr-sqrt_binary64
86×*-un-lft-identity_binary64
86×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
116813
2258713
Stop Event
node limit
Counts
1 → 45
Calls
Call 1
Inputs
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 (+.f64 1 x)) (*.f64 (/.f64 -1 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)) (fma.f64 (/.f64 -1 x) 1 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)) (fma.f64 (neg.f64 (/.f64 1 (cbrt.f64 x))) (cbrt.f64 (pow.f64 x -2)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)) (fma.f64 (neg.f64 (pow.f64 x -1/2)) (pow.f64 x -1/2) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 -1 x) (/.f64 1 (+.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))) (pow.f64 (cbrt.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))) 2) (cbrt.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))) (sqrt.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (+.f64 1 x)) (/.f64 (/.f64 1 (+.f64 1 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 x -3)) (/.f64 1 (+.f64 (+.f64 (pow.f64 (+.f64 1 x) -2) (pow.f64 x -2)) (/.f64 (/.f64 1 (+.f64 1 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (+.f64 1 x) -2) (pow.f64 x -2)) (/.f64 1 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 1 x) -1/2) (pow.f64 x -1/2)) (-.f64 (pow.f64 (+.f64 1 x) -1/2) (pow.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (+.f64 1 x)) (-.f64 x (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (+.f64 (pow.f64 (+.f64 1 x) -2) (pow.f64 x -2)) (/.f64 (/.f64 1 (+.f64 1 x)) x)) (-.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 1 x)) (-.f64 (pow.f64 (+.f64 1 x) -2) (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 x (+.f64 1 x)) (*.f64 x (+.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 x -3)) (+.f64 (+.f64 (pow.f64 (+.f64 1 x) -2) (pow.f64 x -2)) (/.f64 (/.f64 1 (+.f64 1 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 1 x) -2) (pow.f64 x -2)) (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 x (+.f64 1 x))) (neg.f64 (*.f64 x (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 x -3))) (neg.f64 (+.f64 (+.f64 (pow.f64 (+.f64 1 x) -2) (pow.f64 x -2)) (/.f64 (/.f64 1 (+.f64 1 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (+.f64 1 x) -2) (pow.f64 x -2))) (neg.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (neg.f64 x) (*.f64 (+.f64 -1 (neg.f64 x)) 1)) (*.f64 (+.f64 -1 (neg.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (neg.f64 x) (*.f64 (+.f64 1 x) -1)) (*.f64 (+.f64 1 x) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 -1 (neg.f64 x)) (*.f64 (+.f64 -1 (neg.f64 x)) -1)) (*.f64 (+.f64 -1 (neg.f64 x)) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 (/.f64 -1 x) 3)) (+.f64 (pow.f64 (+.f64 1 x) -2) (-.f64 (*.f64 (/.f64 -1 x) (/.f64 -1 x)) (*.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 1 x) -2) (*.f64 (/.f64 -1 x) (/.f64 -1 x))) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (-.f64 x (+.f64 1 x)) (+.f64 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (+.f64 1 x) -2)) (/.f64 1 (cbrt.f64 (+.f64 1 x))) (/.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (+.f64 1 x) -1/2) (pow.f64 (+.f64 1 x) -1/2) (/.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x))))))))

simplify24.0ms (1.3%)

Algorithm
egg-herbie
Rules
434×associate-*l*_binary64
401×associate-/r*_binary64
313×associate-*r*_binary64
312×fma-def_binary64
264×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
031204
177201
2168199
3456199
41419199
Stop Event
node limit
Counts
57 → 60
Calls
Call 1
Inputs
(/.f64 -1 x)
(-.f64 1 (/.f64 1 x))
(-.f64 (+.f64 1 (*.f64 -1 x)) (/.f64 1 x))
(-.f64 (+.f64 1 (+.f64 (*.f64 -1 x) (pow.f64 x 2))) (/.f64 1 x))
(/.f64 -1 (pow.f64 x 2))
(-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))
(-.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(/.f64 -1 (pow.f64 x 2))
(-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))
(-.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
Outputs
(/.f64 -1 x)
(-.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 -1 x))
(-.f64 (+.f64 1 (*.f64 -1 x)) (/.f64 1 x))
(+.f64 1 (-.f64 (neg.f64 x) (/.f64 1 x)))
(+.f64 (-.f64 1 x) (/.f64 -1 x))
(-.f64 (-.f64 1 x) (/.f64 1 x))
(+.f64 1 (-.f64 (/.f64 -1 x) x))
(-.f64 (+.f64 1 (+.f64 (*.f64 -1 x) (pow.f64 x 2))) (/.f64 1 x))
(+.f64 1 (-.f64 (fma.f64 -1 x (*.f64 x x)) (/.f64 1 x)))
(+.f64 1 (+.f64 (-.f64 (*.f64 x x) x) (/.f64 -1 x)))
(+.f64 (-.f64 (fma.f64 x x 1) x) (/.f64 -1 x))
(+.f64 1 (-.f64 (fma.f64 x x (/.f64 -1 x)) x))
(+.f64 (-.f64 1 x) (fma.f64 x x (/.f64 -1 x)))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))
(-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (*.f64 x x)))
(+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))))
(+.f64 (-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4))) (/.f64 -1 (*.f64 x x)))
(+.f64 (/.f64 1 (pow.f64 x 3)) (-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))
(-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (*.f64 x x)))
(+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))))
(+.f64 (-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4))) (/.f64 -1 (*.f64 x x)))
(+.f64 (/.f64 1 (pow.f64 x 3)) (-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))))

prune52.0ms (2.8%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New59160
Fresh000
Picked011
Done000
Total59261
Error
0.3b
Counts
61 → 2
Alt Table
StatusErrorProgram
12.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
34.5b
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))))
Compiler

Compiled 969 to 752 computations (22.4% saved)

localize15.0ms (0.8%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 -1 (pow.f64 x 4))
0.3b
(/.f64 1 (pow.f64 x 3))
0.3b
(/.f64 -1 (*.f64 x x))
10.2b
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))))

series6.0ms (0.3%)

Counts
4 → 24
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@0
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))))
1.0ms
x
@0
(/.f64 1 (pow.f64 x 3))
1.0ms
x
@0
(/.f64 -1 (*.f64 x x))
1.0ms
x
@0
(/.f64 -1 (pow.f64 x 4))
0.0ms
x
@inf
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))))

rewrite39.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
188×add-sqr-sqrt_binary64
180×add-log-exp_binary64
180×pow1_binary64
180×log1p-expm1-u_binary64
180×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01740
140035
Stop Event
node limit
Counts
4 → 117
Calls
Call 1
Inputs
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))))
(/.f64 -1 (*.f64 x x))
(/.f64 1 (pow.f64 x 3))
(/.f64 -1 (pow.f64 x 4))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x -10) (-.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))) (/.f64 (pow.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) 2) (-.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))) 2)) (cbrt.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))) (sqrt.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x -15) (pow.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) 3)) (/.f64 1 (+.f64 (pow.f64 x -10) (*.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) (-.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) (pow.f64 x -5))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -10) (pow.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) 2)) (/.f64 1 (-.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x -10) (*.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) (-.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) (pow.f64 x -5)))) (+.f64 (pow.f64 x -15) (pow.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))) (-.f64 (pow.f64 x -10) (pow.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -15) (pow.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) 3)) (+.f64 (pow.f64 x -10) (*.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) (-.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) (pow.f64 x -5)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -10) (pow.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) 2)) (-.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x -15) (pow.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) 3))) (neg.f64 (+.f64 (pow.f64 x -10) (*.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) (-.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) (pow.f64 x -5))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -10) (pow.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) 2))) (neg.f64 (-.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 5) (fma.f64 -1 (pow.f64 x 4) (*.f64 (*.f64 x x) -1)))) (*.f64 (pow.f64 x 5) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 -1 (pow.f64 x 6)) (*.f64 (neg.f64 (pow.f64 x 5)) (fma.f64 -1 (pow.f64 x 4) (*.f64 (*.f64 x x) -1)))) (*.f64 (neg.f64 (pow.f64 x 5)) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (+.f64 (pow.f64 x -4) (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6))) (*.f64 (pow.f64 x 5) (+.f64 (/.f64 -1 (pow.f64 x 6)) (pow.f64 (neg.f64 (pow.f64 x -4)) 3)))) (*.f64 (pow.f64 x 5) (+.f64 (pow.f64 x -4) (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 -1 (+.f64 (pow.f64 x -4) (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6)))) (*.f64 (neg.f64 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 6)) (pow.f64 (neg.f64 (pow.f64 x -4)) 3)))) (*.f64 (neg.f64 (pow.f64 x 5)) (+.f64 (pow.f64 x -4) (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (+.f64 (sqrt.f64 (pow.f64 x -4)) (pow.f64 x -4)) (*.f64 (pow.f64 x 5) (-.f64 (pow.f64 x -4) (/.f64 1 (pow.f64 x 8))))) (*.f64 (pow.f64 x 5) (+.f64 (sqrt.f64 (pow.f64 x -4)) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 -1 (+.f64 (sqrt.f64 (pow.f64 x -4)) (pow.f64 x -4))) (*.f64 (neg.f64 (pow.f64 x 5)) (-.f64 (pow.f64 x -4) (/.f64 1 (pow.f64 x 8))))) (*.f64 (neg.f64 (pow.f64 x 5)) (+.f64 (sqrt.f64 (pow.f64 x -4)) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (fma.f64 -1 (pow.f64 x 4) (*.f64 (*.f64 x x) -1)) (pow.f64 x 5)) (*.f64 (pow.f64 x 6) 1)) (*.f64 (pow.f64 x 6) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (+.f64 (/.f64 -1 (pow.f64 x 6)) (pow.f64 (neg.f64 (pow.f64 x -4)) 3)) (pow.f64 x 5)) (*.f64 (+.f64 (pow.f64 x -4) (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6))) 1)) (*.f64 (+.f64 (pow.f64 x -4) (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6))) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (-.f64 (pow.f64 x -4) (/.f64 1 (pow.f64 x 8))) (pow.f64 x 5)) (*.f64 (+.f64 (sqrt.f64 (pow.f64 x -4)) (pow.f64 x -4)) 1)) (*.f64 (+.f64 (sqrt.f64 (pow.f64 x -4)) (pow.f64 x -4)) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (fma.f64 -1 (pow.f64 x 4) (*.f64 (*.f64 x x) -1)) (neg.f64 (pow.f64 x 5))) (*.f64 (pow.f64 x 6) -1)) (*.f64 (pow.f64 x 6) (neg.f64 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (+.f64 (/.f64 -1 (pow.f64 x 6)) (pow.f64 (neg.f64 (pow.f64 x -4)) 3)) (neg.f64 (pow.f64 x 5))) (*.f64 (+.f64 (pow.f64 x -4) (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6))) -1)) (*.f64 (+.f64 (pow.f64 x -4) (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6))) (neg.f64 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (-.f64 (pow.f64 x -4) (/.f64 1 (pow.f64 x 8))) (neg.f64 (pow.f64 x 5))) (*.f64 (+.f64 (sqrt.f64 (pow.f64 x -4)) (pow.f64 x -4)) -1)) (*.f64 (+.f64 (sqrt.f64 (pow.f64 x -4)) (pow.f64 x -4)) (neg.f64 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) 3) (pow.f64 x -15)) (+.f64 (pow.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) 2) (-.f64 (pow.f64 x -10) (*.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) (pow.f64 x -5)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (pow.f64 x -5) (sqrt.f64 (pow.f64 x -4))) 3) (pow.f64 (neg.f64 (pow.f64 x -4)) 3)) (+.f64 (*.f64 (+.f64 (pow.f64 x -5) (sqrt.f64 (pow.f64 x -4))) (+.f64 (pow.f64 x -5) (sqrt.f64 (pow.f64 x -4)))) (-.f64 (/.f64 1 (pow.f64 x 8)) (*.f64 (+.f64 (pow.f64 x -5) (sqrt.f64 (pow.f64 x -4))) (neg.f64 (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) 2) (pow.f64 x -10)) (-.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (pow.f64 x -5) (sqrt.f64 (pow.f64 x -4))) (+.f64 (pow.f64 x -5) (sqrt.f64 (pow.f64 x -4)))) (/.f64 1 (pow.f64 x 8))) (-.f64 (+.f64 (pow.f64 x -5) (sqrt.f64 (pow.f64 x -4))) (neg.f64 (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -10)) (cbrt.f64 (pow.f64 x -5)) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))) 2) (cbrt.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -5/2) (pow.f64 x -5/2) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))) (sqrt.f64 (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (pow.f64 x -4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (pow.f64 x -4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x -4)) (cbrt.f64 (sqrt.f64 (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 -1) x) (/.f64 (sqrt.f64 -1) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (pow.f64 x -4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (pow.f64 x -4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 -1) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (neg.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -1 (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) -1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 x -4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 -1 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (pow.f64 x -4))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (pow.f64 x -4))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 x -3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 x -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x -6)) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -3/2) (pow.f64 x -3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) (pow.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 x) 2) -3) (pow.f64 (cbrt.f64 x) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 x) -3) (pow.f64 (sqrt.f64 x) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 x 3/2) -1) (pow.f64 (pow.f64 x 3/2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x -3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 3) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x -3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 x -3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x -3/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 x -6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 x -3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 -3 (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 x) -3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 -3 (log.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 x -3)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (neg.f64 (pow.f64 x -4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (neg.f64 (pow.f64 x -4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (pow.f64 x -4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (pow.f64 x 8))) (cbrt.f64 (neg.f64 (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (neg.f64 (pow.f64 x -4))) (sqrt.f64 (neg.f64 (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -4) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.f64 (pow.f64 x -4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (neg.f64 (pow.f64 x -4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (neg.f64 (pow.f64 x -4))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.f64 (pow.f64 x 4)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (neg.f64 (pow.f64 x -4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) -1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (pow.f64 x -4))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1 (pow.f64 x 8)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (neg.f64 (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (neg.f64 (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (neg.f64 (pow.f64 x -4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (neg.f64 (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (neg.f64 (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (neg.f64 (pow.f64 x -4))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (neg.f64 (pow.f64 x -4))))))))

simplify30.0ms (1.6%)

Algorithm
egg-herbie
Rules
707×associate-/l*_binary64
505×unswap-sqr_binary64
264×distribute-neg-frac_binary64
261×fma-neg_binary64
259×associate-/r*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
018307
139303
283303
3186303
4536303
52064303
Stop Event
node limit
Counts
141 → 126
Calls
Call 1
Inputs
(/.f64 1 (pow.f64 x 5))
(-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 4)))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(/.f64 -1 (pow.f64 x 2))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(/.f64 -1 (pow.f64 x 2))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (pow.f64 x 2))
Outputs
(/.f64 1 (pow.f64 x 5))
(-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 4)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4)))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4))) (/.f64 (/.f64 -1 x) x))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4))) (/.f64 (/.f64 -1 x) x))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 (/.f64 -1 x) x))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x)))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4))) (/.f64 (/.f64 -1 x) x))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4))) (/.f64 (/.f64 -1 x) x))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 (/.f64 -1 x) x))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x)))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4))) (/.f64 (/.f64 -1 x) x))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4))) (/.f64 (/.f64 -1 x) x))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 (/.f64 -1 x) x)

prune131.0ms (6.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1251126
Fresh000
Picked011
Done011
Total1253128
Error
0b
Counts
128 → 3
Alt Table
StatusErrorProgram
12.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
34.2b
(+.f64 (/.f64 1 (pow.f64 x 3)) (fma.f64 1 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))))
34.5b
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))))
Compiler

Compiled 3595 to 2822 computations (21.5% saved)

localize12.0ms (0.6%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))
0.3b
(/.f64 1 (pow.f64 x 3))
10.2b
(fma.f64 1 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))

series4.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(fma.f64 1 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))
1.0ms
x
@0
(fma.f64 1 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))
1.0ms
x
@inf
(fma.f64 1 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))
1.0ms
x
@-inf
(fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))
1.0ms
x
@0
(fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))

rewrite42.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
877×log1p-expm1-u_binary64
877×expm1-log1p-u_binary64
121×add-sqr-sqrt_binary64
115×add-log-exp_binary64
114×pow1_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01332
126526
2278826
Stop Event
node limit
Counts
2 → 48
Calls
Call 1
Inputs
(fma.f64 1 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))
(fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 x -5) (pow.f64 x -2)) (pow.f64 x -4))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4)))) (cbrt.f64 (pow.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 2)) (cbrt.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 (pow.f64 x -5/2) (sqrt.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))) (hypot.f64 (pow.f64 x -5/2) (sqrt.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (pow.f64 x -5) 3) (pow.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) 3)) (+.f64 (pow.f64 x -10) (-.f64 (pow.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) 2) (*.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -10) (pow.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) 2)) (-.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 (pow.f64 x -5/2) (sqrt.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (pow.f64 x -5) (+.f64 (pow.f64 x -2) (pow.f64 x -4)))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x -2) (pow.f64 x -4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x -4) (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 x -2) (pow.f64 x -4))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (pow.f64 x -2) 0) (pow.f64 x -4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) (pow.f64 (cbrt.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 2) (cbrt.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) (sqrt.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -6) (pow.f64 (pow.f64 x -4) 3)) (+.f64 (pow.f64 x -4) (-.f64 (pow.f64 x -8) (pow.f64 x -6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x -4) (pow.f64 x -8)) (+.f64 (pow.f64 x -2) (pow.f64 x -4)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))))

simplify31.0ms (1.6%)

Algorithm
egg-herbie
Rules
505×unswap-sqr_binary64
388×associate-/r/_binary64
281×distribute-neg-frac_binary64
280×fma-neg_binary64
261×associate-/r*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
019406
140384
284384
3193384
4579384
52256384
Stop Event
node limit
Counts
72 → 58
Calls
Call 1
Inputs
(/.f64 1 (pow.f64 x 5))
(-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 4)))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(/.f64 -1 (pow.f64 x 2))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(/.f64 -1 (pow.f64 x 2))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(/.f64 -1 (pow.f64 x 4))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(/.f64 -1 (pow.f64 x 2))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(/.f64 -1 (pow.f64 x 2))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
Outputs
(/.f64 1 (pow.f64 x 5))
(-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 4)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4)))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4))) (/.f64 -1 (*.f64 x x)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4))) (/.f64 -1 (*.f64 x x)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4))) (/.f64 -1 (*.f64 x x)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4))) (/.f64 -1 (*.f64 x x)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4))) (/.f64 -1 (*.f64 x x)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4))) (/.f64 -1 (*.f64 x x)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))))
(/.f64 -1 (pow.f64 x 4))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x)))
(-.f64 (/.f64 -1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))

prune73.0ms (3.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New85085
Fresh000
Picked011
Done022
Total85388
Error
0b
Counts
88 → 3
Alt Table
StatusErrorProgram
12.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
34.2b
(+.f64 (/.f64 1 (pow.f64 x 3)) (fma.f64 1 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4)))))
34.5b
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))))
Compiler

Compiled 1871 to 1485 computations (20.6% saved)

regimes66.0ms (3.5%)

Accuracy

Total -46.3b remaining (-13010.4%)

Threshold costs -46.3b (-13010.4%)

Counts
20 → 3
Compiler

Compiled 296 to 228 computations (23% saved)

bsearch1.0ms (0%)

Algorithm
left-value
Calls

2 calls:

0.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
0.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Steps
ItersPointRange
0.0
∈ [
0.0
,
7939711029540597000.0
]
-1000.0
∈ [
-1893.5692336374316
,
-6.112392248061951e-11
]
Compiler

Compiled 13 to 10 computations (23.1% saved)

simplify4.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03191
14091
25391
36191
46591
56691
Stop Event
saturated
Calls
Call 1
Inputs
(if (<=.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x)) -1000) (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x)) (if (<=.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x)) 0) (+.f64 (pow.f64 x -3) (fma.f64 1 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))) (/.f64 (/.f64 (-.f64 x (+.f64 1 x)) (+.f64 1 x)) x)))
Outputs
(if (<=.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x)) -1000) (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x)) (if (<=.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x)) 0) (+.f64 (pow.f64 x -3) (fma.f64 1 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))) (/.f64 (/.f64 (-.f64 x (+.f64 1 x)) (+.f64 1 x)) x)))
(if (<=.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 1 x)) -1000) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 1 x)) (if (<=.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 1 x)) 0) (+.f64 (pow.f64 x -3) (fma.f64 1 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))) (/.f64 (/.f64 (-.f64 x (+.f64 1 x)) (+.f64 1 x)) x)))
(if (<=.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)) -1000) (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)) (if (<=.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)) 0) (+.f64 (pow.f64 x -3) (fma.f64 1 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))) (/.f64 (/.f64 (-.f64 x (+.f64 1 x)) (+.f64 1 x)) x)))
(if (<=.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)) -1000) (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)) (if (<=.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 -1 x)) 0) (+.f64 (pow.f64 x -3) (fma.f64 1 (pow.f64 x -5) (fma.f64 -1 (pow.f64 x -2) (neg.f64 (pow.f64 x -4))))) (/.f64 (/.f64 (+.f64 x (-.f64 -1 x)) (+.f64 1 x)) x)))

end86.0ms (4.6%)

Stop Event
done
Compiler

Compiled 178 to 139 computations (21.9% saved)

Profiling

Loading profile data...