Details

Time bar (total: 4.5s)

sample19.0ms

Algorithm
intervals
Results
5.0ms48×body1280valid
4.0ms52×body640valid
3.0ms134×body80valid
1.0ms14×body320valid
0.0msbody160valid

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

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.6b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite139.0ms

Algorithm
rewrite-expression-head
Rules
963×*-un-lft-identity
724×times-frac
575×add-sqr-sqrt
468×prod-diff
409×add-cube-cbrt
185×distribute-lft-out
92×associate-/r/
90×distribute-lft-out--
81×difference-of-squares
46×div-inv
28×flip3-+ flip-+
20×flip3-- flip--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
pow1 expm1-log1p-u log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num frac-sub
Counts
2 → 561
Calls
2 calls:
10.0ms
(/ (+ x 1.0) (- x 1.0))
73.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series166.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ (+ x 1.0) (- x 1.0))
128.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify191.0ms

Algorithm
egg-herbie
Counts
567 → 567
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0116118191
1335013265
2500213161

prune692.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite155.0ms

Algorithm
rewrite-expression-head
Rules
356×*-un-lft-identity
220×times-frac
160×add-sqr-sqrt
96×add-cube-cbrt
76×distribute-lft-out
72×swap-sqr
44×associate-*r* associate-*l*
36×distribute-lft-out--
28×add-exp-log add-cbrt-cube
21×difference-of-squares
18×pow1 fma-def associate-/r/
frac-sub div-inv
cbrt-undiv frac-times associate-*r/ div-exp associate-*l/ prod-exp cbrt-unprod add-log-exp unswap-sqr
flip3-+ flip-+
flip3-- flip--
expm1-log1p-u log1p-expm1-u
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up
+-commutative sub-neg fma-neg diff-log prod-diff frac-add sum-log
Counts
4 → 287
Calls
4 calls:
50.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
31.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
47.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- 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))))

series396.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
44.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
52.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
205.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify56.0ms

Algorithm
egg-herbie
Counts
299 → 299
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011922826
150012626

prune472.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(* 6.0 (/ 1 x))
0.5b
(/ 1 (pow x 2))
0.9b
(/ 1 (pow x 3))
9.0b
(+ (* 5.0 (/ 1 (pow x 2))) (+ (* 6.0 (/ 1 x)) (* 16.0 (/ 1 (pow x 3)))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
71×times-frac
61×add-sqr-sqrt
55×*-un-lft-identity
54×add-cube-cbrt
31×add-exp-log
24×unpow-prod-down
20×frac-add associate-/r*
15×associate-*r/ un-div-inv
14×div-exp
13×associate-*r* add-cbrt-cube
12×cube-prod
add-log-exp
sqr-pow
rec-exp 1-exp
pow1 pow-to-exp pow-exp associate-/l*
expm1-log1p-u cube-mult unpow3 prod-exp log1p-expm1-u unpow2
cbrt-undiv flip3-+ associate-*l* sum-log flip-+ div-inv unswap-sqr
pow-flip frac-2neg clear-num cbrt-unprod inv-pow
+-commutative associate-+r+ fma-def pow-prod-down *-commutative
Counts
4 → 200
Calls
4 calls:
7.0ms
(* 6.0 (/ 1 x))
4.0ms
(/ 1 (pow x 2))
4.0ms
(/ 1 (pow x 3))
19.0ms
(+ (* 5.0 (/ 1 (pow x 2))) (+ (* 6.0 (/ 1 x)) (* 16.0 (/ 1 (pow x 3)))))

series96.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* 6.0 (/ 1 x))
16.0ms
(/ 1 (pow x 2))
36.0ms
(/ 1 (pow x 3))
28.0ms
(+ (* 5.0 (/ 1 (pow x 2))) (+ (* 6.0 (/ 1 x)) (* 16.0 (/ 1 (pow x 3)))))

simplify129.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 2 (114.0ms)

IterNodesCost
07591186
14166911
25001883

prune443.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 5.0 (/ 1 (pow x 2)))
0.5b
(/ 1 (pow x 2))
0.9b
(/ 1 (pow x 3))
9.0b
(+ (* 5.0 (/ 1 (pow x 2))) (+ (pow (/ 6.0 x) 1) (* 16.0 (/ 1 (pow x 3)))))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
92×times-frac
80×add-sqr-sqrt
66×*-un-lft-identity
62×add-cube-cbrt
42×add-exp-log
35×unpow-prod-down
28×associate-*r*
20×associate-/r*
18×div-exp
13×add-cbrt-cube sqr-pow
12×cube-prod
10×prod-exp
pow-to-exp rec-exp 1-exp pow-exp unpow2 add-log-exp unswap-sqr
pow1 associate-/l*
expm1-log1p-u cube-mult unpow3 frac-add log1p-expm1-u
cbrt-undiv flip3-+ associate-*r/ associate-*l* sum-log un-div-inv flip-+ div-inv
pow-flip frac-2neg clear-num cbrt-unprod inv-pow
+-commutative associate-+r+ fma-def pow-prod-down *-commutative
Counts
4 → 219
Calls
4 calls:
13.0ms
(* 5.0 (/ 1 (pow x 2)))
4.0ms
(/ 1 (pow x 2))
4.0ms
(/ 1 (pow x 3))
53.0ms
(+ (* 5.0 (/ 1 (pow x 2))) (+ (pow (/ 6.0 x) 1) (* 16.0 (/ 1 (pow x 3)))))

series104.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* 5.0 (/ 1 (pow x 2)))
15.0ms
(/ 1 (pow x 2))
35.0ms
(/ 1 (pow x 3))
29.0ms
(+ (* 5.0 (/ 1 (pow x 2))) (+ (pow (/ 6.0 x) 1) (* 16.0 (/ 1 (pow x 3)))))

simplify109.0ms

Algorithm
egg-herbie
Counts
231 → 231
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
07001284
13791939
25001911

prune503.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes35.0ms

Accuracy

100% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 29.1b

bsearch112.0ms

Steps
ItersRangePoint
10
5.968040026638966e-05
117627206.70733242
18728.68752736968
10
-64880754058.88788
-2.651420353119469e-05
-15437.909064845162

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05138
16238
27238
37338
47338

end0.0ms

sample520.0ms

Algorithm
intervals
Results
176.0ms1719×body1280valid
103.0ms1224×body640valid
93.0ms4124×body80valid
37.0ms618×body320valid
17.0ms315×body160valid