Details

Time bar (total: 6.6s)

sample133.0ms

Algorithm
intervals
Results
28.0ms44×body2560valid
18.0ms169×body80valid
18.0ms33×body1280valid
9.0ms89×body80nan
6.0ms15×body640valid
4.0msbody5120valid
3.0msbody320valid
2.0msbody160valid

simplify407.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (404.0ms)

IterNodesCost
0193116
1193116

prune16.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 38.2b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
1.2b
(- (* b b) (* 4.0 (* a c)))
1.7b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
26.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
13×*-un-lft-identity
add-exp-log add-cbrt-cube
add-log-exp
add-cube-cbrt
times-frac sqrt-prod associate-/l* difference-of-squares
pow1
flip3-- flip--
distribute-lft-out--
cbrt-undiv sub-neg sqrt-div diff-log div-exp associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 72
Calls
4 calls:
23.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
7.0ms
(- (* b b) (* 4.0 (* a c)))
15.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
8.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series126.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
17.0ms
(- (* b b) (* 4.0 (* a c)))
29.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
27.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify73.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
053401324

prune364.0ms

Filtered
62 candidates to 84 candidates (-35.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New731184
Fresh000
Picked101
Done000
Total741185

Merged error: 6.3b

Counts
85 → 11

localize7.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify5.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
000

prune70.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01010
Picked011
Done000
Total01111

Merged error: 6.3b

Counts
11 → 11

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 a) (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) 2.0))
1.2b
(- (* b b) (* 4.0 (* a c)))
1.7b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
26.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt
34×times-frac
32×*-un-lft-identity
26×add-exp-log
22×add-cube-cbrt associate-*r*
16×add-cbrt-cube
13×associate-*l*
div-exp prod-exp add-log-exp difference-of-squares
pow1 sqrt-prod
unswap-sqr
cbrt-undiv cbrt-unprod distribute-lft-out--
flip3-- flip--
sub-neg rec-exp sqrt-div diff-log 1-exp div-inv
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 107
Calls
4 calls:
38.0ms
(* (/ 1 a) (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) 2.0))
8.0ms
(- (* b b) (* 4.0 (* a c)))
16.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
11.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series129.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* (/ 1 a) (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) 2.0))
14.0ms
(- (* b b) (* 4.0 (* a c)))
26.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
26.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify102.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
049681958
149681958

prune399.0ms

Filtered
83 candidates to 119 candidates (-43.4%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1154119
Fresh279
Picked011
Done011
Total11713130

Merged error: 6.2b

Counts
130 → 13

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (* (/ a (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) 2.0))
1.2b
(- (* b b) (* 4.0 (* a c)))
1.7b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
26.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
13×add-cbrt-cube
12×add-sqr-sqrt
*-un-lft-identity div-exp
pow1 add-log-exp
add-cube-cbrt
prod-exp
cbrt-undiv sqrt-prod
rec-exp flip3-- times-frac 1-exp flip-- associate-/l*
sub-neg pow-flip sqrt-div diff-log cbrt-unprod difference-of-squares
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 pow-prod-down associate-*l/ clear-num associate-/r* associate-/r/ div-inv distribute-lft-out-- inv-pow
Counts
4 → 75
Calls
4 calls:
33.0ms
(/ 1 (* (/ a (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) 2.0))
8.0ms
(- (* b b) (* 4.0 (* a c)))
15.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
9.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series147.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(/ 1 (* (/ a (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) 2.0))
17.0ms
(- (* b b) (* 4.0 (* a c)))
30.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
29.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify75.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049951252
149951252

prune185.0ms

Filtered
57 candidates to 87 candidates (-52.6%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New86187
Fresh01010
Picked011
Done022
Total8614100

Merged error: 6.2b

Counts
100 → 14

regimes828.0ms

Accuracy

86% (4.8b remaining)

Error of 10.4b against oracle of 5.7b and baseline of 39.5b

bsearch121.0ms

Steps
ItersRangePoint
8
1.1014370434386659e-116
2.8344605185111195e-113
2.3420279175473307e-113
9
-7.957515769842868e+111
-7.937815030826972e+105
-3.3421727427471946e+111

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
09240
19240

end0.0ms

sample3.2s

Algorithm
intervals
Results
664.0ms1082×body2560valid
613.0ms5801×body80valid
445.0ms888×body1280valid
290.0ms2933×body80nan
189.0ms455×body640valid
77.0ms256×body320valid
73.0ms99×body5120valid
24.0ms119×body160valid

Profiling

Loading profile data...