Details

Time bar (total: 2.3s)

sample18.0ms

Algorithm
intervals
Results
5.0ms69×body640valid
3.0ms127×body80valid
2.0ms41×body320valid
1.0ms19×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0125
1155
2155

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.4b

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity
28×times-frac
21×add-sqr-sqrt distribute-lft-out--
add-cube-cbrt
distribute-lft-out
difference-of-squares
add-log-exp
associate-/r/ flip-- div-inv
pow1 add-exp-log sub-neg flip3-- diff-log frac-sub add-cbrt-cube flip-+
Counts
1 → 32
Calls
1 calls:
75.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series159.0ms

Counts
1 → 3
Calls
1 calls:
159.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0183300
1517283
21860283
35001283

prune55.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.4b

localize9.0ms

Local error

Found 2 expressions with local error:

0.4b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
2.2b
(- (- x 1.0) (+ x 1.0))

rewrite61.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:
12.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
46.0ms
(- (- x 1.0) (+ x 1.0))

series53.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0388479
11916448
25001446

prune129.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.4b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite58.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 flip3-- div-exp prod-exp flip-- cbrt-unprod 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 → 78
Calls
2 calls:
42.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
13.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

series95.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0438659
12023600
25001598

prune165.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
470×times-frac
400×*-un-lft-identity
280×add-sqr-sqrt
186×add-cube-cbrt
72×distribute-lft-neg-in distribute-rgt-neg-in
60×distribute-lft-out
47×distribute-lft-out-- difference-of-squares
46×associate-/l*
24×neg-mul-1
14×associate-/r/
div-inv
add-exp-log flip3-+ add-cbrt-cube flip-+
associate-/r*
cbrt-undiv div-exp
div-sub distribute-frac-neg
pow1 neg-sub0 flip3-- frac-2neg clear-num flip-- associate-/l/ add-log-exp
Counts
1 → 300
Calls
1 calls:
39.0ms
(/ (/ (- 2.0) (+ x 1.0)) (- x 1.0))

series66.0ms

Counts
1 → 3
Calls
1 calls:
66.0ms
(/ (/ (- 2.0) (+ x 1.0)) (- x 1.0))

simplify116.0ms

Algorithm
egg-herbie
Counts
303 → 303
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
010633489
144373420
250013420

prune471.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

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

sample455.0ms

Algorithm
intervals
Results
145.0ms1944×body640valid
95.0ms4130×body80valid
74.0ms1264×body320valid
26.0ms662×body160valid