Details

Time bar (total: 5.6s)

sample34.0ms

Algorithm
intervals
Results
15.0ms280×body80valid
3.0ms71×body80nan

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03918
18018
214318
317718
418918
519318
619318

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.3b

localize125.0ms

Local error

Found 4 expressions with local error:

0.7b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite42.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:
12.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
16.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)))

series323.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
80.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
87.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify63.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04183056
114712008
250011917

prune477.0ms

Filtered
163 candidates to 92 candidates (56.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 6.5b

localize129.0ms

Local error

Found 4 expressions with local error:

9.4b
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
21.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.9b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.9b
(cbrt (- (* b b) (* (* 4.0 a) c)))

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

series372.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
101.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
102.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify55.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04281492
116671341
250021297

prune522.0ms

Filtered
95 candidates to 79 candidates (83.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 6.5b

localize125.0ms

Local error

Found 4 expressions with local error:

21.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.9b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.9b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.9b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.0ms

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

series380.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
103.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
101.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
102.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify83.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0215658
1688619
22689612
35001611

prune468.0ms

Filtered
74 candidates to 68 candidates (91.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 6.5b

localize131.0ms

Local error

Found 4 expressions with local error:

21.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.9b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.9b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite21.0ms

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

series337.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
97.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
99.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify83.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0215634
1688602
22689596
35001594

prune484.0ms

Filtered
76 candidates to 68 candidates (89.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 6.5b

regimes181.0ms

Accuracy

90.5% (1.2b remaining)

Error of 8.9b against oracle of 7.7b and baseline of 20.0b

bsearch153.0ms

Steps
ItersRangePoint
6
4.659640959833754e+64
2.871891476161473e+65
2.829212443283286e+65
8
-1.1664930480732778e+149
-2.7297884016220438e+146
-1.1489632580905618e+149

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05567
15567

end0.0ms

sample1.0s

Algorithm
intervals
Results
458.0ms8749×body80valid
288.0ms2965×body80nan