Details

Time bar (total: 3.6s)

sample73.0ms

Algorithm
intervals
Results
15.0ms528×pre80true
14.0ms146×body160valid
12.0ms272×body80nan
5.0ms110×body80valid

simplify207.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (205.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: 29.5b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* 4.0 (* a c))))
0.2b
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
0.3b
(- (* b b) (* 4.0 (* a c)))
29.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))))
13.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)

series63.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
053401324

prune175.0ms

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

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New691584
Fresh000
Picked101
Done000
Total701585

Merged error: 9.3b

Counts
85 → 15

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

prune51.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01414
Picked011
Done000
Total01515

Merged error: 9.3b

Counts
15 → 15

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.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:
6.0ms
(* (/ a b) c)
10.0ms
(/ (* -2.0 (* (/ a b) c)) (* a 2.0))

series11.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
04991490
14991490

prune160.0ms

Filtered
42 candidates to 68 candidates (-61.9%)
Pruning

31 alts after pruning (30 fresh and 1 done)

PrunedKeptTotal
New511768
Fresh01313
Picked101
Done011
Total523183

Merged error: 9.2b

Counts
83 → 31

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
37×add-exp-log add-cbrt-cube
18×prod-exp cbrt-unprod
cbrt-undiv div-exp
pow1 add-sqr-sqrt add-cube-cbrt frac-2neg *-un-lft-identity times-frac clear-num associate-/r* div-inv associate-/l* add-log-exp
Counts
1 → 31
Calls
1 calls:
9.0ms
(/ (* -2.0 (* a c)) (* a (* b 2.0)))

series5.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
05022278

prune20.0ms

Filtered
13 candidates to 34 candidates (-161.5%)
Pruning

31 alts after pruning (30 fresh and 1 done)

PrunedKeptTotal
New32234
Fresh12829
Picked011
Done101
Total343165

Merged error: 9.2b

Counts
65 → 31

regimes553.0ms

Accuracy

47.8% (7.3b remaining)

Error of 16.3b against oracle of 9.1b and baseline of 23.0b

bsearch16.0ms

Steps
ItersRangePoint
3
191.5498668520391
241.8406838814537
207.26574717373114

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
010347
110347

end0.0ms

sample2.1s

Algorithm
intervals
Results
473.0ms16735×pre80true
420.0ms4446×body160valid
416.0ms8735×body80nan
173.0ms3554×body80valid

Profiling

Loading profile data...