Details

Time bar (total: 2.6s)

analyze4.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%50%0%0%50%0%2
0%0%50%0%0%50%0%3
33.3%12.5%25%0%0%62.5%0%4
60%18.7%12.5%0%0%68.7%0%5
77.8%21.9%6.2%0%0%71.8%0%6
88.2%23.4%3.1%0%0%73.4%0%7
93.9%24.2%1.6%0%0%74.2%0%8
96.9%24.6%0.8%0%0%74.6%0%9
98.4%24.8%0.4%0%0%74.8%0%10
99.2%24.9%0.2%0%0%74.9%0%11
99.6%24.9%0.1%0%0%74.9%0%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample1.3s (49.6%)

Results
1.3s8256×body256valid
1.0msbody256invalid
Bogosity

preprocess15.0ms (0.6%)

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

simplify6.0ms (0.2%)

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

eval1.0ms (0%)

Compiler

Compiled 15 to 10 computations (33.3% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 8 to 6 computations (25% saved)

localize8.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 19 to 12 computations (36.8% saved)

series24.0ms (0.9%)

Counts
1 → 8
Calls

3 calls:

TimeVariablePointExpression
23.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))

rewrite46.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
648×pow1_binary64
603×add-log-exp_binary64
602×log1p-expm1-u_binary64
602×expm1-log1p-u_binary64
587×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
11469
217599
Stop Event
node limit
Counts
1 → 14
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (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 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)))))))))

simplify56.0ms (2.2%)

Algorithm
egg-herbie
Rules
744×associate-/r/_binary64
666×div-sub_binary64
253×*-commutative_binary64
240×fma-def_binary64
234×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
03268
18868
224468
367764
4312062
5718662
Stop Event
node limit
Counts
22 → 25
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/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x)))))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (*.f64 1/2 (pow.f64 (sqrt.f64 -1) 2)))
(+.f64 (*.f64 1/8 (/.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (*.f64 1/2 (pow.f64 (sqrt.f64 -1) 2))))
(+.f64 (*.f64 1/8 (/.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 (sqrt.f64 -1) 2) (pow.f64 x 2))) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (*.f64 1/2 (pow.f64 (sqrt.f64 -1) 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 (+.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/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x)))))
(-.f64 x (+.f64 1/2 (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))))
(+.f64 (+.f64 x -1/2) (*.f64 (/.f64 -1 x) (+.f64 (/.f64 1/16 x) 1/8)))
(+.f64 x (fma.f64 (/.f64 -1 x) (+.f64 1/8 (/.f64 1/16 x)) -1/2))
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x))
x
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (*.f64 1/2 (pow.f64 (sqrt.f64 -1) 2)))
(+.f64 x -1/2)
(-.f64 x 1/2)
(+.f64 (*.f64 1/8 (/.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (*.f64 1/2 (pow.f64 (sqrt.f64 -1) 2))))
(-.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 -1/8 x)))
(+.f64 (*.f64 1/8 (/.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 (sqrt.f64 -1) 2) (pow.f64 x 2))) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) x)) (*.f64 1/2 (pow.f64 (sqrt.f64 -1) 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 x) (+.f64 (/.f64 1/16 x) 1/8)))
(+.f64 x (fma.f64 (/.f64 -1 x) (+.f64 1/8 (/.f64 1/16 x)) -1/2))
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))

eval6.0ms (0.2%)

Compiler

Compiled 254 to 206 computations (18.9% saved)

prune7.0ms (0.3%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New19625
Fresh000
Picked101
Done000
Total20626
Error
0b
Counts
26 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
31.8b
(sqrt.f64 (*.f64 x (+.f64 x -1)))
0.3b
(-.f64 x 1/2)
34.3b
(exp.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))
0.1b
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
0.2b
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
0.8b
x
Compiler

Compiled 82 to 61 computations (25.6% saved)

localize43.0ms (1.6%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)
Compiler

Compiled 40 to 30 computations (25% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite54.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
881×pow1_binary64
835×add-log-exp_binary64
835×log1p-expm1-u_binary64
835×expm1-log1p-u_binary64
822×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify102.0ms (3.9%)

Algorithm
egg-herbie
Rules
505×distribute-neg-frac_binary64
485×associate-/l*_binary64
485×fma-neg_binary64
434×unswap-sqr_binary64
360×div-sub_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
017150
137132
277132
3164132
4425132
51467132
64000132
77470132
Stop Event
node limit
Counts
43 → 36
Calls
Call 1
Inputs
(/.f64 -1/16 (pow.f64 x 2))
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(/.f64 -1/8 x)
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(/.f64 -1/8 x)
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
Outputs
(/.f64 -1/16 (pow.f64 x 2))
(/.f64 -1/16 (*.f64 x x))
(/.f64 (/.f64 -1/16 x) x)
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1/16 (*.f64 x x)) (/.f64 1/8 x)))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 1/8 x))
(-.f64 (/.f64 -1/8 x) (/.f64 (/.f64 1/16 x) x))
(+.f64 (/.f64 (/.f64 -1/16 x) x) (/.f64 -1/8 x))
(+.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 -1/8 x))
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1/16 (*.f64 x x)) (/.f64 1/8 x)))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 1/8 x))
(-.f64 (/.f64 -1/8 x) (/.f64 (/.f64 1/16 x) x))
(+.f64 (/.f64 (/.f64 -1/16 x) x) (/.f64 -1/8 x))
(+.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 -1/8 x))
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1/16 (*.f64 x x)) (/.f64 1/8 x)))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 1/8 x))
(-.f64 (/.f64 -1/8 x) (/.f64 (/.f64 1/16 x) x))
(+.f64 (/.f64 (/.f64 -1/16 x) x) (/.f64 -1/8 x))
(+.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 -1/8 x))
(/.f64 -1/8 x)
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1/16 (*.f64 x x)) (/.f64 1/8 x)))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 1/8 x))
(-.f64 (/.f64 -1/8 x) (/.f64 (/.f64 1/16 x) x))
(+.f64 (/.f64 (/.f64 -1/16 x) x) (/.f64 -1/8 x))
(+.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 -1/8 x))
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1/16 (*.f64 x x)) (/.f64 1/8 x)))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 1/8 x))
(-.f64 (/.f64 -1/8 x) (/.f64 (/.f64 1/16 x) x))
(+.f64 (/.f64 (/.f64 -1/16 x) x) (/.f64 -1/8 x))
(+.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 -1/8 x))
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1/16 (*.f64 x x)) (/.f64 1/8 x)))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 1/8 x))
(-.f64 (/.f64 -1/8 x) (/.f64 (/.f64 1/16 x) x))
(+.f64 (/.f64 (/.f64 -1/16 x) x) (/.f64 -1/8 x))
(+.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 -1/8 x))
(/.f64 -1/8 x)
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1/16 (*.f64 x x)) (/.f64 1/8 x)))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 1/8 x))
(-.f64 (/.f64 -1/8 x) (/.f64 (/.f64 1/16 x) x))
(+.f64 (/.f64 (/.f64 -1/16 x) x) (/.f64 -1/8 x))
(+.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 -1/8 x))
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1/16 (*.f64 x x)) (/.f64 1/8 x)))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 1/8 x))
(-.f64 (/.f64 -1/8 x) (/.f64 (/.f64 1/16 x) x))
(+.f64 (/.f64 (/.f64 -1/16 x) x) (/.f64 -1/8 x))
(+.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 -1/8 x))
(neg.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1/16 (*.f64 x x)) (/.f64 1/8 x)))
(-.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 1/8 x))
(-.f64 (/.f64 -1/8 x) (/.f64 (/.f64 1/16 x) x))
(+.f64 (/.f64 (/.f64 -1/16 x) x) (/.f64 -1/8 x))
(+.f64 (/.f64 -1/16 (*.f64 x x)) (/.f64 -1/8 x))

localize3.0ms (0.1%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

localize7.0ms (0.3%)

Compiler

Compiled 19 to 14 computations (26.3% saved)

localize7.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
29.4b
(sqrt.f64 (*.f64 x (+.f64 x -1)))
Compiler

Compiled 17 to 11 computations (35.3% saved)

series1.0ms (0%)

Counts
1 → 8
Calls

3 calls:

TimeVariablePointExpression
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
(sqrt.f64 (*.f64 x (+.f64 x -1)))

rewrite58.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
646×pow1_binary64
602×add-log-exp_binary64
602×log1p-expm1-u_binary64
602×expm1-log1p-u_binary64
590×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
11299
216459
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 x (+.f64 x -1)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (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 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)))))))))

simplify63.0ms (2.4%)

Algorithm
egg-herbie
Rules
616×times-frac_binary64
536×fma-neg_binary64
520×div-sub_binary64
498×associate-/r*_binary64
479×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02574
16570
215070
336570
488370
5229270
6768870
Stop Event
node limit
Counts
30 → 37
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/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x)))))
(*.f64 -1 x)
(+.f64 1/2 (*.f64 -1 x))
(+.f64 1/2 (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 1 x))))
(+.f64 1/2 (+.f64 (*.f64 -1 x) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 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 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x)))))
(-.f64 x (+.f64 1/2 (+.f64 (/.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 (-.f64 x 1/2) (-.f64 (/.f64 -1/8 x) (/.f64 1/16 (*.f64 x x))))
(+.f64 (+.f64 x (+.f64 -1/2 (/.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 -1 x)
(neg.f64 x)
(+.f64 1/2 (*.f64 -1 x))
(+.f64 1/2 (neg.f64 x))
(-.f64 1/2 x)
(+.f64 1/2 (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 1 x))))
(+.f64 1/2 (fma.f64 -1 x (/.f64 1/8 x)))
(+.f64 1/2 (-.f64 (/.f64 1/8 x) x))
(+.f64 1/2 (+.f64 (*.f64 -1 x) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x)))))
(+.f64 1/2 (fma.f64 -1 x (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))))
(+.f64 1/2 (+.f64 (/.f64 1/16 (*.f64 x x)) (-.f64 (/.f64 1/8 x) x)))
(+.f64 1/2 (+.f64 (/.f64 1/8 x) (-.f64 (/.f64 1/16 (*.f64 x x)) x)))
(-.f64 (-.f64 1/2 x) (+.f64 (/.f64 -1/8 x) (/.f64 -1/16 (*.f64 x x))))

localize17.0ms (0.6%)

Local error

Found 2 expressions with local error:

NewErrorProgram
6.0b
(exp.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))
29.4b
(sqrt.f64 (*.f64 x (+.f64 x -1)))
Compiler

Compiled 32 to 22 computations (31.3% saved)

series1.0ms (0%)

Counts
1 → 8
Calls

3 calls:

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

rewrite49.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
715×pow1_binary64
664×add-log-exp_binary64
664×log1p-expm1-u_binary64
664×expm1-log1p-u_binary64
650×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
11539
218299
Stop Event
node limit
Counts
1 → 26
Calls
Call 1
Inputs
(exp.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (-.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (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 pow.f64 (exp.f64 (sqrt.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))) (sqrt.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))))) 2)) (cbrt.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x (+.f64 x -1)))))) (#(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 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)))))))))

simplify61.0ms (2.3%)

Algorithm
egg-herbie
Rules
616×times-frac_binary64
536×fma-neg_binary64
520×div-sub_binary64
498×associate-/r*_binary64
479×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02574
16570
215070
336570
488370
5229270
6768870
Stop Event
node limit
Counts
34 → 41
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/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x)))))
(*.f64 -1 x)
(+.f64 1/2 (*.f64 -1 x))
(+.f64 1/2 (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 1 x))))
(+.f64 1/2 (+.f64 (*.f64 -1 x) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 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 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x)))))
(-.f64 x (+.f64 1/2 (+.f64 (/.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 (-.f64 x 1/2) (-.f64 (/.f64 -1/8 x) (/.f64 1/16 (*.f64 x x))))
(+.f64 (+.f64 x (+.f64 -1/2 (/.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 -1 x)
(neg.f64 x)
(+.f64 1/2 (*.f64 -1 x))
(+.f64 1/2 (neg.f64 x))
(-.f64 1/2 x)
(+.f64 1/2 (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 1 x))))
(+.f64 1/2 (fma.f64 -1 x (/.f64 1/8 x)))
(+.f64 1/2 (-.f64 (/.f64 1/8 x) x))
(+.f64 1/2 (+.f64 (*.f64 -1 x) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x)))))
(+.f64 1/2 (fma.f64 -1 x (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))))
(+.f64 1/2 (+.f64 (/.f64 1/16 (*.f64 x x)) (-.f64 (/.f64 1/8 x) x)))
(+.f64 1/2 (+.f64 (/.f64 1/8 x) (-.f64 (/.f64 1/16 (*.f64 x x)) x)))
(-.f64 (-.f64 1/2 x) (+.f64 (/.f64 -1/8 x) (/.f64 -1/16 (*.f64 x x))))

eval43.0ms (1.6%)

Compiler

Compiled 1716 to 1307 computations (23.8% saved)

prune71.0ms (2.7%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1492151
Fresh101
Picked101
Done044
Total1516157
Error
0b
Counts
157 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
31.8b
(sqrt.f64 (*.f64 x (+.f64 x -1)))
0.3b
(-.f64 x 1/2)
0.8b
x
0.1b
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
0.2b
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
44.4b
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x -1)) 3/2))
Compiler

Compiled 42 to 31 computations (26.2% saved)

localize20.0ms (0.8%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (*.f64 x (+.f64 x -1)) 3/2)
41.6b
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x -1)) 3/2))
Compiler

Compiled 27 to 19 computations (29.6% saved)

series4.0ms (0.1%)

Counts
2 → 20
Calls

6 calls:

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

rewrite55.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
823×pow1_binary64
775×add-log-exp_binary64
775×log1p-expm1-u_binary64
775×expm1-log1p-u_binary64
758×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify182.0ms (7%)

Algorithm
egg-herbie
Rules
667×associate-*l*_binary64
601×fma-neg_binary64
527×distribute-rgt-out_binary64
473×associate-*r*_binary64
465×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
060356
1174348
2460274
31440238
44634228
Stop Event
node limit
Counts
63 → 81
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/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x)))))
(*.f64 -1 x)
(+.f64 1/2 (*.f64 -1 x))
(+.f64 1/2 (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 1 x))))
(+.f64 1/2 (+.f64 (*.f64 -1 x) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x)))))
(exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x))))
(+.f64 (*.f64 -3/2 (*.f64 (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))) x)) (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))))
(+.f64 (*.f64 -3/2 (*.f64 (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))) x)) (+.f64 (*.f64 3/8 (*.f64 (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))) (pow.f64 x 2))) (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x))))))
(+.f64 (*.f64 -3/2 (*.f64 (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))) x)) (+.f64 (*.f64 1/16 (*.f64 (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))) (pow.f64 x 3))) (+.f64 (*.f64 3/8 (*.f64 (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))) (pow.f64 x 2))) (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))))))
(pow.f64 x 3)
(+.f64 (*.f64 -3/2 (pow.f64 x 2)) (pow.f64 x 3))
(+.f64 (*.f64 -3/2 (pow.f64 x 2)) (+.f64 (*.f64 3/8 x) (pow.f64 x 3)))
(+.f64 1/16 (+.f64 (*.f64 -3/2 (pow.f64 x 2)) (+.f64 (*.f64 3/8 x) (pow.f64 x 3))))
(*.f64 -1 (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (*.f64 3/2 (pow.f64 x 2)))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (*.f64 -3/8 x) (*.f64 3/2 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (*.f64 -3/8 x) (*.f64 3/2 (pow.f64 x 2)))) 1/16)
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 (+.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/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x)))))
(-.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 (+.f64 -1/2 (/.f64 -1/8 x)) (-.f64 x (/.f64 1/16 (*.f64 x x))))
(+.f64 (+.f64 x -1/2) (+.f64 (/.f64 -1/8 x) (/.f64 -1/16 (*.f64 x x))))
(*.f64 -1 x)
(neg.f64 x)
(+.f64 1/2 (*.f64 -1 x))
(+.f64 1/2 (neg.f64 x))
(-.f64 1/2 x)
(+.f64 1/2 (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 1 x))))
(+.f64 1/2 (fma.f64 -1 x (/.f64 1/8 x)))
(+.f64 1/2 (-.f64 (/.f64 1/8 x) x))
(+.f64 1/2 (+.f64 (*.f64 -1 x) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 x)))))
(+.f64 1/2 (fma.f64 -1 x (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))))
(+.f64 1/2 (+.f64 (/.f64 1/16 (*.f64 x x)) (-.f64 (/.f64 1/8 x) x)))
(+.f64 1/2 (+.f64 (/.f64 1/8 x) (-.f64 (/.f64 1/16 (*.f64 x x)) x)))
(-.f64 (/.f64 1/8 x) (+.f64 x (+.f64 -1/2 (/.f64 -1/16 (*.f64 x x)))))
(exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x))))
(pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x)))
(*.f64 (pow.f64 x 3/2) (pow.f64 -1 3/2))
(pow.f64 (neg.f64 x) 3/2)
(+.f64 (*.f64 -3/2 (*.f64 (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))) x)) (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))))
(fma.f64 -3/2 (*.f64 x (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x)))) (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x))))
(*.f64 (+.f64 (*.f64 x -3/2) 1) (*.f64 (pow.f64 x 3/2) (pow.f64 -1 3/2)))
(*.f64 (pow.f64 (neg.f64 x) 3/2) (+.f64 1 (*.f64 x -3/2)))
(+.f64 (*.f64 -3/2 (*.f64 (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))) x)) (+.f64 (*.f64 3/8 (*.f64 (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))) (pow.f64 x 2))) (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x))))))
(fma.f64 -3/2 (*.f64 x (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x)))) (fma.f64 3/8 (*.f64 (*.f64 x x) (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x)))) (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x)))))
(fma.f64 -3/2 (*.f64 x (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x)))) (fma.f64 3/8 (*.f64 x (*.f64 x (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x))))) (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x)))))
(fma.f64 (pow.f64 -1 3/2) (pow.f64 x 3/2) (*.f64 (*.f64 (pow.f64 x 3/2) (pow.f64 -1 3/2)) (+.f64 (*.f64 (*.f64 x x) 3/8) (*.f64 x -3/2))))
(*.f64 (pow.f64 (neg.f64 x) 3/2) (+.f64 (*.f64 x -3/2) (+.f64 1 (*.f64 x (*.f64 x 3/8)))))
(*.f64 (+.f64 (*.f64 x (+.f64 (*.f64 x 3/8) -3/2)) 1) (pow.f64 (neg.f64 x) 3/2))
(+.f64 (*.f64 -3/2 (*.f64 (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))) x)) (+.f64 (*.f64 1/16 (*.f64 (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))) (pow.f64 x 3))) (+.f64 (*.f64 3/8 (*.f64 (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))) (pow.f64 x 2))) (exp.f64 (*.f64 3/2 (+.f64 (log.f64 -1) (log.f64 x)))))))
(fma.f64 -3/2 (*.f64 x (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x)))) (fma.f64 1/16 (*.f64 (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x))) (pow.f64 x 3)) (fma.f64 3/8 (*.f64 (*.f64 x x) (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x)))) (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x))))))
(fma.f64 -3/2 (*.f64 x (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x)))) (fma.f64 1/16 (*.f64 (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x))) (pow.f64 x 3)) (fma.f64 3/8 (*.f64 x (*.f64 x (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x))))) (pow.f64 (exp.f64 3/2) (+.f64 (log.f64 -1) (log.f64 x))))))
(+.f64 (*.f64 (+.f64 (*.f64 x -3/2) 1) (*.f64 (pow.f64 x 3/2) (pow.f64 -1 3/2))) (*.f64 (*.f64 (pow.f64 x 3/2) (pow.f64 -1 3/2)) (+.f64 (*.f64 (*.f64 x x) 3/8) (*.f64 1/16 (pow.f64 x 3)))))
(+.f64 (pow.f64 (neg.f64 x) 3/2) (*.f64 (pow.f64 (neg.f64 x) 3/2) (+.f64 (*.f64 x -3/2) (*.f64 (*.f64 x x) (+.f64 3/8 (*.f64 x 1/16))))))
(*.f64 (pow.f64 (neg.f64 x) 3/2) (+.f64 (+.f64 1 (*.f64 x -3/2)) (*.f64 x (*.f64 x (+.f64 3/8 (*.f64 x 1/16))))))
(pow.f64 x 3)
(+.f64 (*.f64 -3/2 (pow.f64 x 2)) (pow.f64 x 3))
(fma.f64 -3/2 (*.f64 x x) (pow.f64 x 3))
(*.f64 (*.f64 x x) (+.f64 x -3/2))
(*.f64 x (*.f64 x (+.f64 x -3/2)))
(+.f64 (*.f64 -3/2 (pow.f64 x 2)) (+.f64 (*.f64 3/8 x) (pow.f64 x 3)))
(fma.f64 -3/2 (*.f64 x x) (fma.f64 3/8 x (pow.f64 x 3)))
(fma.f64 (*.f64 x x) -3/2 (fma.f64 x 3/8 (pow.f64 x 3)))
(*.f64 x (+.f64 (*.f64 x -3/2) (fma.f64 x x 3/8)))
(*.f64 x (+.f64 3/8 (*.f64 x (+.f64 x -3/2))))
(+.f64 1/16 (+.f64 (*.f64 -3/2 (pow.f64 x 2)) (+.f64 (*.f64 3/8 x) (pow.f64 x 3))))
(+.f64 1/16 (fma.f64 -3/2 (*.f64 x x) (fma.f64 3/8 x (pow.f64 x 3))))
(+.f64 1/16 (fma.f64 (*.f64 x x) -3/2 (fma.f64 x 3/8 (pow.f64 x 3))))
(fma.f64 x (fma.f64 x x 3/8) (fma.f64 x (*.f64 x -3/2) 1/16))
(*.f64 -1 (pow.f64 x 3))
(neg.f64 (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (*.f64 3/2 (pow.f64 x 2)))
(fma.f64 -1 (pow.f64 x 3) (*.f64 (*.f64 x x) 3/2))
(fma.f64 (*.f64 x x) 3/2 (neg.f64 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (-.f64 3/2 x))
(*.f64 x (*.f64 x (-.f64 3/2 x)))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (*.f64 -3/8 x) (*.f64 3/2 (pow.f64 x 2))))
(fma.f64 -1 (pow.f64 x 3) (fma.f64 -3/8 x (*.f64 (*.f64 x x) 3/2)))
(-.f64 (fma.f64 (*.f64 x x) 3/2 (*.f64 x -3/8)) (pow.f64 x 3))
(fma.f64 x -3/8 (*.f64 (*.f64 x x) (-.f64 3/2 x)))
(*.f64 x (+.f64 (*.f64 x (-.f64 3/2 x)) -3/8))
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (*.f64 -3/8 x) (*.f64 3/2 (pow.f64 x 2)))) 1/16)
(+.f64 (fma.f64 -1 (pow.f64 x 3) (fma.f64 -3/8 x (*.f64 (*.f64 x x) 3/2))) -1/16)
(+.f64 (-.f64 (fma.f64 (*.f64 x x) 3/2 (*.f64 x -3/8)) (pow.f64 x 3)) -1/16)
(+.f64 (*.f64 (*.f64 x x) (-.f64 3/2 x)) (fma.f64 x -3/8 -1/16))
(+.f64 (*.f64 x (+.f64 (*.f64 x (-.f64 3/2 x)) -3/8)) -1/16)
(fma.f64 x (+.f64 (*.f64 x (-.f64 3/2 x)) -3/8) -1/16)

eval87.0ms (3.4%)

Compiler

Compiled 937 to 713 computations (23.9% saved)

prune14.0ms (0.5%)

Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New80181
Fresh101
Picked011
Done044
Total81687
Error
0b
Counts
87 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
31.8b
(sqrt.f64 (*.f64 x (+.f64 x -1)))
0.3b
(-.f64 x 1/2)
0.1b
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
0.2b
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
44.4b
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x -1)) 3/2))
0.8b
x
Compiler

Compiled 42 to 31 computations (26.2% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune3.0ms (0.1%)

Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done055
Total066
Error
0b
Counts
6 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
31.8b
(sqrt.f64 (*.f64 x (+.f64 x -1)))
0.3b
(-.f64 x 1/2)
0.1b
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
0.2b
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
44.4b
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x -1)) 3/2))
0.8b
x
Compiler

Compiled 42 to 31 computations (26.2% saved)

regimes16.0ms (0.6%)

Counts
10 → 1
Calls
Call 1
Inputs
x
x
x
(-.f64 x 1/2)
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
(sqrt.f64 (*.f64 x (+.f64 x -1)))
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x -1)) 3/2))
(exp.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 x -1)))))
Outputs
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
Calls

2 calls:

7.0ms
x
6.0ms
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
Results
ErrorSegmentsBranch
0.1b1x
0.1b1(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
Compiler

Compiled 64 to 44 computations (31.3% saved)

regimes5.0ms (0.2%)

Counts
5 → 1
Calls
Call 1
Inputs
x
x
x
(-.f64 x 1/2)
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
Outputs
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
Calls

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
0.2b1x
Compiler

Compiled 16 to 9 computations (43.8% saved)

regimes7.0ms (0.3%)

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

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
0.3b1x
Compiler

Compiled 9 to 4 computations (55.6% saved)

regimes5.0ms (0.2%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

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

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
0.8b1x
Compiler

Compiled 6 to 2 computations (66.7% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01531
12231
22331
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
(-.f64 x 1/2)
x
Outputs
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
(-.f64 x 1/2)
(+.f64 x -1/2)
x
Compiler

Compiled 26 to 19 computations (26.9% saved)

soundness130.0ms (5%)

Algorithm
egg-herbie
Rules
744×associate-/r/_binary64
666×div-sub_binary64
253×*-commutative_binary64
240×fma-def_binary64
234×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
03268
18868
224468
367764
4312062
5718662
Stop Event
node limit
Compiler

Compiled 660 to 564 computations (14.5% saved)

end25.0ms (1%)

Compiler

Compiled 23 to 16 computations (30.4% saved)

Profiling

Loading profile data...