Details

Time bar (total: 2.8s)

sample35.0ms

Algorithm
intervals
Results
12.0ms61×body640valid
9.0ms143×body80valid
6.0ms37×body320valid
2.0ms15×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: 14.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.3b
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

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

series232.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0387679
11331648
25001644

prune197.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
1.5b
(- (- x 1.0) (+ x 1.0))

rewrite33.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:
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
26.0ms
(- (- x 1.0) (+ x 1.0))

series57.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0388479
11916448
25001446

prune132.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 1 expressions with local error:

0.2b
(/ 1.0 (- (* x x) (* 1.0 1.0)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
12×times-frac
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-/r* difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
associate-/r/
pow1 cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv add-log-exp
Counts
1 → 33
Calls
1 calls:
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

series52.0ms

Counts
1 → 3
Calls
1 calls:
52.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

simplify188.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (182.0ms)

IterNodesCost
0193277
1805257
24386254
35001252

prune81.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
160×*-un-lft-identity
116×add-sqr-sqrt
78×add-cube-cbrt
22×distribute-lft-out
21×associate-/l*
19×distribute-lft-out-- difference-of-squares
16×associate-/r/
add-exp-log associate-/r* add-cbrt-cube
div-inv
flip3-+ flip-+
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
flip3-- flip-- associate-/l/
Counts
2 → 163
Calls
2 calls:
6.0ms
(/ 1.0 (+ x 1.0))
16.0ms
(/ (/ 1.0 (+ x 1.0)) (- x 1.0))

series94.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(/ 1.0 (+ x 1.0))
68.0ms
(/ (/ 1.0 (+ x 1.0)) (- x 1.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
06171491
128431443
250021443

prune307.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes14.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
1176
2206
3226
4226

end0.0ms

sample1.0s

Algorithm
intervals
Results
387.0ms1876×body640valid
280.0ms4277×body80valid
188.0ms1218×body320valid
69.0ms629×body160valid