Details

Time bar (total: 2.1s)

analyze4.0ms

Algorithm
search

sample24.0ms

Algorithm
intervals
Results
8.0ms56×body1280valid
5.0ms39×body640valid
4.0ms134×body80valid
1.0ms16×body320valid
1.0ms11×body160valid

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

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.3b

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))
3.0b
(- (/ 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)))

series13.0ms

Counts
3 → 9
Calls
3 calls:
3.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)))

simplify44.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0392760
11379726
25001716

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

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
2.9b
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
3.0b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
148×*-un-lft-identity
72×times-frac
60×add-sqr-sqrt
31×distribute-lft-out--
26×add-cube-cbrt distribute-lft-out
17×log-pow
16×exp-prod
13×difference-of-squares
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1 log-prod
associate-/r/
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ div-exp exp-sum clear-num flip-- flip-+ div-inv associate-/l/
log-div exp-diff diff-log rem-log-exp frac-sub
Counts
4 → 135
Calls
4 calls:
5.0ms
(/ x (+ 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)))

series23.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ x (+ 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)))))
10.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify46.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0441990
11497930
25001917

prune207.0ms

Filtered
93 candidates to 147 candidates (-58.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1470147
Fresh044
Picked011
Done000
Total1475152

Merged error: 0.0b

Counts
152 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.1b
(exp (log (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
2.8b
(log (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
3.0b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite99.0ms

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

series26.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04751328
115291251
250011219

prune207.0ms

Filtered
86 candidates to 142 candidates (-65.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1411142
Fresh033
Picked101
Done011
Total1425147

Merged error: 0.0b

Counts
147 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)
18.5b
(- (* (* (cbrt x) (cbrt x)) (/ (cbrt x) (+ x 1.0))) (/ (+ x 1.0) (- x 1.0)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
pow1 add-exp-log add-cbrt-cube
pow1/3
sub-neg flip3-- diff-log associate-*r/ frac-sub flip--
Counts
4 → 46
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)
19.0ms
(- (* (* (cbrt x) (cbrt x)) (/ (cbrt x) (+ x 1.0))) (/ (+ x 1.0) (- x 1.0)))

series74.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt x)
21.0ms
(cbrt x)
21.0ms
(cbrt x)
10.0ms
(- (* (* (cbrt x) (cbrt x)) (/ (cbrt x) (+ x 1.0))) (/ (+ x 1.0) (- x 1.0)))

simplify75.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0206412
1647370
22823328
35001325

prune67.0ms

Filtered
45 candidates to 58 candidates (-28.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New58058
Fresh033
Picked011
Done011
Total58563

Merged error: 0.0b

Counts
63 → 5

regimes82.0ms

Accuracy

99.6% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02622
12622

end0.0ms

analyze4.0ms

Algorithm
search

sample703.0ms

Algorithm
intervals
Results
251.0ms1646×body1280valid
158.0ms1336×body640valid
127.0ms4064×body80valid
57.0ms631×body320valid
19.0ms323×body160valid

Profiling

Loading profile data...