Details

Time bar (total: 2.0s)

sample18.0ms

Algorithm
intervals
Results
4.0ms51×body640valid
3.0ms145×body80valid
2.0ms38×body320valid
1.0ms22×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1155
2155

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.4b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.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))
6.0ms
(/ 1.0 (- x 1.0))
24.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series221.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(/ 1.0 (+ x 1.0))
29.0ms
(/ 1.0 (- x 1.0))
167.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify42.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0387679
11331648
25001644

prune174.0ms

Filtered
111 candidates to 78 candidates (70.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1083111
Fresh000
Picked101
Done000
Total1093112

Merged error: 0.2b

Counts
112 → 3

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

rewrite27.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:
15.0ms
(/ (* 1.0 (- (- x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
9.0ms
(- (- x 1.0) (+ x 1.0))

series61.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0446580
12623513
25001510

prune116.0ms

Filtered
65 candidates to 46 candidates (70.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New62365
Fresh202
Picked101
Done000
Total65368

Merged error: 0.2b

Counts
68 → 3

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.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:
7.0ms
(/ (* 1.0 (- 2.0)) (- (* x x) (* 1.0 1.0)))

series54.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0242257
11216215
25001211

prune51.0ms

Filtered
29 candidates to 23 candidates (79.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New25429
Fresh202
Picked011
Done000
Total27532

Merged error: 0.0b

Counts
32 → 5

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
131×*-un-lft-identity
129×add-sqr-sqrt
128×times-frac
75×add-cube-cbrt
56×associate-*r*
33×distribute-lft-neg-in distribute-rgt-neg-in
21×distribute-lft-out-- difference-of-squares
19×add-exp-log add-cbrt-cube
18×associate-*l*
13×associate-/l*
11×neg-mul-1
associate-/r*
associate-/r/
distribute-lft-out
cbrt-undiv div-exp
pow1
prod-exp cbrt-unprod div-inv unswap-sqr
add-log-exp
flip3-- frac-2neg flip3-+ distribute-frac-neg clear-num flip-- flip-+
neg-sub0 frac-times div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative distribute-rgt-neg-out
Counts
3 → 213
Calls
3 calls:
5.0ms
(/ 1.0 (+ x 1.0))
8.0ms
(/ (- 2.0) (- x 1.0))
30.0ms
(* (/ 1.0 (+ x 1.0)) (/ (- 2.0) (- x 1.0)))

series122.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(/ 1.0 (+ x 1.0))
30.0ms
(/ (- 2.0) (- x 1.0))
68.0ms
(* (/ 1.0 (+ x 1.0)) (/ (- 2.0) (- x 1.0)))

simplify98.0ms

Algorithm
egg-herbie
Counts
222 → 222
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
08401573
143531473
250011473

prune316.0ms

Filtered
222 candidates to 155 candidates (69.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2202222
Fresh123
Picked011
Done011
Total2216227

Merged error: 0b

Counts
227 → 6

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

sample474.0ms

Algorithm
intervals
Results
173.0ms1953×body640valid
102.0ms4212×body80valid
77.0ms1215×body320valid
27.0ms620×body160valid

Profiling

Loading profile data...