Details

Time bar (total: 1.8s)

analyze6.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
75%25%0%5
87.5%12.5%0%6
93.7%6.2%0%7
96.8%3.1%0%8
98.4%1.6%0%9
99.2%0.8%0%10
99.6%0.4%0%11
99.8%0.2%0%12
99.9%0.1%0%13
99.9%0.1%0.1%14

sample25.0ms

Algorithm
intervals
Results
9.0ms65×body640valid
5.0ms138×body80valid
3.0ms20×body1280valid
2.0ms18×body320valid
1.0ms15×body160valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
088015
188015

prune5.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 9.5b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
0.0b
(/ 1.0 (+ x 1.0))
0.0b
(/ 1.0 (- x 1.0))
2.3b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
83×*-un-lft-identity
47×times-frac
43×add-sqr-sqrt
23×add-cube-cbrt
14×distribute-lft-out--
13×distribute-lft-out
11×add-log-exp
associate-/r*
add-exp-log add-cbrt-cube difference-of-squares
associate-/l*
pow1 associate-/r/
flip3-- frac-add flip--
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num sum-log frac-sub flip-+ div-inv
+-commutative associate-+l- associate-+l+
Counts
4 → 112
Calls
4 calls:
16.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
5.0ms
(/ 1.0 (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
32.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series18.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
2.0ms
(/ 1.0 (+ x 1.0))
2.0ms
(/ 1.0 (- x 1.0))
10.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049541594
149541594

prune206.0ms

Filtered
95 candidates to 124 candidates (-30.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1213124
Fresh000
Picked101
Done000
Total1223125

Merged error: 0.0b

Counts
125 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (+ 1.0 x))
0.0b
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
0.1b
(* x (- (* x x) (* 1.0 1.0)))
15.3b
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
40×associate-*r/
16×frac-add
14×flip3-- flip--
12×add-sqr-sqrt
10×*-un-lft-identity flip3-+ flip-+
pow1 add-exp-log frac-times add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
distribute-rgt-in distribute-lft-in
associate-*l*
sub-neg
associate-+r+ associate-*l/
associate-+l+ pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative diff-log sum-log distribute-lft-out difference-of-squares
Counts
4 → 90
Calls
4 calls:
6.0ms
(* x (+ 1.0 x))
4.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
6.0ms
(* x (- (* x x) (* 1.0 1.0)))
14.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

series16.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* x (+ 1.0 x))
4.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
7.0ms
(* x (- (* x x) (* 1.0 1.0)))
1.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

simplify40.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
053362335

prune218.0ms

Filtered
81 candidates to 102 candidates (-25.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1002102
Fresh022
Picked101
Done000
Total1014105

Merged error: 0.0b

Counts
105 → 4

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x x) (* 1.0 1.0))
0.0b
(/ 2.0 (* x (- (* x x) (* 1.0 1.0))))
0.1b
(* x (- (* x x) (* 1.0 1.0)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 add-log-exp
associate-*r/ associate-*r*
sub-neg flip3-- times-frac associate-*l* flip-- associate-/l*
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod difference-of-squares
distribute-rgt-in frac-2neg distribute-lft-in diff-log pow-prod-down clear-num associate-/r* *-commutative div-inv unswap-sqr
Counts
3 → 58
Calls
3 calls:
4.0ms
(- (* x x) (* 1.0 1.0))
6.0ms
(/ 2.0 (* x (- (* x x) (* 1.0 1.0))))
6.0ms
(* x (- (* x x) (* 1.0 1.0)))

series17.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(- (* x x) (* 1.0 1.0))
4.0ms
(/ 2.0 (* x (- (* x x) (* 1.0 1.0))))
9.0ms
(* x (- (* x x) (* 1.0 1.0)))

simplify36.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
05249720

prune102.0ms

Filtered
51 candidates to 67 candidates (-31.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New64367
Fresh303
Picked101
Done000
Total68371

Merged error: 0.0b

Counts
71 → 3

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ 2.0 (- (pow x 3) (* x 1.0)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
12×times-frac
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cube-mult associate-/r* distribute-lft-out--
add-exp-log add-cbrt-cube associate-/l*
associate-/r/
pow1 cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv add-log-exp
Counts
1 → 33
Calls
1 calls:
7.0ms
(/ 2.0 (- (pow x 3) (* x 1.0)))

series5.0ms

Counts
1 → 3
Calls
1 calls:
5.0ms
(/ 2.0 (- (pow x 3) (* x 1.0)))

simplify39.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05376496

prune66.0ms

Filtered
30 candidates to 36 candidates (-20.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New34236
Fresh112
Picked011
Done000
Total35439

Merged error: 0b

Counts
39 → 4

regimes34.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0359
1359

end0.0ms

sample713.0ms

Algorithm
intervals
Results
251.0ms1884×body640valid
148.0ms4199×body80valid
99.0ms580×body1280valid
95.0ms903×body320valid
29.0ms434×body160valid
0.0msbody80invalid

Profiling

Loading profile data...