Details

Time bar (total: 5.4s)

sample34.0ms

Algorithm
intervals
Results
14.0ms285×body80valid
4.0ms87×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: 18.2b

localize116.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
1.9b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite34.0ms

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

series274.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- (* b b) (* (* 4.0 a) c))
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify136.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0264600
11046558
24657542
35001542

prune363.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 8.2b

localize121.0ms

Local error

Found 4 expressions with local error:

12.2b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
20.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

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

series293.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))))))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify178.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
02831391
19981121
247231013
350011013

prune434.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 8.2b

localize123.0ms

Local error

Found 4 expressions with local error:

6.1b
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
20.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite20.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))))))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series380.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
97.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
118.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify55.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04281493
116671341
250021297

prune491.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 8.2b

localize130.0ms

Local error

Found 4 expressions with local error:

21.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.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)))
3.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)))

series395.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0161680
1548636
22229628
35001628

prune488.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 8.2b

regimes168.0ms

Accuracy

89.9% (1.2b remaining)

Error of 8.8b against oracle of 7.6b and baseline of 19.5b

bsearch193.0ms

Steps
ItersRangePoint
8
2.1878188410446244e+107
3.8616146939177386e+111
7.989761210864844e+108
10
-2.1502820188078274e+175
-2.227381996671495e+165
-2.2572095326645574e+165

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04960
14960

end0.0ms

sample814.0ms

Algorithm
intervals
Results
432.0ms8712×body80valid
137.0ms2998×body80nan