Details

Time bar (total: 7.0s)

analyze265.0ms (3.8%)

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)

sample41.0ms (0.6%)

Algorithm
intervals
Results
10.0ms106×body256valid
10.0ms150×body128valid
9.0ms294×pre128true
2.0ms38×body128nan
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify234.0ms (3.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
092724
192724

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 44.0b

Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize14.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.1b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.1b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
40.3b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)

rewrite40.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64_100
14×*-un-lft-identity_binary64_78
add-cbrt-cube_binary64_114 add-exp-log_binary64_116
add-log-exp_binary64_117 add-cube-cbrt_binary64_113
sqrt-prod_binary64_94 times-frac_binary64_84 associate-/l*_binary64_23 difference-of-squares_binary64_47
pow1_binary64_139
flip3--_binary64_82 flip--_binary64_53 cancel-sign-sub-inv_binary64_44
distribute-lft-out--_binary64_30
cbrt-undiv_binary64_112 div-exp_binary64_129 diff-log_binary64_170 sqrt-div_binary64_95 associate-/l/_binary64_25 sub-neg_binary64_71
sqrt-pow1_binary64_96 cbrt-unprod_binary64_111 prod-exp_binary64_127 rem-sqrt-square_binary64_91 frac-2neg_binary64_89 div-inv_binary64_75 associate-/r*_binary64_22 clear-num_binary64_77 div-sub_binary64_83 pow1/2_binary64_158
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)
5.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
5.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

series544.0ms (7.7%)

Counts
4 → 12
Calls

4 calls:

215.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
144.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)))
66.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify73.0ms (1%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
050311979

prune105.0ms (1.5%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New81586
Fresh000
Picked101
Done000
Total82587

Merged error: 0.2b

Counts
87 → 5
Compiler

Compiled 2082 to 1240 computations (40.4% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.1b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
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.3b
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))

rewrite54.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
45×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
22×times-frac_binary64_84
20×*-un-lft-identity_binary64_78
17×cbrt-undiv_binary64_112 div-exp_binary64_129
13×cbrt-unprod_binary64_111 prod-exp_binary64_127
11×associate-/l*_binary64_23
10×add-sqr-sqrt_binary64_100 add-cube-cbrt_binary64_113
add-log-exp_binary64_117
associate-/r/_binary64_24
associate-/r*_binary64_22 distribute-lft-out_binary64_29
flip-+_binary64_52 div-inv_binary64_75 pow1_binary64_139 flip3-+_binary64_81
frac-2neg_binary64_89 clear-num_binary64_77
+-commutative_binary64_8 flip3--_binary64_82 diff-log_binary64_170 flip--_binary64_53 cancel-sign-sub-inv_binary64_44 associate-/l/_binary64_25 sub-neg_binary64_71 sum-log_binary64_169
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))

series929.0ms (13.2%)

Counts
4 → 12
Calls

4 calls:

409.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
313.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
131.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
75.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify75.0ms (1.1%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049603037
149603037

prune154.0ms (2.2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1056111
Fresh314
Picked011
Done000
Total1088116

Merged error: 0b

Counts
116 → 8
Compiler

Compiled 3202 to 1972 computations (38.4% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite48.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity_binary64_78
24×times-frac_binary64_84
21×add-sqr-sqrt_binary64_100 add-cube-cbrt_binary64_113
18×add-cbrt-cube_binary64_114 associate-*r*_binary64_18 add-exp-log_binary64_116
pow1_binary64_139
add-log-exp_binary64_117 distribute-lft-out_binary64_29
cbrt-unprod_binary64_111 prod-exp_binary64_127
associate-/r*_binary64_22 associate-/r/_binary64_24
cbrt-undiv_binary64_112 div-exp_binary64_129 flip-+_binary64_52 associate-/l*_binary64_23 pow-prod-down_binary64_149 flip3-+_binary64_81
div-inv_binary64_75
+-commutative_binary64_8 *-commutative_binary64_9 associate-*l*_binary64_19 flip3--_binary64_82 diff-log_binary64_170 frac-2neg_binary64_89 flip--_binary64_53 associate-*r/_binary64_20 clear-num_binary64_77 cancel-sign-sub-inv_binary64_44 sub-neg_binary64_71 sum-log_binary64_169
Counts
4 → 95
Calls

4 calls:

16.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)))

series768.0ms (10.9%)

Counts
4 → 12
Calls

4 calls:

363.0ms
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
221.0ms
(/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
122.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
62.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify67.0ms (1%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049212612
149212612

prune137.0ms (1.9%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1061107
Fresh156
Picked011
Done011
Total1078115

Merged error: 0b

Counts
115 → 8
Compiler

Compiled 2902 to 1849 computations (36.3% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite50.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
45×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
21×cbrt-unprod_binary64_111 prod-exp_binary64_127
cbrt-undiv_binary64_112 div-exp_binary64_129 *-un-lft-identity_binary64_78 pow1_binary64_139
add-log-exp_binary64_117
add-sqr-sqrt_binary64_100 add-cube-cbrt_binary64_113
associate-*l*_binary64_19 associate-*l/_binary64_21
flip-+_binary64_52 pow-prod-down_binary64_149 flip3-+_binary64_81
associate-/r/_binary64_24 distribute-lft-out_binary64_29
+-commutative_binary64_8 *-commutative_binary64_9 flip3--_binary64_82 diff-log_binary64_170 frac-2neg_binary64_89 times-frac_binary64_84 div-inv_binary64_75 associate-*r*_binary64_18 flip--_binary64_53 associate-/l*_binary64_23 associate-/r*_binary64_22 clear-num_binary64_77 cancel-sign-sub-inv_binary64_44 sub-neg_binary64_71 sum-log_binary64_169
Counts
4 → 78
Calls

4 calls:

16.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (*.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))) (*.f64 a 2)))
12.0ms
(*.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))) (*.f64 a 2))
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)))

series702.0ms (10%)

Counts
4 → 12
Calls

4 calls:

304.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (*.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))) (*.f64 a 2)))
215.0ms
(*.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))) (*.f64 a 2))
117.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
66.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify72.0ms (1%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
051422276

prune101.0ms (1.4%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New90090
Fresh055
Picked011
Done022
Total90898

Merged error: 0b

Counts
98 → 8
Compiler

Compiled 2390 to 1415 computations (40.8% saved)

regimes405.0ms (5.8%)

Compiler

Compiled 5020 to 3802 computations (24.3% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06324
16324

end0.0ms (0%)

sample2.1s (29.8%)

Algorithm
intervals
Results
284.0ms2868×body256valid
262.0ms8948×pre128true
260.0ms5132×body128valid
46.0ms948×body128nan
Compiler

Compiled 1291 to 979 computations (24.2% saved)

Profiling

Loading profile data...