Details

Time bar (total: 5.3s)

sample47.0ms

Algorithm
intervals
Results
23.0ms275×body80valid
6.0ms98×body80nan

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03918
18018
214318
317718
418918
519318
619318

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: 16.5b

Counts
2 → 1

localize118.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.1b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
18.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
18.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
58×*-un-lft-identity
56×add-sqr-sqrt
50×add-cube-cbrt
37×sqrt-prod
26×distribute-rgt-neg-in
24×distribute-lft-neg-in
12×add-log-exp
10×fma-def fma-neg
neg-mul-1
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 distribute-lft-out-- difference-of-squares
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 151
Calls
4 calls:
9.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
17.0ms
(- (- 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)))

series308.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
81.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
76.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify65.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04183056
114712008
250011917

prune421.0ms

Filtered
163 candidates to 92 candidates (56.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1567163
Fresh000
Picked101
Done000
Total1577164

Merged error: 5.5b

Counts
164 → 7

localize120.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* (* 4.0 a) c))
0.5b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
18.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
18.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
11×add-sqr-sqrt
10×fma-def add-log-exp
add-cube-cbrt
pow1 sqrt-prod
add-exp-log expm1-log1p-u distribute-rgt-neg-in sqrt-div add-cbrt-cube log1p-expm1-u
distribute-lft-neg-in flip3-- flip--
rem-sqrt-square sqrt-pow1 pow1/2 sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg flip3-+ fma-neg diff-log prod-diff neg-log flip-+
Counts
4 → 77
Calls
4 calls:
9.0ms
(- (* b b) (* (* 4.0 a) c))
9.0ms
(+ (- 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)))

series272.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(- (* b b) (* (* 4.0 a) c))
82.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify137.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0264600
11046558
24657542
35001542

prune381.0ms

Filtered
89 candidates to 76 candidates (85.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New89089
Fresh066
Picked011
Done000
Total89796

Merged error: 5.5b

Counts
96 → 7

localize122.0ms

Local error

Found 4 expressions with local error:

13.3b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
18.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
18.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
18.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
10×fma-neg prod-diff
sqrt-prod
add-log-exp
pow1
distribute-lft-neg-in distribute-rgt-neg-in sqrt-div
add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
rem-sqrt-square sqrt-pow1 pow1/2
neg-mul-1 diff-log
associate--l- neg-sub0 sub-neg neg-log difference-of-squares
Counts
4 → 88
Calls
4 calls:
5.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series299.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (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)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify179.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
02831391
19981121
247231013
350011013

prune385.0ms

Filtered
100 candidates to 82 candidates (82.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New991100
Fresh145
Picked011
Done011
Total1007107

Merged error: 5.5b

Counts
107 → 7

localize123.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.1b
(/ (* a c) b)
4.2b
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
18.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
55×add-sqr-sqrt
54×*-un-lft-identity
50×add-cube-cbrt
34×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
14×add-exp-log add-cbrt-cube
10×fma-neg
add-log-exp
neg-mul-1
times-frac associate-/r*
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
flip3-- flip--
frac-2neg sqrt-div diff-log prod-exp clear-num associate-/r/ cbrt-unprod div-inv associate-/l* distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 neg-log
Counts
4 → 155
Calls
4 calls:
17.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0ms
(/ (* a c) b)
9.0ms
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series248.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.0ms
(/ (* a c) b)
69.0ms
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
77.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify89.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06203085
126922005
250011927

prune384.0ms

Filtered
167 candidates to 88 candidates (52.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1661167
Fresh044
Picked101
Done022
Total1677174

Merged error: 4.5b

Counts
174 → 7

regimes166.0ms

Accuracy

94.7% (0.7b remaining)

Error of 7.5b against oracle of 6.9b and baseline of 19.8b

bsearch185.0ms

Steps
ItersRangePoint
9
1.537663903506608e+146
1.524085477896404e+154
1.5636109501278876e+146
8
-4.527537692438875e+157
-6.635354719968133e+153
-1.3036357107857034e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05858
15858

end0.0ms

sample1.1s

Algorithm
intervals
Results
595.0ms8724×body80valid
191.0ms2937×body80nan