Details

Time bar (total: 3.9s)

analyze383.0ms (9.9%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034848
134848
033
133
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
25%74.9%0.1%6
25%74.9%0.1%7
25%62.4%12.6%8
37.4%43.7%18.9%9
37.4%43.7%18.9%10
49.9%31.2%18.9%11
56.2%20.3%23.5%12
56.2%20.3%23.5%13
61.6%14.8%23.5%14
Symmetry

(sort a b)

Compiler

Compiled 9 to 8 computations (11.1% saved)

sample23.0ms (0.6%)

Algorithm
intervals
Results
7.0ms256×body128valid
0.0ms12×body128invalid
Compiler

Compiled 17 to 18 computations (-5.9% saved)

simplify12.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (7.0ms)

IterNodesCost
014212
114212

prune2.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
16.9b
Counts
2 → 1
Compiler

Compiled 16 to 14 computations (12.5% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

6.4b
(*.f64 (*.f64 (*.f64 a a) b) b)
9.8b
(*.f64 (*.f64 a a) b)

rewrite54.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
4.8b
Rules
16×pow1_binary64_139 add-exp-log_binary64_116 add-cbrt-cube_binary64_114
pow-prod-down_binary64_149 prod-exp_binary64_127 cbrt-unprod_binary64_111
associate-*r*_binary64_18
add-sqr-sqrt_binary64_100
add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
add-log-exp_binary64_117 associate-*l*_binary64_19 *-commutative_binary64_9
unswap-sqr_binary64_46
Counts
2 → 40
Calls

2 calls:

7.0ms
(*.f64 (*.f64 (*.f64 a a) b) b)
6.0ms
(*.f64 (*.f64 a a) b)
Compiler

Compiled 554 to 161 computations (70.9% saved)

series132.0ms (3.4%)

Error
16.8b
Counts
2 → 12
Calls

2 calls:

69.0ms
(*.f64 (*.f64 (*.f64 a a) b) b)
56.0ms
(*.f64 (*.f64 a a) b)
Compiler

Compiled 288 to 273 computations (5.2% saved)

simplify47.0ms (1.2%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
05066461

prune44.0ms (1.1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New44852
Fresh000
Picked011
Done000
Total44953
Error
0.1b
Counts
53 → 9
Compiler

Compiled 595 to 217 computations (63.5% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.3b
(*.f64 (fabs.f64 (*.f64 a b)) (fabs.f64 (*.f64 a b)))

rewrite26.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
pow1_binary64_139
add-sqr-sqrt_binary64_100
add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
add-exp-log_binary64_116 add-cbrt-cube_binary64_114 swap-sqr_binary64_45 associate-*l*_binary64_19 associate-*r*_binary64_18
pow2_binary64_159 pow-prod-down_binary64_149 pow-prod-up_binary64_148 pow-plus_binary64_141 prod-exp_binary64_127 add-log-exp_binary64_117 cbrt-unprod_binary64_111 sqr-abs_binary64_93 pow-sqr_binary64_51 unswap-sqr_binary64_46 *-commutative_binary64_9
Counts
1 → 26
Calls

1 calls:

4.0ms
(*.f64 (fabs.f64 (*.f64 a b)) (fabs.f64 (*.f64 a b)))
Compiler

Compiled 444 to 94 computations (78.8% saved)

series60.0ms (1.5%)

Error
0.1b
Counts
1 → 6
Calls

1 calls:

56.0ms
(*.f64 (fabs.f64 (*.f64 a b)) (fabs.f64 (*.f64 a b)))
Compiler

Compiled 126 to 119 computations (5.6% saved)

simplify73.0ms (1.9%)

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
05054230

prune26.0ms (0.7%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New29332
Fresh167
Picked011
Done011
Total301141
Error
0.1b
Counts
41 → 11
Compiler

Compiled 397 to 200 computations (49.6% saved)

localize13.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.2b
(*.f64 (sqrt.f64 (fabs.f64 (*.f64 a b))) (pow.f64 (fabs.f64 (*.f64 a b)) 3/2))
0.3b
(pow.f64 (fabs.f64 (*.f64 a b)) 3/2)
10.0b
(sqrt.f64 (fabs.f64 (*.f64 a b)))

rewrite80.0ms (2.1%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
21×add-sqr-sqrt_binary64_100
10×add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
add-exp-log_binary64_116 sqrt-prod_binary64_94
unpow-prod-down_binary64_157
associate-*r*_binary64_18
pow1_binary64_139 unswap-sqr_binary64_46 associate-*l*_binary64_19
add-cbrt-cube_binary64_114
sqr-pow_binary64_50
add-log-exp_binary64_117 pow-unpow_binary64_155 prod-exp_binary64_127
pow1/2_binary64_158 sqrt-pow1_binary64_96 pow-to-exp_binary64_147 pow-exp_binary64_146 pow-prod-up_binary64_148
rem-sqrt-square_binary64_91 pow-pow_binary64_150 cbrt-unprod_binary64_111 *-commutative_binary64_9
Counts
3 → 63
Calls

3 calls:

7.0ms
(*.f64 (sqrt.f64 (fabs.f64 (*.f64 a b))) (pow.f64 (fabs.f64 (*.f64 a b)) 3/2))
2.0ms
(pow.f64 (fabs.f64 (*.f64 a b)) 3/2)
1.0ms
(sqrt.f64 (fabs.f64 (*.f64 a b)))
Compiler

Compiled 1332 to 480 computations (64% saved)

series268.0ms (6.9%)

Error
0.1b
Counts
3 → 18
Calls

3 calls:

169.0ms
(pow.f64 (fabs.f64 (*.f64 a b)) 3/2)
46.0ms
(*.f64 (sqrt.f64 (fabs.f64 (*.f64 a b))) (pow.f64 (fabs.f64 (*.f64 a b)) 3/2))
42.0ms
(sqrt.f64 (fabs.f64 (*.f64 a b)))
Compiler

Compiled 612 to 426 computations (30.4% saved)

simplify58.0ms (1.5%)

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
050081085

prune77.0ms (2%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New75681
Fresh448
Picked101
Done022
Total801292
Error
0.0b
Counts
92 → 12
Compiler

Compiled 1435 to 561 computations (60.9% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (sqrt.f64 (fabs.f64 (*.f64 a b))) (*.f64 (fabs.f64 (*.f64 a b)) (sqrt.f64 (fabs.f64 (*.f64 a b)))))
0.3b
(*.f64 (fabs.f64 (*.f64 a b)) (sqrt.f64 (fabs.f64 (*.f64 a b))))
10.0b
(sqrt.f64 (fabs.f64 (*.f64 a b)))
10.0b
(sqrt.f64 (fabs.f64 (*.f64 a b)))

rewrite81.0ms (2.1%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
25×pow1_binary64_139
19×add-sqr-sqrt_binary64_100
13×sqrt-prod_binary64_94
11×add-exp-log_binary64_116 add-cbrt-cube_binary64_114 add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78 pow-prod-up_binary64_148
associate-*l*_binary64_19
pow1/2_binary64_158 sqrt-pow1_binary64_96 associate-*r*_binary64_18
add-log-exp_binary64_117 pow-prod-down_binary64_149 prod-exp_binary64_127 cbrt-unprod_binary64_111
rem-sqrt-square_binary64_91 pow3_binary64_161 unswap-sqr_binary64_46 *-commutative_binary64_9
Counts
4 → 77
Calls

4 calls:

8.0ms
(*.f64 (sqrt.f64 (fabs.f64 (*.f64 a b))) (*.f64 (fabs.f64 (*.f64 a b)) (sqrt.f64 (fabs.f64 (*.f64 a b)))))
5.0ms
(*.f64 (fabs.f64 (*.f64 a b)) (sqrt.f64 (fabs.f64 (*.f64 a b))))
1.0ms
(sqrt.f64 (fabs.f64 (*.f64 a b)))
1.0ms
(sqrt.f64 (fabs.f64 (*.f64 a b)))
Compiler

Compiled 1858 to 318 computations (82.9% saved)

series281.0ms (7.3%)

Error
0.0b
Counts
4 → 24
Calls

4 calls:

131.0ms
(*.f64 (fabs.f64 (*.f64 a b)) (sqrt.f64 (fabs.f64 (*.f64 a b))))
52.0ms
(*.f64 (sqrt.f64 (fabs.f64 (*.f64 a b))) (*.f64 (fabs.f64 (*.f64 a b)) (sqrt.f64 (fabs.f64 (*.f64 a b)))))
44.0ms
(sqrt.f64 (fabs.f64 (*.f64 a b)))
42.0ms
(sqrt.f64 (fabs.f64 (*.f64 a b)))
Compiler

Compiled 990 to 501 computations (49.4% saved)

simplify52.0ms (1.3%)

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049671025
149671025

prune69.0ms (1.8%)

Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1001101
Fresh189
Picked011
Done022
Total10112113
Error
0.0b
Counts
113 → 12
Compiler

Compiled 1695 to 362 computations (78.6% saved)

regimes665.0ms (17.2%)

Accuracy

Total 0.3b remaining (97.1%)

Threshold costs 0.3b (97.1%)

Compiler

Compiled 6325 to 3978 computations (37.1% saved)

bsearch0.0ms (0%)

simplify8.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01611
11611
Remove

(sort a b)

Compiler

Compiled 14 to 16 computations (-14.3% saved)

end0.0ms (0%)

sample1.3s (34.1%)

Algorithm
intervals
Results
220.0ms8000×body128valid
13.0ms510×body128invalid
Compiler

Compiled 1008 to 641 computations (36.4% saved)

Profiling

Loading profile data...