Details

Time bar (total: 2.2s)

analyze4.0ms (0.2%)

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)

sample804.0ms (35.9%)

Results
789.0ms8256×body256valid
1.0ms17×body256invalid
Bogosity

preprocess13.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.3%)

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)

prune4.0ms (0.2%)

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

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)

series2.0ms (0.1%)

Counts
1 → 8
Calls

3 calls:

TimeVariablePointExpression
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))
1.0ms
x
@inf
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))

rewrite98.0ms (4.4%)

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

simplify116.0ms (5.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)))

eval9.0ms (0.4%)

Compiler

Compiled 254 to 206 computations (18.9% saved)

prune8.0ms (0.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New20525
Fresh000
Picked011
Done000
Total20626
Error
0b
Counts
26 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
32.0b
(sqrt.f64 (*.f64 x (+.f64 x -1)))
0.8b
(-.f64 x 1/2)
0.4b
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
0.5b
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
0.5b
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
1.3b
x
Compiler

Compiled 41 to 30 computations (26.8% saved)

localize40.0ms (1.8%)

Local error

Found 1 expressions with local error:

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

Compiled 17 to 11 computations (35.3% saved)

series2.0ms (0.1%)

Counts
1 → 8
Calls

3 calls:

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

rewrite67.0ms (3%)

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

simplify90.0ms (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))))

localize13.0ms (0.6%)

Local error

Found 1 expressions with local error:

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

Compiled 19 to 14 computations (26.3% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite83.0ms (3.7%)

Algorithm
batch-egg-rewrite
Rules
975×pow1_binary64
921×add-log-exp_binary64
921×log1p-expm1-u_binary64
921×expm1-log1p-u_binary64
86×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify55.0ms (2.5%)

Algorithm
egg-herbie
Rules
180×fma-neg_binary64
110×fma-def_binary64
47×cancel-sign-sub-inv_binary64
36×associate-/l*_binary64
33×sub-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01383
12981
26081
310481
419081
527881
646381
761581
869381
976581
1083781
1185781
1287581
Stop Event
saturated
Counts
48 → 44
Calls
Call 1
Inputs
(/.f64 -1/8 x)
(neg.f64 (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
x
(-.f64 x 1/2)
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
x
(-.f64 x 1/2)
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(-.f64 x (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
Outputs
(/.f64 -1/8 x)
(neg.f64 (+.f64 1/2 (*.f64 1/8 (/.f64 1 x))))
(+.f64 -1/2 (neg.f64 (/.f64 1/8 x)))
(+.f64 -1/2 (/.f64 -1/8 x))
(-.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 (/.f64 1 x))))
(-.f64 x (+.f64 1/2 (/.f64 1/8 x)))
(+.f64 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 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 (/.f64 1 x))))
(-.f64 x (+.f64 1/2 (/.f64 1/8 x)))
(+.f64 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 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 (/.f64 1 x))))
(-.f64 x (+.f64 1/2 (/.f64 1/8 x)))
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))

localize26.0ms (1.2%)

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)

series3.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)
1.0ms
x
@inf
(/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)

rewrite83.0ms (3.7%)

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

simplify93.0ms (4.1%)

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

localize4.0ms (0.2%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

eval87.0ms (3.9%)

Compiler

Compiled 1547 to 1166 computations (24.6% saved)

prune83.0ms (3.7%)

Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New1152117
Fresh101
Picked011
Done044
Total1167123
Error
0b
Counts
123 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
0.5b
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
0.5b
(*.f64 (+.f64 (/.f64 -1/8 x) (+.f64 x -1/2)) 1)
32.0b
(sqrt.f64 (*.f64 x (+.f64 x -1)))
0.8b
(-.f64 x 1/2)
0.4b
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
1.3b
x
0.5b
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
Compiler

Compiled 51 to 38 computations (25.5% saved)

localize17.0ms (0.8%)

Compiler

Compiled 27 to 20 computations (25.9% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune5.0ms (0.2%)

Pruning

7 alts after pruning (1 fresh and 6 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done055
Total077
Error
0b
Counts
7 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
0.5b
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
0.5b
(*.f64 (+.f64 (/.f64 -1/8 x) (+.f64 x -1/2)) 1)
32.0b
(sqrt.f64 (*.f64 x (+.f64 x -1)))
0.8b
(-.f64 x 1/2)
0.4b
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
1.3b
x
0.5b
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
Compiler

Compiled 51 to 38 computations (25.5% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune28.0ms (1.3%)

Pruning

7 alts after pruning (1 fresh and 6 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done066
Total077
Error
0b
Counts
7 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
0.5b
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
0.5b
(*.f64 (+.f64 (/.f64 -1/8 x) (+.f64 x -1/2)) 1)
32.0b
(sqrt.f64 (*.f64 x (+.f64 x -1)))
0.8b
(-.f64 x 1/2)
0.4b
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
1.3b
x
0.5b
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
Compiler

Compiled 51 to 38 computations (25.5% saved)

regimes24.0ms (1.1%)

Counts
8 → 1
Calls
Call 1
Inputs
x
x
(-.f64 x 1/2)
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
(*.f64 (+.f64 (/.f64 -1/8 x) (+.f64 x -1/2)) 1)
(+.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))
Outputs
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
Calls

2 calls:

12.0ms
x
9.0ms
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
Results
ErrorSegmentsBranch
0.4b1x
0.4b1(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
Compiler

Compiled 56 to 39 computations (30.4% saved)

regimes9.0ms (0.4%)

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

1 calls:

7.0ms
x
Results
ErrorSegmentsBranch
0.5b1x
Compiler

Compiled 24 to 16 computations (33.3% saved)

regimes9.0ms (0.4%)

Counts
4 → 1
Calls
Call 1
Inputs
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:

8.0ms
x
Results
ErrorSegmentsBranch
0.5b1x
Compiler

Compiled 15 to 9 computations (40% saved)

regimes7.0ms (0.3%)

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

1 calls:

6.0ms
x
Results
ErrorSegmentsBranch
0.8b1x
Compiler

Compiled 8 to 4 computations (50% saved)

regimes6.0ms (0.3%)

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:

5.0ms
x
Results
ErrorSegmentsBranch
1.3b1x
Compiler

Compiled 5 to 2 computations (60% saved)

simplify6.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01941
13041
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(+.f64 x (+.f64 -1/2 (/.f64 (+.f64 -1/8 (/.f64 -1/16 x)) x)))
(*.f64 (+.f64 (/.f64 -1/8 x) (+.f64 x -1/2)) 1)
(+.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 (+.f64 (/.f64 -1/8 x) (+.f64 x -1/2)) 1)
(+.f64 (/.f64 -1/8 x) (+.f64 x -1/2))
(+.f64 x (+.f64 -1/2 (/.f64 -1/8 x)))
(-.f64 x 1/2)
(+.f64 x -1/2)
x
Compiler

Compiled 34 to 25 computations (26.5% saved)

soundness287.0ms (12.8%)

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)

end31.0ms (1.4%)

Compiler

Compiled 30 to 21 computations (30% saved)

Profiling

Loading profile data...