Details

Time bar (total: 3.0s)

sample27.0ms

Algorithm
intervals
Results
8.0ms55×body1280valid
4.0ms35×body640valid
4.0ms129×body80valid
2.0ms28×body320valid
1.0msbody160valid

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune6.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.9b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite44.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))
28.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)))

simplify46.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0392760
11379726
25001716

prune169.0ms

Filtered
113 candidates to 76 candidates (32.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1094113
Fresh000
Picked101
Done000
Total1104114

Merged error: 0.0b

Counts
114 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
162×*-un-lft-identity
72×times-frac
52×add-sqr-sqrt
39×distribute-lft-out--
32×exp-prod
28×distribute-lft-out
17×log-pow
16×add-cube-cbrt
12×difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 log-prod
exp-sum associate-/r*
sub-neg associate-/l*
exp-diff diff-log associate-/r/ rem-exp-log
cbrt-undiv log-div flip3-- frac-2neg flip3-+ div-exp rem-log-exp clear-num frac-sub flip-- flip-+ div-inv
Counts
4 → 118
Calls
4 calls:
7.0ms
(/ x (+ x 1.0))
30.0ms
(exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
30.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)))

series25.0ms

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

simplify143.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0353877
11123810
24298799
35003799

prune160.0ms

Filtered
130 candidates to 80 candidates (38.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1300130
Fresh033
Picked011
Done000
Total1304134

Merged error: 0.0b

Counts
134 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))
4.7b
(/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))
9.4b
(- (/ x (+ x 1.0)) (* (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))
16.4b
(* (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
287×add-sqr-sqrt
258×*-un-lft-identity
201×times-frac
144×difference-of-squares
108×unpow-prod-down cube-prod
106×associate-*l*
72×sqr-pow
66×add-cube-cbrt
51×distribute-lft-out
45×distribute-lft-out--
25×associate-/r*
11×add-exp-log add-cbrt-cube add-log-exp
difference-cubes
pow1 flip3-+ flip-+
frac-sub
frac-times associate-*r/ associate-/r/ associate-/l*
flip3-- associate-*r* sum-log flip--
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-*l/ prod-exp cbrt-unprod div-inv associate-/l/ associate--r+ unswap-sqr
+-commutative sub-neg associate-+r+ frac-2neg diff-log pow-prod-down clear-num *-commutative
Counts
4 → 308
Calls
4 calls:
6.0ms
(+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))
17.0ms
(/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))
9.0ms
(- (/ x (+ x 1.0)) (* (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))
35.0ms
(* (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

series26.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))
5.0ms
(/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))
13.0ms
(- (/ x (+ x 1.0)) (* (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))
6.0ms
(* (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

simplify66.0ms

Algorithm
egg-herbie
Counts
320 → 320
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011833828
150013694

prune622.0ms

Filtered
320 candidates to 168 candidates (47.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3191320
Fresh022
Picked011
Done011
Total3195324

Merged error: 0.0b

Counts
324 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
0.5b
(/ 3.0 (pow x 3))
0.6b
(/ (neg 1.0) (pow x 2))
6.6b
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

rewrite150.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:
52.0ms
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
5.0ms
(/ 3.0 (pow x 3))
6.0ms
(/ (neg 1.0) (pow x 2))
78.0ms
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

series21.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07381746
134171585
250011567

prune287.0ms

Filtered
246 candidates to 129 candidates (47.6%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2451246
Fresh022
Picked011
Done022
Total2456251

Merged error: 0.0b

Counts
251 → 6

regimes85.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 29.5b

bsearch31.0ms

Steps
ItersRangePoint
9
1.132733130973407
94732.78899832016
15667.749443421773
9
-4857749967.132658
-1.3201891031641613
-12984.832060830957

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03216
13216

end0.0ms

sample761.0ms

Algorithm
intervals
Results
256.0ms1719×body1280valid
147.0ms1230×body640valid
132.0ms4077×body80valid
61.0ms661×body320valid
19.0ms313×body160valid

Profiling

Loading profile data...