Details

Time bar (total: 4.5s)

sample39.0ms

Algorithm
intervals
Results
7.0ms33×body2560valid
6.0ms183×body80valid
5.0ms31×body1280valid
4.0ms17×body640valid
3.0ms85×body80nan
1.0ms10×body320valid
0.0msbody5120valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

prune2.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.5b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.9b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.0b
(- (* b b) (* (* 3.0 a) c))
23.2b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
11×add-sqr-sqrt
10×add-cube-cbrt fma-def add-log-exp
add-exp-log add-cbrt-cube
distribute-rgt-neg-in distribute-lft-out
pow1 times-frac associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub prod-diff neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 90
Calls
4 calls:
11.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series304.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
44.0ms
(- (* b b) (* (* 3.0 a) c))
74.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify50.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0433855
11670751
25001736

prune261.0ms

Filtered
102 candidates to 82 candidates (80.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New9210102
Fresh000
Picked101
Done000
Total9310103

Merged error: 7.9b

Counts
103 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 3.0 a) c))
3.7b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
13.1b
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
23.2b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log prod-diff flip-+
Counts
4 → 158
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
16.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
15.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series437.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 3.0 a) c))
145.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
175.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
70.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify125.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (102.0ms)

IterNodesCost
06692663
134312412
250012406

prune378.0ms

Filtered
170 candidates to 117 candidates (68.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1682170
Fresh189
Picked101
Done000
Total17010180

Merged error: 7.8b

Counts
180 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 3.0) (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) a))
0.9b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.0b
(- (* b b) (* (* 3.0 a) c))
23.2b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt *-un-lft-identity
31×times-frac
26×add-exp-log
24×add-cube-cbrt
19×associate-*r*
16×add-cbrt-cube
13×associate-*l*
10×fma-def add-log-exp
div-exp prod-exp distribute-lft-out
pow1 distribute-rgt-neg-in
unswap-sqr
cbrt-undiv expm1-log1p-u cbrt-unprod log1p-expm1-u
distribute-lft-neg-in sqrt-prod
rec-exp flip3-- sqrt-div 1-exp sum-log flip-- div-inv
+-commutative neg-sub0 frac-times associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*r/ prod-diff pow-prod-down neg-log associate-*l/ *-commutative flip-+
Counts
4 → 124
Calls
4 calls:
18.0ms
(* (/ 1 3.0) (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) a))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series304.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(* (/ 1 3.0) (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) a))
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
43.0ms
(- (* b b) (* (* 3.0 a) c))
72.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify73.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06451311
131291145
250011130

prune308.0ms

Filtered
136 candidates to 99 candidates (72.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1351136
Fresh189
Picked011
Done000
Total13610146

Merged error: 7.8b

Counts
146 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.9b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.0b
(- (* b b) (* (* 3.0 a) c))
23.2b
(sqrt (- (* b b) (* (* 3.0 a) c)))

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

series213.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
43.0ms
(- (* b b) (* (* 3.0 a) c))
71.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0337530
11440479
25002467

prune187.0ms

Filtered
92 candidates to 71 candidates (77.2%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New91192
Fresh088
Picked011
Done011
Total9111102

Merged error: 7.8b

Counts
102 → 11

regimes423.0ms

Accuracy

83.5% (4.6b remaining)

Error of 10.4b against oracle of 5.8b and baseline of 33.8b

bsearch70.0ms

Steps
ItersRangePoint
5
8.197812324294091e-94
2.3646460195328382e-93
1.3424876507599846e-93
7
-2.129980745276144e+116
-9.287529331322677e+113
-9.597540061084627e+115

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03416
13416

end0.0ms

sample1.0s

Algorithm
intervals
Results
220.0ms1068×body2560valid
219.0ms5876×body80valid
150.0ms881×body1280valid
94.0ms2896×body80nan
58.0ms446×body640valid
28.0ms103×body5120valid
22.0ms222×body320valid
7.0ms114×body160valid