Details

Time bar (total: 2.7s)

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

sample24.0ms

Algorithm
intervals
Results
7.0ms53×body640valid
5.0ms143×body80valid
3.0ms27×body320valid
3.0ms15×body1280valid
1.0ms18×body160valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
088015
188015

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

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.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:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
18.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
36.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series17.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
049541594
149541594

prune198.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1204124
Fresh000
Picked101
Done000
Total1214125

Merged error: 0.1b

Counts
125 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (+ 1.0 x))
0.2b
(cbrt (+ 1.0 x))
0.2b
(* (/ (cbrt 1.0) (cbrt (+ 1.0 x))) (/ (cbrt 1.0) (cbrt (+ 1.0 x))))
16.9b
(+ (- (* (* (/ (cbrt 1.0) (cbrt (+ 1.0 x))) (/ (cbrt 1.0) (cbrt (+ 1.0 x)))) (/ (cbrt 1.0) (cbrt (+ 1.0 x)))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
264×cbrt-prod
232×times-frac
212×add-sqr-sqrt *-un-lft-identity
122×add-cube-cbrt
60×swap-sqr
48×associate-*r* associate-*l*
39×distribute-lft-out
25×unswap-sqr
16×add-exp-log
12×cbrt-div
11×pow1
frac-add add-log-exp
associate-/r/ add-cbrt-cube
flip3-+ frac-sub flip-+
frac-times associate-*l/
cbrt-undiv associate-*r/ div-exp prod-exp cbrt-unprod div-inv
pow1/3 sum-log
+-commutative pow2 associate-+l- sub-neg associate-+l+ flip3-- pow-plus diff-log pow-prod-down pow-sqr *-commutative pow-prod-up flip--
Counts
4 → 257
Calls
4 calls:
3.0ms
(cbrt (+ 1.0 x))
3.0ms
(cbrt (+ 1.0 x))
54.0ms
(* (/ (cbrt 1.0) (cbrt (+ 1.0 x))) (/ (cbrt 1.0) (cbrt (+ 1.0 x))))
41.0ms
(+ (- (* (* (/ (cbrt 1.0) (cbrt (+ 1.0 x))) (/ (cbrt 1.0) (cbrt (+ 1.0 x)))) (/ (cbrt 1.0) (cbrt (+ 1.0 x)))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series44.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cbrt (+ 1.0 x))
6.0ms
(cbrt (+ 1.0 x))
13.0ms
(* (/ (cbrt 1.0) (cbrt (+ 1.0 x))) (/ (cbrt 1.0) (cbrt (+ 1.0 x))))
19.0ms
(+ (- (* (* (/ (cbrt 1.0) (cbrt (+ 1.0 x))) (/ (cbrt 1.0) (cbrt (+ 1.0 x)))) (/ (cbrt 1.0) (cbrt (+ 1.0 x)))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify105.0ms

Algorithm
egg-herbie
Counts
269 → 269
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
052065255

prune795.0ms

Filtered
165 candidates to 269 candidates (-63.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2690269
Fresh033
Picked011
Done000
Total2694273

Merged error: 0.1b

Counts
273 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (+ 1.0 x))
0.1b
(* x (- (* x x) (* 1.0 1.0)))
0.2b
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
16.0b
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

rewrite32.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))
6.0ms
(* x (- (* x x) (* 1.0 1.0)))
4.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
12.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

series18.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* x (+ 1.0 x))
6.0ms
(* x (- (* x x) (* 1.0 1.0)))
4.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.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

prune208.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1011102
Fresh022
Picked101
Done101
Total1033106

Merged error: 0.1b

Counts
106 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

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

series11.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(* x (- (* x x) (* 1.0 1.0)))
4.0ms
(/ 2.0 (* x (- (* x x) (* 1.0 1.0))))

simplify46.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
05673585

prune65.0ms

Filtered
39 candidates to 52 candidates (-33.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New49352
Fresh112
Picked101
Done000
Total51455

Merged error: 0b

Counts
55 → 4

regimes30.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02611
12611

end0.0ms

sample738.0ms

Algorithm
intervals
Results
262.0ms1868×body640valid
153.0ms4185×body80valid
100.0ms572×body1280valid
93.0ms885×body320valid
34.0ms490×body160valid
0.0msbody80invalid

Profiling

Loading profile data...