Details

Time bar (total: 4.3s)

sample90.0ms

Algorithm
intervals
Results
18.0ms121×body320valid
16.0ms529×pre80true
14.0ms273×body80nan
13.0ms95×body160valid
3.0ms15×body640valid
1.0ms25×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
09116
19116

prune10.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: 53.8b

Counts
2 → 1

localize11.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))
27.1b
(- (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)))
11.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
8.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

series71.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
9.0ms
(- (* b b) (* 4.0 (* a c)))
28.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
17.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

simplify41.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
049591319
149591319

prune134.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New81384
Fresh000
Picked101
Done000
Total82385

Merged error: 0.1b

Counts
85 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
0.1b
(- (* b b) (* 4.0 (* a c)))
0.3b
(/ (/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a 2.0))
0.3b
(/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
54×times-frac
51×*-un-lft-identity
29×add-sqr-sqrt add-cube-cbrt
21×associate-/l*
18×add-exp-log add-cbrt-cube
11×distribute-lft-out
add-log-exp
cbrt-undiv div-exp
associate-/r/
associate-/r*
pow1 flip3-+ flip-+ div-inv
div-sub distribute-frac-neg associate-/l/
flip3-- frac-2neg sub0-neg prod-exp clear-num flip-- cbrt-unprod
+-commutative sub-neg diff-log sum-log
Counts
4 → 119
Calls
4 calls:
6.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(/ (/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a 2.0))
10.0ms
(/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))

series139.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
10.0ms
(- (* b b) (* 4.0 (* a c)))
49.0ms
(/ (/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a 2.0))
64.0ms
(/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))

simplify36.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
051033100

prune258.0ms

Filtered
98 candidates to 131 candidates (-33.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1265131
Fresh112
Picked011
Done000
Total1277134

Merged error: 0b

Counts
134 → 7

localize14.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
(/ (* a c) (* a 2.0))
0.3b
(* (/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (/ (* a c) (* a 2.0)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
57×add-exp-log add-cbrt-cube
22×prod-exp cbrt-unprod
20×add-sqr-sqrt *-un-lft-identity
18×associate-*l*
17×cbrt-undiv div-exp
15×times-frac
14×add-cube-cbrt
pow1
add-log-exp
associate-*r*
sqrt-prod div-inv distribute-lft-out
flip3-- sqrt-div associate-/r/ flip-- unswap-sqr
frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r/ pow-prod-down associate-*l/ clear-num associate-/r* *-commutative flip-+ associate-/l*
Counts
4 → 105
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(- (* b b) (* 4.0 (* a c)))
6.0ms
(/ (* a c) (* a 2.0))
16.0ms
(* (/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (/ (* a c) (* a 2.0)))

series66.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
9.0ms
(- (* b b) (* 4.0 (* a c)))
3.0ms
(/ (* a c) (* a 2.0))
38.0ms
(* (/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (/ (* a c) (* a 2.0)))

simplify29.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
052251684

prune172.0ms

Filtered
74 candidates to 117 candidates (-58.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1170117
Fresh055
Picked011
Done011
Total1177124

Merged error: 0b

Counts
124 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
0.1b
(- (* b b) (* 4.0 (* a c)))
0.3b
(/ (* a (neg c)) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
0.4b
(* (/ 4.0 a) (/ (* a (neg c)) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
30×add-exp-log add-cbrt-cube
23×*-un-lft-identity
20×add-sqr-sqrt
18×times-frac
15×add-cube-cbrt
13×associate-*l*
10×associate-*r*
cbrt-undiv div-exp prod-exp cbrt-unprod
add-log-exp
pow1
associate-/r* associate-/r/ distribute-lft-out
flip3-+ distribute-rgt-neg-out flip-+ div-inv
distribute-frac-neg unswap-sqr
+-commutative frac-times sub-neg flip3-- frac-2neg diff-log associate-*r/ pow-prod-down associate-*l/ clear-num sum-log *-commutative flip-- associate-/l*
Counts
4 → 100
Calls
4 calls:
9.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(- (* b b) (* 4.0 (* a c)))
10.0ms
(/ (* a (neg c)) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
16.0ms
(* (/ 4.0 a) (/ (* a (neg c)) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))))

series134.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
9.0ms
(- (* b b) (* 4.0 (* a c)))
62.0ms
(/ (* a (neg c)) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
46.0ms
(* (/ 4.0 a) (/ (* a (neg c)) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))))

simplify29.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
052561977

prune162.0ms

Filtered
82 candidates to 112 candidates (-36.6%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1120112
Fresh044
Picked011
Done022
Total1127119

Merged error: 0b

Counts
119 → 7

regimes187.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03723
13723

end0.0ms

sample2.5s

Algorithm
intervals
Results
548.0ms3624×body320valid
468.0ms16167×pre80true
424.0ms8167×body80nan
300.0ms2961×body160valid
100.0ms499×body640valid
48.0ms916×body80valid

Profiling

Loading profile data...