Details

Time bar (total: 3.9s)

sample73.0ms

Algorithm
intervals
Results
15.0ms237×body80nan
15.0ms161×body160valid
14.0ms493×pre80true
5.0ms40×body320valid
3.0ms55×body80valid

simplify4.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.8b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.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))))
3.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)

series63.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049591319
149591319

prune124.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New80484
Fresh000
Picked101
Done000
Total81485

Merged error: 0.2b

Counts
85 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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:
5.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
3.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
12.0ms
(/ (/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a 2.0))

series121.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
051033100

prune264.0ms

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

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New12110131
Fresh123
Picked101
Done000
Total12312135

Merged error: 0.0b

Counts
135 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

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

series92.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049481460
149481460

prune158.0ms

Filtered
63 candidates to 85 candidates (-34.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New80585
Fresh5611
Picked101
Done000
Total861197

Merged error: 0.0b

Counts
97 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
24×*-un-lft-identity
22×add-sqr-sqrt add-cube-cbrt
18×add-exp-log add-cbrt-cube
associate-/r* add-log-exp
cbrt-undiv div-exp
div-inv associate-/l*
pow1
frac-2neg prod-exp clear-num cbrt-unprod
+-commutative sub-neg flip3-- flip3-+ diff-log sum-log associate-/r/ flip-- flip-+ distribute-lft-out
Counts
4 → 93
Calls
4 calls:
5.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
6.0ms
(/ 4.0 (/ a (* a (neg c))))
3.0ms
(- (* b b) (* 4.0 (* a c)))
5.0ms
(/ a (* a (neg c)))

series27.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04982998
14982998

prune150.0ms

Filtered
82 candidates to 105 candidates (-28.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1014105
Fresh5510
Picked101
Done000
Total1079116

Merged error: 0b

Counts
116 → 9

regimes352.0ms

Accuracy

0% (0.1b 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 (1.0ms)

IterNodesCost
02018
12018

end0.0ms

sample2.1s

Algorithm
intervals
Results
449.0ms4838×body160valid
435.0ms16128×pre80true
377.0ms8128×body80nan
186.0ms1352×body320valid
88.0ms1810×body80valid

Profiling

Loading profile data...