Details

Time bar (total: 3.5s)

sample20.0ms

Algorithm
intervals
Results
7.0ms59×body640valid
3.0ms51×body320valid
3.0ms130×body80valid
1.0ms16×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1155
2155

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.5b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite165.0ms

Algorithm
rewrite-expression-head
Rules
662×*-un-lft-identity
589×times-frac
496×add-sqr-sqrt
378×prod-diff
368×add-cube-cbrt
86×associate-/r/
79×distribute-lft-out--
76×distribute-lft-out
62×difference-of-squares
44×div-inv
24×flip-+
23×flip3-+
21×flip--
20×flip3--
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
sub-neg diff-log frac-sub
Counts
3 → 504
Calls
3 calls:
11.0ms
(/ 1.0 (+ x 1.0))
11.0ms
(/ 1.0 (- x 1.0))
95.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series239.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(/ 1.0 (+ x 1.0))
24.0ms
(/ 1.0 (- x 1.0))
193.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify167.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
0120013350
135939620
250019568

prune680.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize14.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
1.9b
(- (- x 1.0) (+ x 1.0))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity
39×add-sqr-sqrt
29×prod-diff
27×add-cube-cbrt
14×add-log-exp
12×times-frac
11×associate--l+ distribute-lft-out--
10×difference-of-squares
distribute-lft-out
diff-log
fma-neg
add-exp-log flip3-- associate-/r* frac-sub add-cbrt-cube flip--
associate-/l*
pow1 expm1-log1p-u sub-neg flip3-+ sum-log associate-/r/ flip-+ log1p-expm1-u
cbrt-undiv associate--l- frac-2neg div-exp clear-num div-inv associate--r+
Counts
2 → 99
Calls
2 calls:
15.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
54.0ms
(- (- x 1.0) (+ x 1.0))

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

simplify95.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0500926
12870692
25001690

prune193.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
0.3b
(/ 1.0 (- (* x x) (* 1.0 1.0)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
25×times-frac
22×add-cube-cbrt *-un-lft-identity
18×associate-*l*
10×associate-*r*
add-exp-log add-cbrt-cube
difference-of-squares
pow1 associate-/r* associate-/r/
distribute-lft-neg-in distribute-rgt-neg-in associate-/l*
cbrt-undiv expm1-log1p-u flip3-- div-exp prod-exp flip-- cbrt-unprod log1p-expm1-u div-inv add-log-exp unswap-sqr
neg-mul-1 frac-2neg pow-prod-down associate-*l/ clear-num *-commutative distribute-rgt-neg-out
Counts
2 → 82
Calls
2 calls:
39.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
16.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

series91.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
46.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

simplify62.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0455678
12096616
25001612

prune186.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- 2.0) (+ x 1.0))
0.1b
(/ (/ (- 2.0) (+ x 1.0)) (- x 1.0))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
510×times-frac
449×*-un-lft-identity
307×add-sqr-sqrt
213×add-cube-cbrt
87×distribute-lft-neg-in distribute-rgt-neg-in
71×distribute-lft-out
56×associate-/l*
47×distribute-lft-out-- difference-of-squares
29×neg-mul-1
16×associate-/r/
add-exp-log associate-/r* add-cbrt-cube
div-inv
flip3-+ flip-+
cbrt-undiv div-exp
div-sub distribute-frac-neg
pow1 neg-sub0 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
flip3-- flip-- associate-/l/
Counts
2 → 374
Calls
2 calls:
13.0ms
(/ (- 2.0) (+ x 1.0))
40.0ms
(/ (/ (- 2.0) (+ x 1.0)) (- x 1.0))

series85.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(/ (- 2.0) (+ x 1.0))
64.0ms
(/ (/ (- 2.0) (+ x 1.0)) (- x 1.0))

simplify120.0ms

Algorithm
egg-herbie
Counts
380 → 380
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
011203956
148013876
250013876

prune644.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes21.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0136
1156
2196
3226
4226

end0.0ms

sample466.0ms

Algorithm
intervals
Results
157.0ms1924×body640valid
91.0ms4224×body80valid
76.0ms1256×body320valid
24.0ms596×body160valid