Details

Time bar (total: 7.0s)

analyze285.0ms (4.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Compiler

Compiled 30 to 24 computations (20% saved)

sample35.0ms (0.5%)

Algorithm
intervals
Results
13.0ms244×body128valid
9.0ms282×pre128true
1.0ms26×body128nan
1.0ms12×body256valid
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify231.0ms (3.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
092724
192724

prune6.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 28.9b

Counts
2 → 1
Compiler

Compiled 65 to 53 computations (18.5% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
0.2b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
0.3b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
28.7b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)

rewrite41.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64_101
14×*-un-lft-identity_binary64_79
add-exp-log_binary64_117 add-cbrt-cube_binary64_115
add-cube-cbrt_binary64_114 add-log-exp_binary64_118
sqrt-prod_binary64_95 times-frac_binary64_85 associate-/l*_binary64_24 difference-of-squares_binary64_48
pow1_binary64_140
flip--_binary64_54 flip3--_binary64_83 cancel-sign-sub-inv_binary64_45
distribute-lft-out--_binary64_31
cbrt-undiv_binary64_113 div-exp_binary64_130 sqrt-div_binary64_96 diff-log_binary64_171 associate-/l/_binary64_26 sub-neg_binary64_72
associate-/r*_binary64_23 div-sub_binary64_84 div-inv_binary64_76 cbrt-unprod_binary64_112 prod-exp_binary64_128 rem-sqrt-square_binary64_92 sqrt-pow1_binary64_97 clear-num_binary64_78 pow1/2_binary64_159 frac-2neg_binary64_90
Counts
4 → 74
Calls

4 calls:

13.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
9.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
7.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
5.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

series542.0ms (7.7%)

Counts
4 → 12
Calls

4 calls:

221.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
141.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
118.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
62.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify71.0ms (1%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050311979

prune216.0ms (3.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New79786
Fresh000
Picked101
Done000
Total80787

Merged error: 0.4b

Counts
87 → 7
Compiler

Compiled 4085 to 2779 computations (32% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
0.2b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
0.3b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.3b
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))

rewrite52.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
45×add-exp-log_binary64_117 add-cbrt-cube_binary64_115
22×times-frac_binary64_85
20×*-un-lft-identity_binary64_79
17×cbrt-undiv_binary64_113 div-exp_binary64_130
13×cbrt-unprod_binary64_112 prod-exp_binary64_128
11×associate-/l*_binary64_24
10×add-cube-cbrt_binary64_114 add-sqr-sqrt_binary64_101
add-log-exp_binary64_118
associate-/r/_binary64_25
associate-/r*_binary64_23 distribute-lft-out_binary64_30
flip-+_binary64_53 div-inv_binary64_76 flip3-+_binary64_82 pow1_binary64_140
clear-num_binary64_78 frac-2neg_binary64_90
sum-log_binary64_170 +-commutative_binary64_9 flip--_binary64_54 diff-log_binary64_171 flip3--_binary64_83 cancel-sign-sub-inv_binary64_45 associate-/l/_binary64_26 sub-neg_binary64_72
Counts
4 → 99
Calls

4 calls:

16.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
13.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
7.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
5.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

series939.0ms (13.4%)

Counts
4 → 12
Calls

4 calls:

399.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
329.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
142.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
69.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify76.0ms (1.1%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049603037
149603037

prune780.0ms (11.1%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10011111
Fresh606
Picked101
Done000
Total10711118

Merged error: 0.0b

Counts
118 → 11
Compiler

Compiled 16414 to 11366 computations (30.8% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))
0.2b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
0.2b
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
0.3b
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

rewrite31.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64_79
15×add-sqr-sqrt_binary64_101
14×add-cube-cbrt_binary64_114
12×times-frac_binary64_85
add-log-exp_binary64_118
add-exp-log_binary64_117 add-cbrt-cube_binary64_115
distribute-lft-out_binary64_30 pow1_binary64_140
associate-/r*_binary64_23
sqrt-prod_binary64_95 associate-/l*_binary64_24
flip-+_binary64_53 flip--_binary64_54 associate-/r/_binary64_25 sqrt-div_binary64_96 flip3--_binary64_83 flip3-+_binary64_82
cbrt-undiv_binary64_113 div-exp_binary64_130 div-inv_binary64_76 sum-log_binary64_170 +-commutative_binary64_9 rem-sqrt-square_binary64_92 sqrt-pow1_binary64_97 diff-log_binary64_171 clear-num_binary64_78 pow1/2_binary64_159 cancel-sign-sub-inv_binary64_45 sub-neg_binary64_72 frac-2neg_binary64_90
Counts
4 → 72
Calls

4 calls:

9.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
7.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
5.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))
5.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))

series653.0ms (9.3%)

Counts
4 → 12
Calls

4 calls:

342.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
120.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
119.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))
72.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify73.0ms (1%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050871969

prune324.0ms (4.6%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New82284
Fresh4610
Picked011
Done000
Total86995

Merged error: 0.0b

Counts
95 → 9
Compiler

Compiled 6611 to 4588 computations (30.6% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
0.2b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
0.2b
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
0.3b
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

rewrite45.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity_binary64_79
24×times-frac_binary64_85
21×add-cube-cbrt_binary64_114 add-sqr-sqrt_binary64_101
18×add-exp-log_binary64_117 add-cbrt-cube_binary64_115 associate-*r*_binary64_19
pow1_binary64_140
add-log-exp_binary64_118 distribute-lft-out_binary64_30
cbrt-unprod_binary64_112 prod-exp_binary64_128
associate-/r*_binary64_23 associate-/r/_binary64_25
cbrt-undiv_binary64_113 div-exp_binary64_130 flip-+_binary64_53 associate-/l*_binary64_24 pow-prod-down_binary64_150 flip3-+_binary64_82
div-inv_binary64_76
associate-*l*_binary64_20 sum-log_binary64_170 +-commutative_binary64_9 flip--_binary64_54 associate-*r/_binary64_21 *-commutative_binary64_10 diff-log_binary64_171 clear-num_binary64_78 flip3--_binary64_83 cancel-sign-sub-inv_binary64_45 sub-neg_binary64_72 frac-2neg_binary64_90
Counts
4 → 95
Calls

4 calls:

15.0ms
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
9.0ms
(/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
7.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
5.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

series831.0ms (11.8%)

Counts
4 → 12
Calls

4 calls:

380.0ms
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
233.0ms
(/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
136.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
82.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify65.0ms (0.9%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049212612
149212612

prune290.0ms (4.1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1052107
Fresh077
Picked101
Done101
Total1079116

Merged error: 0b

Counts
116 → 9
Compiler

Compiled 5937 to 4052 computations (31.8% saved)

regimes80.0ms (1.1%)

Compiler

Compiled 909 to 666 computations (26.7% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06024
16024

end0.0ms (0%)

sample1.3s (18.6%)

Algorithm
intervals
Results
425.0ms7689×body128valid
301.0ms8823×pre128true
42.0ms823×body128nan
32.0ms311×body256valid
Compiler

Compiled 347 to 256 computations (26.2% saved)

Profiling

Loading profile data...