Details

Time bar (total: 5.3s)

sample21.0ms

Algorithm
intervals
Results
7.0ms67×body1280valid
3.0ms128×body80valid
3.0ms33×body640valid
1.0ms19×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: 30.3b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
981×*-un-lft-identity
736×times-frac
585×add-sqr-sqrt
468×prod-diff
419×add-cube-cbrt
189×distribute-lft-out
94×associate-/r/
90×distribute-lft-out--
81×difference-of-squares
47×div-inv
29×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
cbrt-undiv frac-2neg div-exp clear-num associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 596
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
45.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series207.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(/ x (+ x 1.0))
38.0ms
(/ (+ x 1.0) (- x 1.0))
135.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify204.0ms

Algorithm
egg-herbie
Counts
605 → 605
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
0120818366
1368713388
2500113292

prune746.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
329×*-un-lft-identity
212×times-frac
173×add-sqr-sqrt
99×add-cube-cbrt
72×swap-sqr
62×distribute-lft-out
44×associate-*r* associate-*l*
37×distribute-lft-out--
30×add-exp-log add-cbrt-cube
26×difference-of-squares
18×pow1 associate-/r/
cbrt-undiv div-exp frac-sub div-inv
frac-times associate-*r/ associate-*l/ prod-exp cbrt-unprod unswap-sqr
flip3-- flip-- add-log-exp
flip3-+ associate-/r* flip-+
expm1-log1p-u log1p-expm1-u associate-/l*
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up associate-/l/
sub-neg frac-2neg fma-neg diff-log prod-diff clear-num
Counts
4 → 293
Calls
4 calls:
8.0ms
(/ (+ x 1.0) (- x 1.0))
21.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
27.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
12.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series363.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ (+ x 1.0) (- x 1.0))
49.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
55.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
220.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify63.0ms

Algorithm
egg-herbie
Counts
305 → 305
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011682966
150012739

prune495.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 3.0 (/ 1 (pow x 3)))
0.2b
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
0.3b
(/ (- 1.0) (pow x 2))
6.0b
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

rewrite300.0ms

Algorithm
rewrite-expression-head
Rules
448×times-frac
372×add-sqr-sqrt
346×*-un-lft-identity
340×add-cube-cbrt
252×prod-diff
165×unpow-prod-down
123×distribute-lft-neg-in distribute-rgt-neg-in
84×fma-neg
57×sqr-pow
52×unpow2
41×neg-mul-1
40×associate-*r*
29×add-exp-log
11×cube-prod add-cbrt-cube
10×prod-exp associate-/l*
div-exp unswap-sqr
associate-/r*
pow1 div-inv add-log-exp
difference-of-squares
expm1-log1p-u pow-to-exp pow-exp log1p-expm1-u
cube-mult rec-exp 1-exp unpow3 associate-*l*
cbrt-undiv neg-sub0 div-sub cbrt-unprod fma-udef
associate--l- sub-neg flip3-- frac-2neg diff-log associate-*r/ distribute-frac-neg pow-prod-down clear-num un-div-inv *-commutative flip-- associate--r+ distribute-lft-out--
Counts
4 → 561
Calls
4 calls:
14.0ms
(* 3.0 (/ 1 (pow x 3)))
1.0ms
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
7.0ms
(/ (- 1.0) (pow x 2))
42.0ms
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

series186.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* 3.0 (/ 1 (pow x 3)))
82.0ms
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
33.0ms
(/ (- 1.0) (pow x 2))
36.0ms
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

simplify181.0ms

Algorithm
egg-herbie
Counts
573 → 573
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
0131412850
147146734
250016734

prune903.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (pow x 3))
0.1b
(* 3.0 (/ 1 (pow x 3)))
0.3b
(/ 1.0 (pow x 2))
6.0b
(- (- (+ (/ 1.0 (pow x 2)) (/ 3.0 x))) (* 3.0 (/ 1 (pow x 3))))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
112×times-frac
103×*-un-lft-identity
95×add-sqr-sqrt
75×add-cube-cbrt
40×associate-*r*
38×add-exp-log
35×unpow-prod-down
23×cube-prod
20×associate-/r*
15×div-exp
14×fma-neg prod-diff
13×add-cbrt-cube sqr-pow
11×add-log-exp
10×distribute-lft-neg-in distribute-rgt-neg-in prod-exp
unswap-sqr
distribute-lft-out
cube-mult pow-to-exp unpow3 pow-exp
pow1 rec-exp 1-exp frac-sub distribute-neg-frac associate-/l*
expm1-log1p-u associate-*r/ un-div-inv log1p-expm1-u unpow2
cbrt-undiv diff-log associate-*l* div-inv
neg-mul-1 frac-2neg flip3-+ neg-log frac-add clear-num cbrt-unprod flip-+
associate--l- neg-sub0 sub-neg distribute-neg-in flip3-- pow-flip pow-prod-down associate--l+ sum-log *-commutative flip-- inv-pow
Counts
4 → 255
Calls
4 calls:
6.0ms
(/ 1 (pow x 3))
17.0ms
(* 3.0 (/ 1 (pow x 3)))
5.0ms
(/ 1.0 (pow x 2))
28.0ms
(- (- (+ (/ 1.0 (pow x 2)) (/ 3.0 x))) (* 3.0 (/ 1 (pow x 3))))

series137.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ 1 (pow x 3))
37.0ms
(* 3.0 (/ 1 (pow x 3)))
30.0ms
(/ 1.0 (pow x 2))
33.0ms
(- (- (+ (/ 1.0 (pow x 2)) (/ 3.0 x))) (* 3.0 (/ 1 (pow x 3))))

simplify118.0ms

Algorithm
egg-herbie
Counts
267 → 267
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
07951673
141161322
250021298

prune424.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes36.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch80.0ms

Steps
ItersRangePoint
8
0.8818080259852756
19555.519105776155
10812.5003292367
9
-1052513.600169936
-0.041603525395973645
-11287.389275273414

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04229
14729
24729

end0.0ms

sample550.0ms

Algorithm
intervals
Results
180.0ms1700×body1280valid
123.0ms1238×body640valid
95.0ms4097×body80valid
41.0ms648×body320valid
14.0ms317×body160valid