Details

Time bar (total: 4.4s)

sample89.0ms

Algorithm
intervals
Results
16.0ms553×pre80true
16.0ms297×body80nan
16.0ms156×body160valid
8.0ms53×body320valid
6.0ms47×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
09116
19116

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: 44.6b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series73.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
28.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
10.0ms
(- (* b b) (* 4.0 (* a c)))
19.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

simplify41.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049591319
149591319

prune144.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New79584
Fresh000
Picked101
Done000
Total80585

Merged error: 0.2b

Counts
85 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
0.1b
(- (* b b) (* 4.0 (* a c)))
0.2b
(/ (/ (- 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))))))

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

series141.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
10.0ms
(- (* b b) (* 4.0 (* a c)))
47.0ms
(/ (/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a 2.0))
65.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

prune508.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1238131
Fresh314
Picked101
Done000
Total1279136

Merged error: 0b

Counts
136 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* 4.0 (* a c)))
0.2b
(/ 4.0 (/ a (* a (neg c))))
0.2b
(/ a (* a (neg c)))
0.3b
(* (/ 4.0 (/ a (* a (neg c)))) (/ 1 (* (+ b (sqrt (- (* b b) (* 4.0 (* a c))))) 2.0)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
136×add-exp-log
72×add-cbrt-cube
70×times-frac
58×div-exp
49×prod-exp
43×add-sqr-sqrt
38×add-cube-cbrt *-un-lft-identity
30×cbrt-undiv
26×associate-*l*
21×cbrt-unprod
11×div-inv
associate-*r*
rec-exp 1-exp associate-/r*
pow1 associate-/l* add-log-exp
associate-/r/
associate-*l/
frac-2neg clear-num unswap-sqr
frac-times sub-neg flip3-- flip3-+ diff-log associate-*r/ pow-prod-down un-div-inv *-commutative flip-- flip-+
Counts
4 → 171
Calls
4 calls:
4.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(/ 4.0 (/ a (* a (neg c))))
5.0ms
(/ a (* a (neg c)))
24.0ms
(* (/ 4.0 (/ a (* a (neg c)))) (/ 1 (* (+ b (sqrt (- (* b b) (* 4.0 (* a c))))) 2.0)))

series65.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
049652657
149652657

prune280.0ms

Filtered
117 candidates to 183 candidates (-56.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1821183
Fresh178
Picked011
Done000
Total1839192

Merged error: 0b

Counts
192 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* 4.0 (* a c))))
0.1b
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
0.1b
(/ (neg c) (* (+ b (sqrt (- (* b b) (* 4.0 (* a c))))) 2.0))
0.1b
(- (* b b) (* 4.0 (* a c)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×add-sqr-sqrt
11×add-cube-cbrt
10×times-frac associate-/l*
add-exp-log add-cbrt-cube
add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in
pow1
sqrt-prod
cbrt-undiv neg-mul-1 flip3-- flip3-+ sqrt-div div-exp associate-*l/ associate-/r/ flip-- flip-+
+-commutative neg-sub0 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub distribute-frac-neg prod-exp clear-num associate-/r* sum-log cbrt-unprod div-inv distribute-lft-out
Counts
4 → 78
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
6.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
10.0ms
(/ (neg c) (* (+ b (sqrt (- (* b b) (* 4.0 (* a c))))) 2.0))
5.0ms
(- (* b b) (* 4.0 (* a c)))

series99.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
17.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
56.0ms
(/ (neg c) (* (+ b (sqrt (- (* b b) (* 4.0 (* a c))))) 2.0))
10.0ms
(- (* b b) (* 4.0 (* a c)))

simplify44.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
057581381

prune131.0ms

Filtered
71 candidates to 90 candidates (-26.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New87390
Fresh437
Picked101
Done011
Total92799

Merged error: 0b

Counts
99 → 7

regimes186.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03122
13122

end0.0ms

sample2.3s

Algorithm
intervals
Results
505.0ms4835×body160valid
473.0ms16232×pre80true
440.0ms8232×body80nan
213.0ms1353×body320valid
102.0ms1812×body80valid

Profiling

Loading profile data...