Details

Time bar (total: 6.5s)

sample33.0ms

Algorithm
intervals
Results
14.0ms277×body80valid
4.0ms82×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03918
18018
214318
317718
418918
519318
619318

prune4.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: 16.1b

Counts
2 → 1

localize127.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.9b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
19.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))
19.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite205.0ms

Algorithm
rewrite-expression-head
Rules
659×add-sqr-sqrt
289×sqrt-prod
270×prod-diff
265×*-un-lft-identity
216×unswap-sqr
182×difference-of-squares
113×add-cube-cbrt
108×associate-*l*
89×distribute-rgt-neg-in
87×distribute-lft-neg-in
74×distribute-lft-out--
36×swap-sqr *-commutative
29×neg-mul-1
12×add-log-exp
10×fma-def fma-neg
pow1
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
flip3-- flip--
neg-sub0 rem-sqrt-square sqrt-pow1 pow1/2 diff-log neg-log sum-log distribute-lft-out
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 403
Calls
4 calls:
34.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
44.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
46.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
43.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series328.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
83.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
77.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
80.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify144.0ms

Algorithm
egg-herbie
Counts
415 → 415
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
073312242
120679625
250019326

prune551.0ms

Filtered
415 candidates to 122 candidates (29.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New4078415
Fresh000
Picked101
Done000
Total4088416

Merged error: 6.4b

Counts
416 → 8

localize133.0ms

Local error

Found 4 expressions with local error:

20.6b
(cbrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(cbrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(cbrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
188×add-sqr-sqrt
96×cbrt-prod
72×unswap-sqr
60×difference-of-squares
56×*-un-lft-identity
36×associate-*l*
24×distribute-lft-out--
12×swap-sqr *-commutative
add-cube-cbrt cbrt-div
pow1 add-exp-log expm1-log1p-u flip3-- pow1/3 add-cbrt-cube flip-- log1p-expm1-u add-log-exp
Counts
4 → 144
Calls
4 calls:
23.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
27.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
23.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
22.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series424.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
104.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
109.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
105.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify80.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
02341592
16471548
223221540
350011540

prune772.0ms

Filtered
156 candidates to 92 candidates (59.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1551156
Fresh077
Picked101
Done000
Total1568164

Merged error: 6.4b

Counts
164 → 8

localize133.0ms

Local error

Found 4 expressions with local error:

20.6b
(cbrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(cbrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(cbrt (- (* b b) (* (* 4.0 a) c)))
30.4b
(+ (- (fabs (cbrt (- (* b b) (* (* 4.0 a) c))))) (fabs (* (sqrt (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c)))))))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
145×add-sqr-sqrt
72×cbrt-prod
54×unswap-sqr
50×*-un-lft-identity
45×difference-of-squares
27×associate-*l*
18×distribute-lft-out--
10×add-cube-cbrt fma-def
swap-sqr *-commutative
add-log-exp
cbrt-div
pow1 add-exp-log expm1-log1p-u distribute-rgt-neg-in add-cbrt-cube log1p-expm1-u
distribute-lft-neg-in flip3-- pow1/3 flip--
sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 flip3-+ neg-log flip-+
Counts
4 → 135
Calls
4 calls:
25.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
22.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
22.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(+ (- (fabs (cbrt (- (* b b) (* (* 4.0 a) c))))) (fabs (* (sqrt (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c)))))))

series307.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
100.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
103.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(+ (- (fabs (cbrt (- (* b b) (* (* 4.0 a) c))))) (fabs (* (sqrt (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c)))))))

simplify116.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
03161720
19361398
233021224
350011224

prune611.0ms

Filtered
147 candidates to 92 candidates (62.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1470147
Fresh077
Picked011
Done000
Total1478155

Merged error: 6.4b

Counts
155 → 8

localize123.0ms

Local error

Found 4 expressions with local error:

19.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))
19.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))
19.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))
19.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
192×add-sqr-sqrt
96×sqrt-prod
72×unswap-sqr
60×difference-of-squares
56×*-un-lft-identity
36×associate-*l*
24×distribute-lft-out--
12×swap-sqr *-commutative
pow1 add-cube-cbrt sqrt-div
add-exp-log expm1-log1p-u rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- log1p-expm1-u add-log-exp
Counts
4 → 152
Calls
4 calls:
45.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
43.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
46.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
46.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series299.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
77.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify83.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
02121500
16301480
222771476
350011444

prune436.0ms

Filtered
164 candidates to 92 candidates (56.1%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1640164
Fresh066
Picked011
Done011
Total1648172

Merged error: 6.4b

Counts
172 → 8

regimes196.0ms

Accuracy

89.7% (1.2b remaining)

Error of 9.0b against oracle of 7.8b and baseline of 19.7b

bsearch199.0ms

Steps
ItersRangePoint
7
8.175350185103435e+71
1.3253879264775672e+74
1.2930490387792999e+74
10
-2.7851241427016145e+159
-9.354797223898085e+144
-1.339770324042421e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06289
16289

end0.0ms

sample840.0ms

Algorithm
intervals
Results
446.0ms8703×body80valid
146.0ms2983×body80nan