Details

Time bar (total: 3.5s)

analyze278.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

sample45.0ms

Algorithm
intervals
Results
18.0ms150×body160valid
8.0ms285×pre80true
6.0ms106×body80valid
1.0ms29×body80nan

simplify205.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (203.0ms)

IterNodesCost
0193116
1193116

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

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series67.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050831316

prune223.0ms

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

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New641882
Fresh000
Picked101
Done000
Total651883

Merged error: 9.6b

Counts
83 → 18

localize4.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

prune81.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01717
Picked011
Done000
Total01818

Merged error: 9.6b

Counts
18 → 18

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
39×add-exp-log add-cbrt-cube
16×prod-exp cbrt-unprod
15×add-sqr-sqrt
13×associate-*r*
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 pow-prod-down clear-num associate-/r* *-commutative associate-/l/ associate-/l*
Counts
2 → 62
Calls
2 calls:
8.0ms
(* a (/ c b))
9.0ms
(/ (* -2.0 (* a (/ c b))) (* a 2.0))

series10.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04978496
14978496

prune210.0ms

Filtered
39 candidates to 68 candidates (-74.4%)
Pruning

32 alts after pruning (32 fresh and 0 done)

PrunedKeptTotal
New521668
Fresh01616
Picked101
Done101
Total543286

Merged error: 9.5b

Counts
86 → 32

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
54×add-sqr-sqrt
45×add-cube-cbrt *-un-lft-identity
44×associate-*r*
43×add-exp-log add-cbrt-cube
17×prod-exp cbrt-unprod
16×associate-*l*
13×cbrt-undiv div-exp
pow1
div-inv
associate-*r/ pow-prod-down
unswap-sqr
*-commutative add-log-exp
frac-times associate-*l/
Counts
2 → 108
Calls
2 calls:
14.0ms
(* a (/ (/ c b) 2.0))
12.0ms
(* (/ -2.0 a) (* a (/ (/ c b) 2.0)))

series11.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
050461022

prune137.0ms

Filtered
82 candidates to 114 candidates (-39.0%)
Pruning

31 alts after pruning (30 fresh and 1 done)

PrunedKeptTotal
New1068114
Fresh92231
Picked011
Done000
Total11531146

Merged error: 9.4b

Counts
146 → 31

regimes694.0ms

Accuracy

43.5% (7.7b remaining)

Error of 16.8b against oracle of 9.1b and baseline of 22.7b

bsearch10.0ms

Steps
ItersRangePoint
0
8239.361087156976
8544.36334510803
8391.862216132502
2
2129.724718983999
2428.8804997612324
2167.1191915811532
0
110.18552667142109
110.39426165433021
110.28989416287564

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
020590
120590

end0.0ms

sample1.2s

Algorithm
intervals
Results
485.0ms4509×body160valid
272.0ms8876×pre80true
201.0ms3491×body80valid
45.0ms876×body80nan

Profiling

Loading profile data...