Details

Time bar (total: 5.2s)

sample34.0ms

Algorithm
intervals
Results
15.0ms276×body80valid
4.0ms88×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

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.7b

localize116.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (* b b) (* (* 4.0 a) c))
1.4b
(- (* 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
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 66
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series232.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0170540
1665506
22968498
35001488

prune319.0ms

Filtered
78 candidates to 62 candidates (79.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 10.2b

localize121.0ms

Local error

Found 4 expressions with local error:

7.5b
(- (- 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.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))
25.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite25.0ms

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

series357.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
95.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
99.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify56.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04281492
116671341
250021297

prune515.0ms

Filtered
95 candidates to 79 candidates (83.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 10.1b

localize129.0ms

Local error

Found 4 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log expm1-log1p-u flip3-- pow1/3 add-cbrt-cube flip-- log1p-expm1-u add-log-exp
Counts
4 → 60
Calls
4 calls:
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series377.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
93.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
93.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
96.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify73.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0161680
1548636
22229628
35001628

prune511.0ms

Filtered
72 candidates to 68 candidates (94.4%)
Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 10.1b

localize125.0ms

Local error

Found 4 expressions with local error:

7.4b
(+ (- 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.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))
25.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.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:
6.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)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series353.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
96.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
97.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify50.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0391873
11588795
25001765

prune450.0ms

Filtered
84 candidates to 76 candidates (90.5%)
Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 10.1b

regimes236.0ms

Accuracy

92.2% (0.9b remaining)

Error of 8.9b against oracle of 8.0b and baseline of 20.1b

bsearch135.0ms

Steps
ItersRangePoint
5
1.1874868645648804e+84
3.824179182553312e+84
3.665185072601002e+84
8
-3.734333779790662e+128
-2.2987999557012895e+125
-3.6617740146252804e+128

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05260
15260

end0.0ms

sample839.0ms

Algorithm
intervals
Results
454.0ms8725×body80valid
131.0ms2862×body80nan