Details

Time bar (total: 15.7s)

analyze662.0ms (4.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05013192
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
12.5%68.6%18.9%6
18.7%62.4%18.9%7
18.7%59.3%22%8
28.1%39%32.9%9
32.8%34.3%32.9%10
32.8%32%35.3%11
38.2%20.7%41.1%12
41%17.9%41.1%13
41%16.6%42.5%14
Compiler

Compiled 38 to 24 computations (36.8% saved)

sample59.0ms (0.4%)

Algorithm
intervals
Results
41.0ms238×body256valid
2.0ms28×body128nan
1.0ms18×body128valid
Compiler

Compiled 75 to 50 computations (33.3% saved)

simplify222.0ms (1.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (217.0ms)

IterNodesCost
0483448
1483448

prune6.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
34.7b
Counts
2 → 2
Compiler

Compiled 99 to 59 computations (40.4% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

7.8b
(cbrt.f64 (*.f64 (/.f64 1 (*.f64 2 a)) (+.f64 (neg.f64 g) (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))))))
8.2b
(cbrt.f64 (*.f64 (/.f64 1 (*.f64 2 a)) (-.f64 (neg.f64 g) (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))))))
29.7b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
29.7b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))

rewrite273.0ms (1.7%)

Algorithm
rewrite-expression-head
Error
31.4b
Rules
10×cbrt-div_binary64_6589
add-sqr-sqrt_binary64_6579 sqrt-prod_binary64_6573
pow1_binary64_6618 add-cube-cbrt_binary64_6592 *-un-lft-identity_binary64_6557
add-log-exp_binary64_6596 add-exp-log_binary64_6595 add-cbrt-cube_binary64_6593 flip3--_binary64_6561 sqrt-div_binary64_6574 flip--_binary64_6532 frac-times_binary64_6567 associate-*r/_binary64_6499
pow1/2_binary64_6637 sqrt-pow1_binary64_6575 difference-of-squares_binary64_6526 rem-sqrt-square_binary64_6570 pow1/3_binary64_6639 associate-*l/_binary64_6500 cbrt-prod_binary64_6588 flip3-+_binary64_6560 flip-+_binary64_6531
Counts
4 → 60
Calls

4 calls:

17.0ms
(cbrt.f64 (*.f64 (/.f64 1 (*.f64 2 a)) (+.f64 (neg.f64 g) (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))))))
15.0ms
(cbrt.f64 (*.f64 (/.f64 1 (*.f64 2 a)) (-.f64 (neg.f64 g) (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
Compiler

Compiled 2902 to 1013 computations (65.1% saved)

series1.8s (11.6%)

Error
31.3b
Counts
4 → 37
Calls

4 calls:

781.0ms
(cbrt.f64 (*.f64 (/.f64 1 (*.f64 2 a)) (+.f64 (neg.f64 g) (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))))))
761.0ms
(cbrt.f64 (*.f64 (/.f64 1 (*.f64 2 a)) (-.f64 (neg.f64 g) (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))))))
93.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
78.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
Compiler

Compiled 4492 to 3379 computations (24.8% saved)

simplify48.0ms (0.3%)

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
052362299

prune549.0ms (3.5%)

Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New772097
Fresh101
Picked101
Done000
Total792099
Error
30.8b
Counts
99 → 20
Compiler

Compiled 4563 to 2071 computations (54.6% saved)

localize25.0ms (0.2%)

Local error

Found 4 expressions with local error:

4.6b
(-.f64 (*.f64 g g) (*.f64 h h))
8.2b
(cbrt.f64 (*.f64 (/.f64 1 (*.f64 2 a)) (-.f64 (neg.f64 g) (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))))))
29.7b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
29.7b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))

rewrite344.0ms (2.2%)

Algorithm
rewrite-expression-head
Error
30.8b
Rules
add-sqr-sqrt_binary64_6579 sqrt-prod_binary64_6573
pow1_binary64_6618 add-log-exp_binary64_6596 add-cube-cbrt_binary64_6592 *-un-lft-identity_binary64_6557
flip3--_binary64_6561 flip--_binary64_6532 cbrt-div_binary64_6589
add-exp-log_binary64_6595 add-cbrt-cube_binary64_6593 sqrt-div_binary64_6574
difference-of-squares_binary64_6526
pow1/2_binary64_6637 sqrt-pow1_binary64_6575 rem-sqrt-square_binary64_6570 frac-times_binary64_6567 associate-*r/_binary64_6499
pow1/3_binary64_6639 associate-*l/_binary64_6500 cbrt-prod_binary64_6588 diff-log_binary64_6649 sub-neg_binary64_6550 cancel-sign-sub-inv_binary64_6523
Counts
4 → 59
Calls

4 calls:

14.0ms
(cbrt.f64 (*.f64 (/.f64 1 (*.f64 2 a)) (-.f64 (neg.f64 g) (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
4.0ms
(-.f64 (*.f64 g g) (*.f64 h h))
Compiler

Compiled 2610 to 888 computations (66% saved)

series1.3s (8%)

Error
29.7b
Counts
4 → 40
Calls

4 calls:

754.0ms
(cbrt.f64 (*.f64 (/.f64 1 (*.f64 2 a)) (-.f64 (neg.f64 g) (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))))))
162.0ms
(-.f64 (*.f64 g g) (*.f64 h h))
97.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
94.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
Compiler

Compiled 3698 to 2751 computations (25.6% saved)

simplify62.0ms (0.4%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049591751
149591751

prune409.0ms (2.6%)

Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New871299
Fresh11819
Picked101
Done000
Total9920119
Error
29.6b
Counts
119 → 20
Compiler

Compiled 3900 to 1709 computations (56.2% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

4.6b
(-.f64 (*.f64 g g) (*.f64 h h))
4.6b
(-.f64 (*.f64 g g) (*.f64 h h))
29.7b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
29.7b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))

rewrite350.0ms (2.2%)

Algorithm
rewrite-expression-head
Error
29.6b
Rules
add-log-exp_binary64_6596 add-sqr-sqrt_binary64_6579 sqrt-prod_binary64_6573
pow1_binary64_6618 add-cube-cbrt_binary64_6592 *-un-lft-identity_binary64_6557
add-exp-log_binary64_6595 add-cbrt-cube_binary64_6593 flip3--_binary64_6561 sqrt-div_binary64_6574 flip--_binary64_6532 difference-of-squares_binary64_6526
pow1/2_binary64_6637 sqrt-pow1_binary64_6575 rem-sqrt-square_binary64_6570 diff-log_binary64_6649 sub-neg_binary64_6550 cancel-sign-sub-inv_binary64_6523
Counts
4 → 58
Calls

4 calls:

4.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
4.0ms
(-.f64 (*.f64 g g) (*.f64 h h))
4.0ms
(-.f64 (*.f64 g g) (*.f64 h h))
Compiler

Compiled 2378 to 757 computations (68.2% saved)

series607.0ms (3.9%)

Error
29.6b
Counts
4 → 41
Calls

4 calls:

161.0ms
(-.f64 (*.f64 g g) (*.f64 h h))
153.0ms
(-.f64 (*.f64 g g) (*.f64 h h))
96.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
93.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
Compiler

Compiled 2877 to 2097 computations (27.1% saved)

simplify69.0ms (0.4%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049341194
149341194

prune352.0ms (2.2%)

Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New94599
Fresh31619
Picked101
Done000
Total9821119
Error
29.6b
Counts
119 → 21
Compiler

Compiled 3311 to 1439 computations (56.5% saved)

localize25.0ms (0.2%)

Local error

Found 4 expressions with local error:

3.0b
(-.f64 (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))) g)
4.6b
(-.f64 (*.f64 g g) (*.f64 h h))
29.7b
(sqrt.f64 (*.f64 (+.f64 h g) (-.f64 g h)))
29.7b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))

rewrite399.0ms (2.5%)

Algorithm
rewrite-expression-head
Error
29.6b
Rules
11×add-sqr-sqrt_binary64_6579
10×sqrt-div_binary64_6574
pow1_binary64_6618 add-log-exp_binary64_6596 *-un-lft-identity_binary64_6557
add-cube-cbrt_binary64_6592 flip3--_binary64_6561 flip--_binary64_6532 sqrt-prod_binary64_6573
add-exp-log_binary64_6595 add-cbrt-cube_binary64_6593 difference-of-squares_binary64_6526 frac-times_binary64_6567 cancel-sign-sub-inv_binary64_6523
sqrt-pow1_binary64_6575 flip3-+_binary64_6560 flip-+_binary64_6531
pow1/2_binary64_6637 associate-*l/_binary64_6500 associate-*r/_binary64_6499 diff-log_binary64_6649 sub-neg_binary64_6550
rem-sqrt-square_binary64_6570 pow-prod-down_binary64_6628 distribute-lft-out--_binary64_6509
Counts
4 → 65
Calls

4 calls:

8.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))) g)
7.0ms
(sqrt.f64 (*.f64 (+.f64 h g) (-.f64 g h)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
4.0ms
(-.f64 (*.f64 g g) (*.f64 h h))
Compiler

Compiled 2690 to 911 computations (66.1% saved)

series566.0ms (3.6%)

Error
29.5b
Counts
4 → 37
Calls

4 calls:

150.0ms
(-.f64 (*.f64 g g) (*.f64 h h))
108.0ms
(sqrt.f64 (*.f64 (+.f64 h g) (-.f64 g h)))
103.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))) g)
97.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
Compiler

Compiled 2846 to 2056 computations (27.8% saved)

simplify37.0ms (0.2%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
049801486
149801486

prune372.0ms (2.4%)

Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New1002102
Fresh11920
Picked101
Done000
Total10221123
Error
29.5b
Counts
123 → 21
Compiler

Compiled 2880 to 1061 computations (63.2% saved)

regimes4.7s (29.9%)

Accuracy

Total 1.8b remaining (6%)

Threshold costs 0b (0%)

Compiler

Compiled 62700 to 39888 computations (36.4% saved)

bsearch19.0ms (0.1%)

Compiler

Compiled 37 to 23 computations (37.8% saved)

simplify6.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0129330
1129330

end9.0ms (0.1%)

Compiler

Compiled 211 to 93 computations (55.9% saved)

sample2.4s (15.5%)

Algorithm
intervals
Results
1.3s7580×body256valid
100.0ms1205×body128nan
35.0ms420×body128valid
Compiler

Compiled 1103 to 659 computations (40.3% saved)

Profiling

Loading profile data...