Details

Time bar (total: 5.3s)

sample47.0ms

Algorithm
intervals
Results
23.0ms276×body80valid
7.0ms101×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: 21.6b

Counts
2 → 1

localize111.0ms

Local error

Found 4 expressions with local error:

1.1b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.3b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite36.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))))
11.0ms
(- (- b) (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)))

series284.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
73.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
69.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

prune416.0ms

Filtered
163 candidates to 92 candidates (56.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1558163
Fresh000
Picked101
Done000
Total1568164

Merged error: 8.0b

Counts
164 → 8

localize111.0ms

Local error

Found 4 expressions with local error:

12.8b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
24.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite21.0ms

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

series343.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
93.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify118.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
0249756
1969641
24038626
35001624

prune371.0ms

Filtered
88 candidates to 78 candidates (88.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New87188
Fresh167
Picked011
Done000
Total88896

Merged error: 8.0b

Counts
96 → 8

localize113.0ms

Local error

Found 4 expressions with local error:

6.6b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
24.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite22.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:
6.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series273.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify174.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
02831391
19981121
247231013
350011013

prune375.0ms

Filtered
100 candidates to 82 candidates (82.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1000100
Fresh066
Picked011
Done011
Total1008108

Merged error: 8.0b

Counts
108 → 8

localize115.0ms

Local error

Found 4 expressions with local error:

8.9b
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
24.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.1b
(cbrt (- (* b b) (* (* 4.0 a) c)))
25.1b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×add-cube-cbrt fma-def *-un-lft-identity
add-log-exp
cbrt-prod
pow1
add-exp-log expm1-log1p-u cbrt-div add-cbrt-cube log1p-expm1-u
distribute-lft-neg-in flip3-- distribute-rgt-neg-in sqrt-prod flip--
pow1/3 sqrt-div sum-log
+-commutative neg-sub0 associate-+l- neg-mul-1 rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 72
Calls
4 calls:
5.0ms
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series349.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0391872
11588795
25001765

prune407.0ms

Filtered
84 candidates to 76 candidates (90.5%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New84084
Fresh055
Picked011
Done022
Total84892

Merged error: 8.0b

Counts
92 → 8

regimes181.0ms

Accuracy

91.8% (1.0b remaining)

Error of 9.1b against oracle of 8.1b and baseline of 20.4b

bsearch183.0ms

Steps
ItersRangePoint
6
6.333441064762502e+69
2.6854631551896503e+70
2.6171947504708796e+70
11
-4.6778596556519216e+169
-3.105074477202361e+149
-1.7929580539303616e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04858
14858

end0.0ms

sample1.1s

Algorithm
intervals
Results
643.0ms8706×body80valid
205.0ms2921×body80nan