Details

Time bar (total: 5.3s)

sample24.0ms

Algorithm
intervals
Results
6.0ms55×body1280valid
3.0ms139×body80valid
3.0ms35×body640valid
1.0ms18×body320valid
0.0msbody160valid

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

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.0b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
81×*-un-lft-identity
40×times-frac
35×add-sqr-sqrt
18×distribute-lft-out--
14×distribute-lft-out
13×add-cube-cbrt
difference-of-squares
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
pow1 flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num frac-sub flip-+ div-inv
Counts
2 → 71
Calls
2 calls:
7.0ms
(/ (+ x 1.0) (- x 1.0))
30.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series161.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(/ (+ x 1.0) (- x 1.0))
125.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify139.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0317591
11003565
24494559
35003559

prune170.0ms

Filtered
77 candidates to 50 candidates (64.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New73477
Fresh000
Picked101
Done000
Total74478

Merged error: 0.2b

Counts
78 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
0.0b
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
0.0b
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
2.6b
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
544×*-un-lft-identity
320×times-frac
170×add-sqr-sqrt
141×distribute-lft-out
106×add-cube-cbrt
72×swap-sqr
52×distribute-lft-out--
44×associate-*r* associate-*l*
34×difference-of-squares
30×add-exp-log add-cbrt-cube
19×associate-/r/
18×pow1 frac-sub
14×frac-times associate-*r/ associate-*l/
12×associate-/r*
11×associate-/l/
cbrt-undiv div-exp div-inv
prod-exp cbrt-unprod unswap-sqr
flip3-- flip-- add-log-exp
flip3-+ flip-+
associate-/l*
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up
sub-neg frac-2neg diff-log div-sub frac-add clear-num
Counts
4 → 329
Calls
4 calls:
45.0ms
(/ (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
30.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
17.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
11.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series623.0ms

Counts
4 → 12
Calls
4 calls:
329.0ms
(/ (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
52.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
43.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
198.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify81.0ms

Algorithm
egg-herbie
Counts
341 → 341
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012944957
150024719

prune561.0ms

Filtered
341 candidates to 173 candidates (50.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New3383341
Fresh123
Picked101
Done000
Total3405345

Merged error: 0.2b

Counts
345 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
0.0b
(/ (log (exp (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))))) (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
2.6b
(log (exp (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))))
2.6b
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
533×*-un-lft-identity
304×times-frac
171×distribute-lft-out
89×add-sqr-sqrt
77×add-cube-cbrt
70×log-pow
56×exp-prod
36×distribute-lft-out--
25×pow1
24×swap-sqr
18×add-exp-log associate-*r* associate-*l* add-cbrt-cube
15×difference-of-squares
12×associate-/r*
11×associate-/r/
frac-sub
associate-/l*
frac-times associate-*r/ associate-*l/
add-log-exp
cbrt-undiv log-prod flip3-+ div-exp flip-+ div-inv
prod-exp cbrt-unprod unswap-sqr
sub-neg log-div exp-diff exp-sum
pow2 flip3-- frac-2neg pow-plus diff-log div-sub rem-log-exp pow-prod-down frac-add clear-num pow-sqr *-commutative pow-prod-up flip--
Counts
4 → 261
Calls
4 calls:
20.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
43.0ms
(/ (log (exp (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))))) (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
11.0ms
(log (exp (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))))
14.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series767.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
330.0ms
(/ (log (exp (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))))) (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
197.0ms
(log (exp (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))))
195.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify153.0ms

Algorithm
egg-herbie
Counts
273 → 273
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
08975698
140615095
250015069

prune466.0ms

Filtered
273 candidates to 129 candidates (47.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2730273
Fresh044
Picked011
Done000
Total2735278

Merged error: 0.2b

Counts
278 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (- x 1.0))
0.2b
(cbrt (- x 1.0))
0.3b
(* (cbrt (- x 1.0)) (cbrt (- x 1.0)))
20.6b
(- (/ x (+ x 1.0)) (/ (/ (+ x 1.0) (* (cbrt (- x 1.0)) (cbrt (- x 1.0)))) (cbrt (- x 1.0))))

rewrite130.0ms

Algorithm
rewrite-expression-head
Rules
67×add-sqr-sqrt
43×*-un-lft-identity
42×cbrt-prod
21×times-frac
16×cbrt-div difference-of-squares
14×add-cube-cbrt
11×pow1 distribute-lft-out--
10×swap-sqr
flip3-- flip--
pow1/3 associate-*r* associate-*l*
add-exp-log add-log-exp
frac-times add-cbrt-cube unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 sub-neg pow-plus diff-log prod-exp *-commutative frac-sub cbrt-unprod distribute-lft-out
Counts
4 → 112
Calls
4 calls:
3.0ms
(cbrt (- x 1.0))
3.0ms
(cbrt (- x 1.0))
11.0ms
(* (cbrt (- x 1.0)) (cbrt (- x 1.0)))
109.0ms
(- (/ x (+ x 1.0)) (/ (/ (+ x 1.0) (* (cbrt (- x 1.0)) (cbrt (- x 1.0)))) (cbrt (- x 1.0))))

series486.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(cbrt (- x 1.0))
98.0ms
(cbrt (- x 1.0))
125.0ms
(* (cbrt (- x 1.0)) (cbrt (- x 1.0)))
167.0ms
(- (/ x (+ x 1.0)) (/ (/ (+ x 1.0) (* (cbrt (- x 1.0)) (cbrt (- x 1.0)))) (cbrt (- x 1.0))))

simplify57.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05401361
118011261
250021191

prune350.0ms

Filtered
124 candidates to 91 candidates (73.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1240124
Fresh033
Picked011
Done011
Total1245129

Merged error: 0.2b

Counts
129 → 5

regimes49.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.2b against oracle of 0.2b and baseline of 29.2b

bsearch111.0ms

Steps
ItersRangePoint
9
911.8039404667869
114238954.84408061
16838.629846100426
10
-1087315822018.0432
-7.975708081780418
-13356.292489681631

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05735
16835
28135
38335
48335

end0.0ms

sample608.0ms

Algorithm
intervals
Results
207.0ms1719×body1280valid
117.0ms1244×body640valid
103.0ms4114×body80valid
41.0ms605×body320valid
15.0ms318×body160valid

Profiling

Loading profile data...