Details

Time bar (total: 5.7s)

sample37.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 99.987793%

Results
9.0ms39×body640valid
8.0ms53×body1280valid
4.0ms138×body80valid
1.0ms16×body320valid
1.0ms10×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

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.4b

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.3b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

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

series16.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(/ x (+ x 1.0))
6.0ms
(/ (+ x 1.0) (- x 1.0))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify42.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0392760
11379726
25001716

prune173.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1103113
Fresh000
Picked101
Done000
Total1113114

Merged error: 0.0b

Counts
114 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 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.2b
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

rewrite108.0ms

Algorithm
rewrite-expression-head
Rules
342×*-un-lft-identity
208×times-frac
152×add-sqr-sqrt
88×add-cube-cbrt
73×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
16×associate-/r/
frac-sub
cbrt-undiv frac-times associate-*r/ div-exp associate-*l/ prod-exp cbrt-unprod div-inv add-log-exp unswap-sqr
flip3-- flip3-+ flip-- flip-+
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up
+-commutative sub-neg diff-log frac-add sum-log
Counts
4 → 259
Calls
4 calls:
32.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
27.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
17.0ms
(* (/ x (+ x 1.0)) (/ x (+ 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))))

series25.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
4.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
3.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))))

simplify59.0ms

Algorithm
egg-herbie
Counts
271 → 271
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011452720
150022529

prune464.0ms

Filtered
142 candidates to 271 candidates (-90.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2683271
Fresh112
Picked011
Done000
Total2695274

Merged error: 0.0b

Counts
274 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
0.0b
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
0.0b
(pow (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
2.2b
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
391×*-un-lft-identity
224×times-frac
155×add-sqr-sqrt
91×add-cube-cbrt
90×distribute-lft-out
72×swap-sqr
44×associate-*r* associate-*l*
40×distribute-lft-out--
29×add-exp-log add-cbrt-cube
21×difference-of-squares
19×pow1
16×associate-/r/
12×unpow-prod-down cube-prod
frac-sub
cbrt-undiv frac-times associate-*r/ div-exp associate-*l/ prod-exp cbrt-unprod div-inv unswap-sqr
add-log-exp
flip3-- flip3-+ flip-- flip-+
cube-div pow-unpow
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up
cube-mult pow-to-exp sub-neg pow-pow diff-log unpow3 frac-add pow-exp rem-cube-cbrt sqr-pow
Counts
4 → 282
Calls
4 calls:
31.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
20.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
44.0ms
(pow (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
12.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series25.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
3.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
7.0ms
(pow (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
12.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify65.0ms

Algorithm
egg-herbie
Counts
294 → 294
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012442928
150022765

prune573.0ms

Filtered
147 candidates to 294 candidates (-100.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2940294
Fresh033
Picked011
Done011
Total2945299

Merged error: 0.0b

Counts
299 → 5

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite180.0ms

Algorithm
rewrite-expression-head
Rules
1056×*-un-lft-identity
704×times-frac
340×distribute-lft-out
250×associate-*r/
228×frac-times
170×frac-sub
136×add-sqr-sqrt add-cube-cbrt
122×flip3-+ flip-+
114×associate-*l/
88×associate-/l/
84×flip3-- flip--
80×distribute-lft-out--
43×difference-of-squares
31×associate-/r/
21×associate-/l*
16×associate-/r*
15×div-inv
11×add-exp-log add-cbrt-cube
add-log-exp
pow1 cbrt-undiv div-exp associate--l+
sub-neg div-sub
distribute-rgt-in frac-2neg distribute-lft-in frac-add clear-num
+-commutative diff-log sum-log
Counts
4 → 508
Calls
4 calls:
47.0ms
(/ (/ (- (* (* x (/ x (+ x 1.0))) (- x 1.0)) (* (+ x 1.0) (* (+ x 1.0) (/ (+ x 1.0) (- x 1.0))))) (- (* x x) (* 1.0 1.0))) (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
31.0ms
(/ (- (* (* x (/ x (+ x 1.0))) (- x 1.0)) (* (+ x 1.0) (* (+ x 1.0) (/ (+ x 1.0) (- x 1.0))))) (- (* x x) (* 1.0 1.0)))
29.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
17.0ms
(- (* (* x (/ x (+ x 1.0))) (- x 1.0)) (* (+ x 1.0) (* (+ x 1.0) (/ (+ x 1.0) (- x 1.0)))))

series69.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ (/ (- (* (* x (/ x (+ x 1.0))) (- x 1.0)) (* (+ x 1.0) (* (+ x 1.0) (/ (+ x 1.0) (- x 1.0))))) (- (* x x) (* 1.0 1.0))) (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
24.0ms
(/ (- (* (* x (/ x (+ x 1.0))) (- x 1.0)) (* (+ x 1.0) (* (+ x 1.0) (/ (+ x 1.0) (- x 1.0))))) (- (* x x) (* 1.0 1.0)))
6.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
15.0ms
(- (* (* x (/ x (+ x 1.0))) (- x 1.0)) (* (+ x 1.0) (* (+ x 1.0) (/ (+ x 1.0) (- x 1.0)))))

simplify188.0ms

Algorithm
egg-herbie
Counts
520 → 520
Iterations

Useful iterations: 1 (45.0ms)

IterNodesCost
0207316275
1500115996

prune2.5s

Filtered
295 candidates to 520 candidates (-76.3%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New5182520
Fresh022
Picked011
Done022
Total5187525

Merged error: 0.0b

Counts
525 → 7

regimes58.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch32.0ms

Steps
ItersRangePoint
8
81.18943540732513
84242.96603183816
12828.87251172184
8
-1668307.5034652743
-26.15695727702824
-14977.6836537101

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04532
14532

end0.0ms

sample775.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 99.987793%

Results
263.0ms1713×body1280valid
151.0ms1241×body640valid
131.0ms4067×body80valid
60.0ms650×body320valid
22.0ms329×body160valid

Profiling

Loading profile data...