Details

Time bar (total: 1.6s)

analyze33.0ms (2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%37.5%12.5%4
62.5%18.7%18.8%5
68.7%9.4%21.9%6
71.8%4.7%23.5%7
73.4%2.3%24.3%8
74.2%1.2%24.6%9
74.6%0.6%24.8%10
74.8%0.3%24.9%11
74.9%0.1%25%12
Compiler

Compiled 7 to 4 computations (42.9% saved)

sample989.0ms (61.1%)

Results
974.0ms8256×body256valid
1.0msbody256invalid

preprocess17.0ms (1.1%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
associate-*l*_binary64
distribute-lft-in_binary64
distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
185
2135
3195
4235
5335
6355
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(+.f64 x (*.f64 x x))
Outputs
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
Compiler

Compiled 7 to 4 computations (42.9% saved)

simplify8.0ms (0.5%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
associate-*l*_binary64
distribute-lft-in_binary64
distribute-rgt-in_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
047
185
2135
3195
4235
5335
6355
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 x (*.f64 x x))
Outputs
(+.f64 x (*.f64 x x))
(fma.f64 x x x)

eval0.0ms (0%)

Compiler

Compiled 10 to 4 computations (60% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0b
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(fma.f64 x x x)
0.0b
(+.f64 x (*.f64 x x))
Compiler

Compiled 11 to 5 computations (54.5% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 x (*.f64 x x))
Compiler

Compiled 10 to 3 computations (70% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite47.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
502×pow1_binary64
488×add-sqr-sqrt_binary64
474×add-log-exp_binary64
473×log1p-expm1-u_binary64
473×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify166.0ms (10.3%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
739×fma-def_binary64
572×cube-prod_binary64
564×fabs-mul_binary64
523×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0572
11154
22254
33954
48954
527354
695254
7212554
8254054
9275554
10299354
11335454
12378854
13429054
14487654
15559954
16644854
17684054
18713254
19741354
20748954
21752554
Stop Event
node limit
Counts
50 → 42
Calls
Call 1
Inputs
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 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)

localize3.0ms (0.2%)

Compiler

Compiled 6 to 2 computations (66.7% saved)

eval8.0ms (0.5%)

Compiler

Compiled 401 to 185 computations (53.9% saved)

prune8.0ms (0.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New39342
Fresh000
Picked101
Done011
Total40444
Error
0b
Counts
44 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
43.6b
(*.f64 x x)
18.3b
x
0.0b
(*.f64 (+.f64 x 1) x)
0.0b
(+.f64 x (*.f64 x x))
Compiler

Compiled 18 to 10 computations (44.4% saved)

localize2.0ms (0.1%)

Compiler

Compiled 5 to 2 computations (60% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 11 to 7 computations (36.4% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite45.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
502×pow1_binary64
487×add-sqr-sqrt_binary64
468×log1p-expm1-u_binary64
468×expm1-log1p-u_binary64
467×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify166.0ms (10.3%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
739×fma-def_binary64
572×cube-prod_binary64
564×fabs-mul_binary64
523×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0572
11154
22254
33954
48954
527354
695254
7212554
8254054
9275554
10299354
11335454
12378854
13429054
14487654
15559954
16644854
17684054
18713254
19741354
20748954
21752554
Stop Event
node limit
Counts
29 → 22
Calls
Call 1
Inputs
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 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)

eval4.0ms (0.2%)

Compiler

Compiled 159 to 75 computations (52.8% saved)

prune4.0ms (0.3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New22022
Fresh011
Picked011
Done022
Total22426
Error
0b
Counts
26 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
43.6b
(*.f64 x x)
18.3b
x
0.0b
(*.f64 (+.f64 x 1) x)
0.0b
(+.f64 x (*.f64 x x))
Compiler

Compiled 18 to 10 computations (44.4% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
43.6b
(*.f64 x x)
18.3b
x
0.0b
(*.f64 (+.f64 x 1) x)
0.0b
(+.f64 x (*.f64 x x))
Compiler

Compiled 18 to 10 computations (44.4% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
43.6b
(*.f64 x x)
18.3b
x
0.0b
(*.f64 (+.f64 x 1) x)
0.0b
(+.f64 x (*.f64 x x))
Compiler

Compiled 18 to 10 computations (44.4% saved)

regimes10.0ms (0.6%)

Counts
5 → 1
Calls
Call 1
Inputs
x
(*.f64 x x)
(*.f64 (+.f64 x 1) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
Outputs
(fma.f64 x x x)
Calls

2 calls:

4.0ms
x
4.0ms
(+.f64 x (*.f64 x x))
Results
ErrorSegmentsBranch
0b1x
0b1(+.f64 x (*.f64 x x))
Compiler

Compiled 27 to 11 computations (59.3% saved)

regimes10.0ms (0.6%)

Counts
4 → 1
Calls
Call 1
Inputs
x
(*.f64 x x)
(*.f64 (+.f64 x 1) x)
(+.f64 x (*.f64 x x))
Outputs
(*.f64 (+.f64 x 1) x)
Calls

2 calls:

5.0ms
x
4.0ms
(+.f64 x (*.f64 x x))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(+.f64 x (*.f64 x x))
Compiler

Compiled 23 to 10 computations (56.5% saved)

regimes9.0ms (0.6%)

Accuracy

Total -59.0b remaining (-4085%)

Threshold costs -59.0b (-4085%)

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

1 calls:

8.0ms
x
Results
ErrorSegmentsBranch
1.4b3x
Compiler

Compiled 7 to 3 computations (57.1% saved)

bsearch31.0ms (1.9%)

Algorithm
binary-search
Steps
TimeLeftRight
17.0ms
0.10266196555053207
896621062290.804
13.0ms
-336.42660365535187
-0.8676585674290122
Compiler

Compiled 10 to 6 computations (40% saved)

simplify4.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01434
11834
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(fma.f64 x x x)
(*.f64 (+.f64 x 1) x)
(if (<=.f64 x -2959239700897977/8796093022208) (*.f64 x x) (if (<=.f64 x 1893779004614651648/18446744073709551616) x (*.f64 x x)))
x
Outputs
(fma.f64 x x x)
(*.f64 (+.f64 x 1) x)
(*.f64 x (+.f64 x 1))
(if (<=.f64 x -2959239700897977/8796093022208) (*.f64 x x) (if (<=.f64 x 1893779004614651648/18446744073709551616) x (*.f64 x x)))
(if (<=.f64 x -2959239700897977/8796093022208) (*.f64 x x) (if (<=.f64 x 7397574236775983/72057594037927936) x (*.f64 x x)))
x
Compiler

Compiled 29 to 15 computations (48.3% saved)

soundness8.0ms (0.5%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
associate-*l*_binary64
distribute-lft-in_binary64
distribute-rgt-in_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
047
185
2135
3195
4235
5335
6355
Stop Event
saturated
Compiler

Compiled 17 to 8 computations (52.9% saved)

end31.0ms (1.9%)

Compiler

Compiled 26 to 12 computations (53.8% saved)

Profiling

Loading profile data...