Details

Time bar (total: 5.3s)

sample47.0ms

Algorithm
intervals
Results
10.0ms39×body2560valid
9.0ms180×body80valid
6.0ms30×body1280valid
4.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

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

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

series293.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
43.0ms
(- (* b b) (* (* 4.0 a) c))
77.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify50.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0405779
11563685
25001674

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

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

series480.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
151.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
185.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify115.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
06512692
131012439
250012426

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

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

series347.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
92.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
95.0ms
(cbrt (+ 0 (* 4.0 (* a c))))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify54.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0259531
1990490
25001456

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

rewrite38.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:
13.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)))

series500.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)))))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify81.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
03461978
116751834
250011820

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

bsearch218.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
289.0ms5854×body80valid
283.0ms1019×body2560valid
206.0ms919×body1280valid
138.0ms2973×body80nan
85.0ms458×body640valid
39.0ms105×body5120valid
34.0ms237×body320valid
9.0ms98×body160valid

Profiling

Loading profile data...