Details

Time bar (total: 3.7s)

analyze4.0ms

Algorithm
search

sample23.0ms

Algorithm
intervals
Results
7.0ms48×body1280valid
4.0ms143×body80valid
4.0ms33×body640valid
1.0ms17×body320valid
1.0ms15×body160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.3b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite49.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 → 104
Calls
3 calls:
7.0ms
(/ (+ x 1.0) (- x 1.0))
7.0ms
(/ x (+ x 1.0))
30.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series12.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0392760
11379726
25001716

prune182.0ms

Filtered
76 candidates to 113 candidates (-48.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1085113
Fresh000
Picked101
Done000
Total1095114

Merged error: 0.0b

Counts
114 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
0.1b
(pow (/ (+ x 1.0) (- x 1.0)) 3)
0.1b
(pow (/ x (+ x 1.0)) 3)
3.6b
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

rewrite163.0ms

Algorithm
rewrite-expression-head
Rules
354×*-un-lft-identity
216×times-frac
190×add-sqr-sqrt
104×unpow-prod-down cube-prod
78×add-cube-cbrt
66×distribute-lft-out
61×distribute-lft-out--
44×difference-of-squares
24×swap-sqr
22×add-exp-log add-cbrt-cube
18×associate-*r* associate-*l*
16×associate-/r/
14×sqr-pow
13×pow1
div-inv
cbrt-undiv pow-unpow flip3-+ div-exp flip-+ add-log-exp
cube-div pow-exp prod-exp cbrt-unprod rem-cube-cbrt unswap-sqr
flip3-- flip--
cube-mult pow-to-exp pow-pow unpow3
difference-cubes pow2 frac-times sub-neg pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up frac-sub
Counts
4 → 303
Calls
4 calls:
18.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
10.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
7.0ms
(pow (/ x (+ x 1.0)) 3)
109.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

series29.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
3.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
8.0ms
(pow (/ x (+ x 1.0)) 3)
14.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

simplify58.0ms

Algorithm
egg-herbie
Counts
315 → 315
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011642956
150022714

prune600.0ms

Filtered
141 candidates to 315 candidates (-123.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New3141315
Fresh044
Picked011
Done000
Total3146320

Merged error: 0.0b

Counts
320 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (/ x (+ x 1.0)) 3)
0.1b
(cbrt (pow (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) 3))
0.1b
(pow (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) 3)
3.6b
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

rewrite468.0ms

Algorithm
rewrite-expression-head
Rules
969×*-un-lft-identity
472×unpow-prod-down cube-prod
464×times-frac
447×add-sqr-sqrt
265×distribute-lft-out--
180×difference-of-squares
166×distribute-lft-out
160×cbrt-prod
63×sqr-pow
27×add-cube-cbrt
13×cube-div
add-exp-log add-cbrt-cube
pow1 pow-unpow add-log-exp
difference-cubes
associate-/r/
cube-mult cbrt-div flip3-- unpow3 pow-exp frac-sub flip-- rem-cube-cbrt
pow-to-exp pow-pow flip3-+ flip-+ div-inv
cbrt-undiv sub-neg pow1/3 diff-log div-exp rem-cbrt-cube
Counts
4 → 489
Calls
4 calls:
7.0ms
(pow (/ x (+ x 1.0)) 3)
139.0ms
(cbrt (pow (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) 3))
116.0ms
(pow (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) 3)
152.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

series48.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(pow (/ x (+ x 1.0)) 3)
14.0ms
(cbrt (pow (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) 3))
16.0ms
(pow (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) 3)
14.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

simplify170.0ms

Algorithm
egg-herbie
Counts
501 → 501
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
09616891
141966738
250026608

prune593.0ms

Filtered
112 candidates to 501 candidates (-347.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New5001501
Fresh044
Picked011
Done011
Total5007507

Merged error: 0.0b

Counts
507 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.1b
(cbrt (pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3))
0.1b
(pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
3.6b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
257×*-un-lft-identity
112×times-frac
79×add-sqr-sqrt
65×distribute-lft-out--
44×distribute-lft-out
38×cbrt-prod
32×unpow-prod-down cube-prod
20×difference-of-squares
19×add-cube-cbrt
add-exp-log add-cbrt-cube
cube-div add-log-exp
pow1
associate-/r*
pow-unpow cbrt-div flip3-- frac-sub flip-- associate-/l*
cube-mult unpow3 associate-/r/ sqr-pow
cbrt-undiv pow-to-exp sub-neg pow-pow frac-2neg flip3-+ pow1/3 diff-log div-exp pow-exp clear-num rem-cbrt-cube flip-+ div-inv rem-cube-cbrt
Counts
4 → 161
Calls
4 calls:
5.0ms
(/ x (+ x 1.0))
34.0ms
(cbrt (pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3))
34.0ms
(pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
30.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series26.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ x (+ x 1.0))
7.0ms
(cbrt (pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3))
8.0ms
(pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
8.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify63.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04961624
120161565
250021559

prune180.0ms

Filtered
84 candidates to 173 candidates (-106.0%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1721173
Fresh134
Picked011
Done022
Total1737180

Merged error: 0.0b

Counts
180 → 7

regimes105.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch45.0ms

Steps
ItersRangePoint
9
25.58295148917769
42043720.92738165
10255.225871395764
9
-1615134472.8236558
-14.56946306826808
-10913.572853083262

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04235
14235

end0.0ms

analyze4.0ms

Algorithm
search

sample693.0ms

Algorithm
intervals
Results
251.0ms1704×body1280valid
143.0ms1199×body640valid
129.0ms4121×body80valid
57.0ms665×body320valid
20.0ms311×body160valid

Profiling

Loading profile data...