Details

Time bar (total: 2.9s)

analyze267.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14

sample37.0ms

Algorithm
intervals
Results
12.0ms127×body160valid
8.0ms276×pre80true
6.0ms129×body80valid
1.0ms20×body80nan

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

Counts
2 → 1

localize11.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))
27.2b
(- (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 → 70
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
6.0ms
(- (* b b) (* 4.0 (* a c)))
11.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)

series65.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
053401316

prune184.0ms

Filtered
62 candidates to 82 candidates (-32.3%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New671582
Fresh000
Picked101
Done000
Total681583

Merged error: 8.6b

Counts
83 → 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

prune55.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01414
Picked011
Done000
Total01515

Merged error: 8.6b

Counts
15 → 15

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series11.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 (36.0ms)

IterNodesCost
04991490
14991490

prune162.0ms

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

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New531568
Fresh01313
Picked101
Done101
Total552883

Merged error: 8.5b

Counts
83 → 28

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
45×add-exp-log
22×div-exp
19×add-cbrt-cube
12×prod-exp
cbrt-undiv
rec-exp 1-exp
pow1 cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac associate-/r/ associate-/l*
pow-flip
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num associate-/r* div-inv inv-pow add-log-exp
Counts
1 → 43
Calls
1 calls:
8.0ms
(/ 1 (* (/ b c) (/ 2.0 -2.0)))

series3.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
04964340
14964340

prune26.0ms

Filtered
19 candidates to 46 candidates (-142.1%)
Pruning

29 alts after pruning (28 fresh and 1 done)

PrunedKeptTotal
New45146
Fresh02727
Picked011
Done000
Total452974

Merged error: 8.5b

Counts
74 → 29

regimes579.0ms

Accuracy

45.9% (7.4b remaining)

Error of 16.3b against oracle of 8.9b and baseline of 22.6b

bsearch5.0ms

Steps
ItersRangePoint
1
7017.269237237536
7402.346139657565
7113.538462842543

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09943
19943

end0.0ms

sample1.1s

Algorithm
intervals
Results
424.0ms4470×body160valid
249.0ms8841×pre80true
174.0ms3530×body80valid
40.0ms841×body80nan

Profiling

Loading profile data...