Details

Time bar (total: 2.7s)

sample17.0ms

Algorithm
intervals
Results
5.0ms60×body640valid
3.0ms135×body80valid
2.0ms40×body320valid
1.0ms21×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: 13.4b

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
84×*-un-lft-identity
55×times-frac
50×add-sqr-sqrt
30×add-cube-cbrt
25×distribute-lft-out--
10×distribute-lft-out
associate-/r*
difference-of-squares
add-exp-log add-cbrt-cube
associate-/r/ associate-/l*
add-log-exp
div-inv
pow1 flip--
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-+
sub-neg flip3-+ diff-log frac-sub
Counts
3 → 102
Calls
3 calls:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
51.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series225.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ 1.0 (- x 1.0))
28.0ms
(/ 1.0 (+ x 1.0))
170.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0387679
11331648
25001644

prune193.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.6b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x x) (* 1.0 1.0))
0.6b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
1.5b
(- (- x 1.0) (+ x 1.0))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
17×add-log-exp
14×add-sqr-sqrt
12×add-cube-cbrt times-frac
diff-log
distribute-lft-out-- difference-of-squares
add-exp-log flip3-- add-cbrt-cube flip--
associate-/r* frac-sub
pow1 sub-neg associate-/l*
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
3 → 74
Calls
3 calls:
3.0ms
(- (* x x) (* 1.0 1.0))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
26.0ms
(- (- x 1.0) (+ x 1.0))

series97.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- (* x x) (* 1.0 1.0))
47.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
8.0ms
(- (- x 1.0) (+ x 1.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0413559
12021517
25002515

prune161.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.6b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
25×times-frac
23×add-cube-cbrt *-un-lft-identity
18×associate-*l*
10×add-exp-log associate-*r* add-cbrt-cube
difference-of-squares
pow1 add-log-exp
associate-/r* associate-/r/
distribute-lft-neg-in flip3-- distribute-rgt-neg-in flip-- associate-/l*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv unswap-sqr
neg-mul-1 sub-neg frac-2neg diff-log pow-prod-down associate-*l/ clear-num *-commutative distribute-rgt-neg-out
Counts
3 → 91
Calls
3 calls:
3.0ms
(- (* x x) (* 1.0 1.0))
20.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

series145.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- (* x x) (* 1.0 1.0))
51.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
52.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

simplify54.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0450739
12059671
25001669

prune198.0ms

Pruning

4 alts after pruning (3 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))

rewrite61.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 frac-2neg clear-num add-log-exp
flip3-- flip-- associate-/l/
Counts
2 → 370
Calls
2 calls:
7.0ms
(/ (- 2.0) (+ x 1.0))
28.0ms
(/ (/ (- 2.0) (+ x 1.0)) (- x 1.0))

series95.0ms

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

simplify147.0ms

Algorithm
egg-herbie
Counts
376 → 376
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
011053941
147333857
250013857

prune579.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes18.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

sample440.0ms

Algorithm
intervals
Results
158.0ms1951×body640valid
88.0ms4102×body80valid
79.0ms1307×body320valid
29.0ms640×body160valid