Details

Time bar (total: 6.4s)

analyze653.0ms (10.3%)

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)

sample39.0ms (0.6%)

Algorithm
intervals
Results
9.0ms40×body2048valid
8.0ms159×body128valid
5.0ms28×body1024valid
3.0ms10×body4096valid
1.0ms10×body512valid
1.0ms19×body128nan
1.0msbody256valid
1.0ms14×body128invalid
Compiler

Compiled 35 to 32 computations (8.6% saved)

simplify319.0ms (5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (314.0ms)

IterNodesCost
0183424
1183424

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 33.5b

Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b) (*.f64 a 2))
0.8b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
1.7b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
20.3b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite37.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64_782
14×*-un-lft-identity_binary64_760
add-exp-log_binary64_798 add-cbrt-cube_binary64_796
add-cube-cbrt_binary64_795 add-log-exp_binary64_799
sqrt-prod_binary64_776 difference-of-squares_binary64_729 associate-/l*_binary64_705 times-frac_binary64_766
pow1_binary64_821
cancel-sign-sub-inv_binary64_726 flip--_binary64_735 flip3--_binary64_764
distribute-lft-out--_binary64_712
diff-log_binary64_852 cbrt-undiv_binary64_794 associate-/l/_binary64_707 sqrt-div_binary64_777 div-exp_binary64_811 sub-neg_binary64_753
rem-sqrt-square_binary64_773 frac-2neg_binary64_771 prod-exp_binary64_809 sqrt-pow1_binary64_778 associate-/r*_binary64_704 div-inv_binary64_757 div-sub_binary64_765 cbrt-unprod_binary64_793 pow1/2_binary64_840 clear-num_binary64_759
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
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

series254.0ms (4%)

Counts
4 → 12
Calls

4 calls:

99.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b) (*.f64 a 2))
61.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
58.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
35.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))

simplify105.0ms (1.7%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (84.0ms)

IterNodesCost
048951979
148951979

prune120.0ms (1.9%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New79786
Fresh000
Picked011
Done000
Total79887

Merged error: 4.9b

Counts
87 → 8
Compiler

Compiled 2167 to 1177 computations (45.7% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.9b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
4.5b
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))) (*.f64 a 2))
9.0b
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
20.3b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite48.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
45×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
22×times-frac_binary64_766
21×*-un-lft-identity_binary64_760
17×cbrt-undiv_binary64_794 div-exp_binary64_811
13×prod-exp_binary64_809 cbrt-unprod_binary64_793
12×add-sqr-sqrt_binary64_782
11×add-cube-cbrt_binary64_795 associate-/l*_binary64_705
associate-/r/_binary64_706 add-log-exp_binary64_799
distribute-lft-out_binary64_711 associate-/r*_binary64_704 pow1_binary64_821
flip3-+_binary64_763 div-inv_binary64_757 flip-+_binary64_734
sqrt-prod_binary64_776
frac-2neg_binary64_771 sqrt-div_binary64_777 clear-num_binary64_759
rem-sqrt-square_binary64_773 associate-/l/_binary64_707 sqrt-pow1_binary64_778 +-commutative_binary64_690 sum-log_binary64_851 pow1/2_binary64_840 flip--_binary64_735 flip3--_binary64_764
Counts
4 → 102
Calls

4 calls:

15.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))) (*.f64 a 2))
12.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
6.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

series485.0ms (7.6%)

Counts
4 → 12
Calls

4 calls:

198.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
160.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))) (*.f64 a 2))
64.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
62.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

simplify77.0ms (1.2%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049593121
149593121

prune146.0ms (2.3%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1113114
Fresh156
Picked101
Done011
Total1139122

Merged error: 4.8b

Counts
122 → 9
Compiler

Compiled 3356 to 1902 computations (43.3% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
0.8b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
0.9b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
20.3b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite29.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64_760
15×add-sqr-sqrt_binary64_782
14×add-cube-cbrt_binary64_795
12×times-frac_binary64_766
add-log-exp_binary64_799
add-exp-log_binary64_798 add-cbrt-cube_binary64_796
distribute-lft-out_binary64_711 pow1_binary64_821
associate-/r*_binary64_704
sqrt-prod_binary64_776 associate-/l*_binary64_705
associate-/r/_binary64_706 flip3-+_binary64_763 sqrt-div_binary64_777 flip-+_binary64_734 flip--_binary64_735 flip3--_binary64_764
diff-log_binary64_852 rem-sqrt-square_binary64_773 frac-2neg_binary64_771 cbrt-undiv_binary64_794 cancel-sign-sub-inv_binary64_726 sqrt-pow1_binary64_778 div-inv_binary64_757 +-commutative_binary64_690 sum-log_binary64_851 pow1/2_binary64_840 div-exp_binary64_811 clear-num_binary64_759 sub-neg_binary64_753
Counts
4 → 72
Calls

4 calls:

8.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
6.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

series331.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

173.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
62.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
62.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
34.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))

simplify109.0ms (1.7%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
048961972
148961972

prune103.0ms (1.6%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New82284
Fresh257
Picked011
Done011
Total84993

Merged error: 4.8b

Counts
93 → 9
Compiler

Compiled 2329 to 1331 computations (42.9% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.8b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
8.9b
(+.f64 b (*.f64 (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))
20.3b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
20.3b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite22.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64_799 add-sqr-sqrt_binary64_782
*-un-lft-identity_binary64_760 sqrt-prod_binary64_776 add-cube-cbrt_binary64_795 pow1_binary64_821
add-exp-log_binary64_798 sqrt-div_binary64_777 add-cbrt-cube_binary64_796
flip--_binary64_735 flip3--_binary64_764
rem-sqrt-square_binary64_773 sqrt-pow1_binary64_778 pow1/2_binary64_840
diff-log_binary64_852 flip3-+_binary64_763 cancel-sign-sub-inv_binary64_726 flip-+_binary64_734 +-commutative_binary64_690 sum-log_binary64_851 sub-neg_binary64_753
Counts
4 → 53
Calls

4 calls:

5.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
3.0ms
(+.f64 b (*.f64 (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))

series209.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

65.0ms
(+.f64 b (*.f64 (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))
57.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
56.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
31.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))

simplify85.0ms (1.3%)

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049241280
149241280

prune89.0ms (1.4%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New65065
Fresh066
Picked011
Done022
Total65974

Merged error: 4.8b

Counts
74 → 9
Compiler

Compiled 2275 to 1282 computations (43.6% saved)

regimes784.0ms (12.3%)

Compiler

Compiled 4868 to 3656 computations (24.9% saved)

bsearch78.0ms (1.2%)

Steps
ItersRangePoint
9
3.240667004624162e+54
6.900588731769942e+61
1.3389678122082543e+61
9
-2.8570170725650746e-224
-3.553196571313925e-229
-3.089056825403424e-228
0
-1.0331933023904229e+81
-1.0032634201183365e+81
-1.0182283612543797e+81
Compiler

Compiled 1 to 3 computations (-200% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
010582
110582

end0.0ms (0%)

sample2.2s (34.2%)

Algorithm
intervals
Results
279.0ms1129×body2048valid
269.0ms5209×body128valid
140.0ms747×body1024valid
118.0ms382×body4096valid
50.0ms360×body512valid
32.0ms676×body128nan
19.0ms367×body128invalid
16.0ms173×body256valid
Compiler

Compiled 1309 to 970 computations (25.9% saved)

Profiling

Loading profile data...