Details

Time bar (total: 3.1s)

analyze4.0ms (0.1%)

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

Compiled 11 to 9 computations (18.2% saved)

sample1.0s (32.2%)

Results
541.0ms5717×body256valid
346.0ms2106×body512valid
103.0ms433×body1024valid
0.0msbody256infinite
Bogosity

preprocess20.0ms (0.6%)

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
712513
817113
920713
1023313
1123513
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))
(-.f64 (/.f64 -1 x) (/.f64 -1 (+.f64 1 x)))
Compiler

Compiled 11 to 9 computations (18.2% saved)

simplify97.0ms (3.1%)

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
712513
817113
920713
1023313
1123513
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))
(-.f64 (/.f64 -1 x) (/.f64 -1 (+.f64 1 x)))

eval1.0ms (0%)

Compiler

Compiled 19 to 15 computations (21.1% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
15.8b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
15.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Compiler

Compiled 10 to 8 computations (20% saved)

localize9.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
2.9b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Compiler

Compiled 23 to 17 computations (26.1% saved)

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))
0.0ms
x
@-inf
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))

rewrite168.0ms (5.4%)

Algorithm
batch-egg-rewrite
Rules
957×pow1_binary64
896×log1p-expm1-u_binary64
896×expm1-log1p-u_binary64
895×add-log-exp_binary64
89×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
116813
2260413
Stop Event
node limit
Counts
1 → 44
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 log1p.f64 (expm1.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 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))))))

simplify130.0ms (4.2%)

Algorithm
egg-herbie
Rules
501×distribute-neg-frac_binary64
450×associate-*l*_binary64
417×associate-/r*_binary64
366×distribute-rgt-neg-in_binary64
347×associate-*r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
031204
177201
2168199
3456199
41472199
55996199
Stop Event
node limit
Counts
56 → 59
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 (+.f64 1 (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 (+.f64 1 (fma.f64 -1 x (*.f64 x x))) (/.f64 1 x))
(+.f64 (-.f64 (*.f64 x x) x) (-.f64 1 (/.f64 1 x)))
(+.f64 1 (fma.f64 x (+.f64 -1 x) (/.f64 -1 x)))
(+.f64 1 (-.f64 (fma.f64 x x (/.f64 -1 x)) 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 (/.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 4)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (*.f64 x 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 (/.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 4)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (*.f64 x x)))))

eval20.0ms (0.7%)

Compiler

Compiled 898 to 695 computations (22.6% saved)

prune151.0ms (4.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New52759
Fresh000
Picked011
Done000
Total52860
Error
0.2b
Counts
60 → 8
Alt Table
Click to see full alt table
StatusErrorProgram
15.1b
(/.f64 (/.f64 (-.f64 x (+.f64 1 x)) (+.f64 1 x)) x)
31.0b
(/.f64 -1 (pow.f64 x 2))
31.0b
(/.f64 -1 (*.f64 x x))
32.3b
(/.f64 -1 x)
15.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
33.2b
(-.f64 1 (/.f64 1 x))
30.5b
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 -1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (*.f64 x x)))))
33.0b
(+.f64 1 (-.f64 (/.f64 -1 x) x))
Compiler

Compiled 142 to 108 computations (23.9% saved)

localize26.0ms (0.8%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (/.f64 (-.f64 x (+.f64 1 x)) (+.f64 1 x)) x)
2.2b
(-.f64 x (+.f64 1 x))
Compiler

Compiled 31 to 20 computations (35.5% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite83.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
623×prod-diff_binary64
459×log-prod_binary64
327×fma-def_binary64
304×pow-prod-down_binary64
232×pow2_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify53.0ms (1.7%)

Algorithm
egg-herbie
Rules
501×distribute-neg-frac_binary64
450×associate-*l*_binary64
417×associate-/r*_binary64
366×distribute-rgt-neg-in_binary64
347×associate-*r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
031216
177213
2168211
3456211
41472211
55996211
Stop Event
node limit
Counts
191 → 183
Calls
Call 1
Inputs
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
(/.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
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
(/.f64 -1 x)
(-.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 -1 x))
(-.f64 (+.f64 1 (*.f64 -1 x)) (/.f64 1 x))
(-.f64 (+.f64 1 (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 (+.f64 1 (fma.f64 -1 x (*.f64 x x))) (/.f64 1 x))
(+.f64 (-.f64 (*.f64 x x) x) (-.f64 1 (/.f64 1 x)))
(+.f64 1 (fma.f64 x (+.f64 -1 x) (/.f64 -1 x)))
(+.f64 1 (-.f64 (fma.f64 x x (/.f64 -1 x)) 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 (/.f64 1 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 (pow.f64 x 4)) (/.f64 (/.f64 1 x) x)))
(+.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 (pow.f64 x 4)) (/.f64 (/.f64 1 x) x))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.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 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 (/.f64 1 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 (pow.f64 x 4)) (/.f64 (/.f64 1 x) x)))
(+.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 (pow.f64 x 4)) (/.f64 (/.f64 1 x) x))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.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 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))))

localize3.0ms (0.1%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

localize5.0ms (0.2%)

Compiler

Compiled 11 to 8 computations (27.3% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.3b
(/.f64 -1 (*.f64 x x))
Compiler

Compiled 11 to 5 computations (54.5% saved)

series28.0ms (0.9%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
27.0ms
x
@0
(/.f64 -1 (*.f64 x x))
1.0ms
x
@inf
(/.f64 -1 (*.f64 x x))
0.0ms
x
@-inf
(/.f64 -1 (*.f64 x x))

rewrite55.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
458×pow1_binary64
443×add-sqr-sqrt_binary64
435×*-un-lft-identity_binary64
424×add-log-exp_binary64
424×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
057
11026
212166
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(/.f64 -1 (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (neg.f64 (pow.f64 x -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (neg.f64 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (neg.f64 (pow.f64 x -2))) (cbrt.f64 (/.f64 1 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (pow.f64 x 4))) (cbrt.f64 (neg.f64 (pow.f64 x -2))))))) (#(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 (neg.f64 (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (neg.f64 (pow.f64 x -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (neg.f64 (pow.f64 x -2))) 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 (*.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 (/.f64 1 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (neg.f64 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (neg.f64 (pow.f64 x -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (neg.f64 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (neg.f64 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (neg.f64 (pow.f64 x -2))))))))

simplify165.0ms (5.3%)

Algorithm
egg-herbie
Rules
1140×associate-/r*_binary64
1082×sqr-pow_binary64
560×cube-prod_binary64
554×fabs-mul_binary64
523×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0684
11184
22084
33584
47584
522484
683484
7204384
8220984
9239384
10260184
11289884
12329184
13377284
14434084
15502884
16586384
17625584
18654384
19681984
20689184
21692784
Stop Event
node limit
Counts
34 → 24
Calls
Call 1
Inputs
(/.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 2))
(/.f64 -1 (*.f64 x x))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))
(/.f64 -1 (pow.f64 x 2))
(/.f64 -1 (*.f64 x x))

localize8.0ms (0.3%)

Compiler

Compiled 19 to 13 computations (31.6% saved)

eval94.0ms (3%)

Compiler

Compiled 3833 to 2411 computations (37.1% saved)

prune161.0ms (5.2%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New2043207
Fresh202
Picked101
Done145
Total2087215
Error
0b
Counts
215 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
31.0b
(/.f64 -1 (*.f64 x x))
32.3b
(/.f64 -1 x)
15.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
33.2b
(-.f64 1 (/.f64 1 x))
30.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)))))
30.8b
(neg.f64 (pow.f64 x -2))
Compiler

Compiled 63 to 49 computations (22.2% saved)

localize5.0ms (0.2%)

Compiler

Compiled 10 to 7 computations (30% saved)

localize38.0ms (1.2%)

Local error

Found 4 expressions with local error:

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

Compiled 90 to 63 computations (30% saved)

series4.0ms (0.1%)

Counts
3 → 12
Calls

9 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 (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))))
0.0ms
x
@inf
(/.f64 -1 (pow.f64 x 4))

rewrite89.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
674×fma-def_binary64
348×fma-neg_binary64
293×expm1-udef_binary64
293×log1p-udef_binary64
261×log-pow_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01733
140029
2551227
Stop Event
node limit
Counts
3 → 146
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 (pow.f64 x 3))
(/.f64 -1 (pow.f64 x 4))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x -10) (-.f64 (pow.f64 x -5) (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))) (/.f64 (pow.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 2) (-.f64 (pow.f64 x -5) (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5))) (pow.f64 (cbrt.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5))) 2) (cbrt.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5))) (sqrt.f64 (fma.f64 -1 (+.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 -15) (pow.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 3)) (/.f64 1 (fma.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) (-.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) (pow.f64 x -5)) (pow.f64 x -10))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x -10) (pow.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 2)) (/.f64 1 (-.f64 (pow.f64 x -5) (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) (-.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) (pow.f64 x -5)) (pow.f64 x -10)) (+.f64 (pow.f64 x -15) (pow.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (pow.f64 x -5) (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))) (-.f64 (pow.f64 x -10) (pow.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -15) (pow.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 3)) (fma.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) (-.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) (pow.f64 x -5)) (pow.f64 x -10)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -15) (pow.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 3)) (+.f64 (pow.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 2) (-.f64 (pow.f64 x -10) (*.f64 (pow.f64 x -5) (*.f64 -1 (+.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 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 2)) (-.f64 (pow.f64 x -5) (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x -15) (pow.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 3))) (neg.f64 (fma.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) (-.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) (pow.f64 x -5)) (pow.f64 x -10))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x -10) (pow.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 2))) (neg.f64 (-.f64 (pow.f64 x -5) (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 5) (fma.f64 x (neg.f64 x) (neg.f64 (pow.f64 x 4))))) (*.f64 (pow.f64 x 5) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 -1 (pow.f64 x 6) (*.f64 (neg.f64 (pow.f64 x 5)) (fma.f64 x (neg.f64 x) (neg.f64 (pow.f64 x 4))))) (*.f64 (neg.f64 (pow.f64 x 5)) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (+.f64 (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6)) (pow.f64 x -4)) (*.f64 (pow.f64 x 5) (fma.f64 -1 (pow.f64 (pow.f64 x -4) 3) (/.f64 -1 (pow.f64 x 6))))) (*.f64 (pow.f64 x 5) (+.f64 (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6)) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 -1 (+.f64 (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6)) (pow.f64 x -4)) (*.f64 (neg.f64 (pow.f64 x 5)) (fma.f64 -1 (pow.f64 (pow.f64 x -4) 3) (/.f64 -1 (pow.f64 x 6))))) (*.f64 (neg.f64 (pow.f64 x 5)) (+.f64 (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6)) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (fma.f64 -1 (pow.f64 x -2) (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) (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 -1 (fma.f64 -1 (pow.f64 x -2) (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)) (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (fma.f64 x (neg.f64 x) (neg.f64 (pow.f64 x 4))) (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 (fma.f64 (fma.f64 -1 (pow.f64 (pow.f64 x -4) 3) (/.f64 -1 (pow.f64 x 6))) (pow.f64 x 5) (*.f64 (+.f64 (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6)) (pow.f64 x -4)) 1)) (*.f64 (+.f64 (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6)) (pow.f64 x -4)) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (-.f64 (pow.f64 x -4) (/.f64 1 (pow.f64 x 8))) (pow.f64 x 5) (*.f64 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -4)) 1)) (*.f64 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (fma.f64 x (neg.f64 x) (neg.f64 (pow.f64 x 4))) (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 (fma.f64 (fma.f64 -1 (pow.f64 (pow.f64 x -4) 3) (/.f64 -1 (pow.f64 x 6))) (neg.f64 (pow.f64 x 5)) (*.f64 (+.f64 (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6)) (pow.f64 x -4)) -1)) (*.f64 (+.f64 (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6)) (pow.f64 x -4)) (neg.f64 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (-.f64 (pow.f64 x -4) (/.f64 1 (pow.f64 x 8))) (neg.f64 (pow.f64 x 5)) (*.f64 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -4)) -1)) (*.f64 (fma.f64 -1 (pow.f64 x -2) (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) (pow.f64 x -5)) 3) (pow.f64 (neg.f64 (pow.f64 x -4)) 3)) (fma.f64 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)) (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)) (-.f64 (/.f64 1 (pow.f64 x 8)) (*.f64 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)) (neg.f64 (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 2) (pow.f64 x -10)) (-.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)) (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5))) (/.f64 1 (pow.f64 x 8))) (-.f64 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)) (neg.f64 (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (pow.f64 x -5))) (exp.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (pow.f64 x -5)) (+.f64 1 (expm1.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (pow.f64 x -5))) (+.f64 1 (expm1.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (neg.f64 (pow.f64 x -4))) (exp.f64 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (neg.f64 (pow.f64 x -4)))) (exp.f64 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (neg.f64 (pow.f64 x -4))) (*.f64 (exp.f64 (pow.f64 x -5)) (exp.f64 (neg.f64 (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (neg.f64 (pow.f64 x -4)))) (*.f64 (exp.f64 (pow.f64 x -5)) (exp.f64 (neg.f64 (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))) (exp.f64 (pow.f64 x -5))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))) (+.f64 1 (expm1.f64 (pow.f64 x -5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))) (+.f64 1 (expm1.f64 (pow.f64 x -5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (exp.f64 (pow.f64 x -5)) (exp.f64 (neg.f64 (pow.f64 x -2)))) (exp.f64 (neg.f64 (pow.f64 x -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5))) (+.f64 1 (expm1.f64 (neg.f64 (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (exp.f64 (pow.f64 x -5)) (exp.f64 (neg.f64 (pow.f64 x -2)))) (+.f64 1 (expm1.f64 (neg.f64 (pow.f64 x -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 x -5) (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (neg.f64 (pow.f64 x -2)) (fma.f64 -1 (pow.f64 x -4) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (neg.f64 (pow.f64 x -4)) (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)) (neg.f64 (pow.f64 x -4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -5) 1 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (pow.f64 x -2) (fma.f64 -1 (pow.f64 x -4) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (pow.f64 x -4) (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (/.f64 1 (neg.f64 (pow.f64 x 5))) (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (+.f64 (pow.f64 x -4) (pow.f64 x -2)) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (pow.f64 x -2)) 1 (fma.f64 -1 (pow.f64 x -4) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (pow.f64 x -4)) 1 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))) 1 (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (neg.f64 (pow.f64 x -4))) (cbrt.f64 (/.f64 1 (pow.f64 x 8))) (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 1 (pow.f64 x 8))) (cbrt.f64 (neg.f64 (pow.f64 x -4))) (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (neg.f64 (pow.f64 x -2))) (cbrt.f64 (pow.f64 x -4)) (fma.f64 -1 (pow.f64 x -4) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -4)) (cbrt.f64 (neg.f64 (pow.f64 x -2))) (fma.f64 -1 (pow.f64 x -4) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -5)) (cbrt.f64 (pow.f64 x -10)) (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -10)) (cbrt.f64 (pow.f64 x -5)) (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))) (pow.f64 (cbrt.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))) 2) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))) 2) (cbrt.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (neg.f64 (pow.f64 x -4))) (sqrt.f64 (neg.f64 (pow.f64 x -4))) (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 -1) x) (/.f64 (sqrt.f64 -1) x) (fma.f64 -1 (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) (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))) (sqrt.f64 (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4)))) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x (neg.f64 x) (neg.f64 (pow.f64 x 4))) (pow.f64 x -6) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 -1 (pow.f64 (pow.f64 x -4) 3) (/.f64 -1 (pow.f64 x 6))) (/.f64 1 (+.f64 (-.f64 (/.f64 1 (pow.f64 x 8)) (pow.f64 x -6)) (pow.f64 x -4))) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -2) -1 (fma.f64 -1 (pow.f64 x -4) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -4) -1 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 x -4) (/.f64 1 (pow.f64 x 8))) (/.f64 1 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -4))) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 -1 x) (/.f64 1 x) (fma.f64 -1 (pow.f64 x -4) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)) 1 (neg.f64 (pow.f64 x -4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5))) (cbrt.f64 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5)))) (cbrt.f64 (fma.f64 -1 (pow.f64 x -2) (pow.f64 x -5))) (neg.f64 (pow.f64 x -4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 (/.f64 (sqrt.f64 -1) x) (pow.f64 x -5/2)) (hypot.f64 (/.f64 (sqrt.f64 -1) x) (pow.f64 x -5/2)) (neg.f64 (pow.f64 x -4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (pow.f64 (cbrt.f64 x) 2) -5) (pow.f64 (cbrt.f64 x) -5) (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (sqrt.f64 x) -5) (pow.f64 (sqrt.f64 x) -5) (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (pow.f64 x 10)) -1) (pow.f64 (cbrt.f64 (pow.f64 x 5)) -1) (*.f64 -1 (+.f64 (pow.f64 x -2) (pow.f64 x -4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (pow.f64 x 5/2) -1) (pow.f64 (pow.f64 x 5/2) -1) (*.f64 -1 (+.f64 (pow.f64 x -2) (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 (/.f64 1 x) (cbrt.f64 (pow.f64 x -6)))))) (#(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 log1p.f64 (expm1.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 -.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 (neg.f64 (pow.f64 x -4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (neg.f64 (pow.f64 x -4))) (cbrt.f64 (/.f64 1 (pow.f64 x 8))))))) (#(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 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 log.f64 (/.f64 1 (exp.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 log1p.f64 (expm1.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))))))

simplify51.0ms (1.6%)

Algorithm
egg-herbie
Rules
841×div-sub_binary64
723×associate-/l*_binary64
614×distribute-neg-frac_binary64
506×unswap-sqr_binary64
261×associate-/r*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
018223
139219
283219
3189219
4548219
52167219
66039219
Stop Event
node limit
Counts
158 → 155
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))))
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 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 (/.f64 1 x) x)))
(+.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 4)) (/.f64 -1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 5)))
(-.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 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 (/.f64 1 x) x)))
(+.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 4)) (/.f64 -1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 5)))
(/.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 (/.f64 1 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 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 (/.f64 1 x) x)))
(+.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 4)) (/.f64 -1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 5)))
(-.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 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 (/.f64 1 x) x)))
(+.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 4)) (/.f64 -1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 5)))
(/.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 (/.f64 1 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 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 (/.f64 1 x) x)))
(+.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 4)) (/.f64 -1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 5)))
(-.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 1 (pow.f64 x 5)) (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 (/.f64 1 x) x)))
(+.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 4)) (/.f64 -1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 5)))

localize7.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
Compiler

Compiled 19 to 14 computations (26.3% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite54.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
817×pow1_binary64
762×add-log-exp_binary64
761×log1p-expm1-u_binary64
761×expm1-log1p-u_binary64
747×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
115110
2209910
Stop Event
node limit
Counts
1 → 36
Calls
Call 1
Inputs
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 -1 (+.f64 x (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 (/.f64 1 (+.f64 1 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (+.f64 x (*.f64 x 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 1 (/.f64 -1 (+.f64 x (*.f64 x x))))))) (#(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 x (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) 2) (*.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (cbrt.f64 (+.f64 x (*.f64 x x)))) (pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 x (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 x (*.f64 x x)))) 2) (/.f64 -1 (cbrt.f64 (+.f64 x (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 -1 (+.f64 1 x))) (*.f64 (sqrt.f64 (/.f64 -1 (+.f64 1 x))) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 -1 (+.f64 x (*.f64 x x)))) (sqrt.f64 (/.f64 -1 (+.f64 x (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 x)) (/.f64 1 (neg.f64 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 (/.f64 (pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) 2) 1) (/.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (/.f64 -1 (+.f64 1 x))) 1) (/.f64 (sqrt.f64 (/.f64 -1 (+.f64 1 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 1 (+.f64 1 x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 -1 (+.f64 1 x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) 2) (pow.f64 (cbrt.f64 x) 2)) (/.f64 -1 (cbrt.f64 (+.f64 x (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (/.f64 -1 (+.f64 1 x))) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (/.f64 -1 (+.f64 1 x))) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (sqrt.f64 x)) (/.f64 (/.f64 1 (+.f64 1 x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (/.f64 -1 (+.f64 1 x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) 2) (sqrt.f64 x)) (/.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -1 (+.f64 x (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 -1 (+.f64 x (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 x (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 -1 (+.f64 x (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 (+.f64 1 x) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 -1 (+.f64 x (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -1 (+.f64 x (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 -1 (+.f64 x (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (/.f64 -1 (+.f64 1 x)) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -1 (+.f64 x (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -1 (+.f64 x (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (neg.f64 (log1p.f64 x)) (log.f64 (neg.f64 x))))))))

simplify52.0ms (1.7%)

Algorithm
egg-herbie
Rules
501×distribute-neg-frac_binary64
450×associate-*l*_binary64
417×associate-/r*_binary64
366×distribute-rgt-neg-in_binary64
347×associate-*r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
031204
177201
2168199
3456199
41472199
55996199
Stop Event
node limit
Counts
48 → 51
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 (+.f64 1 (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 (+.f64 1 (fma.f64 -1 x (*.f64 x x))) (/.f64 1 x))
(+.f64 (-.f64 (*.f64 x x) x) (-.f64 1 (/.f64 1 x)))
(+.f64 1 (fma.f64 x (+.f64 -1 x) (/.f64 -1 x)))
(+.f64 1 (-.f64 (fma.f64 x x (/.f64 -1 x)) 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 (/.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 4)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (*.f64 x 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 (/.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 4)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (*.f64 x x)))))

eval172.0ms (5.5%)

Compiler

Compiled 5381 to 4150 computations (22.9% saved)

prune31.0ms (1%)

Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New2291230
Fresh000
Picked011
Done246
Total2316237
Error
0b
Counts
237 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
31.0b
(/.f64 -1 (*.f64 x x))
32.3b
(/.f64 -1 x)
33.2b
(-.f64 1 (/.f64 1 x))
0.2b
(*.f64 (/.f64 -1 (+.f64 x (*.f64 x x))) 1)
30.8b
(neg.f64 (pow.f64 x -2))
Compiler

Compiled 39 to 29 computations (25.6% saved)

localize10.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 x (*.f64 x x))
0.2b
(/.f64 -1 (+.f64 x (*.f64 x x)))
Compiler

Compiled 28 to 11 computations (60.7% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite53.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
697×pow1_binary64
652×add-log-exp_binary64
651×log1p-expm1-u_binary64
651×expm1-log1p-u_binary64
637×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0617
113313
2187813
Stop Event
node limit
Counts
2 → 61
Calls
Call 1
Inputs
(/.f64 -1 (+.f64 x (*.f64 x x)))
(+.f64 x (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 -1 (fma.f64 x x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (fma.f64 x x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 -1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (cbrt.f64 (fma.f64 x x x))) (pow.f64 (/.f64 -1 (cbrt.f64 (fma.f64 x x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 -1 (cbrt.f64 (fma.f64 x x x))) 2) (/.f64 -1 (cbrt.f64 (fma.f64 x x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 -1 (fma.f64 x x x))) (sqrt.f64 (/.f64 -1 (fma.f64 x x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (+.f64 (pow.f64 x 3) (pow.f64 x 6))) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (-.f64 (*.f64 x x) (pow.f64 x 4))) (-.f64 x (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -1 (fma.f64 x x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 -1 (fma.f64 x x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -1 (cbrt.f64 (fma.f64 x x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 -1 (fma.f64 x x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.f64 (fma.f64 x x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x x) -1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1 (pow.f64 (fma.f64 x x x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -1 (fma.f64 x x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 -1 (fma.f64 x x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -1 (fma.f64 x x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -1 (fma.f64 x x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 -1 (fma.f64 x x x))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x x)) (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2) (cbrt.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (sqrt.f64 x)) (hypot.f64 x (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (/.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (/.f64 1 (-.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x 1) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x 1) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x 1) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))) (+.f64 (pow.f64 x 3) (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (*.f64 x x)) (-.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6))) (neg.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 x 4))) (neg.f64 (-.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 x x)) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (sqrt.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x x))))))

simplify59.0ms (1.9%)

Algorithm
egg-herbie
Rules
490×distribute-neg-frac_binary64
462×associate-*l*_binary64
417×associate-/r*_binary64
363×associate-*r*_binary64
360×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
032276
179255
2174253
3468253
41509253
56146253
Stop Event
node limit
Counts
85 → 80
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))))
x
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
Outputs
(/.f64 -1 x)
(-.f64 1 (/.f64 1 x))
(+.f64 1 (/.f64 -1 x))
(-.f64 (+.f64 1 (*.f64 -1 x)) (/.f64 1 x))
(-.f64 (+.f64 1 (neg.f64 x)) (/.f64 1 x))
(+.f64 (-.f64 1 x) (/.f64 -1 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 (-.f64 (*.f64 x x) x) (-.f64 1 (/.f64 1 x)))
(+.f64 1 (fma.f64 x (+.f64 -1 x) (/.f64 -1 x)))
(-.f64 (/.f64 -1 x) (-.f64 x (fma.f64 x x 1)))
(+.f64 1 (-.f64 (fma.f64 x x (/.f64 -1 x)) 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 (/.f64 1 (pow.f64 x 3)) (/.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 (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 5))) (/.f64 1 (pow.f64 x 4))) (/.f64 1 (*.f64 x x)))
(+.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 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 5))) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))))
(+.f64 (-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4))))
(+.f64 (/.f64 -1 (*.f64 x x)) (-.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 -1 (pow.f64 x 5)))))
(/.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 (/.f64 1 (pow.f64 x 3)) (/.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 (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 5))) (/.f64 1 (pow.f64 x 4))) (/.f64 1 (*.f64 x x)))
(+.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 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 5))) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))))
(+.f64 (-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 4))))
(+.f64 (/.f64 -1 (*.f64 x x)) (-.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 -1 (pow.f64 x 5)))))
x
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)

eval21.0ms (0.7%)

Compiler

Compiled 1043 to 669 computations (35.9% saved)

prune12.0ms (0.4%)

Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New80080
Fresh000
Picked011
Done055
Total80686
Error
0b
Counts
86 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
31.0b
(/.f64 -1 (*.f64 x x))
32.3b
(/.f64 -1 x)
33.2b
(-.f64 1 (/.f64 1 x))
0.2b
(*.f64 (/.f64 -1 (+.f64 x (*.f64 x x))) 1)
30.8b
(neg.f64 (pow.f64 x -2))
Compiler

Compiled 39 to 29 computations (25.6% saved)

regimes20.0ms (0.7%)

Counts
12 → 1
Calls
Call 1
Inputs
(/.f64 -1 x)
(-.f64 1 (/.f64 1 x))
(/.f64 -1 (*.f64 x x))
(+.f64 1 (-.f64 (/.f64 -1 x) x))
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
(*.f64 (/.f64 -1 (+.f64 x (*.f64 x x))) 1)
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
(/.f64 (/.f64 (-.f64 x (+.f64 1 x)) (+.f64 1 x)) x)
(neg.f64 (pow.f64 x -2))
(/.f64 -1 (pow.f64 x 2))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.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 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))))
Outputs
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
Calls

2 calls:

10.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
7.0ms
x
Results
ErrorSegmentsBranch
0.1b1x
0.1b1(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Compiler

Compiled 124 to 89 computations (28.2% saved)

regimes14.0ms (0.4%)

Counts
4 → 3
Calls
Call 1
Inputs
(/.f64 -1 x)
(-.f64 1 (/.f64 1 x))
(/.f64 -1 (*.f64 x x))
(+.f64 1 (-.f64 (/.f64 -1 x) x))
Outputs
(/.f64 -1 (*.f64 x x))
(+.f64 1 (-.f64 (/.f64 -1 x) x))
(/.f64 -1 (*.f64 x x))
Calls

1 calls:

13.0ms
x
Results
ErrorSegmentsBranch
1.4b3x
Compiler

Compiled 23 to 16 computations (30.4% saved)

bsearch35.0ms (1.1%)

Algorithm
binary-search
Steps
TimeLeftRight
19.0ms
3.0098826093075848e-5
135.68711083118944
16.0ms
-38645.50717055114
-0.002604434188658771
Compiler

Compiled 14 to 11 computations (21.4% saved)

regimes13.0ms (0.4%)

Counts
3 → 3
Calls
Call 1
Inputs
(/.f64 -1 x)
(-.f64 1 (/.f64 1 x))
(/.f64 -1 (*.f64 x x))
Outputs
(/.f64 -1 (*.f64 x x))
(-.f64 1 (/.f64 1 x))
(/.f64 -1 (*.f64 x x))
Calls

1 calls:

12.0ms
x
Results
ErrorSegmentsBranch
1.6b3x
Compiler

Compiled 16 to 11 computations (31.3% saved)

bsearch34.0ms (1.1%)

Algorithm
binary-search
Steps
TimeLeftRight
18.0ms
3.0098826093075848e-5
135.68711083118944
16.0ms
-38645.50717055114
-0.002604434188658771
Compiler

Compiled 14 to 11 computations (21.4% saved)

regimes4.0ms (0.1%)

Accuracy

Total -1.1b remaining (-3.5%)

Threshold costs -1.1b (-3.5%)

Counts
2 → 1
Calls
Call 1
Inputs
(/.f64 -1 x)
(-.f64 1 (/.f64 1 x))
Outputs
(/.f64 -1 x)
Calls

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
32.3b1x
Compiler

Compiled 11 to 8 computations (27.3% saved)

simplify6.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02383
13183
23983
34883
45683
55883
65983
Stop Event
done
saturated
Calls
Call 1
Inputs
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
(if (<=.f64 x -1327849515478805/34359738368) (/.f64 -1 (*.f64 x x)) (if (<=.f64 x 8883605469728981/295147905179352825856) (+.f64 1 (-.f64 (/.f64 -1 x) x)) (/.f64 -1 (*.f64 x x))))
(if (<=.f64 x -1327849515478805/34359738368) (/.f64 -1 (*.f64 x x)) (if (<=.f64 x 8883605469728981/295147905179352825856) (-.f64 1 (/.f64 1 x)) (/.f64 -1 (*.f64 x x))))
(/.f64 -1 x)
Outputs
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
(if (<=.f64 x -1327849515478805/34359738368) (/.f64 -1 (*.f64 x x)) (if (<=.f64 x 8883605469728981/295147905179352825856) (+.f64 1 (-.f64 (/.f64 -1 x) x)) (/.f64 -1 (*.f64 x x))))
(if (<=.f64 x -1327849515478805/34359738368) (/.f64 -1 (*.f64 x x)) (if (<=.f64 x 8883605469728981/295147905179352825856) (-.f64 1 (/.f64 1 x)) (/.f64 -1 (*.f64 x x))))
(if (<=.f64 x -1327849515478805/34359738368) (/.f64 -1 (*.f64 x x)) (if (<=.f64 x 8883605469728981/295147905179352825856) (+.f64 1 (/.f64 -1 x)) (/.f64 -1 (*.f64 x x))))
(/.f64 -1 x)
Compiler

Compiled 62 to 42 computations (32.3% saved)

soundness0.0ms (0%)

end41.0ms (1.3%)

Compiler

Compiled 59 to 38 computations (35.6% saved)

Profiling

Loading profile data...