Details

Time bar (total: 2.4s)

analyze4.0ms

Algorithm
search

sample25.0ms

Algorithm
intervals
Results
7.0ms48×body1280valid
6.0ms50×body640valid
4.0ms125×body80valid
2.0ms22×body320valid
1.0ms11×body160valid

simplify19.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: 30.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))
3.0b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite45.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))
30.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series12.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)))

simplify43.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0392760
11379726
25001716

prune178.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1094113
Fresh000
Picked101
Done000
Total1104114

Merged error: 0.0b

Counts
114 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
0.4b
(/ (neg 1.0) (pow x 2))
0.5b
(/ 3.0 (pow x 3))
6.2b
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

rewrite146.0ms

Algorithm
rewrite-expression-head
Rules
143×times-frac
120×add-sqr-sqrt
105×*-un-lft-identity
78×add-cube-cbrt
48×unpow-prod-down
29×distribute-rgt-neg-in
27×distribute-lft-neg-in
20×associate-/r*
18×sqr-pow
15×difference-of-squares
14×add-exp-log
13×cube-prod associate-/l* unpow2
11×add-log-exp
10×distribute-lft-out--
neg-mul-1
add-cbrt-cube
div-exp
frac-sub
pow1 cube-mult diff-log unpow3
sub-neg flip3-- flip--
cbrt-undiv associate--l- neg-sub0 pow-to-exp frac-2neg div-sub pow-exp associate--l+ clear-num div-inv
distribute-frac-neg
Counts
4 → 234
Calls
4 calls:
51.0ms
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
6.0ms
(/ (neg 1.0) (pow x 2))
5.0ms
(/ 3.0 (pow x 3))
75.0ms
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

series19.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
6.0ms
(/ (neg 1.0) (pow x 2))
3.0ms
(/ 3.0 (pow x 3))
4.0ms
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

simplify98.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07381746
134221585
250021567

prune300.0ms

Filtered
129 candidates to 246 candidates (-90.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2451246
Fresh033
Picked011
Done000
Total2455250

Merged error: 0b

Counts
250 → 5

localize9.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))
3.0b
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
3.0b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite103.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)))))
29.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)))

simplify43.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
04041009
11249941
25001931

prune191.0ms

Filtered
87 candidates to 142 candidates (-63.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1420142
Fresh033
Picked011
Done011
Total1425147

Merged error: 0b

Counts
147 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
98×*-un-lft-identity
68×add-sqr-sqrt
61×times-frac
52×exp-prod
37×add-cube-cbrt
28×log-pow
16×distribute-lft-out
15×distribute-lft-out-- difference-of-squares
pow1 add-exp-log log-prod associate-/r/ add-cbrt-cube add-log-exp
associate-/r*
flip3-- flip-- associate-/l*
div-inv associate--r+
associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp rem-log-exp clear-num flip-+ rem-exp-log
Counts
4 → 136
Calls
4 calls:
11.0ms
(log (exp (/ (+ x 1.0) (- x 1.0))))
8.0ms
(exp (/ (+ x 1.0) (- x 1.0)))
7.0ms
(/ (+ x 1.0) (- x 1.0))
33.0ms
(- (/ x (+ x 1.0)) (log (exp (/ (+ x 1.0) (- x 1.0)))))

series17.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0412978
11201907
25001888

prune203.0ms

Filtered
102 candidates to 148 candidates (-45.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1480148
Fresh022
Picked011
Done022
Total1485153

Merged error: 0b

Counts
153 → 5

regimes80.0ms

Accuracy

99.5% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02622
12622

end0.0ms

analyze4.0ms

Algorithm
search

sample720.0ms

Algorithm
intervals
Results
256.0ms1690×body1280valid
157.0ms1285×body640valid
132.0ms4109×body80valid
56.0ms594×body320valid
20.0ms322×body160valid

Profiling

Loading profile data...