Details

Time bar (total: 1.8s)

analyze4.0ms

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

sample24.0ms

Algorithm
intervals
Results
8.0ms54×body1280valid
4.0ms37×body640valid
4.0ms135×body80valid
2.0ms23×body320valid
0.0msbody160valid

simplify83.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
0100113
1100113

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

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
2.5b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
52×times-frac
45×add-sqr-sqrt
23×add-cube-cbrt
18×distribute-lft-out distribute-lft-out--
associate-/r* difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 103
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
9.0ms
(/ (+ x 1.0) (- x 1.0))
28.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series13.0ms

Counts
3 → 9
Calls
3 calls:
2.0ms
(/ x (+ x 1.0))
3.0ms
(/ (+ x 1.0) (- x 1.0))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049551404
149551404

prune161.0ms

Filtered
76 candidates to 112 candidates (-47.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1102112
Fresh000
Picked101
Done000
Total1112113

Merged error: 0.2b

Counts
113 → 2

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(* x (+ (* x 1.0) 3.0))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ add-log-exp unswap-sqr
Counts
1 → 22
Calls
1 calls:
6.0ms
(* x (+ (* x 1.0) 3.0))

series7.0ms

Counts
1 → 3
Calls
1 calls:
7.0ms
(* x (+ (* x 1.0) 3.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04957216
14957216

prune25.0ms

Filtered
16 candidates to 25 candidates (-56.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New25025
Fresh011
Picked011
Done000
Total25227

Merged error: 0.2b

Counts
27 → 2

localize9.0ms

Local error

Found 3 expressions with local error:

0.3b
(/ 3.0 (pow x 3))
0.3b
(* (/ -1 x) (+ (/ 1.0 x) 3.0))
8.0b
(- (* (/ -1 x) (+ (/ 1.0 x) 3.0)) (/ 3.0 (pow x 3)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
46×times-frac
41×add-sqr-sqrt
38×*-un-lft-identity
36×add-cube-cbrt
13×add-exp-log associate-*l*
12×unpow-prod-down cube-prod associate-/r*
10×add-cbrt-cube
pow1 frac-sub add-log-exp
cube-mult frac-times flip3-+ unpow3 associate-*r/ div-exp associate-*r* flip-+ sqr-pow
associate-/l*
cbrt-undiv distribute-rgt-in distribute-lft-in associate-*l/ prod-exp associate--l+ cbrt-unprod div-inv unswap-sqr
pow-to-exp sub-neg flip3-- frac-2neg diff-log pow-prod-down pow-exp clear-num *-commutative flip-- distribute-lft-out
Counts
3 → 122
Calls
3 calls:
5.0ms
(/ 3.0 (pow x 3))
13.0ms
(* (/ -1 x) (+ (/ 1.0 x) 3.0))
17.0ms
(- (* (/ -1 x) (+ (/ 1.0 x) 3.0)) (/ 3.0 (pow x 3)))

series13.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(/ 3.0 (pow x 3))
5.0ms
(* (/ -1 x) (+ (/ 1.0 x) 3.0))
4.0ms
(- (* (/ -1 x) (+ (/ 1.0 x) 3.0)) (/ 3.0 (pow x 3)))

simplify35.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
052211493

prune170.0ms

Filtered
85 candidates to 131 candidates (-54.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1301131
Fresh000
Picked011
Done011
Total1303133

Merged error: 0b

Counts
133 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (- (neg 3.0) (/ 1.0 x)) x)
0.3b
(/ 3.0 (pow x 3))
8.0b
(- (/ (- (neg 3.0) (/ 1.0 x)) x) (/ 3.0 (pow x 3)))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
91×add-sqr-sqrt
80×times-frac
72×*-un-lft-identity
40×add-cube-cbrt
18×difference-of-squares
15×associate-/r*
14×unpow-prod-down cube-prod distribute-lft-out--
10×add-exp-log associate-/l*
add-cbrt-cube
sqr-pow
distribute-rgt-neg-in add-log-exp
cube-mult unpow3 div-exp
pow1
cbrt-undiv flip3-- frac-2neg div-sub clear-num flip-- div-inv associate-/l/
associate--l- pow-to-exp sub-neg diff-log pow-exp frac-sub
Counts
3 → 138
Calls
3 calls:
12.0ms
(/ (- (neg 3.0) (/ 1.0 x)) x)
5.0ms
(/ 3.0 (pow x 3))
51.0ms
(- (/ (- (neg 3.0) (/ 1.0 x)) x) (/ 3.0 (pow x 3)))

series17.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(/ (- (neg 3.0) (/ 1.0 x)) x)
3.0ms
(/ 3.0 (pow x 3))
4.0ms
(- (/ (- (neg 3.0) (/ 1.0 x)) x) (/ 3.0 (pow x 3)))

simplify38.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
050461912

prune169.0ms

Filtered
90 candidates to 147 candidates (-63.3%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1470147
Fresh000
Picked011
Done022
Total1473150

Merged error: 0b

Counts
150 → 3

regimes36.0ms

Accuracy

100% (0.0b remaining)

Error of 0.4b against oracle of 0.4b and baseline of 32.2b

bsearch26.0ms

Steps
ItersRangePoint
11
3.456990616125434e-09
4.559879622498837e+22
0.994922346711485
10
-874296.525633136
-7.363892315653747e-08
-1.0086104922468278

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08432
18432

end0.0ms

sample682.0ms

Algorithm
intervals
Results
253.0ms1749×body1280valid
145.0ms1260×body640valid
122.0ms4049×body80valid
55.0ms628×body320valid
18.0ms314×body160valid

Profiling

Loading profile data...