Details

Time bar (total: 6.1s)

analyze265.0ms (4.4%)

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)

sample37.0ms (0.6%)

Algorithm
intervals
Results
9.0ms102×body256valid
9.0ms294×pre128true
7.0ms154×body128valid
2.0ms38×body128nan
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify394.0ms (6.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (303.0ms)

IterNodesCost
0183424
1183424

prune6.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 43.3b

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

rewrite36.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:

12.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)
4.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

series267.0ms (4.4%)

Counts
4 → 12
Calls

4 calls:

110.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
64.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
60.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
34.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify88.0ms (1.5%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
048991979
148991979

prune99.0ms (1.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New83386
Fresh000
Picked011
Done000
Total83487

Merged error: 0.2b

Counts
87 → 4
Compiler

Compiled 2044 to 1208 computations (40.9% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

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

series459.0ms (7.6%)

Counts
4 → 12
Calls

4 calls:

204.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
155.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
66.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
33.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify61.0ms (1%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049823037
149823037

prune153.0ms (2.5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1047111
Fresh202
Picked011
Done101
Total1078115

Merged error: 0b

Counts
115 → 8
Compiler

Compiled 3198 to 1973 computations (38.3% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite73.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
242×times-frac_binary64_84
114×*-un-lft-identity_binary64_78
106×add-sqr-sqrt_binary64_100 add-cube-cbrt_binary64_113
61×add-exp-log_binary64_116
47×add-cbrt-cube_binary64_114
37×div-exp_binary64_129
26×div-inv_binary64_75
25×cbrt-undiv_binary64_112
19×associate-/l*_binary64_23
18×associate-/r/_binary64_24
15×associate-*r/_binary64_20
13×associate-/r*_binary64_22
prod-exp_binary64_127
add-log-exp_binary64_117 cbrt-unprod_binary64_111
1-exp_binary64_122 distribute-lft-out_binary64_29 pow1_binary64_139
frac-2neg_binary64_89 clear-num_binary64_77
flip-+_binary64_52 flip3--_binary64_82 diff-log_binary64_170 flip--_binary64_53 cancel-sign-sub-inv_binary64_44 associate-/l/_binary64_25 sub-neg_binary64_71 flip3-+_binary64_81
Counts
4 → 226
Calls

4 calls:

19.0ms
(/.f64 (/.f64 a 1) (/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))))
14.0ms
(/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))
8.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

series550.0ms (9.1%)

Counts
4 → 12
Calls

4 calls:

192.0ms
(/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))
167.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
156.0ms
(/.f64 (/.f64 a 1) (/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))))
35.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify150.0ms (2.5%)

Algorithm
egg-herbie
Counts
238 → 238
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
048948594
148948594

prune307.0ms (5%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2371238
Fresh156
Picked011
Done011
Total2388246

Merged error: 0b

Counts
246 → 8
Compiler

Compiled 7098 to 4103 computations (42.2% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(+.f64 b (sqrt.f64 (-.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 (*.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)))))))

rewrite42.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:

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

series389.0ms (6.4%)

Counts
4 → 12
Calls

4 calls:

188.0ms
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
102.0ms
(/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
61.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
37.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify84.0ms (1.4%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049612612
149612612

prune122.0ms (2%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1061107
Fresh145
Picked011
Done022
Total1078115

Merged error: 0b

Counts
115 → 8
Compiler

Compiled 2744 to 1732 computations (36.9% saved)

regimes360.0ms (5.9%)

Compiler

Compiled 4964 to 3710 computations (25.3% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06324
16324

end0.0ms (0%)

sample2.0s (33.4%)

Algorithm
intervals
Results
289.0ms2975×body256valid
266.0ms8918×pre128true
249.0ms5023×body128valid
42.0ms918×body128nan
0.0msbody512valid
Compiler

Compiled 1277 to 956 computations (25.1% saved)

Profiling

Loading profile data...