Details

Time bar (total: 3.0s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
Compiler

Compiled 9 to 6 computations (33.3% saved)

sample1.4s (46.3%)

Results
1.4s8256×body256valid

preprocess22.0ms (0.7%)

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 9 to 6 computations (33.3% saved)

simplify6.0ms (0.2%)

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

eval1.0ms (0%)

Compiler

Compiled 14 to 8 computations (42.9% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 8 to 5 computations (37.5% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
15.4b
(/.f64 x (+.f64 (*.f64 x x) 1))
Compiler

Compiled 18 to 8 computations (55.6% saved)

series3.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite48.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
668×pow1_binary64
626×add-log-exp_binary64
626×log1p-expm1-u_binary64
626×expm1-log1p-u_binary64
612×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11308
217498
Stop Event
node limit
Counts
1 → 33
Calls
Call 1
Inputs
(/.f64 x (+.f64 (*.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 (/.f64 (sqrt.f64 x) (hypot.f64 1 x)) (/.f64 (sqrt.f64 x) (hypot.f64 1 x)))))) (#(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 (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)) (cbrt.f64 (/.f64 x (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 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (hypot.f64 1 x)) (/.f64 (cbrt.f64 x) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 1 (pow.f64 x 6))) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (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 (/.f64 (sqrt.f64 x) (hypot.f64 1 x)) 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 expm1.f64 (log1p.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 exp.f64 (log.f64 (/.f64 x (fma.f64 x x 1))))))))

simplify53.0ms (1.8%)

Algorithm
egg-herbie
Rules
475×fma-def_binary64
420×times-frac_binary64
302×associate-/l/_binary64
289×distribute-rgt-neg-in_binary64
267×distribute-rgt-in_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
027184
175180
2197180
3547180
41462180
54021180
Stop Event
node limit
Counts
45 → 47
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x)))
(/.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 3)) (/.f64 1 (pow.f64 x 7))))
(/.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 3)) (/.f64 1 (pow.f64 x 7))))
Outputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x))
(fma.f64 -1 (pow.f64 x 3) (+.f64 x (pow.f64 x 5)))
(+.f64 (-.f64 x (pow.f64 x 3)) (pow.f64 x 5))
(+.f64 x (-.f64 (pow.f64 x 5) (pow.f64 x 3)))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x)))
(fma.f64 -1 (pow.f64 x 3) (+.f64 (pow.f64 x 5) (fma.f64 -1 (pow.f64 x 7) x)))
(+.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 7)) (-.f64 x (pow.f64 x 3)))
(+.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 (/.f64 1 x) (/.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 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 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 (/.f64 1 x) (+.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (/.f64 1 x) (+.f64 (/.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 (/.f64 1 x) (/.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 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 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 (/.f64 1 x) (+.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))))

eval13.0ms (0.4%)

Compiler

Compiled 531 to 358 computations (32.6% saved)

prune10.0ms (0.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New41647
Fresh000
Picked011
Done000
Total41748
Error
0b
Counts
48 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
33.5b
(/.f64 1 x)
15.4b
(/.f64 x (+.f64 (*.f64 x x) 1))
15.4b
(pow.f64 (/.f64 (fma.f64 x x 1) x) -1)
29.7b
(-.f64 x (pow.f64 x 3))
23.7b
(*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))
29.0b
x
15.4b
(*.f64 (/.f64 1 (fma.f64 x x 1)) x)
Compiler

Compiled 92 to 62 computations (32.6% saved)

localize10.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 21 to 13 computations (38.1% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite87.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
545×pow1_binary64
522×add-sqr-sqrt_binary64
503×add-log-exp_binary64
503×log1p-expm1-u_binary64
503×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify78.0ms (2.6%)

Algorithm
egg-herbie
Rules
641×fma-def_binary64
436×associate-*l*_binary64
381×sub-neg_binary64
377×distribute-rgt-neg-in_binary64
341×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
050393
1132384
2347382
31144380
45227380
Stop Event
node limit
Counts
65 → 70
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x)))
(/.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 3)) (/.f64 1 (pow.f64 x 7))))
(/.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 3)) (/.f64 1 (pow.f64 x 7))))
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4)))
(+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4))))
(/.f64 1 (pow.f64 x 2))
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8))))
(/.f64 1 (pow.f64 x 2))
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8))))
Outputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x))
(fma.f64 -1 (pow.f64 x 3) (+.f64 x (pow.f64 x 5)))
(+.f64 (-.f64 x (pow.f64 x 3)) (pow.f64 x 5))
(+.f64 x (-.f64 (pow.f64 x 5) (pow.f64 x 3)))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x)))
(fma.f64 -1 (pow.f64 x 3) (+.f64 (pow.f64 x 5) (fma.f64 -1 (pow.f64 x 7) x)))
(+.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 7)) (-.f64 x (pow.f64 x 3)))
(+.f64 x (-.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 7)) (pow.f64 x 3)))
(/.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 (/.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 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 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 7)))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.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 (/.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 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 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 7)))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7))))
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4)))
(+.f64 1 (fma.f64 -1 (*.f64 x x) (pow.f64 x 4)))
(+.f64 (-.f64 1 (*.f64 x x)) (pow.f64 x 4))
(fma.f64 (*.f64 x x) (fma.f64 x x -1) 1)
(-.f64 (pow.f64 x 4) (fma.f64 x x -1))
(+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4))))
(fma.f64 -1 (pow.f64 x 6) (+.f64 1 (fma.f64 -1 (*.f64 x x) (pow.f64 x 4))))
(-.f64 (+.f64 (-.f64 1 (*.f64 x x)) (pow.f64 x 4)) (pow.f64 x 6))
(-.f64 (fma.f64 (*.f64 x x) (fma.f64 x x -1) 1) (pow.f64 x 6))
(-.f64 (pow.f64 x 4) (+.f64 (fma.f64 x x -1) (pow.f64 x 6)))
(-.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 6) (pow.f64 x 4))))
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4)))
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4)))
(-.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4)))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 -1 (pow.f64 x 4))))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8))))
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))))
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (-.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (pow.f64 x 8))) (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 -1 (pow.f64 x 8))) (/.f64 -1 (pow.f64 x 4))))
(/.f64 1 (pow.f64 x 2))
(/.f64 1 (*.f64 x x))
(-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 4)))
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4)))
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4)))
(-.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4)))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 -1 (pow.f64 x 4))))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8))))
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 8)))))
(+.f64 (/.f64 1 (*.f64 x x)) (-.f64 (-.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (pow.f64 x 8))) (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 -1 (pow.f64 x 8))) (/.f64 -1 (pow.f64 x 4))))

localize3.0ms (0.1%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(-.f64 x (pow.f64 x 3))
Compiler

Compiled 11 to 7 computations (36.4% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(-.f64 x (pow.f64 x 3))
1.0ms
x
@-inf
(-.f64 x (pow.f64 x 3))
1.0ms
x
@0
(-.f64 x (pow.f64 x 3))

rewrite60.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
582×pow1_binary64
549×add-log-exp_binary64
549×log1p-expm1-u_binary64
549×expm1-log1p-u_binary64
537×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify75.0ms (2.5%)

Algorithm
egg-herbie
Rules
912×fma-neg_binary64
469×distribute-rgt-neg-in_binary64
457×associate-*l*_binary64
383×fma-def_binary64
362×unswap-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0785
11976
24976
39776
419176
553676
6186976
7343076
8545576
9727576
Stop Event
node limit
Counts
49 → 42
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(*.f64 -1 (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(*.f64 -1 (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
Outputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(*.f64 -1 (pow.f64 x 3))
(neg.f64 (pow.f64 x 3))
(pow.f64 (neg.f64 x) 3)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(*.f64 -1 (pow.f64 x 3))
(neg.f64 (pow.f64 x 3))
(pow.f64 (neg.f64 x) 3)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))

localize10.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 22 to 13 computations (40.9% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite55.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
651×pow1_binary64
608×add-log-exp_binary64
606×log1p-expm1-u_binary64
606×expm1-log1p-u_binary64
594×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0719
114016
2166616
Stop Event
node limit
Counts
2 → 71
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 (+.f64 1 (/.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 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 expm1.f64 (log1p.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 exp.f64 (log.f64 (/.f64 (fma.f64 x x 1) x)))))))
((#(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 (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 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 /.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 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 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 expm1.f64 (log1p.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 exp.f64 (log.f64 (/.f64 x (fma.f64 x x 1))))))))

simplify54.0ms (1.8%)

Algorithm
egg-herbie
Rules
475×fma-def_binary64
420×times-frac_binary64
302×associate-/l/_binary64
289×distribute-rgt-neg-in_binary64
267×sub-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
028253
177249
2199249
3555249
41471249
54012249
Stop Event
node limit
Counts
95 → 87
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 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x)))
(/.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 3)) (/.f64 1 (pow.f64 x 7))))
(/.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 3)) (/.f64 1 (pow.f64 x 7))))
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 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x))
(fma.f64 -1 (pow.f64 x 3) (+.f64 x (pow.f64 x 5)))
(+.f64 (-.f64 x (pow.f64 x 3)) (pow.f64 x 5))
(+.f64 x (-.f64 (pow.f64 x 5) (pow.f64 x 3)))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x)))
(fma.f64 -1 (pow.f64 x 3) (+.f64 (pow.f64 x 5) (fma.f64 -1 (pow.f64 x 7) x)))
(+.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 7)) (-.f64 x (pow.f64 x 3)))
(+.f64 x (-.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 3)) (pow.f64 x 7)))
(-.f64 (+.f64 x (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 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 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 5)))
(+.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 3)) (/.f64 -1 (pow.f64 x 5))))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.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 (/.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 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3)))) (/.f64 -1 (pow.f64 x 7)))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (-.f64 (/.f64 1 x) (/.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 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 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 5)))
(+.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 3)) (/.f64 -1 (pow.f64 x 5))))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.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 (/.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 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3)))) (/.f64 -1 (pow.f64 x 7)))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 7))) (/.f64 1 (pow.f64 x 3))))

localize15.0ms (0.5%)

Local error

Found 2 expressions with local error:

NewErrorProgram
2.7b
(/.f64 x (+.f64 (pow.f64 x 4) -1))
20.6b
(*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))
Compiler

Compiled 35 to 24 computations (31.4% saved)

series5.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite69.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
460×log-prod_binary64
354×prod-exp_binary64
354×exp-prod_binary64
290×pow-prod-down_binary64
251×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0927
119927
2259527
Stop Event
node limit
Counts
2 → 101
Calls
Call 1
Inputs
(*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))
(/.f64 x (+.f64 (pow.f64 x 4) -1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (/.f64 x (+.f64 (pow.f64 x 4) -1))) (*.f64 -1 (/.f64 x (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (*.f64 x x)) (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) (/.f64 x (+.f64 (pow.f64 x 4) -1)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) (/.f64 x (+.f64 (pow.f64 x 4) -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) (/.f64 x (+.f64 (pow.f64 x 4) -1))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) (/.f64 x (+.f64 (pow.f64 x 4) -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (/.f64 (+.f64 (pow.f64 x 4) -1) (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x x -1) (/.f64 (+.f64 (pow.f64 x 4) -1) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) -1) (*.f64 x (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (fma.f64 x x -1)) (+.f64 (pow.f64 x 4) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 x (fma.f64 x x -1))) (+.f64 1 (neg.f64 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (fma.f64 x x -1)) 1) (+.f64 (pow.f64 x 4) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (fma.f64 x x -1)) (pow.f64 (cbrt.f64 (+.f64 (pow.f64 x 4) -1)) 2)) (cbrt.f64 (+.f64 (pow.f64 x 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (fma.f64 x x -1)) (sqrt.f64 (+.f64 (pow.f64 x 4) -1))) (sqrt.f64 (+.f64 (pow.f64 x 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 x) (fma.f64 x x -1)) (+.f64 1 (neg.f64 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1) (neg.f64 x)) (+.f64 1 (neg.f64 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 x 4) -1) (*.f64 x (fma.f64 x x -1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)))) 2)) (cbrt.f64 (log.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))))) (sqrt.f64 (log.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) (/.f64 x (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (fma.f64 x x -1)) 1) (log.f64 (/.f64 (+.f64 (pow.f64 x 4) -1) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (*.f64 x (fma.f64 x x -1))) (*.f64 (log.f64 (+.f64 (pow.f64 x 4) -1)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))) 1) (log.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))) (*.f64 (log.f64 (fma.f64 x x -1)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))) 1) (*.f64 (log.f64 (fma.f64 x x -1)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (fma.f64 x x -1)) 1) (log.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (fma.f64 x x -1)) (*.f64 (log.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (fma.f64 x x -1)) 1) (*.f64 (log.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (*.f64 x x) (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (/.f64 x (+.f64 (pow.f64 x 4) -1)) (*.f64 -1 (/.f64 x (+.f64 (pow.f64 x 4) -1))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 x (+.f64 (pow.f64 x 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (+.f64 (pow.f64 x 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (+.f64 (pow.f64 x 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))) (cbrt.f64 (pow.f64 (/.f64 (+.f64 (pow.f64 x 4) -1) x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (+.f64 (pow.f64 x 4) -1) x) -2)) (cbrt.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))) (sqrt.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (+.f64 1 (neg.f64 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 (pow.f64 x 4) -1)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (+.f64 (pow.f64 x 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 (pow.f64 x 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (pow.f64 x 4) -1)) -2) (/.f64 x (cbrt.f64 (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (+.f64 (pow.f64 x 4) -1)) 2)) (cbrt.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (+.f64 (pow.f64 x 4) -1)) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 (pow.f64 x 4) -1) -1/2) (/.f64 x (sqrt.f64 (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (+.f64 (pow.f64 x 4) -1))) (/.f64 (cbrt.f64 x) (sqrt.f64 (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 -1 (pow.f64 x 12))) (+.f64 (pow.f64 x 8) (-.f64 1 (*.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 (pow.f64 x 8) -1)) (+.f64 (pow.f64 x 4) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (+.f64 (pow.f64 x 4) -1) x) -2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (+.f64 (pow.f64 x 4) -1) x) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 x 4) -1) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 x 3) (pow.f64 (+.f64 (pow.f64 x 4) -1) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (+.f64 (pow.f64 x 4) -1) x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)))) 2)) (cbrt.f64 (log.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))))) (sqrt.f64 (log.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (+.f64 1 (neg.f64 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (+.f64 (pow.f64 x 4) -1) x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (+.f64 (pow.f64 x 4) -1) x) -3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (+.f64 (pow.f64 x 4) -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 (+.f64 (pow.f64 x 4) -1) x) -3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (+.f64 (pow.f64 x 4) -1) x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) 1) (log.f64 (+.f64 (pow.f64 x 4) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 x) (*.f64 (log.f64 (+.f64 (pow.f64 x 4) -1)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) 1) (*.f64 (log.f64 (+.f64 (pow.f64 x 4) -1)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (neg.f64 (log.f64 (+.f64 (pow.f64 x 4) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (neg.f64 (log.f64 (+.f64 (pow.f64 x 4) -1))) (*.f64 (log.f64 x) 1)))))))

simplify68.0ms (2.3%)

Algorithm
egg-herbie
Rules
768×fma-neg_binary64
622×associate-*l*_binary64
567×cancel-sign-sub-inv_binary64
420×times-frac_binary64
412×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
047402
1136392
2374392
31135392
43277392
57634392
Stop Event
node limit
Counts
125 → 130
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x)))
(/.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 3)) (/.f64 1 (pow.f64 x 7))))
(/.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 3)) (/.f64 1 (pow.f64 x 7))))
(*.f64 -1 x)
(+.f64 (*.f64 -1 (pow.f64 x 5)) (*.f64 -1 x))
(+.f64 (*.f64 -1 (pow.f64 x 9)) (+.f64 (*.f64 -1 (pow.f64 x 5)) (*.f64 -1 x)))
(+.f64 (*.f64 -1 (pow.f64 x 13)) (+.f64 (*.f64 -1 (pow.f64 x 9)) (+.f64 (*.f64 -1 (pow.f64 x 5)) (*.f64 -1 x))))
(/.f64 1 (pow.f64 x 3))
(+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7)))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 11))))
(+.f64 (/.f64 1 (pow.f64 x 15)) (+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 11)))))
(/.f64 1 (pow.f64 x 3))
(+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7)))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 11))))
(+.f64 (/.f64 1 (pow.f64 x 15)) (+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 11)))))
Outputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x))
(fma.f64 -1 (pow.f64 x 3) (+.f64 x (pow.f64 x 5)))
(+.f64 (-.f64 x (pow.f64 x 3)) (pow.f64 x 5))
(+.f64 x (-.f64 (pow.f64 x 5) (pow.f64 x 3)))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x)))
(fma.f64 -1 (pow.f64 x 3) (+.f64 (pow.f64 x 5) (fma.f64 -1 (pow.f64 x 7) x)))
(+.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 7)) (-.f64 x (pow.f64 x 3)))
(+.f64 (-.f64 x (pow.f64 x 7)) (-.f64 (pow.f64 x 5) (pow.f64 x 3)))
(+.f64 x (-.f64 (pow.f64 x 5) (+.f64 (pow.f64 x 7) (pow.f64 x 3))))
(+.f64 x (-.f64 (-.f64 (pow.f64 x 5) (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 (pow.f64 x 5)) (/.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 (-.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 3)) (+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.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 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.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 (pow.f64 x 5)) (/.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 (-.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 3)) (+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.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 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7))))
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 -1 (pow.f64 x 5)) (*.f64 -1 x))
(*.f64 -1 (+.f64 x (pow.f64 x 5)))
(-.f64 (neg.f64 x) (pow.f64 x 5))
(+.f64 (*.f64 -1 (pow.f64 x 9)) (+.f64 (*.f64 -1 (pow.f64 x 5)) (*.f64 -1 x)))
(fma.f64 -1 (pow.f64 x 9) (*.f64 -1 (+.f64 x (pow.f64 x 5))))
(-.f64 (-.f64 (neg.f64 x) (pow.f64 x 5)) (pow.f64 x 9))
(-.f64 (neg.f64 x) (+.f64 (pow.f64 x 5) (pow.f64 x 9)))
(+.f64 (*.f64 -1 (pow.f64 x 13)) (+.f64 (*.f64 -1 (pow.f64 x 9)) (+.f64 (*.f64 -1 (pow.f64 x 5)) (*.f64 -1 x))))
(fma.f64 -1 (pow.f64 x 13) (fma.f64 -1 (pow.f64 x 9) (*.f64 -1 (+.f64 x (pow.f64 x 5)))))
(-.f64 (-.f64 (-.f64 (neg.f64 x) (pow.f64 x 5)) (pow.f64 x 9)) (pow.f64 x 13))
(-.f64 (-.f64 (neg.f64 x) (pow.f64 x 5)) (+.f64 (pow.f64 x 9) (pow.f64 x 13)))
(-.f64 (neg.f64 (pow.f64 x 5)) (+.f64 (+.f64 x (pow.f64 x 13)) (pow.f64 x 9)))
(/.f64 1 (pow.f64 x 3))
(+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7)))
(-.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 -1 (pow.f64 x 3)))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 11))))
(+.f64 (/.f64 1 (pow.f64 x 7)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 11))))
(+.f64 (/.f64 1 (pow.f64 x 15)) (+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 11)))))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 11)))) (/.f64 1 (pow.f64 x 15)))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7))) (+.f64 (/.f64 1 (pow.f64 x 11)) (/.f64 1 (pow.f64 x 15))))
(+.f64 (/.f64 1 (pow.f64 x 7)) (+.f64 (/.f64 1 (pow.f64 x 11)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 15)))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 7)) (+.f64 (/.f64 1 (pow.f64 x 11)) (/.f64 1 (pow.f64 x 15)))))
(/.f64 1 (pow.f64 x 3))
(+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7)))
(-.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 -1 (pow.f64 x 3)))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 11))))
(+.f64 (/.f64 1 (pow.f64 x 7)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 11))))
(+.f64 (/.f64 1 (pow.f64 x 15)) (+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 11)))))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 7)) (/.f64 1 (pow.f64 x 11)))) (/.f64 1 (pow.f64 x 15)))
(+.f64 (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7))) (+.f64 (/.f64 1 (pow.f64 x 11)) (/.f64 1 (pow.f64 x 15))))
(+.f64 (/.f64 1 (pow.f64 x 7)) (+.f64 (/.f64 1 (pow.f64 x 11)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 15)))))
(+.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 7)) (+.f64 (/.f64 1 (pow.f64 x 11)) (/.f64 1 (pow.f64 x 15)))))

eval117.0ms (3.9%)

Compiler

Compiled 4572 to 3225 computations (29.5% saved)

prune125.0ms (4.2%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New3281329
Fresh011
Picked101
Done145
Total3306336
Error
0b
Counts
336 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
33.5b
(/.f64 1 x)
15.4b
(/.f64 x (+.f64 (*.f64 x x) 1))
29.7b
(-.f64 x (pow.f64 x 3))
29.0b
x
0.1b
(pow.f64 (+.f64 (/.f64 1 x) x) -1)
15.4b
(*.f64 (/.f64 1 (fma.f64 x x 1)) x)
Compiler

Compiled 37 to 25 computations (32.4% saved)

localize16.0ms (0.5%)

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

Compiled 19 to 13 computations (31.6% saved)

series3.0ms (0.1%)

Counts
2 → 15
Calls

6 calls:

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

rewrite141.0ms (4.7%)

Algorithm
batch-egg-rewrite
Rules
711×pow1_binary64
668×add-log-exp_binary64
666×log1p-expm1-u_binary64
666×expm1-log1p-u_binary64
652×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
115017
2190717
Stop Event
node limit
Counts
2 → 54
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 (+.f64 1 (/.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 (/.f64 1 (cbrt.f64 (+.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)) (/.f64 1 (cbrt.f64 (+.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 cbrt.f64 (pow.f64 (/.f64 1 (+.f64 x (/.f64 1 x))) 3))))) (#(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 log1p.f64 (expm1.f64 (/.f64 1 (+.f64 x (/.f64 1 x)))))))) (#(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 -.f64 (+.f64 1 (+.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 cbrt.f64 (pow.f64 (+.f64 x (/.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (/.f64 1 x))))))) (#(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)) (/.f64 1 (cbrt.f64 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)))))

simplify55.0ms (1.8%)

Algorithm
egg-herbie
Rules
475×fma-def_binary64
420×times-frac_binary64
302×associate-/l/_binary64
289×distribute-rgt-neg-in_binary64
267×distribute-rgt-in_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
027190
175186
2197186
3547186
41462186
54021186
Stop Event
node limit
Counts
69 → 68
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x)))
(/.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 3)) (/.f64 1 (pow.f64 x 7))))
(/.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 3)) (/.f64 1 (pow.f64 x 7))))
(/.f64 1 x)
x
x
Outputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x))
(fma.f64 -1 (pow.f64 x 3) (+.f64 x (pow.f64 x 5)))
(+.f64 (-.f64 x (pow.f64 x 3)) (pow.f64 x 5))
(+.f64 x (-.f64 (pow.f64 x 5) (pow.f64 x 3)))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x)))
(fma.f64 -1 (pow.f64 x 3) (+.f64 (pow.f64 x 5) (fma.f64 -1 (pow.f64 x 7) x)))
(+.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 7)) (-.f64 x (pow.f64 x 3)))
(+.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 (/.f64 1 x) (/.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 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 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 (/.f64 1 x) (+.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (/.f64 1 x) (+.f64 (/.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 (/.f64 1 x) (/.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 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 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 (/.f64 1 x) (+.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))))
(/.f64 1 x)
x
x

eval23.0ms (0.8%)

Compiler

Compiled 845 to 624 computations (26.2% saved)

prune11.0ms (0.4%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New67168
Fresh011
Picked101
Done134
Total69574
Error
0b
Counts
74 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
33.5b
(/.f64 1 x)
29.7b
(-.f64 x (pow.f64 x 3))
29.0b
x
0.1b
(/.f64 1 (+.f64 x (/.f64 1 x)))
15.4b
(*.f64 (/.f64 1 (fma.f64 x x 1)) x)
Compiler

Compiled 29 to 20 computations (31% saved)

localize8.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 18 to 12 computations (33.3% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite96.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
681×pow1_binary64
636×add-log-exp_binary64
636×log1p-expm1-u_binary64
636×expm1-log1p-u_binary64
621×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify55.0ms (1.8%)

Algorithm
egg-herbie
Rules
475×fma-def_binary64
420×times-frac_binary64
303×associate-/l/_binary64
289×distribute-rgt-neg-in_binary64
267×sub-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
028253
177249
2199249
3553249
41469249
54028249
Stop Event
node limit
Counts
84 → 76
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x)))
(/.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 3)) (/.f64 1 (pow.f64 x 7))))
(/.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 3)) (/.f64 1 (pow.f64 x 7))))
(/.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)
Outputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x))
(fma.f64 -1 (pow.f64 x 3) (+.f64 x (pow.f64 x 5)))
(+.f64 (-.f64 x (pow.f64 x 3)) (pow.f64 x 5))
(+.f64 x (-.f64 (pow.f64 x 5) (pow.f64 x 3)))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x)))
(fma.f64 -1 (pow.f64 x 3) (+.f64 (pow.f64 x 5) (fma.f64 -1 (pow.f64 x 7) x)))
(+.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 7)) (-.f64 x (pow.f64 x 3)))
(+.f64 x (-.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 3)) (pow.f64 x 7)))
(+.f64 (pow.f64 x 5) (-.f64 (-.f64 x (pow.f64 x 7)) (pow.f64 x 3)))
(-.f64 (pow.f64 x 5) (+.f64 (pow.f64 x 3) (-.f64 (pow.f64 x 7) x)))
(+.f64 (-.f64 x (pow.f64 x 7)) (-.f64 (pow.f64 x 5) (pow.f64 x 3)))
(/.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 (/.f64 1 x) (/.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 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 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 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7))))
(+.f64 (/.f64 -1 (pow.f64 x 3)) (-.f64 (/.f64 -1 (pow.f64 x 7)) (-.f64 (/.f64 -1 x) (/.f64 1 (pow.f64 x 5)))))
(/.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 (/.f64 1 x) (/.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 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 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 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7))))
(+.f64 (/.f64 -1 (pow.f64 x 3)) (-.f64 (/.f64 -1 (pow.f64 x 7)) (-.f64 (/.f64 -1 x) (/.f64 1 (pow.f64 x 5)))))
(/.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))

eval64.0ms (2.2%)

Compiler

Compiled 925 to 689 computations (25.5% saved)

prune12.0ms (0.4%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New76076
Fresh011
Picked011
Done033
Total76581
Error
0b
Counts
81 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
33.5b
(/.f64 1 x)
29.7b
(-.f64 x (pow.f64 x 3))
29.0b
x
0.1b
(/.f64 1 (+.f64 x (/.f64 1 x)))
15.4b
(*.f64 (/.f64 1 (fma.f64 x x 1)) x)
Compiler

Compiled 29 to 20 computations (31% saved)

regimes13.0ms (0.4%)

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

2 calls:

6.0ms
x
5.0ms
(/.f64 x (+.f64 (*.f64 x x) 1))
Results
ErrorSegmentsBranch
0.1b1x
0.1b1(/.f64 x (+.f64 (*.f64 x x) 1))
Compiler

Compiled 69 to 44 computations (36.2% saved)

regimes10.0ms (0.3%)

Accuracy

Total -60.7b remaining (-6549.4%)

Threshold costs -60.7b (-6549.4%)

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

1 calls:

9.0ms
x
Results
ErrorSegmentsBranch
0.9b3x
Compiler

Compiled 7 to 4 computations (42.9% saved)

bsearch30.0ms (1%)

Algorithm
binary-search
Steps
TimeLeftRight
14.0ms
0.011197212236638863
25771631.476970162
15.0ms
-912.2891952326795
-0.14079513150092346
Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify5.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01332
11632
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 1 (+.f64 x (/.f64 1 x)))
(if (<=.f64 x -2006145156105481/2199023255552) (/.f64 1 x) (if (<=.f64 x 3227376694816969/288230376151711744) x (/.f64 1 x)))
x
Outputs
(/.f64 1 (+.f64 x (/.f64 1 x)))
(if (<=.f64 x -2006145156105481/2199023255552) (/.f64 1 x) (if (<=.f64 x 3227376694816969/288230376151711744) x (/.f64 1 x)))
x
Compiler

Compiled 26 to 18 computations (30.8% saved)

soundness0.0ms (0%)

end54.0ms (1.8%)

Compiler

Compiled 24 to 16 computations (33.3% saved)

Profiling

Loading profile data...