Details

Time bar (total: 4.0s)

sample20.0ms

Algorithm
intervals
Results
6.0ms54×body1280valid
3.0ms41×body640valid
3.0ms125×body80valid
1.0ms19×body320valid
1.0ms17×body160valid

simplify20.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.7b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite80.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))
11.0ms
(/ (+ x 1.0) (- x 1.0))
58.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series197.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ x (+ x 1.0))
40.0ms
(/ (+ x 1.0) (- x 1.0))
124.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

prune215.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
0.2b
(/ 3.0 (pow x 3))
0.3b
(/ (- 1.0) (pow x 2))
8.2b
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

rewrite739.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:
84.0ms
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
4.0ms
(/ 3.0 (pow x 3))
7.0ms
(/ (- 1.0) (pow x 2))
633.0ms
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

series168.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
39.0ms
(/ 3.0 (pow x 3))
25.0ms
(/ (- 1.0) (pow x 2))
36.0ms
(- (- (/ (- 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 (76.0ms)

IterNodesCost
07381754
134481596
250011578

prune424.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
0.1b
(* x (/ 1 (+ x 1.0)))
10.8b
(- (* x (/ 1 (+ x 1.0))) (/ (+ x 1.0) (- x 1.0)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
50×add-sqr-sqrt
46×times-frac
33×add-cube-cbrt
19×add-exp-log
18×associate-*r*
13×add-cbrt-cube distribute-lft-out
associate-/r*
pow1 associate-/l*
associate-/r/ add-log-exp
div-exp distribute-lft-out-- difference-of-squares
prod-exp
cbrt-undiv flip3-+ associate-*l* flip-+ div-inv unswap-sqr
rec-exp flip3-- frac-2neg 1-exp associate-*r/ clear-num un-div-inv frac-sub flip-- cbrt-unprod associate-/l/
sub-neg pow-flip diff-log pow-prod-down *-commutative inv-pow
Counts
4 → 137
Calls
4 calls:
6.0ms
(/ 1 (+ x 1.0))
11.0ms
(/ (+ x 1.0) (- x 1.0))
18.0ms
(* x (/ 1 (+ x 1.0)))
17.0ms
(- (* x (/ 1 (+ x 1.0))) (/ (+ x 1.0) (- x 1.0)))

series227.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ 1 (+ x 1.0))
37.0ms
(/ (+ x 1.0) (- x 1.0))
36.0ms
(* x (/ 1 (+ x 1.0)))
127.0ms
(- (* x (/ 1 (+ x 1.0))) (/ (+ x 1.0) (- x 1.0)))

simplify61.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0507875
12099793
25001754

prune234.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (- x 1.0))
0.0b
(* (+ x 1.0) (+ x 1.0))
0.1b
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
20.0b
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*r/
35×*-un-lft-identity
32×frac-sub
30×flip3-+ flip-+
25×add-sqr-sqrt
20×frac-times flip3-- flip--
19×add-cube-cbrt
18×associate-/l/
13×pow1
12×times-frac
10×add-exp-log associate-*l/ add-cbrt-cube
associate-*r*
associate-*l*
distribute-rgt-in distribute-lft-in swap-sqr distribute-lft-out add-log-exp
sub-neg difference-of-squares
associate--l+ associate-/r*
associate-/l*
pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod associate--r+ unswap-sqr
cbrt-undiv pow2 frac-2neg pow-plus diff-log div-sub div-exp clear-num pow-sqr pow-prod-up div-inv distribute-lft-out--
Counts
4 → 152
Calls
4 calls:
10.0ms
(* x (- x 1.0))
20.0ms
(* (+ x 1.0) (+ x 1.0))
21.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
9.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

series148.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* x (- x 1.0))
16.0ms
(* (+ x 1.0) (+ x 1.0))
52.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
39.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

simplify137.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (120.0ms)

IterNodesCost
07691735
144371626
250011621

prune342.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes31.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch94.0ms

Steps
ItersRangePoint
9
6.164824567421913
3268324.1998729478
12731.405538457477
9
-3875183.9477288676
-0.008763241487176904
-12879.754469549705

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04336
14336

end0.0ms

sample563.0ms

Algorithm
intervals
Results
206.0ms1754×body1280valid
112.0ms1255×body640valid
98.0ms4094×body80valid
38.0ms589×body320valid
14.0ms308×body160valid