Details

Time bar (total: 5.7s)

sample48.0ms

Algorithm
intervals
Results
10.0ms39×body2560valid
9.0ms180×body80valid
7.0ms30×body1280valid
5.0ms100×body80nan
2.0ms12×body640valid
1.0msbody5120valid
0.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.1b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.6b
(- (* b b) (* (* 4.0 a) c))
0.9b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.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:
16.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
3.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series302.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
48.0ms
(- (* b b) (* (* 4.0 a) c))
81.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0405780
11563685
25001674

prune229.0ms

Filtered
82 candidates to 63 candidates (76.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New74882
Fresh000
Picked011
Done000
Total74983

Merged error: 5.9b

Counts
83 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.8b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
9.0b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 154
Calls
4 calls:
9.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
18.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
13.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series486.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
152.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
184.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
06512692
131012439
250012426

prune414.0ms

Filtered
166 candidates to 111 candidates (66.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1633166
Fresh167
Picked011
Done101
Total16510175

Merged error: 5.9b

Counts
175 → 10

localize26.0ms

Local error

Found 4 expressions with local error:

13.1b
(cbrt (+ 0 (* 4.0 (* a c))))
13.1b
(cbrt (+ 0 (* 4.0 (* a c))))
13.1b
(cbrt (+ 0 (* 4.0 (* a c))))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-div
pow1
add-exp-log add-cbrt-cube add-log-exp
flip3-+ pow1/3 sqrt-prod flip-+
sqrt-div
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
Counts
4 → 54
Calls
4 calls:
2.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
2.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
2.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series372.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
99.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
105.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify56.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0259531
1990490
25001456

prune286.0ms

Filtered
66 candidates to 61 candidates (92.4%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh088
Picked011
Done011
Total661076

Merged error: 5.9b

Counts
76 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

9.0b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
9.0b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
62×*-un-lft-identity
42×times-frac
30×add-cube-cbrt
16×distribute-lft-out-- difference-of-squares
14×associate-/r* sqrt-prod
add-exp-log distribute-rgt-neg-in add-cbrt-cube
pow1 associate-/l*
flip3-- sqrt-div associate-/r/ flip-- associate-/l/ add-log-exp
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 div-exp clear-num flip-+ div-inv
Counts
4 → 124
Calls
4 calls:
19.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
14.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series694.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
179.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
267.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify83.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
03461982
116751834
250011820

prune452.0ms

Filtered
136 candidates to 98 candidates (72.1%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1360136
Fresh077
Picked011
Done022
Total13610146

Merged error: 5.9b

Counts
146 → 10

regimes290.0ms

Accuracy

87.7% (3.4b remaining)

Error of 8.8b against oracle of 5.4b and baseline of 33.0b

bsearch216.0ms

Steps
ItersRangePoint
8
4.1433580792185867e+68
2.296567048635946e+73
2.425005151022521e+69
9
8.879718769428669e-232
8.562504904991818e-226
9.159933660727599e-231
10
-1.218044689452388e+116
-9.206374310818687e+98
-3.4298668229790213e+115

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05029
15229
25229

end0.0ms

sample1.3s

Algorithm
intervals
Results
283.0ms1019×body2560valid
281.0ms5854×body80valid
214.0ms919×body1280valid
142.0ms2973×body80nan
83.0ms458×body640valid
37.0ms105×body5120valid
31.0ms237×body320valid
9.0ms98×body160valid

Profiling

Loading profile data...