Details

Time bar (total: 5.7s)

sample52.0ms

Algorithm
intervals
Results
12.0ms39×body2560valid
10.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

localize15.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)))

rewrite28.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))
3.0ms
(- (* b b) (* (* 4.0 a) c))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series309.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
45.0ms
(- (* b b) (* (* 4.0 a) c))
81.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
76.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify50.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0405779
11563685
25001674

prune204.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)))

rewrite49.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:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
19.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)))

series474.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
144.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
180.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
06512692
131012439
250012426

prune390.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

localize21.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)))

rewrite11.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)))

series373.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
104.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
99.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify56.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0259531
1990490
25001456

prune278.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

localize20.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)))

rewrite36.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:
12.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series499.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
03461978
116751834
250011820

prune453.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

regimes289.0ms

Accuracy

87.7% (3.4b remaining)

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

bsearch228.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.7s

Algorithm
intervals
Results
507.0ms1019×body2560valid
315.0ms5854×body80valid
236.0ms919×body1280valid
152.0ms2973×body80nan
92.0ms458×body640valid
40.0ms105×body5120valid
38.0ms237×body320valid
10.0ms98×body160valid

Profiling

Loading profile data...