Details

Time bar (total: 3.4s)

sample54.0ms

Algorithm
intervals
Results
24.0ms274×body80valid
9.0ms106×body80nan

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.9b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* b b) (* (* 4.0 a) c))
1.6b
(- (* b b) (* (* 4.0 a) c))
20.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 54
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
3.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series60.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 4.0 a) c))
9.0ms
(- (* b b) (* (* 4.0 a) c))
19.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify80.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0147474
1570446
22550444
35001444

prune181.0ms

Filtered
52 candidates to 66 candidates (-26.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New57966
Fresh000
Picked101
Done000
Total58967

Merged error: 7.2b

Counts
67 → 9

localize27.0ms

Local error

Found 4 expressions with local error:

7.6b
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
20.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
sum-log
+-commutative neg-sub0 associate-+l- flip3-+ neg-log flip-+
Counts
4 → 58
Calls
4 calls:
4.0ms
(+ (neg 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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series62.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify110.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0227680
1870574
23628562
35001558

prune214.0ms

Filtered
59 candidates to 70 candidates (-18.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New68270
Fresh358
Picked011
Done000
Total71879

Merged error: 7.2b

Counts
79 → 8

localize24.0ms

Local error

Found 4 expressions with local error:

13.2b
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
20.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
diff-log
associate--l- neg-sub0 sub-neg neg-log difference-of-squares
Counts
4 → 60
Calls
4 calls:
4.0ms
(- (neg 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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series61.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
16.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify107.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0221722
1829631
23533612
35001592

prune211.0ms

Filtered
60 candidates to 72 candidates (-20.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New70272
Fresh246
Picked011
Done011
Total72880

Merged error: 7.2b

Counts
80 → 8

localize28.0ms

Local error

Found 4 expressions with local error:

9.8b
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
20.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.7b
(cbrt (- (* b b) (* (* 4.0 a) c)))
20.7b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1
add-exp-log cbrt-div flip3-- add-cbrt-cube flip--
sqrt-prod
pow1/3 sqrt-div diff-log
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 neg-log
Counts
4 → 55
Calls
4 calls:
4.0ms
(- (neg 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)))
3.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series103.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
17.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
27.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify41.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0377865
11397791
25001755

prune202.0ms

Filtered
60 candidates to 67 candidates (-11.7%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New67067
Fresh055
Picked011
Done022
Total67875

Merged error: 7.2b

Counts
75 → 8

regimes269.0ms

Accuracy

91.8% (1.0b remaining)

Error of 8.5b against oracle of 7.5b and baseline of 19.4b

bsearch70.0ms

Steps
ItersRangePoint
9
1.4207218227508602e+125
1.7687561556963888e+130
1.1414374362062899e+129
9
-2.0251729512919323e+87
-1.6037081316441784e+78
-5.448348222098726e+86

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04958
14958

end0.0ms

sample1.4s

Algorithm
intervals
Results
758.0ms8702×body80valid
235.0ms2824×body80nan

Profiling

Loading profile data...