Details

Time bar (total: 1.1s)

analyze1.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
100%0%0%3
Compiler

Compiled 9 to 6 computations (33.3% saved)

sample700.0ms (62.8%)

Results
688.0ms8256×body128valid
Compiler

Compiled 18 to 12 computations (33.3% saved)

preprocess16.0ms (1.4%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1108
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 x (+.f64 (*.f64 x x) 1))
Outputs
(/.f64 x (+.f64 (*.f64 x x) 1))
(/.f64 x (fma.f64 x x 1))
Compiler

Compiled 8 to 5 computations (37.5% saved)

simplify6.0ms (0.5%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1108
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 x (+.f64 (*.f64 x x) 1))
Outputs
(/.f64 x (+.f64 (*.f64 x x) 1))
(/.f64 x (fma.f64 x x 1))

prune2.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
15.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
15.9b
(/.f64 x (fma.f64 x x 1))
Compiler

Compiled 28 to 16 computations (42.9% saved)

localize5.0ms (0.5%)

Local error

Found 1 expressions with local error:

NewErrorProgram
15.9b
(/.f64 x (fma.f64 x x 1))

series2.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

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

rewrite33.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
499×pow1_binary64
462×add-log-exp_binary64
462×log1p-expm1-u_binary64
462×expm1-log1p-u_binary64
452×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify37.0ms (3.3%)

Algorithm
egg-herbie
Rules
485×times-frac_binary64
468×fma-def_binary64
270×sub-neg_binary64
263×fma-neg_binary64
230×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023180
165180
2180180
3453180
41323180
53836180
Stop Event
node limit
Counts
43 → 44
Calls
Call 1
Inputs
x
(-.f64 x (pow.f64 x 3))
(-.f64 (+.f64 (pow.f64 x 5) x) (pow.f64 x 3))
(-.f64 (+.f64 (pow.f64 x 5) x) (+.f64 (pow.f64 x 7) (pow.f64 x 3)))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3))))
Outputs
x
(-.f64 x (pow.f64 x 3))
(-.f64 (+.f64 (pow.f64 x 5) x) (pow.f64 x 3))
(+.f64 (pow.f64 x 5) (-.f64 x (pow.f64 x 3)))
(+.f64 x (-.f64 (pow.f64 x 5) (pow.f64 x 3)))
(-.f64 (+.f64 x (pow.f64 x 5)) (pow.f64 x 3))
(-.f64 (+.f64 (pow.f64 x 5) x) (+.f64 (pow.f64 x 7) (pow.f64 x 3)))
(-.f64 (+.f64 x (pow.f64 x 5)) (+.f64 (pow.f64 x 3) (pow.f64 x 7)))
(-.f64 (-.f64 x (pow.f64 x 7)) (-.f64 (pow.f64 x 3) (pow.f64 x 5)))
(+.f64 x (-.f64 (pow.f64 x 5) (+.f64 (pow.f64 x 3) (pow.f64 x 7))))
(+.f64 (-.f64 x (pow.f64 x 3)) (-.f64 (pow.f64 x 5) (pow.f64 x 7)))
(+.f64 (pow.f64 x 5) (-.f64 x (+.f64 (pow.f64 x 3) (pow.f64 x 7))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3))))
(-.f64 (-.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 1 (pow.f64 x 7))) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 7))))
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))) (/.f64 -1 (pow.f64 x 7))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3))))
(-.f64 (-.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 1 (pow.f64 x 7))) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 7))))
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))) (/.f64 -1 (pow.f64 x 7))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7))))

prune22.0ms (2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New42244
Fresh000
Picked011
Done000
Total42345
Error
0b
Counts
45 → 3
Alt Table
StatusErrorProgram
15.9b
(pow.f64 (/.f64 (fma.f64 x x 1) x) -1)
30.9b
(/.f64 1 x)
15.9b
(/.f64 x (fma.f64 x x 1))
Compiler

Compiled 533 to 356 computations (33.2% saved)

localize4.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (/.f64 (fma.f64 x x 1) x) -1)
15.9b
(/.f64 (fma.f64 x x 1) x)

series4.0ms (0.3%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(/.f64 (fma.f64 x x 1) x)
1.0ms
x
@-inf
(/.f64 (fma.f64 x x 1) x)
1.0ms
x
@0
(/.f64 (fma.f64 x x 1) x)
0.0ms
x
@-inf
(pow.f64 (/.f64 (fma.f64 x x 1) x) -1)
0.0ms
x
@0
(pow.f64 (/.f64 (fma.f64 x x 1) x) -1)

rewrite40.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
651×pow1_binary64
608×add-log-exp_binary64
606×log1p-expm1-u_binary64
606×expm1-log1p-u_binary64
67×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify32.0ms (2.9%)

Algorithm
egg-herbie
Rules
485×times-frac_binary64
468×fma-def_binary64
270×sub-neg_binary64
263×fma-neg_binary64
230×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
024249
167249
2182249
3456249
41324249
53822249
Stop Event
node limit
Counts
97 → 88
Calls
Call 1
Inputs
(/.f64 1 x)
(+.f64 (/.f64 1 x) x)
(+.f64 (/.f64 1 x) x)
(+.f64 (/.f64 1 x) x)
x
(+.f64 (/.f64 1 x) x)
(+.f64 (/.f64 1 x) x)
(+.f64 (/.f64 1 x) x)
x
(+.f64 (/.f64 1 x) x)
(+.f64 (/.f64 1 x) x)
(+.f64 (/.f64 1 x) x)
x
(-.f64 x (pow.f64 x 3))
(-.f64 (+.f64 (pow.f64 x 5) x) (pow.f64 x 3))
(-.f64 (+.f64 (pow.f64 x 5) x) (+.f64 (pow.f64 x 7) (pow.f64 x 3)))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3))))
Outputs
(/.f64 1 x)
(+.f64 (/.f64 1 x) x)
(+.f64 x (/.f64 1 x))
(+.f64 (/.f64 1 x) x)
(+.f64 x (/.f64 1 x))
(+.f64 (/.f64 1 x) x)
(+.f64 x (/.f64 1 x))
x
(+.f64 (/.f64 1 x) x)
(+.f64 x (/.f64 1 x))
(+.f64 (/.f64 1 x) x)
(+.f64 x (/.f64 1 x))
(+.f64 (/.f64 1 x) x)
(+.f64 x (/.f64 1 x))
x
(+.f64 (/.f64 1 x) x)
(+.f64 x (/.f64 1 x))
(+.f64 (/.f64 1 x) x)
(+.f64 x (/.f64 1 x))
(+.f64 (/.f64 1 x) x)
(+.f64 x (/.f64 1 x))
x
(-.f64 x (pow.f64 x 3))
(-.f64 (+.f64 (pow.f64 x 5) x) (pow.f64 x 3))
(+.f64 (pow.f64 x 5) (-.f64 x (pow.f64 x 3)))
(+.f64 x (-.f64 (pow.f64 x 5) (pow.f64 x 3)))
(-.f64 (+.f64 (pow.f64 x 5) x) (+.f64 (pow.f64 x 7) (pow.f64 x 3)))
(+.f64 (pow.f64 x 5) (-.f64 x (+.f64 (pow.f64 x 3) (pow.f64 x 7))))
(+.f64 x (-.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 7)) (pow.f64 x 3)))
(+.f64 (pow.f64 x 5) (-.f64 (-.f64 x (pow.f64 x 3)) (pow.f64 x 7)))
(+.f64 x (-.f64 (pow.f64 x 5) (+.f64 (pow.f64 x 3) (pow.f64 x 7))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))))
(-.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 5))))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7)))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 7))))
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))) (/.f64 -1 (pow.f64 x 7))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (/.f64 -1 (pow.f64 x 7))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (/.f64 -1 (pow.f64 x 7))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))))
(-.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 5))))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7)))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 7))))
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))) (/.f64 -1 (pow.f64 x 7))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (/.f64 -1 (pow.f64 x 7))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (/.f64 -1 (pow.f64 x 7))))

prune46.0ms (4.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New87188
Fresh101
Picked101
Done011
Total89291
Error
0b
Counts
91 → 2
Alt Table
StatusErrorProgram
0.1b
(pow.f64 (+.f64 (/.f64 1 x) x) -1)
15.9b
(/.f64 x (fma.f64 x x 1))
Compiler

Compiled 1122 to 757 computations (32.5% saved)

localize4.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series2.0ms (0.2%)

Counts
2 → 15
Calls

6 calls:

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

rewrite40.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
711×pow1_binary64
668×add-log-exp_binary64
666×log1p-expm1-u_binary64
666×expm1-log1p-u_binary64
74×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify33.0ms (2.9%)

Algorithm
egg-herbie
Rules
485×times-frac_binary64
468×fma-def_binary64
270×sub-neg_binary64
263×fma-neg_binary64
230×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023186
165186
2180186
3453186
41323186
53836186
Stop Event
node limit
Counts
71 → 69
Calls
Call 1
Inputs
x
(-.f64 x (pow.f64 x 3))
(-.f64 (+.f64 (pow.f64 x 5) x) (pow.f64 x 3))
(-.f64 (+.f64 (pow.f64 x 5) x) (+.f64 (pow.f64 x 7) (pow.f64 x 3)))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3))))
(/.f64 1 x)
x
x
Outputs
x
(-.f64 x (pow.f64 x 3))
(-.f64 (+.f64 (pow.f64 x 5) x) (pow.f64 x 3))
(+.f64 (pow.f64 x 5) (-.f64 x (pow.f64 x 3)))
(+.f64 x (-.f64 (pow.f64 x 5) (pow.f64 x 3)))
(-.f64 (+.f64 x (pow.f64 x 5)) (pow.f64 x 3))
(-.f64 (+.f64 (pow.f64 x 5) x) (+.f64 (pow.f64 x 7) (pow.f64 x 3)))
(-.f64 (+.f64 x (pow.f64 x 5)) (+.f64 (pow.f64 x 3) (pow.f64 x 7)))
(-.f64 (-.f64 x (pow.f64 x 7)) (-.f64 (pow.f64 x 3) (pow.f64 x 5)))
(+.f64 x (-.f64 (pow.f64 x 5) (+.f64 (pow.f64 x 3) (pow.f64 x 7))))
(+.f64 (-.f64 x (pow.f64 x 3)) (-.f64 (pow.f64 x 5) (pow.f64 x 7)))
(+.f64 (pow.f64 x 5) (-.f64 x (+.f64 (pow.f64 x 3) (pow.f64 x 7))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3))))
(-.f64 (-.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 1 (pow.f64 x 7))) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 7))))
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))) (/.f64 -1 (pow.f64 x 7))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 3))))
(-.f64 (-.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 1 (pow.f64 x 7))) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 7))))
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))) (/.f64 -1 (pow.f64 x 7))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7))))
(/.f64 1 x)
x
x

prune32.0ms (2.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New69069
Fresh000
Picked011
Done011
Total69271
Error
0b
Counts
71 → 2
Alt Table
StatusErrorProgram
0.1b
(pow.f64 (+.f64 (/.f64 1 x) x) -1)
15.9b
(/.f64 x (fma.f64 x x 1))
Compiler

Compiled 869 to 642 computations (26.1% saved)

regimes13.0ms (1.1%)

Accuracy

Total 0.1b remaining (97%)

Threshold costs 0.1b (97%)

Counts
9 → 1
Compiler

Compiled 56 to 35 computations (37.5% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
11010
Stop Event
saturated
Calls
Call 1
Inputs
(pow.f64 (+.f64 (/.f64 1 x) x) -1)
Outputs
(pow.f64 (+.f64 (/.f64 1 x) x) -1)
(pow.f64 (+.f64 x (/.f64 1 x)) -1)

end39.0ms (3.5%)

Stop Event
done
Compiler

Compiled 31 to 22 computations (29% saved)

Profiling

Loading profile data...