Details

Time bar (total: 11.5s)

analyze532.0ms (4.6%)

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)

sample73.0ms (0.6%)

Algorithm
intervals
Results
20.0ms281×pre128true
17.0ms176×body128valid
15.0ms80×body256valid
2.0ms25×body128nan
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify431.0ms (3.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (118.0ms)

IterNodesCost
092724
192724

prune8.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 41.6b

Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize27.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 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))
36.7b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)

rewrite75.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64_98
13×*-un-lft-identity_binary64_77
add-exp-log_binary64_112 add-cbrt-cube_binary64_110
add-log-exp_binary64_113
add-cube-cbrt_binary64_109
sqrt-prod_binary64_92 times-frac_binary64_83 associate-/l*_binary64_24 difference-of-squares_binary64_46
pow1_binary64_135
flip--_binary64_52 flip3--_binary64_81
distribute-lft-out--_binary64_31
cbrt-undiv_binary64_108 sqrt-div_binary64_93 sub-neg_binary64_70 div-exp_binary64_125 diff-log_binary64_166 associate-/l/_binary64_26
associate-/r*_binary64_23 rem-sqrt-square_binary64_90 sqrt-pow1_binary64_94 cbrt-unprod_binary64_107 div-sub_binary64_82 prod-exp_binary64_123 pow1/2_binary64_154 clear-num_binary64_76 frac-2neg_binary64_88 div-inv_binary64_74
Counts
4 → 70
Calls

4 calls:

26.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
18.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
9.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
9.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

series1.0s (9.1%)

Counts
4 → 12
Calls

4 calls:

424.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
261.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
233.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
127.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify180.0ms (1.6%)

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (139.0ms)

IterNodesCost
048841963
148841963

prune186.0ms (1.6%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New78482
Fresh000
Picked101
Done000
Total79483

Merged error: 0.2b

Counts
83 → 4
Compiler

Compiled 1993 to 1186 computations (40.5% saved)

localize33.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite104.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
45×add-exp-log_binary64_112 add-cbrt-cube_binary64_110
22×times-frac_binary64_83
20×*-un-lft-identity_binary64_77
17×cbrt-undiv_binary64_108 div-exp_binary64_125
13×cbrt-unprod_binary64_107 prod-exp_binary64_123
11×associate-/l*_binary64_24
10×add-cube-cbrt_binary64_109 add-sqr-sqrt_binary64_98
add-log-exp_binary64_113
associate-/r/_binary64_25
associate-/r*_binary64_23 distribute-lft-out_binary64_30
flip-+_binary64_51 flip3-+_binary64_80 pow1_binary64_135 div-inv_binary64_74
clear-num_binary64_76 frac-2neg_binary64_88
sub-neg_binary64_70 flip--_binary64_52 +-commutative_binary64_9 flip3--_binary64_81 diff-log_binary64_166 associate-/l/_binary64_26 sum-log_binary64_165
Counts
4 → 98
Calls

4 calls:

32.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
25.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
13.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
9.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

series1.7s (14.6%)

Counts
4 → 12
Calls

4 calls:

724.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
571.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
252.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
134.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify134.0ms (1.2%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
049233030
149233030

prune305.0ms (2.7%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1028110
Fresh303
Picked101
Done000
Total1068114

Merged error: 0.0b

Counts
114 → 8
Compiler

Compiled 3264 to 2016 computations (38.2% saved)

localize25.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.1b
(/.f64 c (+.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.2b
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

rewrite62.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64_77
15×add-sqr-sqrt_binary64_98
14×add-cube-cbrt_binary64_109
12×times-frac_binary64_83
add-log-exp_binary64_113
add-exp-log_binary64_112 add-cbrt-cube_binary64_110
pow1_binary64_135 distribute-lft-out_binary64_30
associate-/r*_binary64_23
sqrt-prod_binary64_92 associate-/l*_binary64_24
flip-+_binary64_51 sqrt-div_binary64_93 flip3-+_binary64_80 flip--_binary64_52 associate-/r/_binary64_25 flip3--_binary64_81
rem-sqrt-square_binary64_90 sqrt-pow1_binary64_94 cbrt-undiv_binary64_108 sub-neg_binary64_70 +-commutative_binary64_9 div-exp_binary64_125 pow1/2_binary64_154 clear-num_binary64_76 diff-log_binary64_166 frac-2neg_binary64_88 sum-log_binary64_165 div-inv_binary64_74
Counts
4 → 71
Calls

4 calls:

17.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
13.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
9.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))
9.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

series1.2s (10.5%)

Counts
4 → 12
Calls

4 calls:

633.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
231.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
223.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))
122.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify153.0ms (1.3%)

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 0 (113.0ms)

IterNodesCost
049141962
149141962

prune207.0ms (1.8%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New80383
Fresh347
Picked101
Done000
Total84791

Merged error: 0b

Counts
91 → 7
Compiler

Compiled 2349 to 1463 computations (37.7% saved)

localize30.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite138.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
230×times-frac_binary64_83
99×*-un-lft-identity_binary64_77
97×add-cube-cbrt_binary64_109 add-sqr-sqrt_binary64_98
59×add-exp-log_binary64_112
45×add-cbrt-cube_binary64_110
36×div-exp_binary64_125
25×div-inv_binary64_74
24×cbrt-undiv_binary64_108
16×associate-/l*_binary64_24 associate-/r/_binary64_25
15×associate-*r/_binary64_21
associate-/r*_binary64_23
add-log-exp_binary64_113 prod-exp_binary64_123
cbrt-unprod_binary64_107
1-exp_binary64_118 pow1_binary64_135
clear-num_binary64_76 frac-2neg_binary64_88
flip-+_binary64_51 flip3-+_binary64_80 sub-neg_binary64_70 flip--_binary64_52 +-commutative_binary64_9 flip3--_binary64_81 diff-log_binary64_166 associate-/l/_binary64_26 distribute-lft-out_binary64_30 sum-log_binary64_165
Counts
4 → 204
Calls

4 calls:

39.0ms
(/.f64 (/.f64 a 1) (/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))))
23.0ms
(/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))
12.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
8.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

series1.6s (13.8%)

Counts
4 → 12
Calls

4 calls:

669.0ms
(/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))
563.0ms
(/.f64 (/.f64 a 1) (/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))))
234.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
115.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify215.0ms (1.9%)

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
049007891
149007891

prune511.0ms (4.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2151216
Fresh156
Picked011
Done000
Total2167223

Merged error: 0b

Counts
223 → 7
Compiler

Compiled 6215 to 3566 computations (42.6% saved)

regimes126.0ms (1.1%)

Compiler

Compiled 699 to 507 computations (27.5% saved)

bsearch0.0ms (0%)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
06024
16024

end0.0ms (0%)

sample2.4s (21%)

Algorithm
intervals
Results
526.0ms2862×body256valid
501.0ms8826×pre128true
496.0ms5137×body128valid
73.0ms826×body128nan
0.0msbody512valid
Compiler

Compiled 277 to 203 computations (26.7% saved)

Profiling

Loading profile data...