Details

Time bar (total: 4.0s)

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

sample1.6s (40.8%)

Results
1.6s8256×body256valid
Bogosity

preprocess164.0ms (4.1%)

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)

simplify11.0ms (0.3%)

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
15.9b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
15.9b
(/.f64 x (+.f64 (*.f64 x x) 1))
Compiler

Compiled 8 to 5 computations (37.5% saved)

localize13.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
15.9b
(/.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))

rewrite71.0ms (1.8%)

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

simplify65.0ms (1.6%)

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.6%)

Compiler

Compiled 531 to 358 computations (32.6% saved)

prune176.0ms (4.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New43447
Fresh000
Picked011
Done000
Total43548
Error
0b
Counts
48 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
15.9b
(/.f64 x (+.f64 (*.f64 x x) 1))
24.7b
(*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))
33.6b
(-.f64 x (pow.f64 x 3))
32.5b
x
29.7b
(/.f64 1 x)
Compiler

Compiled 33 to 22 computations (33.3% saved)

localize29.0ms (0.7%)

Local error

Found 2 expressions with local error:

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

Compiled 35 to 24 computations (31.4% saved)

series7.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite103.0ms (2.6%)

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

Useful iterations: 0 (0.0ms)

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

simplify82.0ms (2.1%)

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

Useful iterations: 1 (0.0ms)

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

localize15.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

Compiled 11 to 7 computations (36.4% saved)

series3.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite67.0ms (1.7%)

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

Useful iterations: 0 (0.0ms)

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

simplify89.0ms (2.2%)

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

Useful iterations: 1 (0.0ms)

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

localize5.0ms (0.1%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

eval116.0ms (2.9%)

Compiler

Compiled 2692 to 1943 computations (27.8% saved)

prune45.0ms (1.1%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1702172
Fresh101
Picked011
Done123
Total1725177
Error
0b
Counts
177 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
15.9b
(/.f64 x (+.f64 (*.f64 x x) 1))
24.7b
(*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))
33.6b
(*.f64 x (-.f64 1 (*.f64 x x)))
32.5b
x
29.7b
(/.f64 1 x)
Compiler

Compiled 35 to 23 computations (34.3% saved)

localize12.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 18 to 8 computations (55.6% saved)

series5.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite73.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
614×pow1_binary64
574×add-log-exp_binary64
573×log1p-expm1-u_binary64
573×expm1-log1p-u_binary64
562×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify60.0ms (1.5%)

Algorithm
egg-herbie
Rules
648×difference-of-squares_binary64
540×distribute-rgt-neg-in_binary64
536×unswap-sqr_binary64
404×associate-*l*_binary64
312×fma-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
012179
132152
270152
3162152
4462152
51899152
65238152
Stop Event
node limit
Counts
69 → 55
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)
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(*.f64 -1 (pow.f64 x 2))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(*.f64 -1 (pow.f64 x 2))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
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))
(+.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))
(+.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))
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 -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 -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 (pow.f64 x 2))
(neg.f64 (*.f64 x x))
(*.f64 x (neg.f64 x))
(+.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 -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 -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 (pow.f64 x 2))
(neg.f64 (*.f64 x x))
(*.f64 x (neg.f64 x))
(+.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 -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 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(fma.f64 x (neg.f64 x) 1)

eval22.0ms (0.6%)

Compiler

Compiled 605 to 348 computations (42.5% saved)

prune140.0ms (3.5%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New55055
Fresh011
Picked011
Done033
Total55560
Error
0b
Counts
60 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
15.9b
(/.f64 x (+.f64 (*.f64 x x) 1))
24.7b
(*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))
33.6b
(*.f64 x (-.f64 1 (*.f64 x x)))
32.5b
x
29.7b
(/.f64 1 x)
Compiler

Compiled 35 to 23 computations (34.3% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune4.0ms (0.1%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done044
Total055
Error
0b
Counts
5 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
15.9b
(/.f64 x (+.f64 (*.f64 x x) 1))
24.7b
(*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))
33.6b
(*.f64 x (-.f64 1 (*.f64 x x)))
32.5b
x
29.7b
(/.f64 1 x)
Compiler

Compiled 35 to 23 computations (34.3% saved)

regimes74.0ms (1.9%)

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

2 calls:

46.0ms
x
25.0ms
(/.f64 x (+.f64 (*.f64 x x) 1))
Results
ErrorSegmentsBranch
0b3x
0.1b3(/.f64 x (+.f64 (*.f64 x x) 1))
Compiler

Compiled 47 to 27 computations (42.6% saved)

bsearch144.0ms (3.6%)

Algorithm
binary-search
Steps
TimeLeftRight
25.0ms
23.744287494643725
1921535020.687301
118.0ms
-3.1712206825566497e+38
-5.848437126114166e+20
Compiler

Compiled 12 to 8 computations (33.3% saved)

regimes75.0ms (1.9%)

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

2 calls:

49.0ms
x
24.0ms
(/.f64 x (+.f64 (*.f64 x x) 1))
Results
ErrorSegmentsBranch
0.0b3x
0.1b3(/.f64 x (+.f64 (*.f64 x x) 1))
Compiler

Compiled 35 to 19 computations (45.7% saved)

bsearch80.0ms (2%)

Algorithm
binary-search
Steps
TimeLeftRight
54.0ms
23.744287494643725
1921535020.687301
26.0ms
-2.9227707933154306e+39
-3.1712206825566497e+38
Compiler

Compiled 12 to 8 computations (33.3% saved)

regimes26.0ms (0.7%)

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

1 calls:

24.0ms
x
Results
ErrorSegmentsBranch
0.5b3x
Compiler

Compiled 15 to 8 computations (46.7% saved)

bsearch89.0ms (2.2%)

Algorithm
binary-search
Steps
TimeLeftRight
61.0ms
1.9528963858121105e-8
1.521228129001963
28.0ms
-4279664386679.3286
-4.217355735732614e-10
Compiler

Compiled 12 to 8 computations (33.3% saved)

regimes128.0ms (3.2%)

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

1 calls:

127.0ms
x
Results
ErrorSegmentsBranch
0.6b3x
Compiler

Compiled 8 to 4 computations (50% saved)

bsearch55.0ms (1.4%)

Algorithm
binary-search
Steps
TimeLeftRight
26.0ms
1.9528963858121105e-8
1.521228129001963
29.0ms
-4279664386679.3286
-4.217355735732614e-10
Compiler

Compiled 12 to 8 computations (33.3% saved)

regimes9.0ms (0.2%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

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

1 calls:

8.0ms
x
Results
ErrorSegmentsBranch
32.5b1x
Compiler

Compiled 5 to 2 computations (60% saved)

simplify13.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
035119
146119
252119
356119
458119
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(if (<=.f64 x -317122068255664967087209049821496213504) (/.f64 1 x) (if (<=.f64 x 6683422769565963/281474976710656) (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)) (/.f64 1 x)))
(if (<=.f64 x -2922770793315430565230299198524850438144) (/.f64 1 x) (if (<=.f64 x 6683422769565963/281474976710656) (/.f64 x (+.f64 (*.f64 x x) 1)) (/.f64 1 x)))
(if (<=.f64 x -8764752663919265/2048) (/.f64 1 x) (if (<=.f64 x 2951133579800441/151115727451828646838272) (*.f64 x (-.f64 1 (*.f64 x x))) (/.f64 1 x)))
(if (<=.f64 x -8764752663919265/2048) (/.f64 1 x) (if (<=.f64 x 2951133579800441/151115727451828646838272) x (/.f64 1 x)))
x
Outputs
(if (<=.f64 x -317122068255664967087209049821496213504) (/.f64 1 x) (if (<=.f64 x 6683422769565963/281474976710656) (*.f64 (/.f64 x (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1)) (/.f64 1 x)))
(if (<=.f64 x -2922770793315430565230299198524850438144) (/.f64 1 x) (if (<=.f64 x 6683422769565963/281474976710656) (/.f64 x (+.f64 (*.f64 x x) 1)) (/.f64 1 x)))
(if (<=.f64 x -2922770793315430565230299198524850438144) (/.f64 1 x) (if (<=.f64 x 6683422769565963/281474976710656) (/.f64 x (+.f64 1 (*.f64 x x))) (/.f64 1 x)))
(if (<=.f64 x -8764752663919265/2048) (/.f64 1 x) (if (<=.f64 x 2951133579800441/151115727451828646838272) (*.f64 x (-.f64 1 (*.f64 x x))) (/.f64 1 x)))
(if (<=.f64 x -8764752663919265/2048) (/.f64 1 x) (if (<=.f64 x 2951133579800441/151115727451828646838272) x (/.f64 1 x)))
x
Compiler

Compiled 89 to 61 computations (31.5% saved)

soundness0.0ms (0%)

end250.0ms (6.3%)

Compiler

Compiled 85 to 56 computations (34.1% saved)

Profiling

Loading profile data...