Details

Time bar (total: 3.8s)

sample80.0ms

Algorithm
intervals
Results
15.0ms113×body320valid
14.0ms524×pre80true
12.0ms268×body80nan
9.0ms100×body160valid
3.0ms14×body640valid
1.0ms29×body80valid

simplify203.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (202.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: 52.0b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(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))
25.8b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

rewrite29.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:
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(- (* b b) (* 4.0 (* a c)))
12.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

series60.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
053401324

prune171.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New741084
Fresh000
Picked101
Done000
Total751085

Merged error: 3.2b

Counts
85 → 10

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

prune31.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New000
Fresh099
Picked011
Done000
Total01010

Merged error: 3.2b

Counts
10 → 10

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.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:
10.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)

simplify42.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
04991490
14991490

prune109.0ms

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

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New60868
Fresh088
Picked101
Done011
Total611778

Merged error: 3.1b

Counts
78 → 17

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (sqrt a) (sqrt b))
0.3b
(* (sqrt c) (/ (sqrt a) (sqrt b)))
0.3b
(* (sqrt c) (/ (sqrt a) (sqrt b)))
0.5b
(* (* (sqrt c) (/ (sqrt a) (sqrt b))) (* (sqrt c) (/ (sqrt a) (sqrt b))))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
146×sqrt-prod
142×add-sqr-sqrt
124×times-frac
86×add-cube-cbrt *-un-lft-identity
81×associate-*r*
52×add-exp-log add-cbrt-cube
47×pow1
25×prod-exp cbrt-unprod
20×unswap-sqr
19×pow-prod-down
13×associate-*l*
cbrt-undiv div-exp
sqrt-undiv sqrt-unprod associate-*r/
associate-/r* associate-/l*
pow-sqr pow-prod-up add-log-exp
*-commutative div-inv
pow-plus
pow2 frac-times frac-2neg swap-sqr associate-*l/ clear-num rem-square-sqrt
Counts
4 → 252
Calls
4 calls:
5.0ms
(/ (sqrt a) (sqrt b))
16.0ms
(* (sqrt c) (/ (sqrt a) (sqrt b)))
15.0ms
(* (sqrt c) (/ (sqrt a) (sqrt b)))
16.0ms
(* (* (sqrt c) (/ (sqrt a) (sqrt b))) (* (sqrt c) (/ (sqrt a) (sqrt b))))

series48.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(/ (sqrt a) (sqrt b))
13.0ms
(* (sqrt c) (/ (sqrt a) (sqrt b)))
14.0ms
(* (sqrt c) (/ (sqrt a) (sqrt b)))
12.0ms
(* (* (sqrt c) (/ (sqrt a) (sqrt b))) (* (sqrt c) (/ (sqrt a) (sqrt b))))

simplify80.0ms

Algorithm
egg-herbie
Counts
264 → 264
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049602447
149602447

prune141.0ms

Filtered
126 candidates to 264 candidates (-109.5%)
Pruning

21 alts after pruning (20 fresh and 1 done)

PrunedKeptTotal
New2568264
Fresh31215
Picked101
Done011
Total26021281

Merged error: 3.1b

Counts
281 → 21

regimes358.0ms

Accuracy

0% (3.6b remaining)

Error of 6.2b against oracle of 2.7b and baseline of 6.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
065
165

end0.0ms

sample2.3s

Algorithm
intervals
Results
504.0ms3690×body320valid
435.0ms16129×pre80true
378.0ms8129×body80nan
268.0ms2889×body160valid
86.0ms476×body640valid
46.0ms945×body80valid

Profiling

Loading profile data...