Details

Time bar (total: 3.0s)

sample31.0ms

Algorithm
intervals
Results
9.0ms60×body1280valid
8.0ms37×body640valid
5.0ms131×body80valid
2.0ms20×body320valid
0.0msbody160valid

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

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.5b

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.3b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite43.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:
5.0ms
(/ x (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
27.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series15.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0392760
11379726
25001716

prune182.0ms

Filtered
113 candidates to 76 candidates (32.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1058113
Fresh000
Picked101
Done000
Total1068114

Merged error: 0.1b

Counts
114 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
0.0b
(/ (+ x 1.0) (- x 1.0))
2.3b
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
2.3b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
178×*-un-lft-identity
80×times-frac
64×add-sqr-sqrt
44×distribute-lft-out--
32×exp-prod
30×distribute-lft-out
18×add-cube-cbrt
17×log-pow difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 log-prod associate-/r*
exp-sum associate-/l*
sub-neg
flip3-- exp-diff diff-log associate-/r/ flip-- rem-exp-log associate-/l/
cbrt-undiv log-div frac-2neg flip3-+ div-exp rem-log-exp clear-num frac-sub flip-+ div-inv
Counts
4 → 130
Calls
4 calls:
31.0ms
(exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
7.0ms
(/ (+ x 1.0) (- x 1.0))
29.0ms
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
30.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series24.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
3.0ms
(/ (+ x 1.0) (- x 1.0))
7.0ms
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
04041009
11249941
25001931

prune212.0ms

Filtered
142 candidates to 86 candidates (39.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1411142
Fresh077
Picked011
Done000
Total1419150

Merged error: 0.0b

Counts
150 → 9

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
2.3b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
2.3b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite163.0ms

Algorithm
rewrite-expression-head
Rules
943×*-un-lft-identity
364×times-frac
253×distribute-lft-out--
186×sqrt-prod
166×distribute-lft-out
117×add-sqr-sqrt
79×swap-sqr
29×difference-of-squares
24×sqrt-div
23×add-cube-cbrt
19×pow1 associate-*r* associate-*l*
11×flip3-- flip--
10×frac-sub
frac-times
add-exp-log sqrt-pow1 pow1/2 add-cbrt-cube add-log-exp
associate-/r* pow-prod-up
associate-/l* unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv pow2 frac-2neg flip3-+ pow-plus sqrt-unprod div-exp prod-exp clear-num rem-square-sqrt *-commutative cbrt-unprod flip-+ div-inv
Counts
4 → 258
Calls
4 calls:
7.0ms
(/ (+ x 1.0) (- x 1.0))
67.0ms
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
28.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
30.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series24.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ (+ x 1.0) (- x 1.0))
7.0ms
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify82.0ms

Algorithm
egg-herbie
Counts
270 → 270
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04572590
118942448
250022412

prune322.0ms

Filtered
270 candidates to 109 candidates (59.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2682270
Fresh257
Picked101
Done011
Total2718279

Merged error: 0.0b

Counts
279 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3)))))
0.1b
(pow (/ (+ x 1.0) (- x 1.0)) 3)
2.3b
(- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3)))
2.3b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite200.0ms

Algorithm
rewrite-expression-head
Rules
161×*-un-lft-identity
151×add-sqr-sqrt
102×times-frac
44×difference-of-squares
38×sqrt-prod
36×distribute-lft-out--
34×unpow-prod-down cube-prod
29×add-cube-cbrt
26×distribute-lft-out
24×cbrt-prod sqrt-div
21×associate-*r*
19×associate-*l*
12×flip3-- flip--
10×frac-sub
pow1 add-exp-log frac-times add-cbrt-cube
add-log-exp
cube-div
cbrt-div sqr-pow
associate-/r/ unswap-sqr
pow-unpow associate-*r/ pow-prod-down associate-*l/
sub-neg sqrt-pow1 pow1/2 diff-log pow-exp div-inv rem-cube-cbrt
cbrt-undiv cube-mult pow-to-exp pow-pow sqrt-unprod unpow3 div-exp prod-exp *-commutative cbrt-unprod
Counts
4 → 199
Calls
4 calls:
92.0ms
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3)))))
9.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
54.0ms
(- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3)))
30.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series45.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
211 → 211
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
09992907
138962515
250022454

prune428.0ms

Filtered
211 candidates to 116 candidates (45.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2092211
Fresh156
Picked101
Done011
Total2118219

Merged error: 0.0b

Counts
219 → 8

regimes111.0ms

Accuracy

99.6% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 28.8b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03548
13548

end0.0ms

sample761.0ms

Algorithm
intervals
Results
254.0ms1654×body1280valid
148.0ms1198×body640valid
135.0ms4173×body80valid
67.0ms663×body320valid
20.0ms312×body160valid

Profiling

Loading profile data...