Details

Time bar (total: 5.3s)

sample43.0ms

Algorithm
intervals
Results
19.0ms275×body80valid
5.0ms85×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03618
16718
212318
316018
417518
517718
617718

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

Counts
2 → 1

localize114.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
2.8b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
61×prod-diff
53×add-sqr-sqrt
51×*-un-lft-identity
47×add-cube-cbrt
37×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
neg-mul-1
pow1
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u
diff-log
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 neg-log
Counts
4 → 140
Calls
4 calls:
4.0ms
(- (* b b) (* (* 4.0 a) c))
15.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)))

series266.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (* b b) (* (* 4.0 a) c))
79.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify64.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04062988
114311956
250021869

prune383.0ms

Filtered
152 candidates to 80 candidates (52.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New14210152
Fresh000
Picked101
Done000
Total14310153

Merged error: 7.0b

Counts
153 → 10

localize120.0ms

Local error

Found 4 expressions with local error:

2.8b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.9b
(/ (+ (- b) (- (* 2.0 (/ (* a c) b)) b)) (* 2.0 a))
6.1b
(/ (* a c) b)
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite38.0ms

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

series226.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
59.0ms
(/ (+ (- b) (- (* 2.0 (/ (* a c) b)) b)) (* 2.0 a))
19.0ms
(/ (* a c) b)
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify81.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06503173
126652081
250022000

prune427.0ms

Filtered
173 candidates to 90 candidates (52.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1685173
Fresh459
Picked101
Done000
Total17310183

Merged error: 5.9b

Counts
183 → 10

localize113.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 2.0 c) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
1.0b
(- (* b b) (* (* 4.0 a) c))
2.8b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt prod-diff
60×*-un-lft-identity
48×add-cube-cbrt
36×sqrt-prod
24×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
neg-mul-1 times-frac associate-/r*
distribute-lft-out-- difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/r/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 neg-log prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 156
Calls
4 calls:
11.0ms
(/ (* 2.0 c) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(- (* b b) (* (* 4.0 a) c))
10.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series399.0ms

Counts
4 → 12
Calls
4 calls:
205.0ms
(/ (* 2.0 c) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
47.0ms
(- (* b b) (* (* 4.0 a) c))
77.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify73.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05453278
121142181
250022098

prune387.0ms

Filtered
168 candidates to 88 candidates (52.4%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1626168
Fresh279
Picked101
Done000
Total16513178

Merged error: 5.7b

Counts
178 → 13

localize119.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* 2.0 c) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
1.0b
(- (* b b) (* (* 4.0 a) c))
2.8b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
73×*-un-lft-identity
61×prod-diff
57×add-cube-cbrt
37×sqrt-prod
27×associate-*r*
26×add-exp-log
25×distribute-rgt-neg-in
21×distribute-lft-neg-in times-frac
16×add-cbrt-cube
12×prod-exp
11×fma-neg
10×pow1 add-log-exp
distribute-lft-out-- difference-of-squares
neg-mul-1
cbrt-unprod
expm1-log1p-u flip3-- div-exp flip-- log1p-expm1-u
diff-log pow-prod-down
cbrt-undiv sub-neg rec-exp sqrt-div 1-exp associate-/r/
associate--l- neg-sub0 rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ associate-*l* neg-log un-div-inv *-commutative div-inv
Counts
4 → 177
Calls
4 calls:
16.0ms
(* (* 2.0 c) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(- (* b b) (* (* 4.0 a) c))
10.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series397.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(* (* 2.0 c) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
43.0ms
(- (* b b) (* (* 4.0 a) c))
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify98.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06903492
130032290
250012221

prune381.0ms

Filtered
189 candidates to 93 candidates (49.2%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1890189
Fresh01212
Picked011
Done000
Total18913202

Merged error: 5.7b

Counts
202 → 13

regimes256.0ms

Accuracy

88.3% (1.8b remaining)

Error of 8.0b against oracle of 6.2b and baseline of 21.3b

bsearch163.0ms

Steps
ItersRangePoint
7
4.4312058130773924e+95
1.951780157010812e+97
8.668740171701315e+95
9
-8.211399685419546e+34
-2.0557429965048975e+28
-8.122404781735759e+34

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06056
16056

end0.0ms

sample1.1s

Algorithm
intervals
Results
585.0ms8699×body80valid
197.0ms2958×body80nan