Details

Time bar (total: 6.2s)

sample19.0ms

Algorithm
intervals
Results
5.0ms54×body640valid
3.0ms136×body80valid
3.0ms44×body320valid
1.0ms22×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 17.3b

Counts
2 → 1

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.5b
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
746×*-un-lft-identity
589×times-frac
558×add-sqr-sqrt
410×add-cube-cbrt
378×prod-diff
110×frac-sub
103×associate-/r*
89×distribute-lft-out--
87×distribute-lft-out
86×associate-/r/
72×difference-of-squares
69×associate-/l*
44×div-inv
24×flip-+
23×frac-2neg flip3-+ clear-num
21×flip--
20×flip3--
18×fma-neg
add-exp-log add-cbrt-cube
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv div-exp
sub-neg diff-log
Counts
3 → 613
Calls
3 calls:
6.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
49.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series226.0ms

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

simplify150.0ms

Algorithm
egg-herbie
Counts
622 → 622
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
0203814974
1500112366

prune1.1s

Filtered
622 candidates to 321 candidates (51.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New6193622
Fresh000
Picked101
Done000
Total6203623

Merged error: 0.6b

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

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
1186×add-sqr-sqrt
794×*-un-lft-identity
561×times-frac
490×difference-of-squares
305×distribute-lft-out--
272×associate-*r*
216×swap-sqr
214×*-commutative unswap-sqr
174×associate-*l*
138×add-cube-cbrt
75×distribute-lft-out
33×associate-/r*
29×prod-diff
17×associate-/l*
14×add-log-exp
11×associate--l+
frac-sub
add-exp-log flip3-- add-cbrt-cube flip--
diff-log associate-*r/ associate-/l/
fma-neg
flip3-+ flip-+
pow1 cbrt-undiv expm1-log1p-u sub-neg div-exp sum-log associate-/r/ log1p-expm1-u associate--r+
+-commutative associate--l- frac-2neg prod-exp clear-num cbrt-unprod div-inv
Counts
2 → 700
Calls
2 calls:
53.0ms
(/ (* 1.0 (- (- x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
12.0ms
(- (- x 1.0) (+ x 1.0))

series66.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
706 → 706
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
013548289
150027952

prune439.0ms

Filtered
706 candidates to 156 candidates (22.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New7033706
Fresh202
Picked101
Done000
Total7063709

Merged error: 0.6b

Counts
709 → 3

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
1259×add-sqr-sqrt
627×times-frac
500×difference-of-squares
431×*-un-lft-identity
340×associate-*r*
240×swap-sqr
234×*-commutative unswap-sqr
191×add-cube-cbrt
182×associate-*l*
102×distribute-lft-neg-in distribute-rgt-neg-in
100×distribute-lft-out--
34×neg-mul-1
33×associate-/r*
19×associate-/l*
add-exp-log add-cbrt-cube
cbrt-undiv div-exp associate-/r/
pow1 expm1-log1p-u flip3-- frac-2neg distribute-frac-neg prod-exp clear-num distribute-rgt-neg-out flip-- cbrt-unprod log1p-expm1-u div-inv add-log-exp
Counts
1 → 698
Calls
1 calls:
41.0ms
(/ (* 1.0 (- 2.0)) (- (* x x) (* 1.0 1.0)))

series62.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
701 → 701
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
013216621
150016374

prune403.0ms

Filtered
701 candidates to 148 candidates (21.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New6956701
Fresh202
Picked011
Done000
Total6977704

Merged error: 0.0b

Counts
704 → 7

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite238.0ms

Algorithm
rewrite-expression-head
Rules
2252×add-sqr-sqrt
2224×times-frac
1490×*-un-lft-identity
708×add-cube-cbrt
678×difference-of-squares
594×distribute-lft-neg-in distribute-rgt-neg-in
565×sqrt-prod
282×associate-*r* associate-*l*
278×distribute-lft-out
207×*-commutative unswap-sqr
136×associate-/l*
113×swap-sqr distribute-lft-out--
48×associate-/r/
24×div-inv
23×flip3-+ flip-+
19×associate-/l/ distribute-neg-frac
18×associate-/r*
11×neg-mul-1
add-exp-log add-cbrt-cube
cbrt-undiv frac-2neg div-exp clear-num
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
neg-sub0 flip3-- div-sub distribute-frac-neg prod-exp flip-- cbrt-unprod
Counts
2 → 1361
Calls
2 calls:
10.0ms
(/ (* 1.0 2.0) (+ (fabs 1.0) x))
58.0ms
(/ (- (/ (* 1.0 2.0) (+ (fabs 1.0) x))) (- x (sqrt (* 1.0 1.0))))

series245.0ms

Counts
2 → 6
Calls
2 calls:
62.0ms
(/ (* 1.0 2.0) (+ (fabs 1.0) x))
182.0ms
(/ (- (/ (* 1.0 2.0) (+ (fabs 1.0) x))) (- x (sqrt (* 1.0 1.0))))

simplify247.0ms

Algorithm
egg-herbie
Counts
1367 → 1367
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
0313124194
1500223896

prune1.9s

Filtered
1367 candidates to 541 candidates (39.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New136431367
Fresh505
Picked011
Done011
Total136951374

Merged error: 0b

Counts
1374 → 5

regimes23.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0189
1249
2249

end0.0ms

sample457.0ms

Algorithm
intervals
Results
156.0ms1892×body640valid
101.0ms4247×body80valid
78.0ms1215×body320valid
27.0ms646×body160valid