Details

Time bar (total: 12.6s)

analyze679.0ms (5.4%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513296
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
12.5%87.4%0.1%5
18.7%81.1%0.1%6
21.8%71.8%6.4%7
31.2%62.4%6.4%8
35.9%55.4%8.7%9
37.8%48.8%13.4%10
42.7%42.3%15%11
47.7%34.2%18.1%12
49.1%30.4%20.5%13
51.9%25.8%22.3%14
Compiler

Compiled 18 to 15 computations (16.7% saved)

sample45.0ms (0.4%)

Algorithm
intervals
Results
10.0ms41×body2048valid
8.0ms154×body128valid
6.0ms21×body4096valid
5.0ms23×body1024valid
2.0ms13×body512valid
1.0ms16×body128nan
0.0msbody128invalid
0.0msbody256valid
Compiler

Compiled 35 to 32 computations (8.6% saved)

simplify305.0ms (2.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (299.0ms)

IterNodesCost
0183424
1183424

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
35.0b
Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b) (*.f64 a 2))
0.4b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
0.7b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
23.5b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite146.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
34.6b
Rules
21×add-sqr-sqrt_binary64_782
14×*-un-lft-identity_binary64_760
add-exp-log_binary64_798 add-cbrt-cube_binary64_796
add-log-exp_binary64_799 add-cube-cbrt_binary64_795
sqrt-prod_binary64_776 difference-of-squares_binary64_729 times-frac_binary64_766 associate-/l*_binary64_705
pow1_binary64_821
flip3--_binary64_764 flip--_binary64_735 cancel-sign-sub-inv_binary64_726
distribute-lft-out--_binary64_712
sqrt-div_binary64_777 diff-log_binary64_852 sub-neg_binary64_753 div-exp_binary64_811 cbrt-undiv_binary64_794 associate-/l/_binary64_707
pow1/2_binary64_840 sqrt-pow1_binary64_778 rem-sqrt-square_binary64_773 prod-exp_binary64_809 cbrt-unprod_binary64_793 frac-2neg_binary64_771 div-sub_binary64_765 clear-num_binary64_759 div-inv_binary64_757 associate-/r*_binary64_704
Counts
4 → 74
Calls

4 calls:

12.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b) (*.f64 a 2))
8.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
7.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
Compiler

Compiled 2100 to 1088 computations (48.2% saved)

series687.0ms (5.4%)

Error
4.8b
Counts
4 → 66
Calls

4 calls:

194.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b) (*.f64 a 2))
154.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
140.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
137.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
Compiler

Compiled 2966 to 2262 computations (23.7% saved)

simplify68.0ms (0.5%)

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049632873
149632873

prune153.0ms (1.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1319140
Fresh000
Picked101
Done000
Total1329141
Error
4.7b
Counts
141 → 9
Compiler

Compiled 2989 to 1614 computations (46% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 1 (/.f64 a (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b) 2)))
0.4b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
0.7b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
23.5b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite941.0ms (7.4%)

Algorithm
rewrite-expression-head
Error
4.7b
Rules
693×times-frac_binary64_766
439×add-sqr-sqrt_binary64_782
364×*-un-lft-identity_binary64_760
290×add-cube-cbrt_binary64_795
74×difference-of-squares_binary64_729
71×associate-/r*_binary64_704
40×sqrt-prod_binary64_776
37×distribute-lft-out--_binary64_712
25×add-exp-log_binary64_798
17×div-inv_binary64_757
15×div-exp_binary64_811
13×add-cbrt-cube_binary64_796
add-log-exp_binary64_799
pow1_binary64_821 cbrt-undiv_binary64_794
associate-/r/_binary64_706
cancel-sign-sub-inv_binary64_726
flip3--_binary64_764 flip--_binary64_735 1-exp_binary64_804 rec-exp_binary64_810 associate-/l*_binary64_705
sqrt-div_binary64_777 diff-log_binary64_852 sub-neg_binary64_753
pow1/2_binary64_840 sqrt-pow1_binary64_778 rem-sqrt-square_binary64_773 inv-pow_binary64_845 pow-flip_binary64_834 frac-2neg_binary64_771 clear-num_binary64_759
Counts
4 → 356
Calls

4 calls:

28.0ms
(/.f64 1 (/.f64 a (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b) 2)))
8.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
4.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
Compiler

Compiled 14021 to 8305 computations (40.8% saved)

series685.0ms (5.4%)

Error
4.7b
Counts
4 → 66
Calls

4 calls:

190.0ms
(/.f64 1 (/.f64 a (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b) 2)))
156.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
142.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
136.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
Compiler

Compiled 3220 to 2516 computations (21.9% saved)

simplify213.0ms (1.7%)

Algorithm
egg-herbie
Counts
422 → 422
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
0495417180
1495417180

prune845.0ms (6.7%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New4184422
Fresh178
Picked101
Done000
Total42011431
Error
4.7b
Counts
431 → 11
Compiler

Compiled 13770 to 7685 computations (44.2% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b) (/.f64 1/2 a))
0.4b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
0.7b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
23.5b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite136.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
4.7b
Rules
28×add-sqr-sqrt_binary64_782
18×*-un-lft-identity_binary64_760
14×add-cube-cbrt_binary64_795
13×associate-*r*_binary64_700
10×times-frac_binary64_766
add-exp-log_binary64_798 add-cbrt-cube_binary64_796
add-log-exp_binary64_799
pow1_binary64_821
associate-*l*_binary64_701
flip3--_binary64_764 flip--_binary64_735 sqrt-prod_binary64_776
difference-of-squares_binary64_729 cancel-sign-sub-inv_binary64_726
sqrt-div_binary64_777 diff-log_binary64_852 sub-neg_binary64_753 distribute-lft-out--_binary64_712 prod-exp_binary64_809 cbrt-unprod_binary64_793 frac-times_binary64_770 unswap-sqr_binary64_728 associate-*l/_binary64_703
pow1/2_binary64_840 sqrt-pow1_binary64_778 rem-sqrt-square_binary64_773 pow-prod-down_binary64_831 div-exp_binary64_811 cbrt-undiv_binary64_794 associate-*r/_binary64_702 div-inv_binary64_757 *-commutative_binary64_691
Counts
4 → 83
Calls

4 calls:

15.0ms
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b) (/.f64 1/2 a))
8.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
Compiler

Compiled 2366 to 1240 computations (47.6% saved)

series683.0ms (5.4%)

Error
4.7b
Counts
4 → 66
Calls

4 calls:

188.0ms
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b) (/.f64 1/2 a))
165.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
139.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
134.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
Compiler

Compiled 2966 to 2262 computations (23.7% saved)

simplify74.0ms (0.6%)

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049643119
149643119

prune153.0ms (1.2%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1490149
Fresh01010
Picked011
Done000
Total14911160
Error
4.7b
Counts
160 → 11
Compiler

Compiled 3262 to 1773 computations (45.6% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.7b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
0.7b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
23.5b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
23.5b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite132.0ms (1%)

Algorithm
rewrite-expression-head
Error
4.7b
Rules
18×add-sqr-sqrt_binary64_782
12×*-un-lft-identity_binary64_760
add-log-exp_binary64_799 add-cube-cbrt_binary64_795 sqrt-prod_binary64_776
pow1_binary64_821 cancel-sign-sub-inv_binary64_726
add-exp-log_binary64_798 add-cbrt-cube_binary64_796 flip3--_binary64_764 sqrt-div_binary64_777 flip--_binary64_735 difference-of-squares_binary64_729
pow1/2_binary64_840 sqrt-pow1_binary64_778 rem-sqrt-square_binary64_773 diff-log_binary64_852 sub-neg_binary64_753 distribute-lft-out--_binary64_712
Counts
4 → 64
Calls

4 calls:

9.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
8.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
Compiler

Compiled 2732 to 1417 computations (48.1% saved)

series677.0ms (5.4%)

Error
4.7b
Counts
4 → 66
Calls

4 calls:

153.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
148.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
147.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
137.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
Compiler

Compiled 5802 to 3925 computations (32.4% saved)

simplify89.0ms (0.7%)

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049652568
149652568

prune199.0ms (1.6%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1291130
Fresh189
Picked101
Done011
Total13110141
Error
4.7b
Counts
141 → 10
Compiler

Compiled 4596 to 2414 computations (47.5% saved)

regimes2.3s (17.9%)

Accuracy

Total 4.1b remaining (42.7%)

Threshold costs 0b (0%)

Compiler

Compiled 9748 to 7642 computations (21.6% saved)

bsearch68.0ms (0.5%)

Steps
ItersRangePoint
8
1.7634000375737726e-65
2.445940893891466e-62
2.900768719258459e-65
9
-7.712369641323574e+138
-7.544983696131434e+133
-1.8342337024011525e+138
Compiler

Compiled 1 to 3 computations (-200% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09251
19251

end0.0ms (0%)

sample3.3s (26.4%)

Algorithm
intervals
Results
302.0ms1135×body2048valid
288.0ms5268×body128valid
144.0ms714×body1024valid
128.0ms399×body4096valid
47.0ms320×body512valid
32.0ms649×body128nan
21.0ms406×body128invalid
16.0ms164×body256valid
Compiler

Compiled 2521 to 1969 computations (21.9% saved)

Profiling

Loading profile data...