Details

Time bar (total: 4.8s)

sample83.0ms

Algorithm
intervals
Results
16.0ms33×body2560valid
14.0ms181×body80valid
14.0ms27×body1280valid
8.0ms101×body80nan
6.0ms22×body640valid
3.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.6b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.4b
(- (* b b) (* (* 3.0 a) c))
1.1b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×pow1 add-sqr-sqrt fma-def add-log-exp
add-exp-log add-cube-cbrt add-cbrt-cube
expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u
distribute-lft-neg-in associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*l* prod-diff neg-log *-commutative flip-+
Counts
4 → 80
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
4.0ms
(- (* b b) (* (* 3.0 a) c))
9.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
5.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series220.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (* 3.0 a) c)
45.0ms
(- (* b b) (* (* 3.0 a) c))
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
73.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0337530
11440479
25002467

prune238.0ms

Filtered
92 candidates to 71 candidates (77.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New801292
Fresh000
Picked101
Done000
Total811293

Merged error: 14.2b

Counts
93 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

14.7b
(cbrt (* (* 3.0 a) c))
14.7b
(cbrt (* (* 3.0 a) c))
14.7b
(cbrt (* (* 3.0 a) c))
24.4b
(sqrt (- (* b b) (* (* (cbrt (* (* 3.0 a) c)) (cbrt (* (* 3.0 a) c))) (cbrt (* (* 3.0 a) c)))))

rewrite16.0ms

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

series453.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(cbrt (* (* 3.0 a) c))
110.0ms
(cbrt (* (* 3.0 a) c))
97.0ms
(cbrt (* (* 3.0 a) c))
124.0ms
(sqrt (- (* b b) (* (* (cbrt (* (* 3.0 a) c)) (cbrt (* (* 3.0 a) c))) (cbrt (* (* 3.0 a) c)))))

simplify66.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0217582
1616541
22127513
35001511

prune202.0ms

Filtered
62 candidates to 56 candidates (90.3%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New62062
Fresh01111
Picked011
Done000
Total621274

Merged error: 14.2b

Counts
74 → 12

localize19.0ms

Local error

Found 4 expressions with local error:

1.1b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))
24.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))
24.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite22.0ms

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

series283.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
65.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify106.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0234620
1888589
23709574
35001572

prune317.0ms

Filtered
90 candidates to 80 candidates (88.9%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New89190
Fresh01010
Picked101
Done011
Total9012102

Merged error: 14.2b

Counts
102 → 12

localize26.0ms

Local error

Found 4 expressions with local error:

22.8b
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))
24.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))
24.4b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite15.0ms

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

series357.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (sqrt (- (* b b) (* (* 3.0 a) c))))
70.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
65.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify81.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0181607
1594569
22447561
35001553

prune302.0ms

Filtered
73 candidates to 64 candidates (87.7%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New71273
Fresh01010
Picked101
Done011
Total721385

Merged error: 14.2b

Counts
85 → 13

regimes360.0ms

Accuracy

86.7% (2.9b remaining)

Error of 15.6b against oracle of 12.7b and baseline of 34.5b

bsearch140.0ms

Steps
ItersRangePoint
10
9.238381642553218e-43
2.4366564965413383e-29
1.4283457991144297e-30
11
-4.6778596556519216e+169
-3.105074477202361e+149
-6.248166611508614e+151

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03829
13829

end0.0ms

sample1.3s

Algorithm
intervals
Results
286.0ms1054×body2560valid
283.0ms5873×body80valid
201.0ms902×body1280valid
136.0ms2916×body80nan
74.0ms428×body640valid
37.0ms101×body5120valid
31.0ms241×body320valid
9.0ms107×body160valid