Details

Time bar (total: 4.9s)

sample35.0ms

Algorithm
intervals
Results
14.0ms284×body80valid
5.0ms94×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.2b

localize115.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
1.0b
(- (* b b) (* (* 4.0 a) c))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite15.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))
3.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series234.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0170540
1665506
22968498
35001488

prune308.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 9.4b

localize118.0ms

Local error

Found 4 expressions with local error:

12.6b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.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:
8.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)))

series286.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
66.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify180.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
02831391
19981121
247231013
350011013

prune433.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 9.4b

localize116.0ms

Local error

Found 4 expressions with local error:

6.0b
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.1b
(cbrt (- (* b b) (* (* 4.0 a) c)))
24.1b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite22.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:
11.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)))

series342.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0391872
11588795
25001765

prune454.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 9.4b

localize120.0ms

Local error

Found 4 expressions with local error:

23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log expm1-log1p-u rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- log1p-expm1-u add-log-exp
Counts
4 → 68
Calls
4 calls:
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)))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series279.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0139592
1510568
22129564
35001556

prune362.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 9.4b

regimes180.0ms

Accuracy

90.1% (1.3b remaining)

Error of 8.8b against oracle of 7.5b and baseline of 20.3b

bsearch168.0ms

Steps
ItersRangePoint
8
9.456042252142157e+48
5.633410846004884e+51
5.5792500737545097e+51
8
-8.652530131639494e+154
-4.1384699730603854e+150
-1.2327221365590868e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05559
15559

end0.0ms

sample829.0ms

Algorithm
intervals
Results
437.0ms8747×body80valid
136.0ms2875×body80nan