Details

Time bar (total: 3.1s)

analyze275.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

sample43.0ms

Algorithm
intervals
Results
15.0ms154×body160valid
8.0ms276×pre80true
6.0ms43×body320valid
3.0ms59×body80valid
1.0ms20×body80nan

simplify203.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (202.0ms)

IterNodesCost
0193116
1193116

prune11.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: 44.8b

Counts
2 → 1

localize10.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.1b
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
39.6b
(- (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)

series65.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
9.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)

simplify38.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
053401316

prune170.0ms

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

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New711182
Fresh000
Picked101
Done000
Total721183

Merged error: 5.7b

Counts
83 → 11

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

prune37.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01010
Picked011
Done000
Total01111

Merged error: 5.7b

Counts
11 → 11

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)

rewrite17.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)

series11.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
04991490
14991490

prune133.0ms

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

23 alts after pruning (22 fresh and 1 done)

PrunedKeptTotal
New551368
Fresh099
Picked101
Done011
Total562379

Merged error: 5.6b

Counts
79 → 23

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
43×add-exp-log add-cbrt-cube
41×sqrt-prod
38×add-sqr-sqrt
30×times-frac
28×add-cube-cbrt *-un-lft-identity
20×prod-exp cbrt-unprod
19×associate-*l*
17×associate-*r*
12×pow1
10×sqrt-div associate-*r/
cbrt-undiv div-exp
pow-prod-down div-inv add-log-exp
associate-/l/ unswap-sqr
frac-times rem-sqrt-square associate-*l/ *-commutative
frac-2neg sqrt-pow1 pow1/2 clear-num associate-/r* associate-/l*
Counts
4 → 125
Calls
4 calls:
3.0ms
(sqrt (/ a b))
14.0ms
(/ (* -2.0 (* (sqrt (/ a b)) (* c (sqrt (/ a b))))) (* a 2.0))
7.0ms
(* c (sqrt (/ a b)))
11.0ms
(* (sqrt (/ a b)) (* c (sqrt (/ a b))))

series32.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(sqrt (/ a b))
6.0ms
(/ (* -2.0 (* (sqrt (/ a b)) (* c (sqrt (/ a b))))) (* a 2.0))
9.0ms
(* c (sqrt (/ a b)))
5.0ms
(* (sqrt (/ a b)) (* c (sqrt (/ a b))))

simplify31.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
050941198

prune123.0ms

Filtered
97 candidates to 137 candidates (-41.2%)
Pruning

26 alts after pruning (25 fresh and 1 done)

PrunedKeptTotal
New1307137
Fresh31821
Picked101
Done011
Total13426160

Merged error: 5.6b

Counts
160 → 26

regimes424.0ms

Accuracy

12.8% (5.8b remaining)

Error of 10.8b against oracle of 5.0b and baseline of 11.6b

bsearch53.0ms

Steps
ItersRangePoint
6
2.9565809223284548e-05
0.00016612817231971173
0.00010596714479617083

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09639
19639

end0.0ms

sample1.3s

Algorithm
intervals
Results
481.0ms4809×body160valid
269.0ms8964×pre80true
213.0ms1456×body320valid
90.0ms1735×body80valid
47.0ms964×body80nan

Profiling

Loading profile data...