Details

Time bar (total: 1.5s)

analyze5.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%50%50%2
0%50%50%3
12.5%25%62.5%4
18.7%12.5%68.8%5
21.9%6.2%71.9%6
23.4%3.1%73.5%7
24.2%1.6%74.2%8
24.6%0.8%74.6%9
24.8%0.4%74.8%10
24.9%0.2%74.9%11
24.9%0.1%75%12
25%0%75%13
25%0%75%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample875.0ms (59.3%)

Results
863.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 18 to 14 computations (22.2% saved)

preprocess15.0ms (1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11311
21411
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
Outputs
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (+.f64 x -1)) (sqrt.f64 x))
Compiler

Compiled 8 to 6 computations (25% saved)

simplify6.0ms (0.4%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11311
21411
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
Outputs
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (+.f64 x -1)) (sqrt.f64 x))

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.5b
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
Compiler

Compiled 31 to 22 computations (29% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))

series4.0ms (0.3%)

Counts
1 → 4
Calls

3 calls:

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

rewrite79.0ms (5.4%)

Algorithm
batch-egg-rewrite
Rules
648×pow1_binary64
603×add-log-exp_binary64
602×log1p-expm1-u_binary64
602×expm1-log1p-u_binary64
71×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
11469
217539
Stop Event
node limit
Counts
1 → 15
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x -1)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 x -1) 3/2) (pow.f64 x 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3/2) (pow.f64 (+.f64 x -1) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))))))

simplify19.0ms (1.3%)

Algorithm
egg-herbie
Rules
676×times-frac_binary64
548×fma-neg_binary64
457×fma-def_binary64
373×cancel-sign-sub-inv_binary64
371×associate-/l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01834
14434
210034
326834
470934
5194834
Stop Event
node limit
Counts
19 → 22
Calls
Call 1
Inputs
x
(-.f64 x 1/2)
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(-.f64 x (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
Outputs
x
(-.f64 x 1/2)
(+.f64 x -1/2)
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(-.f64 x (+.f64 1/2 (/.f64 1/8 x)))
(+.f64 x (-.f64 -1/2 (/.f64 1/8 x)))
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
(+.f64 (+.f64 x -1/2) (/.f64 -1/8 x))
(-.f64 x (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(-.f64 x (+.f64 1/2 (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))))
(+.f64 x (-.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 1/16 (*.f64 x x))))
(+.f64 x (+.f64 -1/2 (-.f64 (/.f64 -1/8 x) (/.f64 1/16 (*.f64 x x)))))
(+.f64 x (+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x))))

prune38.0ms (2.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New20222
Fresh000
Picked101
Done000
Total21223
Error
0b
Counts
23 → 2
Alt Table
StatusErrorProgram
32.5b
(sqrt.f64 (*.f64 x (+.f64 x -1)))
0.3b
(+.f64 x (+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x))))
Compiler

Compiled 226 to 170 computations (24.8% saved)

localize8.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 x (+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x))))
0.0b
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x)))
0.3b
(/.f64 -1/16 (*.f64 x x))

series4.0ms (0.3%)

Counts
3 → 36
Calls

9 calls:

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

rewrite87.0ms (5.9%)

Algorithm
batch-egg-rewrite
Rules
343×fma-neg_binary64
237×expm1-udef_binary64
237×log1p-udef_binary64
138×add-sqr-sqrt_binary64
132×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01142
126938
2413038
Stop Event
node limit
Counts
3 → 114
Calls
Call 1
Inputs
(/.f64 -1/16 (*.f64 x x))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x)))
(+.f64 x (+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -1/16 (pow.f64 x -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/16 (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1/16 (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 -1/16 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 -1/16 (pow.f64 x -2))) (cbrt.f64 (/.f64 1/256 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/256 (pow.f64 x 4))) (cbrt.f64 (*.f64 -1/16 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 -1/16) x) (/.f64 (sqrt.f64 -1/16) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/16 (/.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) -1/16)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1/16 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/16 (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/16 (pow.f64 x -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 -1/16) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/4096 (pow.f64 (pow.f64 x -2) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) -16) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/256 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/16) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/16 (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 -1/4096 (pow.f64 (pow.f64 x -2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/16 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/16 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/16 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -1/16 (pow.f64 x -2))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 2) (+.f64 -1/2 (-.f64 (/.f64 -1/8 x) (*.f64 -1/16 (pow.f64 x -2))))) (/.f64 (/.f64 1/256 (pow.f64 x 4)) (+.f64 -1/2 (-.f64 (/.f64 -1/8 x) (*.f64 -1/16 (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) (pow.f64 (cbrt.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) 2) (cbrt.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) (sqrt.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 3) (*.f64 -1/4096 (pow.f64 (pow.f64 x -2) 3))) (/.f64 1 (-.f64 (+.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 2) (/.f64 1/256 (pow.f64 x 4))) (*.f64 (*.f64 -1/16 (pow.f64 x -2)) (+.f64 -1/2 (/.f64 -1/8 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 2) (/.f64 1/256 (pow.f64 x 4))) (/.f64 1 (+.f64 -1/2 (-.f64 (/.f64 -1/8 x) (*.f64 -1/16 (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 2) (/.f64 1/256 (pow.f64 x 4))) (*.f64 (*.f64 -1/16 (pow.f64 x -2)) (+.f64 -1/2 (/.f64 -1/8 x)))) (+.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 3) (*.f64 -1/4096 (pow.f64 (pow.f64 x -2) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 -1/2 (-.f64 (/.f64 -1/8 x) (*.f64 -1/16 (pow.f64 x -2)))) (-.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 2) (/.f64 1/256 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 3) (*.f64 -1/4096 (pow.f64 (pow.f64 x -2) 3))) (-.f64 (+.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 2) (/.f64 1/256 (pow.f64 x 4))) (*.f64 (*.f64 -1/16 (pow.f64 x -2)) (+.f64 -1/2 (/.f64 -1/8 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 3) (*.f64 -1/4096 (pow.f64 (pow.f64 x -2) 3))) (+.f64 (/.f64 1/256 (pow.f64 x 4)) (-.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 2) (*.f64 (*.f64 -1/16 (pow.f64 x -2)) (+.f64 -1/2 (/.f64 -1/8 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 2) (/.f64 1/256 (pow.f64 x 4))) (+.f64 -1/2 (-.f64 (/.f64 -1/8 x) (*.f64 -1/16 (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 3) (*.f64 -1/4096 (pow.f64 (pow.f64 x -2) 3)))) (neg.f64 (-.f64 (+.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 2) (/.f64 1/256 (pow.f64 x 4))) (*.f64 (*.f64 -1/16 (pow.f64 x -2)) (+.f64 -1/2 (/.f64 -1/8 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 2) (/.f64 1/256 (pow.f64 x 4)))) (neg.f64 (+.f64 -1/2 (-.f64 (/.f64 -1/8 x) (*.f64 -1/16 (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 -1/16 (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x))) (*.f64 (*.f64 x x) (+.f64 -1/8 (/.f64 -1/512 (pow.f64 x 3))))) (*.f64 (*.f64 x x) (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x)) (*.f64 (*.f64 (*.f64 x x) -16) (+.f64 -1/8 (/.f64 -1/512 (pow.f64 x 3))))) (*.f64 (*.f64 (*.f64 x x) -16) (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/16 (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x))) (*.f64 (*.f64 x (neg.f64 x)) (+.f64 -1/8 (/.f64 -1/512 (pow.f64 x 3))))) (*.f64 (*.f64 x (neg.f64 x)) (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (/.f64 -1/16 x) (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x))) (*.f64 x (+.f64 -1/8 (/.f64 -1/512 (pow.f64 x 3))))) (*.f64 x (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 -1/16 (-.f64 -1/2 (/.f64 -1/8 x))) (*.f64 (*.f64 x x) (-.f64 1/4 (/.f64 1/64 (*.f64 x x))))) (*.f64 (*.f64 x x) (-.f64 -1/2 (/.f64 -1/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (-.f64 -1/2 (/.f64 -1/8 x)) (*.f64 (*.f64 (*.f64 x x) -16) (-.f64 1/4 (/.f64 1/64 (*.f64 x x))))) (*.f64 (*.f64 (*.f64 x x) -16) (-.f64 -1/2 (/.f64 -1/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/16 (-.f64 -1/2 (/.f64 -1/8 x))) (*.f64 (*.f64 x (neg.f64 x)) (-.f64 1/4 (/.f64 1/64 (*.f64 x x))))) (*.f64 (*.f64 x (neg.f64 x)) (-.f64 -1/2 (/.f64 -1/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (/.f64 -1/16 x) (-.f64 -1/2 (/.f64 -1/8 x))) (*.f64 x (-.f64 1/4 (/.f64 1/64 (*.f64 x x))))) (*.f64 x (-.f64 -1/2 (/.f64 -1/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (+.f64 -1/8 (/.f64 -1/512 (pow.f64 x 3))) (*.f64 x x)) (*.f64 (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x)) -1/16)) (*.f64 (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (-.f64 1/4 (/.f64 1/64 (*.f64 x x))) (*.f64 x x)) (*.f64 (-.f64 -1/2 (/.f64 -1/8 x)) -1/16)) (*.f64 (-.f64 -1/2 (/.f64 -1/8 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (+.f64 -1/8 (/.f64 -1/512 (pow.f64 x 3))) (*.f64 (*.f64 x x) -16)) (*.f64 (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x)) 1)) (*.f64 (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x)) (*.f64 (*.f64 x x) -16)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (-.f64 1/4 (/.f64 1/64 (*.f64 x x))) (*.f64 (*.f64 x x) -16)) (*.f64 (-.f64 -1/2 (/.f64 -1/8 x)) 1)) (*.f64 (-.f64 -1/2 (/.f64 -1/8 x)) (*.f64 (*.f64 x x) -16)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (+.f64 -1/8 (/.f64 -1/512 (pow.f64 x 3))) (*.f64 x (neg.f64 x))) (*.f64 (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x)) 1/16)) (*.f64 (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x)) (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (-.f64 1/4 (/.f64 1/64 (*.f64 x x))) (*.f64 x (neg.f64 x))) (*.f64 (-.f64 -1/2 (/.f64 -1/8 x)) 1/16)) (*.f64 (-.f64 -1/2 (/.f64 -1/8 x)) (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (+.f64 -1/8 (/.f64 -1/512 (pow.f64 x 3))) x) (*.f64 (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x)) (/.f64 -1/16 x))) (*.f64 (-.f64 (+.f64 1/4 (/.f64 1/64 (*.f64 x x))) (/.f64 1/16 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (-.f64 1/4 (/.f64 1/64 (*.f64 x x))) x) (*.f64 (-.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 x))) (*.f64 (-.f64 -1/2 (/.f64 -1/8 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1/8 (pow.f64 (+.f64 (*.f64 -1/16 (pow.f64 x -2)) (/.f64 -1/8 x)) 3)) (+.f64 1/4 (-.f64 (*.f64 (+.f64 (*.f64 -1/16 (pow.f64 x -2)) (/.f64 -1/8 x)) (+.f64 (*.f64 -1/16 (pow.f64 x -2)) (/.f64 -1/8 x))) (*.f64 -1/2 (+.f64 (*.f64 -1/16 (pow.f64 x -2)) (/.f64 -1/8 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (/.f64 1/256 (pow.f64 x 4)) (pow.f64 (+.f64 -1/2 (/.f64 -1/8 x)) 2)) (-.f64 (*.f64 -1/16 (pow.f64 x -2)) (+.f64 -1/2 (/.f64 -1/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/4 (*.f64 (+.f64 (*.f64 -1/16 (pow.f64 x -2)) (/.f64 -1/8 x)) (+.f64 (*.f64 -1/16 (pow.f64 x -2)) (/.f64 -1/8 x)))) (-.f64 -1/2 (+.f64 (*.f64 -1/16 (pow.f64 x -2)) (/.f64 -1/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/16 (pow.f64 x -2)) (+.f64 -1/2 (/.f64 -1/8 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 -1/2 (/.f64 -1/8 x)) (*.f64 -1/16 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 1/256 (pow.f64 x 4))) (cbrt.f64 (*.f64 -1/16 (pow.f64 x -2))) (+.f64 -1/2 (/.f64 -1/8 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 -1/2 (/.f64 -1/8 x))) 2) (cbrt.f64 (+.f64 -1/2 (/.f64 -1/8 x))) (*.f64 -1/16 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 -1/16) x) (/.f64 (sqrt.f64 -1/16) x) (+.f64 -1/2 (/.f64 -1/8 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 -1/2 (/.f64 -1/8 x))) (sqrt.f64 (+.f64 -1/2 (/.f64 -1/8 x))) (*.f64 -1/16 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))) (/.f64 (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 2) (-.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))) (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))) 2) (cbrt.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))) (sqrt.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 3)) (/.f64 1 (fma.f64 x x (*.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) (-.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 2)) (/.f64 1 (-.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) (-.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) x))) (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) (-.f64 (*.f64 x x) (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 3)) (fma.f64 x x (*.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) (-.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 3)) (+.f64 (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 2) (-.f64 (*.f64 x x) (*.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 2)) (-.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 3))) (neg.f64 (fma.f64 x x (*.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) (-.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 2))) (neg.f64 (-.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x (+.f64 -1/2 (/.f64 -1/8 x))) 3) (*.f64 -1/4096 (pow.f64 (pow.f64 x -2) 3))) (+.f64 (*.f64 (+.f64 x (+.f64 -1/2 (/.f64 -1/8 x))) (+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))) (-.f64 (/.f64 1/256 (pow.f64 x 4)) (*.f64 (+.f64 x (+.f64 -1/2 (/.f64 -1/8 x))) (*.f64 -1/16 (pow.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) 2) (*.f64 x x)) (-.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 x (+.f64 -1/2 (/.f64 -1/8 x))) (+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))) (/.f64 1/256 (pow.f64 x 4))) (-.f64 (+.f64 x (+.f64 -1/2 (/.f64 -1/8 x))) (*.f64 -1/16 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) 2) (cbrt.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) (sqrt.f64 (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x)))) x)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))) 1))))))

simplify41.0ms (2.8%)

Algorithm
egg-herbie
Rules
752×fma-neg_binary64
509×cancel-sign-sub-inv_binary64
474×associate-/l*_binary64
264×fma-def_binary64
259×distribute-neg-frac_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
024361
159339
2147339
3369339
4997339
52634339
Stop Event
node limit
Counts
150 → 130
Calls
Call 1
Inputs
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (pow.f64 x 2))
(neg.f64 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2)))))
(neg.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
-1/2
(neg.f64 (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
-1/2
(neg.f64 (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(/.f64 -1/16 (pow.f64 x 2))
(neg.f64 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2)))))
(neg.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(-.f64 x (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
x
(-.f64 x 1/2)
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(-.f64 x (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
x
(-.f64 x 1/2)
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(-.f64 x (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
Outputs
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(neg.f64 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2)))))
(neg.f64 (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x))))
(-.f64 (/.f64 -1/8 x) (/.f64 (/.f64 1/16 x) x))
(+.f64 (/.f64 -1/8 x) (/.f64 -1/16 (*.f64 x x)))
(+.f64 (/.f64 -1/8 x) (/.f64 (/.f64 -1/16 x) x))
(neg.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 (+.f64 (/.f64 1/8 x) 1/2) (/.f64 1/16 (*.f64 x x))))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x)))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 (/.f64 -1/16 x) x))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (-.f64 1/2 (/.f64 -1/8 x)))
(neg.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 (+.f64 (/.f64 1/8 x) 1/2) (/.f64 1/16 (*.f64 x x))))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x)))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 (/.f64 -1/16 x) x))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (-.f64 1/2 (/.f64 -1/8 x)))
-1/2
(neg.f64 (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1/8 x) 1/2))
(+.f64 -1/2 (/.f64 -1/8 x))
(neg.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 (+.f64 (/.f64 1/8 x) 1/2) (/.f64 1/16 (*.f64 x x))))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x)))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 (/.f64 -1/16 x) x))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (-.f64 1/2 (/.f64 -1/8 x)))
(neg.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 (+.f64 (/.f64 1/8 x) 1/2) (/.f64 1/16 (*.f64 x x))))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x)))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 (/.f64 -1/16 x) x))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (-.f64 1/2 (/.f64 -1/8 x)))
-1/2
(neg.f64 (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1/8 x) 1/2))
(+.f64 -1/2 (/.f64 -1/8 x))
(neg.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 (+.f64 (/.f64 1/8 x) 1/2) (/.f64 1/16 (*.f64 x x))))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x)))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 (/.f64 -1/16 x) x))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (-.f64 1/2 (/.f64 -1/8 x)))
(neg.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 (+.f64 (/.f64 1/8 x) 1/2) (/.f64 1/16 (*.f64 x x))))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x)))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 (/.f64 -1/16 x) x))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (-.f64 1/2 (/.f64 -1/8 x)))
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(neg.f64 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2)))))
(neg.f64 (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x))))
(-.f64 (/.f64 -1/8 x) (/.f64 (/.f64 1/16 x) x))
(+.f64 (/.f64 -1/8 x) (/.f64 -1/16 (*.f64 x x)))
(+.f64 (/.f64 -1/8 x) (/.f64 (/.f64 -1/16 x) x))
(neg.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 (+.f64 (/.f64 1/8 x) 1/2) (/.f64 1/16 (*.f64 x x))))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x)))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 (/.f64 -1/16 x) x))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (-.f64 1/2 (/.f64 -1/8 x)))
(-.f64 x (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(-.f64 x (+.f64 (+.f64 (/.f64 1/8 x) 1/2) (/.f64 1/16 (*.f64 x x))))
(+.f64 x (+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x))))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (-.f64 x (/.f64 1/16 (*.f64 x x))))
(+.f64 x (+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 (/.f64 -1/16 x) x)))
(+.f64 x (-.f64 (/.f64 -1/16 (*.f64 x x)) (-.f64 1/2 (/.f64 -1/8 x))))
x
(-.f64 x 1/2)
(+.f64 x -1/2)
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(-.f64 (+.f64 x -1/2) (/.f64 1/8 x))
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
(-.f64 x (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(-.f64 x (+.f64 (+.f64 (/.f64 1/8 x) 1/2) (/.f64 1/16 (*.f64 x x))))
(+.f64 x (+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x))))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (-.f64 x (/.f64 1/16 (*.f64 x x))))
(+.f64 x (+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 (/.f64 -1/16 x) x)))
(+.f64 x (-.f64 (/.f64 -1/16 (*.f64 x x)) (-.f64 1/2 (/.f64 -1/8 x))))
x
(-.f64 x 1/2)
(+.f64 x -1/2)
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(-.f64 (+.f64 x -1/2) (/.f64 1/8 x))
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
(-.f64 x (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(-.f64 x (+.f64 (+.f64 (/.f64 1/8 x) 1/2) (/.f64 1/16 (*.f64 x x))))
(+.f64 x (+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x))))
(+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (-.f64 x (/.f64 1/16 (*.f64 x x))))
(+.f64 x (+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 (/.f64 -1/16 x) x)))
(+.f64 x (-.f64 (/.f64 -1/16 (*.f64 x x)) (-.f64 1/2 (/.f64 -1/8 x))))

prune116.0ms (7.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1300130
Fresh011
Picked011
Done000
Total1302132
Error
0b
Counts
132 → 2
Alt Table
StatusErrorProgram
32.5b
(sqrt.f64 (*.f64 x (+.f64 x -1)))
0.3b
(+.f64 x (+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x))))
Compiler

Compiled 2978 to 2255 computations (24.3% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (+.f64 x -1))
30.3b
(sqrt.f64 (*.f64 x (+.f64 x -1)))

series3.0ms (0.2%)

Counts
2 → 20
Calls

6 calls:

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

rewrite36.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
646×pow1_binary64
602×add-log-exp_binary64
602×log1p-expm1-u_binary64
602×expm1-log1p-u_binary64
64×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify25.0ms (1.7%)

Algorithm
egg-herbie
Rules
723×fma-neg_binary64
676×times-frac_binary64
524×cancel-sign-sub-inv_binary64
261×fma-def_binary64
173×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
024144
160144
2138144
3401144
41058144
52875144
Stop Event
node limit
Counts
68 → 66
Calls
Call 1
Inputs
x
(-.f64 x 1/2)
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(-.f64 x (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(*.f64 -1 x)
(-.f64 1/2 x)
(-.f64 (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))) x)
(-.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))) x)
(*.f64 -1 x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
Outputs
x
(-.f64 x 1/2)
(+.f64 x -1/2)
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(-.f64 x (+.f64 1/2 (/.f64 1/8 x)))
(+.f64 x (-.f64 -1/2 (/.f64 1/8 x)))
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
(-.f64 x (-.f64 1/2 (/.f64 -1/8 x)))
(-.f64 x (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))))
(-.f64 x (+.f64 1/2 (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))))
(-.f64 (+.f64 x -1/2) (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x))))
(+.f64 x (-.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 1/16 (*.f64 x x))))
(+.f64 x (+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x))))
(+.f64 x (+.f64 -1/2 (-.f64 (/.f64 -1/8 x) (/.f64 1/16 (*.f64 x x)))))
(*.f64 -1 x)
(neg.f64 x)
(-.f64 1/2 x)
(-.f64 (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))) x)
(+.f64 1/2 (-.f64 (/.f64 1/8 x) x))
(+.f64 (/.f64 1/8 x) (-.f64 1/2 x))
(-.f64 (+.f64 1/2 (+.f64 (*.f64 1/8 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 2))))) x)
(+.f64 1/2 (-.f64 (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x))) x))
(+.f64 1/2 (+.f64 (/.f64 1/16 (*.f64 x x)) (-.f64 (/.f64 1/8 x) x)))
(+.f64 (-.f64 (/.f64 1/8 x) x) (+.f64 1/2 (/.f64 1/16 (*.f64 x x))))
(+.f64 1/2 (+.f64 (/.f64 1/8 x) (-.f64 (/.f64 1/16 (*.f64 x x)) x)))
(+.f64 (-.f64 1/2 (/.f64 -1/8 x)) (-.f64 (/.f64 1/16 (*.f64 x x)) x))
(*.f64 -1 x)
(neg.f64 x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)

prune27.0ms (1.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh000
Picked011
Done011
Total66268
Error
0b
Counts
68 → 2
Alt Table
StatusErrorProgram
32.5b
(sqrt.f64 (*.f64 x (+.f64 x -1)))
0.3b
(+.f64 x (+.f64 (+.f64 -1/2 (/.f64 -1/8 x)) (/.f64 -1/16 (*.f64 x x))))
Compiler

Compiled 653 to 445 computations (31.9% saved)

regimes29.0ms (2%)

Accuracy

Total 0.2b remaining (99.4%)

Threshold costs 0.2b (99.4%)

Counts
21 → 1
Compiler

Compiled 171 to 121 computations (29.2% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01117
11317
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))
Outputs
(+.f64 x (fma.f64 -1/16 (pow.f64 x -2) (+.f64 -1/2 (/.f64 -1/8 x))))

end44.0ms (3%)

Stop Event
done
Compiler

Compiled 47 to 35 computations (25.5% saved)

Profiling

Loading profile data...