Details

Time bar (total: 2.5s)

sample17.0ms

Algorithm
intervals
Results
4.0ms50×body640valid
3.0ms133×body80valid
3.0ms51×body320valid
1.0ms22×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1155
2155

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.9b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
66×*-un-lft-identity
43×times-frac
40×add-sqr-sqrt
25×distribute-lft-out--
20×add-cube-cbrt
difference-of-squares
distribute-lft-out
associate-/r*
add-exp-log associate-/r/ add-cbrt-cube add-log-exp
flip-- div-inv associate-/l*
pow1 flip3--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num frac-sub flip-+
Counts
2 → 69
Calls
2 calls:
12.0ms
(/ 1.0 (- x 1.0))
74.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series180.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(/ 1.0 (- x 1.0))
156.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify35.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0314506
11068483
25001480

prune130.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
3.6b
(- (- x 1.0) (+ x 1.0))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
14×add-log-exp
13×add-sqr-sqrt
12×times-frac
11×add-cube-cbrt
diff-log distribute-lft-out--
difference-of-squares
add-exp-log flip3-- associate-/r* frac-sub add-cbrt-cube flip--
associate-/l*
pow1 sub-neg flip3-+ associate--l+ sum-log associate-/r/ flip-+ distribute-lft-out
cbrt-undiv associate--l- frac-2neg div-exp clear-num div-inv associate--r+
Counts
2 → 61
Calls
2 calls:
13.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
47.0ms
(- (- x 1.0) (+ x 1.0))

series48.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
6.0ms
(- (- x 1.0) (+ x 1.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0388479
11916448
25001446

prune129.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
29×add-log-exp
14×add-sqr-sqrt
12×add-cube-cbrt times-frac
sum-log distribute-lft-out
diff-log distribute-lft-out--
add-exp-log add-cbrt-cube difference-of-squares
distribute-rgt-neg-in neg-log associate-/r*
pow1 associate-/l*
sub-neg associate-+r+ flip3-- associate-/r/ flip--
cbrt-undiv +-commutative associate--l- neg-sub0 associate-+r- frac-2neg flip3-+ div-exp clear-num flip-+ div-inv associate--r+
Counts
3 → 78
Calls
3 calls:
23.0ms
(- (- 1.0) (+ x 1.0))
13.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
57.0ms
(+ x (- (- 1.0) (+ x 1.0)))

series74.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(- (- 1.0) (+ x 1.0))
43.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
7.0ms
(+ x (- (- 1.0) (+ x 1.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0362513
11445476
25001470

prune146.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (- 2.0) (pow x 6)) (* 2.0 (+ (/ 1 (pow x 2)) (/ 1 (pow x 4)))))
0.1b
(/ 1 (pow x 4))
0.1b
(/ (- 2.0) (pow x 6))
0.2b
(/ 1 (pow x 2))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
115×times-frac
83×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
57×unpow-prod-down
27×add-exp-log
24×distribute-lft-neg-in distribute-rgt-neg-in
22×associate-/r*
19×sqr-pow
16×associate-/l*
15×div-exp
10×add-cbrt-cube
neg-mul-1
pow-to-exp pow-exp
rec-exp 1-exp add-log-exp
pow1 unpow2
cbrt-undiv frac-2neg associate-*r/ clear-num frac-sub div-inv
neg-sub0 pow-flip div-sub associate--r+ inv-pow
associate--l- distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ diff-log distribute-frac-neg frac-add flip-- flip-+
Counts
4 → 231
Calls
4 calls:
68.0ms
(- (/ (- 2.0) (pow x 6)) (* 2.0 (+ (/ 1 (pow x 2)) (/ 1 (pow x 4)))))
8.0ms
(/ 1 (pow x 4))
10.0ms
(/ (- 2.0) (pow x 6))
8.0ms
(/ 1 (pow x 2))

series138.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(- (/ (- 2.0) (pow x 6)) (* 2.0 (+ (/ 1 (pow x 2)) (/ 1 (pow x 4)))))
30.0ms
(/ 1 (pow x 4))
44.0ms
(/ (- 2.0) (pow x 6))
15.0ms
(/ 1 (pow x 2))

simplify105.0ms

Algorithm
egg-herbie
Counts
243 → 243
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
07661559
134801334
250011283

prune426.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes22.0ms

Accuracy

100% (0.0b remaining)

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

bsearch72.0ms

Steps
ItersRangePoint
10
26.826342714152005
1.350953981158519e+19
6197.824943452279
8
-4116.604674393256
-5.56536991933885
-4067.8475853636296

simplify10.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04419
14419

end0.0ms

sample471.0ms

Algorithm
intervals
Results
154.0ms1909×body640valid
96.0ms4193×body80valid
75.0ms1293×body320valid
27.0ms605×body160valid