Details

Time bar (total: 11.9s)

sample4.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.402832%

Guaranteed chance to sample good point: 74.774996%

Results
11.0ms37×body2560valid
8.0ms156×body80valid
8.0ms35×body1280valid
3.0ms17×body640valid
1.0msbody5120valid
1.0ms14×body80nan
1.0msbody320valid
1.0ms12×body80invalid
0.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.1b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
1.0b
(- (* b b) (* 4.0 (* a c)))
1.0b
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
24.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/l*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
12.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
6.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series62.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
8.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify48.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0394773
11501683
25002673

prune154.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New74882
Fresh000
Picked011
Done000
Total74983

Merged error: 6.4b

Counts
83 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* 4.0 (* a c)))
4.0b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
11.1b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
24.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 148
Calls
4 calls:
3.0ms
(- (* b b) (* 4.0 (* a c)))
16.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
12.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series125.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(- (* b b) (* 4.0 (* a c)))
42.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
59.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify100.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
06262582
129852341
250012328

prune275.0ms

Filtered
106 candidates to 160 candidates (-50.9%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1573160
Fresh257
Picked011
Done011
Total15910169

Merged error: 6.3b

Counts
169 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

7.9b
(- (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
10.8b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c))))))))
24.9b
(cbrt (- (* b b) (* 4.0 (* a c))))
24.9b
(cbrt (- (* b b) (* 4.0 (* a c))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-log-exp
add-exp-log cbrt-prod add-cbrt-cube
pow1 cbrt-div flip3-- flip--
associate-/r* associate-/l*
pow1/3 diff-log associate-/r/ associate-/l/
cbrt-undiv associate--l- neg-sub0 sub-neg frac-2neg flip3-+ div-exp neg-log clear-num flip-+ div-inv
Counts
4 → 71
Calls
4 calls:
4.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
7.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c))))))))
4.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))

series276.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
194.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c))))))))
26.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
24.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))

simplify91.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
06651807
129841638
250011625

prune293.0ms

Filtered
77 candidates to 83 candidates (-7.8%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New83083
Fresh077
Picked011
Done022
Total831093

Merged error: 6.3b

Counts
93 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.0b
(- (* b b) (* 4.0 (* a c)))
18.0b
(/ (* 4.0 (* a c)) (* a (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
24.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log add-cbrt-cube
10×add-sqr-sqrt add-log-exp
*-un-lft-identity prod-exp cbrt-unprod
cbrt-undiv div-exp
pow1 add-cube-cbrt
flip3-- sqrt-prod flip--
diff-log
sub-neg sqrt-div associate-*r/ associate-/r/ distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 rem-sqrt-square distribute-rgt-neg-in frac-2neg sqrt-pow1 times-frac pow1/2 neg-log clear-num associate-/r* div-inv associate-/l*
Counts
4 → 72
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(/ (* 4.0 (* a c)) (* a (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series82.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
8.0ms
(- (* b b) (* 4.0 (* a c)))
45.0ms
(/ (* 4.0 (* a c)) (* a (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify65.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0470942
12684750
25002742

prune106.0ms

Filtered
58 candidates to 84 candidates (-44.8%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New83184
Fresh246
Picked011
Done123
Total86894

Merged error: 6.3b

Counts
94 → 8

regimes349.0ms

Accuracy

93.5% (1.6b remaining)

Error of 7.2b against oracle of 5.7b and baseline of 29.7b

bsearch159.0ms

Steps
ItersRangePoint
7
850397597643135.8
2.0562449637825846e+17
2.011680736595535e+17
10
-2.973470857770798e-211
-3.182603443154487e-221
-3.2184009596459657e-221
8
-2.0262981865872775e+105
-1.6132765285057123e+101
-1.0833883752928771e+105

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04727
14927
24927

end0.0ms

sample5.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.402832%

Guaranteed chance to sample good point: 74.774996%

Results
304.0ms1022×body2560valid
278.0ms5142×body80valid
218.0ms893×body1280valid
90.0ms456×body640valid
41.0ms116×body5120valid
35.0ms245×body320valid
19.0ms346×body80nan
16.0ms304×body80invalid
12.0ms126×body160valid

Profiling

Loading profile data...