Details

Time bar (total: 4.3s)

analyze432.0ms

Algorithm
search
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
18.7%76.5%4.8%7
28.1%66.3%5.6%8
35.1%55%9.9%9
36.3%50.9%12.8%10
42.1%42.4%15.5%11
47.5%33.8%18.7%12
48.8%30.7%20.6%13
51.8%25.6%22.5%14

sample39.0ms

Algorithm
intervals
Results
11.0ms178×body80valid
8.0ms31×body2560valid
4.0ms17×body1280valid
2.0ms15×body640valid
1.0msbody320valid
1.0ms18×body80nan
1.0msbody5120valid
0.0ms10×body80invalid
0.0msbody160valid

simplify614.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
071520
171520

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.3b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
0.2b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
1.0b
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
22.6b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt_binary64
37×*-un-lft-identity_binary64
21×times-frac_binary64
17×add-cube-cbrt_binary64
10×add-log-exp_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64
sqrt-prod_binary64
associate-/l*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64 distribute-rgt-neg-in_binary64
flip3--_binary64 flip--_binary64
associate-/r*_binary64 diff-log_binary64
associate-/l/_binary64 sub-neg_binary64 sqrt-div_binary64
pow1/2_binary64 associate--l-_binary64 neg-sub0_binary64 cbrt-undiv_binary64 sqrt-pow1_binary64 div-sub_binary64 rem-sqrt-square_binary64 clear-num_binary64 neg-log_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64
Counts
4 → 89
Calls
4 calls:
11.0ms
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
4.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
9.0ms
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
6.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series229.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
27.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
55.0ms
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
74.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

simplify102.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
049362470
149362470

prune97.0ms

Filtered
72 candidates to 101 candidates (-40.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New947101
Fresh000
Picked011
Done000
Total948102

Merged error: 6.6b

Counts
102 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))))
0.2b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
1.0b
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
22.6b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
165×times-frac_binary64
130×add-sqr-sqrt_binary64
129×*-un-lft-identity_binary64
77×add-cube-cbrt_binary64
27×associate-/r*_binary64
26×difference-of-squares_binary64 distribute-lft-out--_binary64
16×sqrt-prod_binary64
15×add-exp-log_binary64
13×distribute-rgt-neg-in_binary64
10×add-log-exp_binary64
add-cbrt-cube_binary64 associate-/r/_binary64
flip3--_binary64 div-exp_binary64 flip--_binary64
pow1_binary64
div-inv_binary64
diff-log_binary64 cbrt-undiv_binary64 associate-/l*_binary64
sub-neg_binary64 1-exp_binary64 rec-exp_binary64 sqrt-div_binary64
pow1/2_binary64 associate--l-_binary64 neg-sub0_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 inv-pow_binary64 neg-log_binary64 frac-2neg_binary64 pow-flip_binary64
Counts
4 → 175
Calls
4 calls:
16.0ms
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))))
4.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
9.0ms
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series261.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(/.f64 1 (/.f64 a (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))))
29.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
63.0ms
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
58.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

simplify108.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
051125825

prune106.0ms

Filtered
103 candidates to 187 candidates (-81.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1843187
Fresh336
Picked011
Done011
Total1878195

Merged error: 6.6b

Counts
195 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
1.7b
(+.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
16.2b
(/.f64 (*.f64 a c) a)
22.6b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
10×add-log-exp_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
pow1_binary64
associate-/r*_binary64 times-frac_binary64 sqrt-prod_binary64
flip3--_binary64 distribute-lft-out_binary64 cbrt-undiv_binary64 div-exp_binary64 flip--_binary64 sqrt-div_binary64 sum-log_binary64
flip3-+_binary64 sub-neg_binary64 pow1/2_binary64 diff-log_binary64 cbrt-unprod_binary64 neg-sub0_binary64 associate-+l-_binary64 sqrt-pow1_binary64 distribute-rgt-neg-in_binary64 rem-sqrt-square_binary64 clear-num_binary64 neg-log_binary64 prod-exp_binary64 frac-2neg_binary64 associate-/l*_binary64 div-inv_binary64 +-commutative_binary64 flip-+_binary64
Counts
4 → 62
Calls
4 calls:
4.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
8.0ms
(+.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
4.0ms
(/.f64 (*.f64 a c) a)
4.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series160.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
64.0ms
(+.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
8.0ms
(/.f64 (*.f64 a c) a)
57.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

simplify94.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
04855967
14855967

prune52.0ms

Filtered
57 candidates to 74 candidates (-29.8%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New72274
Fresh145
Picked011
Done112
Total74882

Merged error: 6.6b

Counts
82 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/.f64 c (+.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
0.2b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
1.7b
(+.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
22.6b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity_binary64
16×add-sqr-sqrt_binary64
15×add-cube-cbrt_binary64 times-frac_binary64
10×add-log-exp_binary64 distribute-lft-out_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
associate-/r*_binary64 pow1_binary64 distribute-rgt-neg-in_binary64
associate-/l*_binary64 sqrt-prod_binary64
flip3-+_binary64 flip3--_binary64 associate-/r/_binary64 flip--_binary64 flip-+_binary64 sqrt-div_binary64 sum-log_binary64
sub-neg_binary64 pow1/2_binary64 diff-log_binary64 neg-sub0_binary64 cbrt-undiv_binary64 associate-+l-_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 neg-log_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 +-commutative_binary64
Counts
4 → 78
Calls
4 calls:
10.0ms
(/.f64 c (+.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
4.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
8.0ms
(+.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series317.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(/.f64 c (+.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
26.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
60.0ms
(+.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
53.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

simplify98.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
056931819

prune50.0ms

Filtered
67 candidates to 90 candidates (-34.3%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New89190
Fresh145
Picked011
Done022
Total90898

Merged error: 6.6b

Counts
98 → 8

regimes182.0ms

Accuracy

95% (1.2b remaining)

Error of 6.7b against oracle of 5.5b and baseline of 29.3b

bsearch75.0ms

Steps
ItersRangePoint
9
2.9275797170266654e+65
3.737701949375755e+73
3.365943335282884e+73
1
9.197852207191395e-256
9.704886006586613e-256
9.324610657040199e-256
10
-4.017204298093521e+88
-6.843620271520313e+76
-3.7135256748667976e+88

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
011879
111879

end0.0ms

sample1.1s

Algorithm
intervals
Results
274.0ms1083×body2560valid
232.0ms5099×body80valid
185.0ms898×body1280valid
75.0ms439×body640valid
34.0ms110×body5120valid
33.0ms786×body80nan
30.0ms230×body320valid
12.0ms141×body160valid
10.0ms233×body80invalid

Profiling

Loading profile data...