Details

Time bar (total: 2.1s)

sample18.0ms

Algorithm
intervals
Results
5.0ms64×body640valid
3.0ms142×body80valid
2.0ms28×body320valid
1.0ms22×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

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite102.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:
13.0ms
(/ 1.0 (- x 1.0))
10.0ms
(/ 1.0 (+ x 1.0))
74.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series225.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0387679
11331648
25001644

prune194.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.3b

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)))
3.9b
(- (- x 1.0) (+ x 1.0))

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

series63.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0446580
12623513
25001510

prune124.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.3b

localize9.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ (* 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)))

series56.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0242257
11216215
25001211

prune58.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite53.0ms

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

series96.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05711119
130061036
250011036

prune206.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.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
1196
2226
3226

end0.0ms

sample481.0ms

Algorithm
intervals
Results
153.0ms1908×body640valid
95.0ms4194×body80valid
82.0ms1279×body320valid
26.0ms619×body160valid