Details

Time bar (total: 1.9s)

analyze5.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0.1%14
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample11.0ms (0.6%)

Algorithm
intervals
Results
6.0ms256×body128valid
Compiler

Compiled 13 to 12 computations (7.7% saved)

simplify168.0ms (9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0119
1119

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.7b

Counts
2 → 1
Compiler

Compiled 12 to 10 computations (16.7% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

30.6b
(sqrt.f64 (*.f64 2 (*.f64 x x)))

rewrite8.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64_135
pow-prod-down_binary64_145 sqrt-pow1_binary64_94
add-exp-log_binary64_112 sqrt-prod_binary64_92 add-cbrt-cube_binary64_110 add-log-exp_binary64_113 add-cube-cbrt_binary64_109 pow1/2_binary64_154 *-un-lft-identity_binary64_77 add-sqr-sqrt_binary64_98
Counts
1 → 12
Calls

1 calls:

6.0ms
(sqrt.f64 (*.f64 2 (*.f64 x x)))

series59.0ms (3.1%)

Counts
1 → 3
Calls

1 calls:

58.0ms
(sqrt.f64 (*.f64 2 (*.f64 x x)))

simplify143.0ms (7.7%)

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 0 (135.0ms)

IterNodesCost
04780120
14780120

prune20.0ms (1.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New11415
Fresh000
Picked011
Done000
Total11516

Merged error: 0.2b

Counts
16 → 5
Compiler

Compiled 177 to 121 computations (31.6% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.4b
(*.f64 (sqrt.f64 2) (fabs.f64 x))

rewrite7.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_98
associate-*l*_binary64_20
sqrt-prod_binary64_92 add-cube-cbrt_binary64_109 *-un-lft-identity_binary64_77
add-exp-log_binary64_112 add-cbrt-cube_binary64_110 pow1_binary64_135 associate-*r*_binary64_19
unswap-sqr_binary64_45
pow-prod-down_binary64_145 add-log-exp_binary64_113 cbrt-unprod_binary64_107 prod-exp_binary64_123 *-commutative_binary64_10
Counts
1 → 22
Calls

1 calls:

6.0ms
(*.f64 (sqrt.f64 2) (fabs.f64 x))

series57.0ms (3.1%)

Counts
1 → 3
Calls

1 calls:

57.0ms
(*.f64 (sqrt.f64 2) (fabs.f64 x))

simplify59.0ms (3.2%)

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
04869270
14869270

prune25.0ms (1.3%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New21425
Fresh303
Picked011
Done011
Total24630

Merged error: 0.0b

Counts
30 → 6
Compiler

Compiled 287 to 206 computations (28.2% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.2b
(*.f64 (fabs.f64 x) (sqrt.f64 (sqrt.f64 2)))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (fabs.f64 x) (sqrt.f64 (sqrt.f64 2))))

rewrite26.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
21×sqrt-prod_binary64_92
15×add-sqr-sqrt_binary64_98
12×associate-*l*_binary64_20
10×associate-*r*_binary64_19
add-exp-log_binary64_112 add-cbrt-cube_binary64_110 pow1_binary64_135 add-cube-cbrt_binary64_109 *-un-lft-identity_binary64_77
pow-prod-down_binary64_145 cbrt-unprod_binary64_107 prod-exp_binary64_123
unswap-sqr_binary64_45
add-log-exp_binary64_113 *-commutative_binary64_10
Counts
2 → 50
Calls

2 calls:

11.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (fabs.f64 x) (sqrt.f64 (sqrt.f64 2))))
10.0ms
(*.f64 (fabs.f64 x) (sqrt.f64 (sqrt.f64 2)))

series107.0ms (5.8%)

Counts
2 → 6
Calls

2 calls:

63.0ms
(*.f64 (fabs.f64 x) (sqrt.f64 (sqrt.f64 2)))
44.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (fabs.f64 x) (sqrt.f64 (sqrt.f64 2))))

simplify60.0ms (3.2%)

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
05154685

prune56.0ms (3%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New54256
Fresh123
Picked011
Done112
Total56662

Merged error: 0.0b

Counts
62 → 6
Compiler

Compiled 784 to 634 computations (19.1% saved)

localize8.0ms (0.4%)

Local error

Found 3 expressions with local error:

0.2b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 x))
0.2b
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 2))) (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 x)) (sqrt.f64 (sqrt.f64 (sqrt.f64 2)))))
0.3b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 x)) (sqrt.f64 (sqrt.f64 (sqrt.f64 2))))

rewrite52.0ms (2.8%)

Algorithm
rewrite-expression-head
Rules
48×sqrt-prod_binary64_92
22×associate-*l*_binary64_20
21×add-sqr-sqrt_binary64_98
19×add-exp-log_binary64_112 add-cbrt-cube_binary64_110 pow1_binary64_135
16×associate-*r*_binary64_19
15×add-cube-cbrt_binary64_109 *-un-lft-identity_binary64_77
10×pow-prod-down_binary64_145 cbrt-unprod_binary64_107 prod-exp_binary64_123
add-log-exp_binary64_113 unswap-sqr_binary64_45 *-commutative_binary64_10
Counts
3 → 83
Calls

3 calls:

22.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 2))) (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 x)) (sqrt.f64 (sqrt.f64 (sqrt.f64 2)))))
14.0ms
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 x)) (sqrt.f64 (sqrt.f64 (sqrt.f64 2))))
7.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 x))

series368.0ms (19.8%)

Counts
3 → 9
Calls

3 calls:

257.0ms
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 x)) (sqrt.f64 (sqrt.f64 (sqrt.f64 2))))
62.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 x))
48.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 2))) (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 x)) (sqrt.f64 (sqrt.f64 (sqrt.f64 2)))))

simplify57.0ms (3%)

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
052261347

prune106.0ms (5.7%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New91192
Fresh123
Picked101
Done022
Total93598

Merged error: 0b

Counts
98 → 5
Compiler

Compiled 1608 to 1385 computations (13.9% saved)

regimes17.0ms (0.9%)

Compiler

Compiled 65 to 62 computations (4.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01523
11523

end0.0ms (0%)

sample425.0ms (22.9%)

Algorithm
intervals
Results
190.0ms8000×body128valid
Compiler

Compiled 84 to 81 computations (3.6% saved)

Profiling

Loading profile data...