Details

Time bar (total: 6.6s)

analyze8.0ms (0.1%)

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

Compiled 9 to 6 computations (33.3% saved)

sample2.5s (37.1%)

Results
2.4s8256×body256valid
Bogosity

preprocess32.0ms (0.5%)

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)

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

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 8 to 5 computations (37.5% saved)

localize89.0ms (1.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
12.6b
(/.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
@0
(/.f64 x (+.f64 (*.f64 x x) 1))
1.0ms
x
@-inf
(/.f64 x (+.f64 (*.f64 x x) 1))

rewrite88.0ms (1.3%)

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

simplify76.0ms (1.1%)

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

eval25.0ms (0.4%)

Compiler

Compiled 531 to 358 computations (32.6% saved)

prune72.0ms (1.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New40747
Fresh000
Picked011
Done000
Total40848
Error
0b
Counts
48 → 8
Alt Table
Click to see full alt table
StatusErrorProgram
12.7b
(*.f64 (/.f64 1 (fma.f64 x x 1)) x)
33.7b
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
30.3b
(-.f64 x (pow.f64 x 3))
29.6b
x
0.0b
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x)))
12.6b
(/.f64 x (+.f64 (*.f64 x x) 1))
32.6b
(/.f64 1 x)
12.7b
(pow.f64 (/.f64 (fma.f64 x x 1) x) -1)
Compiler

Compiled 110 to 78 computations (29.1% saved)

localize26.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x)))
0.0b
(hypot.f64 1 x)
0.0b
(/.f64 1 (hypot.f64 1 x))
0.0b
(/.f64 x (hypot.f64 1 x))
Compiler

Compiled 27 to 19 computations (29.6% saved)

series10.0ms (0.1%)

Counts
4 → 48
Calls

12 calls:

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

rewrite98.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
731×pow1_binary64
678×add-log-exp_binary64
678×log1p-expm1-u_binary64
678×expm1-log1p-u_binary64
663×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify217.0ms (3.3%)

Algorithm
egg-herbie
Rules
657×associate-*l*_binary64
488×associate-*r*_binary64
475×associate-/r*_binary64
457×fma-def_binary64
311×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0106696
1326683
2905676
32624676
Stop Event
node limit
Counts
174 → 199
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1/2 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1/2 (pow.f64 x 3)) (+.f64 (*.f64 3/8 (pow.f64 x 5)) x))
(+.f64 (*.f64 -1/2 (pow.f64 x 3)) (+.f64 (*.f64 3/8 (pow.f64 x 5)) (+.f64 (*.f64 -5/16 (pow.f64 x 7)) x)))
1
(-.f64 1 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4)))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4)))) (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 6))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))
-1
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) 1)
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4)))))
(-.f64 (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 6))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4)))))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 3/8 (pow.f64 x 4))))
(+.f64 (*.f64 -5/16 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 3/8 (pow.f64 x 4)))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5)))) (*.f64 1/2 (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5)))) (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 7))) (*.f64 1/2 (/.f64 1 (pow.f64 x 3)))))
(/.f64 -1 x)
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5)))))
(-.f64 (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 7))) (*.f64 1/2 (/.f64 1 (pow.f64 x 3)))) (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5)))))
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
x
(+.f64 (*.f64 1/2 (/.f64 1 x)) x)
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(*.f64 -1 x)
(-.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x)))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (*.f64 1/2 (/.f64 1 x)))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 5)))))
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/2 (pow.f64 x 3)) x)
(fma.f64 -1/2 (pow.f64 x 3) x)
(+.f64 (*.f64 -1/2 (pow.f64 x 3)) (+.f64 (*.f64 3/8 (pow.f64 x 5)) x))
(fma.f64 -1/2 (pow.f64 x 3) (fma.f64 3/8 (pow.f64 x 5) x))
(+.f64 (*.f64 -1/2 (pow.f64 x 3)) (+.f64 (*.f64 3/8 (pow.f64 x 5)) (+.f64 (*.f64 -5/16 (pow.f64 x 7)) x)))
(fma.f64 -1/2 (pow.f64 x 3) (fma.f64 3/8 (pow.f64 x 5) (fma.f64 -5/16 (pow.f64 x 7) x)))
1
(-.f64 1 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 1 (/.f64 1/2 (*.f64 x x)))
(+.f64 1 (/.f64 -1/2 (*.f64 x x)))
(-.f64 (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4)))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(+.f64 1 (-.f64 (/.f64 3/8 (pow.f64 x 4)) (/.f64 1/2 (*.f64 x x))))
(+.f64 1 (+.f64 (/.f64 3/8 (pow.f64 x 4)) (/.f64 -1/2 (*.f64 x x))))
(-.f64 (/.f64 3/8 (pow.f64 x 4)) (+.f64 (/.f64 1/2 (*.f64 x x)) -1))
(-.f64 1 (+.f64 (/.f64 -3/8 (pow.f64 x 4)) (/.f64 1/2 (*.f64 x x))))
(-.f64 (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4)))) (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 6))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 1 (-.f64 (/.f64 3/8 (pow.f64 x 4)) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 5/16 (pow.f64 x 6)))))
(+.f64 1 (-.f64 (+.f64 (/.f64 3/8 (pow.f64 x 4)) (/.f64 -1/2 (*.f64 x x))) (/.f64 5/16 (pow.f64 x 6))))
(+.f64 1 (+.f64 (/.f64 3/8 (pow.f64 x 4)) (-.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 5/16 (pow.f64 x 6)))))
-1
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) 1)
(+.f64 (/.f64 1/2 (*.f64 x x)) -1)
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4)))))
(-.f64 (/.f64 1/2 (*.f64 x x)) (+.f64 1 (/.f64 3/8 (pow.f64 x 4))))
(+.f64 (/.f64 1/2 (*.f64 x x)) (+.f64 -1 (/.f64 -3/8 (pow.f64 x 4))))
(-.f64 (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 6))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) (+.f64 1 (*.f64 3/8 (/.f64 1 (pow.f64 x 4)))))
(+.f64 (/.f64 5/16 (pow.f64 x 6)) (-.f64 (/.f64 1/2 (*.f64 x x)) (+.f64 1 (/.f64 3/8 (pow.f64 x 4)))))
(+.f64 (/.f64 1/2 (*.f64 x x)) (-.f64 (/.f64 5/16 (pow.f64 x 6)) (+.f64 1 (/.f64 3/8 (pow.f64 x 4)))))
(+.f64 (/.f64 1/2 (*.f64 x x)) (+.f64 (/.f64 5/16 (pow.f64 x 6)) (+.f64 -1 (/.f64 -3/8 (pow.f64 x 4)))))
(+.f64 (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 5/16 (pow.f64 x 6))) (+.f64 -1 (/.f64 -3/8 (pow.f64 x 4))))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/2) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 3/8 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 3/8 (pow.f64 x 4))))
(fma.f64 x (*.f64 x -1/2) (fma.f64 3/8 (pow.f64 x 4) 1))
(+.f64 (*.f64 -5/16 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 3/8 (pow.f64 x 4)))))
(fma.f64 -5/16 (pow.f64 x 6) (+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 3/8 (pow.f64 x 4)))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) (*.f64 3/8 (pow.f64 x 4))) (fma.f64 -5/16 (pow.f64 x 6) 1))
(fma.f64 -5/16 (pow.f64 x 6) (fma.f64 x (*.f64 x -1/2) (fma.f64 3/8 (pow.f64 x 4) 1)))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (pow.f64 x 3))))
(-.f64 (/.f64 1 x) (/.f64 1/2 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.f64 -1/2 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5)))) (*.f64 1/2 (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (-.f64 (/.f64 3/8 (pow.f64 x 5)) (/.f64 1/2 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 3/8 (pow.f64 x 5)) (/.f64 -1/2 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 3/8 (pow.f64 x 5))) (/.f64 -1/2 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5)))) (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 7))) (*.f64 1/2 (/.f64 1 (pow.f64 x 3)))))
(+.f64 (/.f64 1 x) (-.f64 (/.f64 3/8 (pow.f64 x 5)) (+.f64 (/.f64 1/2 (pow.f64 x 3)) (/.f64 5/16 (pow.f64 x 7)))))
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 3/8 (pow.f64 x 5)) (/.f64 -5/16 (pow.f64 x 7))) (/.f64 -1/2 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 3/8 (pow.f64 x 5)) (+.f64 (/.f64 -1/2 (pow.f64 x 3)) (/.f64 -5/16 (pow.f64 x 7)))))
(/.f64 -1 x)
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))
(-.f64 (/.f64 1/2 (pow.f64 x 3)) (/.f64 1 x))
(+.f64 (/.f64 1/2 (pow.f64 x 3)) (/.f64 -1 x))
(-.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5)))))
(-.f64 (/.f64 1/2 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 3/8 (pow.f64 x 5))))
(+.f64 (/.f64 1/2 (pow.f64 x 3)) (-.f64 (/.f64 -1 x) (/.f64 3/8 (pow.f64 x 5))))
(+.f64 (/.f64 1/2 (pow.f64 x 3)) (+.f64 (/.f64 -1 x) (/.f64 -3/8 (pow.f64 x 5))))
(-.f64 (+.f64 (*.f64 5/16 (/.f64 1 (pow.f64 x 7))) (*.f64 1/2 (/.f64 1 (pow.f64 x 3)))) (+.f64 (/.f64 1 x) (*.f64 3/8 (/.f64 1 (pow.f64 x 5)))))
(+.f64 (/.f64 5/16 (pow.f64 x 7)) (-.f64 (/.f64 1/2 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 3/8 (pow.f64 x 5)))))
(+.f64 (/.f64 5/16 (pow.f64 x 7)) (+.f64 (/.f64 1/2 (pow.f64 x 3)) (-.f64 (/.f64 -1 x) (/.f64 3/8 (pow.f64 x 5)))))
(+.f64 (/.f64 1/2 (pow.f64 x 3)) (+.f64 (/.f64 5/16 (pow.f64 x 7)) (+.f64 (/.f64 -1 x) (/.f64 -3/8 (pow.f64 x 5)))))
(+.f64 (/.f64 1/2 (pow.f64 x 3)) (+.f64 (/.f64 5/16 (pow.f64 x 7)) (-.f64 (/.f64 -1 x) (/.f64 3/8 (pow.f64 x 5)))))
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 1/2 (*.f64 x x)))
(fma.f64 1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 x 1/2) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/8)))
(fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) -1/8 1))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/16 (pow.f64 x 6) (*.f64 (pow.f64 x 4) -1/8))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/8 (*.f64 (pow.f64 x 6) 1/16))))
(+.f64 1 (fma.f64 (pow.f64 x 6) 1/16 (fma.f64 x (*.f64 x 1/2) (*.f64 (pow.f64 x 4) -1/8))))
(+.f64 1 (fma.f64 (pow.f64 x 4) -1/8 (fma.f64 (pow.f64 x 6) 1/16 (*.f64 1/2 (*.f64 x x)))))
x
(+.f64 (*.f64 1/2 (/.f64 1 x)) x)
(+.f64 x (/.f64 1/2 x))
(-.f64 x (/.f64 -1/2 x))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))
(+.f64 (/.f64 1/2 x) (+.f64 x (/.f64 -1/8 (pow.f64 x 3))))
(+.f64 x (+.f64 (/.f64 1/2 x) (/.f64 -1/8 (pow.f64 x 3))))
(+.f64 (-.f64 x (/.f64 -1/2 x)) (/.f64 -1/8 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1/2 x) (-.f64 (+.f64 x (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3))))
(+.f64 (/.f64 1/2 x) (+.f64 (+.f64 x (/.f64 1/16 (pow.f64 x 5))) (/.f64 -1/8 (pow.f64 x 3))))
(+.f64 x (+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 (/.f64 1/2 x) (/.f64 -1/8 (pow.f64 x 3)))))
(+.f64 x (+.f64 (/.f64 -1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
(*.f64 -1 x)
(neg.f64 x)
(-.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x)))
(-.f64 (neg.f64 x) (/.f64 1/2 x))
(fma.f64 x -1 (/.f64 -1/2 x))
(-.f64 (/.f64 -1/2 x) x)
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (*.f64 1/2 (/.f64 1 x)))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (neg.f64 x) (/.f64 1/2 x)))
(+.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) x) (/.f64 -1/2 x))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 -1/2 x) x))
(-.f64 (-.f64 (/.f64 -1/2 x) x) (/.f64 -1/8 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 5)))))
(-.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (neg.f64 x) (/.f64 1/2 x))) (/.f64 1/16 (pow.f64 x 5)))
(+.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) x) (-.f64 (/.f64 -1/2 x) (/.f64 1/16 (pow.f64 x 5))))
(+.f64 (-.f64 (/.f64 -1/2 x) x) (-.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (-.f64 (/.f64 -1/2 x) x) (/.f64 -1/16 (pow.f64 x 5))))
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 (pow.f64 x 5) (-.f64 x (pow.f64 x 3)))
(+.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 x (-.f64 (pow.f64 x 5) (+.f64 (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 (/.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 (/.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 1 x) (+.f64 (+.f64 (/.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 (pow.f64 x 5)) (+.f64 (/.f64 1 x) (/.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 (/.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 (/.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 1 x) (+.f64 (+.f64 (/.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 (pow.f64 x 5)) (+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 7)))))

localize56.0ms (0.8%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

localize11.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 11 to 7 computations (36.4% saved)

series7.0ms (0.1%)

Counts
2 → 12
Calls

6 calls:

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

rewrite80.0ms (1.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
0511
111811
2149711
Stop Event
node limit
Counts
2 → 56
Calls
Call 1
Inputs
(pow.f64 x 3)
(-.f64 x (pow.f64 x 3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 3/2) (pow.f64 x 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 x) 2) 3) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 x) 3) (pow.f64 (sqrt.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 x 9))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 x)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.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)))))))

simplify112.0ms (1.7%)

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
68 → 61
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))

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(/.f64 1 (fma.f64 x x 1))
12.5b
(*.f64 (/.f64 1 (fma.f64 x x 1)) x)
Compiler

Compiled 21 to 13 computations (38.1% saved)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite50.0ms (0.8%)

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

simplify51.0ms (0.8%)

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

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

Compiled 24 to 18 computations (25% saved)

series2.0ms (0%)

Counts
2 → 3
Calls

6 calls:

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

rewrite99.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
890×pow1_binary64
842×add-log-exp_binary64
841×log1p-expm1-u_binary64
841×expm1-log1p-u_binary64
821×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify150.0ms (2.3%)

Algorithm
egg-herbie
Rules
1274×sqr-pow_binary64
666×pow-sqr_binary64
529×cube-prod_binary64
471×fabs-mul_binary64
456×associate-/r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
11815
22915
34415
47915
522015
677015
7224515
8233315
9246615
10262415
11288315
12321115
13363315
14413615
15473515
16545915
17578215
18606615
19628815
20646415
21654615
22748615
Stop Event
node limit
Counts
74 → 73
Calls
Call 1
Inputs
(/.f64 -1 (pow.f64 x 3))
(/.f64 1 x)
(/.f64 1 x)
Outputs
(/.f64 -1 (pow.f64 x 3))
(/.f64 1 x)
(/.f64 1 x)

eval381.0ms (5.7%)

Compiler

Compiled 6462 to 4751 computations (26.5% saved)

prune167.0ms (2.5%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New4595464
Fresh202
Picked101
Done325
Total4657472
Error
0b
Counts
472 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
28.3b
(*.f64 (-.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1) x)
32.6b
(/.f64 1 x)
33.7b
(-.f64 (/.f64 1 x) (/.f64 1 (*.f64 (*.f64 x x) x)))
12.7b
(/.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) x))
30.3b
(-.f64 x (*.f64 (*.f64 x x) x))
12.6b
(/.f64 x (+.f64 (*.f64 x x) 1))
29.6b
x
Compiler

Compiled 57 to 38 computations (33.3% saved)

localize36.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (-.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1) x)
0.0b
(+.f64 1 (/.f64 1 (fma.f64 x x 1)))
0.1b
(/.f64 1 (fma.f64 x x 1))
1.5b
(-.f64 (+.f64 1 (/.f64 1 (fma.f64 x x 1))) 1)
Compiler

Compiled 43 to 31 computations (27.9% saved)

series3.0ms (0%)

Counts
3 → 36
Calls

9 calls:

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

rewrite91.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
876×pow1_binary64
819×add-log-exp_binary64
819×log1p-expm1-u_binary64
819×expm1-log1p-u_binary64
804×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify91.0ms (1.4%)

Algorithm
egg-herbie
Rules
889×fma-def_binary64
463×sub-neg_binary64
425×associate-*l*_binary64
376×distribute-rgt-neg-in_binary64
338×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
057554
1153540
2412536
31362532
46042532
Stop Event
node limit
Counts
137 → 143
Calls
Call 1
Inputs
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))))
2
(+.f64 2 (*.f64 -1 (pow.f64 x 2)))
(+.f64 2 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4)))
(+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 2 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4))))
1
(+.f64 1 (/.f64 1 (pow.f64 x 2)))
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (/.f64 1 (pow.f64 x 4)))
(-.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) (/.f64 1 (pow.f64 x 4)))
1
(+.f64 1 (/.f64 1 (pow.f64 x 2)))
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (/.f64 1 (pow.f64 x 4)))
(-.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) (/.f64 1 (pow.f64 x 4)))
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
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(fma.f64 x (neg.f64 x) 1)
(+.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)
(fma.f64 x (-.f64 (pow.f64 x 3) 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 (-.f64 (pow.f64 x 4) (fma.f64 x x (pow.f64 x 6))))
(/.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 (pow.f64 x 6)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))))
(+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))) (/.f64 1 (pow.f64 x 6)))
(+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.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 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 1 (pow.f64 x 6)) (-.f64 (/.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 (pow.f64 x 6)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))))
(+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))) (/.f64 1 (pow.f64 x 6)))
(+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.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 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 1 (pow.f64 x 6)) (-.f64 (/.f64 1 (pow.f64 x 8)) (/.f64 -1 (pow.f64 x 4)))))
2
(+.f64 2 (*.f64 -1 (pow.f64 x 2)))
(+.f64 2 (neg.f64 (*.f64 x x)))
(-.f64 2 (*.f64 x x))
(+.f64 2 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4)))
(+.f64 2 (fma.f64 -1 (*.f64 x x) (pow.f64 x 4)))
(+.f64 2 (-.f64 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 (*.f64 x x) (fma.f64 x x -1) 2)
(-.f64 (pow.f64 x 4) (fma.f64 x x -2))
(+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 2 (+.f64 (*.f64 -1 (pow.f64 x 2)) (pow.f64 x 4))))
(fma.f64 -1 (pow.f64 x 6) (+.f64 2 (fma.f64 -1 (*.f64 x x) (pow.f64 x 4))))
(-.f64 (+.f64 2 (-.f64 (pow.f64 x 4) (*.f64 x x))) (pow.f64 x 6))
(-.f64 (fma.f64 (*.f64 x x) (fma.f64 x x -1) 2) (pow.f64 x 6))
(-.f64 (pow.f64 x 4) (+.f64 (fma.f64 x x -2) (pow.f64 x 6)))
(+.f64 (pow.f64 x 4) (-.f64 2 (fma.f64 x x (pow.f64 x 6))))
1
(+.f64 1 (/.f64 1 (pow.f64 x 2)))
(+.f64 1 (/.f64 1 (*.f64 x x)))
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (/.f64 1 (pow.f64 x 4)))
(+.f64 1 (-.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))))
(+.f64 1 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))))
(+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 4)))
(-.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) (/.f64 1 (pow.f64 x 4)))
(-.f64 (+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4)))
(+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))))
(+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 4))))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 1 (/.f64 -1 (pow.f64 x 4)))))
1
(+.f64 1 (/.f64 1 (pow.f64 x 2)))
(+.f64 1 (/.f64 1 (*.f64 x x)))
(-.f64 (+.f64 1 (/.f64 1 (pow.f64 x 2))) (/.f64 1 (pow.f64 x 4)))
(+.f64 1 (-.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 4))))
(+.f64 1 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4))))
(+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 4)))
(-.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) (/.f64 1 (pow.f64 x 4)))
(-.f64 (+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 1 (pow.f64 x 6))) (/.f64 1 (pow.f64 x 4)))
(+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 4)))))
(+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 4))))
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 1 (/.f64 -1 (pow.f64 x 4)))))
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) (-.f64 x (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 (-.f64 x (pow.f64 x 3)) (-.f64 (pow.f64 x 7) (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 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 (/.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 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 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 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 (/.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 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 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))))

localize13.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 x (*.f64 (*.f64 x x) x))
0.1b
(*.f64 (*.f64 x x) x)
Compiler

Compiled 17 to 4 computations (76.5% saved)

series3.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite61.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
571×pow1_binary64
536×add-log-exp_binary64
536×log1p-expm1-u_binary64
536×expm1-log1p-u_binary64
523×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify78.0ms (1.2%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
07133
119124
249124
397124
4192124
5529124
61872124
73436124
85449124
97284124
Stop Event
node limit
Counts
74 → 55
Calls
Call 1
Inputs
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
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
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
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.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 1 x) (/.f64 1 (*.f64 (*.f64 x x) x)))
0.1b
(*.f64 (*.f64 x x) x)
0.7b
(/.f64 1 (*.f64 (*.f64 x x) x))
Compiler

Compiled 32 to 13 computations (59.4% saved)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite74.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
868×pow1_binary64
815×add-log-exp_binary64
814×log1p-expm1-u_binary64
814×expm1-log1p-u_binary64
793×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify83.0ms (1.3%)

Algorithm
egg-herbie
Rules
893×fma-neg_binary64
583×fma-def_binary64
470×associate-/r/_binary64
371×div-sub_binary64
362×unswap-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010216
122216
242216
382216
4172216
5501216
62038216
74153216
85847216
97785216
Stop Event
node limit
Counts
96 → 77
Calls
Call 1
Inputs
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 -1 (pow.f64 x 3))
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(-.f64 (/.f64 1 x) (/.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 1 x) (/.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 1 x) (/.f64 1 (pow.f64 x 3)))
Outputs
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 1 (pow.f64 x 3))
(/.f64 -1 (pow.f64 x 3))
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.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 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.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 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3)))

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

Compiled 27 to 13 computations (51.9% saved)

series3.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite76.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
810×pow1_binary64
759×add-log-exp_binary64
758×log1p-expm1-u_binary64
758×expm1-log1p-u_binary64
741×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0723
115616
2217916
Stop Event
node limit
Counts
2 → 69
Calls
Call 1
Inputs
(/.f64 (+.f64 1 (*.f64 x x)) x)
(/.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) x))
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 (/.f64 (hypot.f64 1 x) (sqrt.f64 x)) (/.f64 (hypot.f64 1 x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 x) (*.f64 (hypot.f64 1 x) (/.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 (hypot.f64 1 x) 1) (/.f64 (hypot.f64 1 x) 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 (hypot.f64 1 x) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (hypot.f64 1 x) (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 (/.f64 (hypot.f64 1 x) (sqrt.f64 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 1 (/.f64 x (fma.f64 x x 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 (/.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 -1 (/.f64 1 (/.f64 (neg.f64 (fma.f64 x x 1)) x)))))) (#(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 (fma.f64 x x 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 (/.f64 (hypot.f64 1 x) (sqrt.f64 x)) -1) (pow.f64 (/.f64 (hypot.f64 1 x) (sqrt.f64 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 (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 (sqrt.f64 x) (hypot.f64 1 x)) (/.f64 (sqrt.f64 x) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 1 (pow.f64 x 6))) (+.f64 1 (-.f64 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (-.f64 1 (pow.f64 x 4))) (-.f64 1 (*.f64 x 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 (*.f64 (/.f64 1 (fma.f64 x x 1)) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (fma.f64 x x 1)) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (fma.f64 x x 1)) (sqrt.f64 x)) (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 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 (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))))))))

simplify87.0ms (1.3%)

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
93 → 85
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))))

eval244.0ms (3.7%)

Compiler

Compiled 5660 to 4169 computations (26.3% saved)

prune87.0ms (1.3%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New4042406
Fresh011
Picked101
Done235
Total4076413
Error
0b
Counts
413 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
29.6b
(/.f64 1 (/.f64 1 x))
29.6b
x
33.7b
(-.f64 (/.f64 1 x) (/.f64 1 (*.f64 (*.f64 x x) x)))
30.3b
(-.f64 x (*.f64 (*.f64 x x) x))
32.6b
(/.f64 1 x)
0.1b
(/.f64 1 (+.f64 (/.f64 1 x) x))
Compiler

Compiled 40 to 27 computations (32.5% saved)

localize13.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 18 to 12 computations (33.3% saved)

series3.0ms (0%)

Counts
2 → 15
Calls

6 calls:

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

rewrite92.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
674×pow1_binary64
629×add-log-exp_binary64
629×log1p-expm1-u_binary64
629×expm1-log1p-u_binary64
614×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0617
113317
2183317
Stop Event
node limit
Counts
2 → 60
Calls
Call 1
Inputs
(/.f64 1 (+.f64 (/.f64 1 x) x))
(+.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 -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))) (+.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 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 (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 1 (+.f64 x (/.f64 1 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 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)) (+.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)) (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)))))

simplify79.0ms (1.2%)

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
75 → 74
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

localize8.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(/.f64 1 (/.f64 1 x))
Compiler

Compiled 11 to 8 computations (27.3% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite100.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
348×pow1_binary64
336×add-sqr-sqrt_binary64
328×*-un-lft-identity_binary64
323×add-log-exp_binary64
323×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
051
11051
29971
Stop Event
node limit
Counts
1 → 47
Calls
Call 1
Inputs
(/.f64 1 (/.f64 1 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 x))) (log.f64 (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 2) x))) (log.f64 (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (cbrt.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x x)) (neg.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (neg.f64 (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 1/4) (sqrt.f64 (pow.f64 x 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 5/2)) (pow.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 x (cbrt.f64 x)) 2)) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 5)) (pow.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 x 3/2)) (pow.f64 x 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 x (cbrt.f64 x)) 2) 1/3) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 x 5/2) 1/3) (pow.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x -2) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x -3) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 x)) -3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x -1/2) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 -1) (neg.f64 (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 x)) 2)) (cbrt.f64 (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 x))) (sqrt.f64 (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 x)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x . x)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 x)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 x)) 2))))))

simplify11.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0112
Stop Event
saturated
Counts
59 → 48
Calls
Call 1
Inputs
x
x
x
x
x
x
x
x
x
x
x
x
Outputs
x
x
x
x
x
x
x
x
x
x
x
x

eval80.0ms (1.2%)

Compiler

Compiled 1185 to 833 computations (29.7% saved)

prune217.0ms (3.3%)

Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New1202122
Fresh101
Picked011
Done044
Total1217128
Error
0b
Counts
128 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
59.6b
(-.f64 (+.f64 1 x) 1)
29.6b
(/.f64 1 (/.f64 1 x))
29.6b
x
33.7b
(-.f64 (/.f64 1 x) (/.f64 1 (*.f64 (*.f64 x x) x)))
30.3b
(-.f64 x (*.f64 (*.f64 x x) x))
32.6b
(/.f64 1 x)
0.1b
(/.f64 1 (+.f64 (/.f64 1 x) x))
Compiler

Compiled 46 to 32 computations (30.4% saved)

regimes36.0ms (0.5%)

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

2 calls:

15.0ms
x
14.0ms
(/.f64 x (+.f64 (*.f64 x x) 1))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(/.f64 x (+.f64 (*.f64 x x) 1))
Compiler

Compiled 121 to 75 computations (38% saved)

regimes210.0ms (3.2%)

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

2 calls:

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

Compiled 110 to 67 computations (39.1% saved)

regimes155.0ms (2.3%)

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

1 calls:

153.0ms
x
Results
ErrorSegmentsBranch
0.9b3x
Compiler

Compiled 19 to 12 computations (36.8% saved)

bsearch67.0ms (1%)

Algorithm
binary-search
Steps
TimeLeftRight
23.0ms
0.13137983386600421
4.597083892091637
43.0ms
-59635613030762.45
-5.203651412372695e-5
Compiler

Compiled 12 to 8 computations (33.3% saved)

regimes44.0ms (0.7%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
3 → 1
Calls
Call 1
Inputs
x
x
x
Outputs
x
Calls

1 calls:

6.0ms
x
Results
ErrorSegmentsBranch
29.6b1x
Compiler

Compiled 6 to 2 computations (66.7% saved)

simplify7.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01748
12148
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x)))
(/.f64 1 (+.f64 (/.f64 1 x) x))
(if (<=.f64 x -3816679233968797/64) (/.f64 1 x) (if (<=.f64 x 2366728683371737/18014398509481984) x (/.f64 1 x)))
x
Outputs
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x)))
(/.f64 1 (+.f64 (/.f64 1 x) x))
(/.f64 1 (+.f64 x (/.f64 1 x)))
(if (<=.f64 x -3816679233968797/64) (/.f64 1 x) (if (<=.f64 x 2366728683371737/18014398509481984) x (/.f64 1 x)))
x
Compiler

Compiled 38 to 27 computations (28.9% saved)

soundness0.0ms (0%)

end58.0ms (0.9%)

Compiler

Compiled 35 to 24 computations (31.4% saved)

Profiling

Loading profile data...