Details

Time bar (total: 5.1s)

sample41.0ms

Algorithm
intervals
Results
8.0ms37×body2560valid
6.0ms179×body80valid
6.0ms35×body1280valid
4.0ms110×body80nan
2.0ms14×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.7b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.4b
(- (* b b) (* (* 3.0 a) c))
1.8b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
139×add-sqr-sqrt
116×*-un-lft-identity
60×times-frac
42×unswap-sqr
36×add-cube-cbrt associate-*l*
30×difference-of-squares
28×distribute-lft-out
24×sqrt-prod
18×associate-*r*
14×distribute-rgt-neg-in
12×associate-/r* *-commutative distribute-lft-out--
10×add-log-exp
add-exp-log add-cbrt-cube
swap-sqr
pow1 associate-/l*
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 cbrt-unprod div-inv
Counts
4 → 178
Calls
4 calls:
43.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
24.0ms
(- (* b b) (* (* 3.0 a) c))
34.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series328.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
47.0ms
(- (* b b) (* (* 3.0 a) c))
85.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
80.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify80.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06122254
124072158
250012141

prune311.0ms

Filtered
190 candidates to 109 candidates (42.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New17911190
Fresh000
Picked011
Done000
Total17912191

Merged error: 5.1b

Counts
191 → 12

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.4b
(- (* b b) (* (* 3.0 a) c))
1.8b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
107×add-sqr-sqrt
40×unswap-sqr
37×*-un-lft-identity
33×associate-*l*
30×difference-of-squares
24×sqrt-prod
12×distribute-lft-out--
10×pow1 add-log-exp
add-exp-log add-cube-cbrt add-cbrt-cube
*-commutative
swap-sqr associate-*r*
pow-prod-down prod-exp cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 diff-log neg-log flip-+
Counts
4 → 115
Calls
4 calls:
8.0ms
(* (* 3.0 a) c)
23.0ms
(- (* b b) (* (* 3.0 a) c))
37.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series238.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (* 3.0 a) c)
53.0ms
(- (* b b) (* (* 3.0 a) c))
88.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
77.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify55.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0399924
11487883
25001869

prune214.0ms

Filtered
127 candidates to 76 candidates (40.2%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1234127
Fresh4610
Picked011
Done011
Total12712139

Merged error: 5.1b

Counts
139 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

1.8b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.8b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))
22.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
98×add-sqr-sqrt
48×sqrt-prod
38×*-un-lft-identity
36×unswap-sqr
30×difference-of-squares
18×associate-*l*
12×distribute-lft-out-- add-log-exp
pow1 add-cube-cbrt swap-sqr *-commutative
add-exp-log sqrt-div sum-log add-cbrt-cube distribute-lft-out
+-commutative neg-sub0 associate-+l- rem-sqrt-square flip3-- distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 neg-log flip-- flip-+
Counts
4 → 102
Calls
4 calls:
35.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
38.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
27.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series327.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
87.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
76.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
76.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify132.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 3 (120.0ms)

IterNodesCost
02841054
19451012
23750996
35001980

prune322.0ms

Filtered
114 candidates to 72 candidates (36.8%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1140114
Fresh099
Picked011
Done022
Total11412126

Merged error: 5.1b

Counts
126 → 12

localize24.0ms

Local error

Found 4 expressions with local error:

1.8b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))
22.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))
22.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
145×add-sqr-sqrt
72×sqrt-prod
54×unswap-sqr
47×*-un-lft-identity
45×difference-of-squares
27×associate-*l*
18×distribute-lft-out--
swap-sqr *-commutative
add-log-exp
pow1 add-cube-cbrt
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- distribute-rgt-neg-in flip3-+ neg-log flip-+
Counts
4 → 123
Calls
4 calls:
37.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
27.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
23.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series317.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
77.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
78.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
75.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify139.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (120.0ms)

IterNodesCost
02841245
19451222
237501210
350011188

prune337.0ms

Filtered
135 candidates to 78 candidates (42.2%)
Pruning

12 alts after pruning (8 fresh and 4 done)

PrunedKeptTotal
New1350135
Fresh088
Picked011
Done033
Total13512147

Merged error: 5.1b

Counts
147 → 12

regimes498.0ms

Accuracy

85.5% (4.2b remaining)

Error of 9.7b against oracle of 5.5b and baseline of 34.4b

bsearch99.0ms

Steps
ItersRangePoint
9
2.9593950748212843e-63
2.4702945119117623e-58
1.9850830413571982e-59
6
-6.52330204454965e+152
-1.537752741313912e+152
-1.8283521702272678e+152

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03416
13416

end0.0ms

sample1.1s

Algorithm
intervals
Results
238.0ms1098×body2560valid
211.0ms5795×body80valid
156.0ms885×body1280valid
95.0ms2780×body80nan
64.0ms465×body640valid
31.0ms116×body5120valid
25.0ms249×body320valid
8.0ms118×body160valid