Details

Time bar (total: 3.3s)

analyze274.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14

sample48.0ms

Algorithm
intervals
Results
15.0ms149×body160valid
11.0ms295×pre80true
6.0ms44×body320valid
3.0ms63×body80valid
2.0ms39×body80nan

simplify205.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (204.0ms)

IterNodesCost
0193116
1193116

prune8.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: 42.4b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* 4.0 (* a c))))
0.1b
(- (* b b) (* 4.0 (* a c)))
0.2b
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
38.0b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

rewrite27.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 → 70
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(- (* b b) (* 4.0 (* a c)))
10.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

series64.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
8.0ms
(- (* b b) (* 4.0 (* a c)))
27.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
15.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

simplify40.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
053401316

prune193.0ms

Filtered
62 candidates to 82 candidates (-32.3%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New661682
Fresh000
Picked101
Done000
Total671683

Merged error: 5.6b

Counts
83 → 16

localize3.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune56.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01515
Picked011
Done000
Total01616

Merged error: 5.6b

Counts
16 → 16

localize7.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (* -2.0 (* (/ a b) c)) (* a 2.0))
0.3b
(* (/ a b) c)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
39×add-exp-log add-cbrt-cube
16×prod-exp cbrt-unprod
15×add-sqr-sqrt
13×associate-*l*
11×cbrt-undiv times-frac div-exp
10×add-cube-cbrt *-un-lft-identity
pow1
associate-*r*
associate-*l/ div-inv add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num associate-/r* *-commutative associate-/l/ associate-/l*
Counts
2 → 62
Calls
2 calls:
9.0ms
(/ (* -2.0 (* (/ a b) c)) (* a 2.0))
6.0ms
(* (/ a b) c)

series10.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(/ (* -2.0 (* (/ a b) c)) (* a 2.0))
5.0ms
(* (/ a b) c)

simplify43.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
04991490
14991490

prune159.0ms

Filtered
40 candidates to 68 candidates (-70.0%)
Pruning

28 alts after pruning (27 fresh and 1 done)

PrunedKeptTotal
New551368
Fresh01414
Picked101
Done011
Total562884

Merged error: 5.5b

Counts
84 → 28

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sqrt a) b)
0.2b
(/ (* -2.0 (* (/ (sqrt a) 1) (* c (/ (sqrt a) b)))) (* a 2.0))
0.3b
(* c (/ (sqrt a) b))
0.3b
(* (/ (sqrt a) 1) (* c (/ (sqrt a) b)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
158×add-exp-log
116×add-cbrt-cube
78×prod-exp
57×times-frac
54×add-sqr-sqrt cbrt-unprod
51×div-exp
46×add-cube-cbrt *-un-lft-identity
33×cbrt-undiv
31×sqrt-prod
25×associate-*l*
23×associate-*r*
11×pow1
10×associate-*r/
1-exp
associate-/l*
pow-prod-down associate-/r* div-inv add-log-exp
associate-/l/ unswap-sqr
frac-times frac-2neg associate-*l/ clear-num *-commutative
Counts
4 → 186
Calls
4 calls:
4.0ms
(/ (sqrt a) b)
19.0ms
(/ (* -2.0 (* (/ (sqrt a) 1) (* c (/ (sqrt a) b)))) (* a 2.0))
9.0ms
(* c (/ (sqrt a) b))
11.0ms
(* (/ (sqrt a) 1) (* c (/ (sqrt a) b)))

series46.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
049821873
149821873

prune150.0ms

Filtered
112 candidates to 198 candidates (-76.8%)
Pruning

30 alts after pruning (29 fresh and 1 done)

PrunedKeptTotal
New1908198
Fresh52126
Picked101
Done011
Total19630226

Merged error: 5.5b

Counts
226 → 30

regimes497.0ms

Accuracy

10.6% (6.2b remaining)

Error of 11.2b against oracle of 5.0b and baseline of 11.9b

bsearch19.0ms

Steps
ItersRangePoint
3
0.022775957082269944
0.027275008498776603
0.024744292076991605

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09639
19639

end0.0ms

sample1.3s

Algorithm
intervals
Results
487.0ms4819×body160valid
266.0ms8935×pre80true
204.0ms1388×body320valid
97.0ms1793×body80valid
46.0ms935×body80nan

Profiling

Loading profile data...