Details

Time bar (total: 1.9s)

sample19.0ms

Algorithm
intervals
Results
5.0ms63×body640valid
3.0ms135×body80valid
3.0ms41×body320valid
1.0ms17×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: 11.9b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite91.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:
11.0ms
(/ 1.0 (- x 1.0))
76.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series185.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(/ 1.0 (- x 1.0))
160.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify34.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0314506
11068483
25001480

prune138.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (* 1.0 (- (- x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
1.4b
(- (- x 1.0) (+ x 1.0))

rewrite111.0ms

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

series52.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0446580
12623513
25001510

prune131.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
times-frac associate-/r*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-undiv div-exp associate-/r/ difference-of-squares
pow1 flip3-- frac-2neg distribute-frac-neg prod-exp clear-num distribute-rgt-neg-out flip-- cbrt-unprod div-inv associate-/l* add-log-exp
Counts
1 → 26
Calls
1 calls:
19.0ms
(/ (* 1.0 (- 2.0)) (- (* x x) (* 1.0 1.0)))

series51.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0242257
11216215
25001211

prune61.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
74×times-frac
58×*-un-lft-identity
46×add-sqr-sqrt
24×add-cube-cbrt
14×associate-/r/
11×distribute-lft-out-- difference-of-squares
10×add-exp-log add-cbrt-cube associate-/l*
div-inv
flip3-+ flip-+ distribute-lft-out
cbrt-undiv div-exp associate-/r*
distribute-frac-neg
pow1 flip3-- frac-2neg prod-exp clear-num distribute-rgt-neg-out flip-- cbrt-unprod associate-/l/ add-log-exp
Counts
1 → 85
Calls
1 calls:
32.0ms
(/ (/ (* 1.0 (- 2.0)) (+ x 1.0)) (- x 1.0))

series64.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0526942
12839887
25002887

prune162.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes15.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
1196
2226
3226

end0.0ms

sample482.0ms

Algorithm
intervals
Results
162.0ms1938×body640valid
97.0ms4219×body80valid
73.0ms1221×body320valid
26.0ms622×body160valid