Details

Time bar (total: 979.0ms)

analyze4.0ms (0.4%)

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)

sample539.0ms (55.1%)

Results
529.0ms8256×body256valid
0.0msbody256invalid

preprocess14.0ms (1.5%)

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)

simplify6.0ms (0.6%)

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

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
0.0b
(+.f64 x (*.f64 x x))
0b
(fma.f64 x x x)
Compiler

Compiled 11 to 5 computations (54.5% saved)

localize3.0ms (0.3%)

Compiler

Compiled 6 to 2 computations (66.7% saved)

localize6.0ms (0.6%)

Local error

Found 2 expressions with local error:

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

Compiled 10 to 3 computations (70% saved)

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

rewrite34.0ms (3.5%)

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
213815
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 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 expm1.f64 (log1p.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))))))

simplify116.0ms (11.8%)

Algorithm
egg-herbie
Rules
1107×sqr-pow_binary64
739×fma-def_binary64
573×cube-prod_binary64
564×fabs-mul_binary64
536×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0572
11154
22254
33954
48954
526654
692054
7209654
8250354
9271854
10295454
11330354
12373954
13424054
14481954
15554054
16638954
17678354
18707154
19735454
20742854
21746454
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)

eval7.0ms (0.7%)

Compiler

Compiled 401 to 185 computations (53.9% saved)

prune6.0ms (0.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New39342
Fresh000
Picked011
Done101
Total40444
Error
0b
Counts
44 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 x (*.f64 x x))
0.0b
(*.f64 x (+.f64 x 1))
41.2b
(*.f64 x x)
21.4b
x
Compiler

Compiled 18 to 10 computations (44.4% saved)

localize2.0ms (0.2%)

Compiler

Compiled 5 to 2 computations (60% saved)

localize5.0ms (0.6%)

Local error

Found 2 expressions with local error:

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

Compiled 11 to 7 computations (36.4% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite30.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
511×pow1_binary64
496×add-sqr-sqrt_binary64
477×log1p-expm1-u_binary64
477×expm1-log1p-u_binary64
476×add-log-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
057
11055
213235
Stop Event
node limit
Counts
1 → 21
Calls
Call 1
Inputs
(*.f64 x (+.f64 x 1))
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 (*.f64 x x) 1) x)))) (#(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 (pow.f64 (*.f64 x x) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (*.f64 x x) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 x x)) (-.f64 (*.f64 x x) x))))) (#(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 (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 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 expm1.f64 (log1p.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x x)))))

simplify116.0ms (11.8%)

Algorithm
egg-herbie
Rules
1107×sqr-pow_binary64
739×fma-def_binary64
573×cube-prod_binary64
564×fabs-mul_binary64
536×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0572
11154
22254
33954
48954
526654
692054
7209654
8250354
9271854
10295454
11330354
12373954
13424054
14481954
15554054
16638954
17678354
18707154
19735454
20742854
21746454
Stop Event
node limit
Counts
33 → 25
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.4%)

Compiler

Compiled 197 to 88 computations (55.3% saved)

prune4.0ms (0.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New25025
Fresh011
Picked011
Done022
Total25429
Error
0b
Counts
29 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 x (*.f64 x x))
0.0b
(*.f64 x (+.f64 x 1))
41.2b
(*.f64 x x)
21.4b
x
Compiler

Compiled 18 to 10 computations (44.4% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.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
0.0b
(+.f64 x (*.f64 x x))
0.0b
(*.f64 x (+.f64 x 1))
41.2b
(*.f64 x x)
21.4b
x
Compiler

Compiled 18 to 10 computations (44.4% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.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
0.0b
(+.f64 x (*.f64 x x))
0.0b
(*.f64 x (+.f64 x 1))
41.2b
(*.f64 x x)
21.4b
x
Compiler

Compiled 18 to 10 computations (44.4% saved)

regimes9.0ms (0.9%)

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

2 calls:

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

regimes4.0ms (0.4%)

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

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
0.0b1x
Compiler

Compiled 12 to 6 computations (50% saved)

regimes10.0ms (1%)

Accuracy

Total -58.9b remaining (-3123.3%)

Threshold costs -58.9b (-3123.3%)

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

1 calls:

9.0ms
x
Results
ErrorSegmentsBranch
1.9b3x
Compiler

Compiled 7 to 3 computations (57.1% saved)

bsearch25.0ms (2.6%)

Algorithm
binary-search
Steps
TimeLeftRight
13.0ms
0.0029421815227809534
3.226869379285251
12.0ms
-3640.325933075684
-0.0057880256772278186
Compiler

Compiled 10 to 6 computations (40% saved)

simplify2.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01436
11936
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 x (*.f64 x x))
(*.f64 x (+.f64 x 1))
(if (<=.f64 x -8005161384622463/2199023255552) (*.f64 x x) (if (<=.f64 x 3392104348071081/1152921504606846976) x (*.f64 x x)))
x
Outputs
(+.f64 x (*.f64 x x))
(*.f64 x (+.f64 x 1))
(if (<=.f64 x -8005161384622463/2199023255552) (*.f64 x x) (if (<=.f64 x 3392104348071081/1152921504606846976) x (*.f64 x x)))
x

end25.0ms (2.6%)

Stop Event
fuel
Compiler

Compiled 57 to 28 computations (50.9% saved)

Profiling

Loading profile data...