Details

Time bar (total: 2.8s)

sample20.0ms

Algorithm
intervals
Results
5.0ms51×body640valid
4.0ms145×body80valid
3.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

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

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
662×*-un-lft-identity
589×times-frac
496×add-sqr-sqrt
378×prod-diff
368×add-cube-cbrt
86×associate-/r/
79×distribute-lft-out--
76×distribute-lft-out
62×difference-of-squares
44×div-inv
24×flip-+
23×flip3-+
21×flip--
20×flip3--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub
Counts
3 → 504
Calls
3 calls:
5.0ms
(/ 1.0 (+ x 1.0))
9.0ms
(/ 1.0 (- x 1.0))
32.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series231.0ms

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

simplify177.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0120013350
135939620
250019568

prune608.0ms

Filtered
513 candidates to 209 candidates (40.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New5103513
Fresh000
Picked101
Done000
Total5113514

Merged error: 0.2b

Counts
514 → 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))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
32×add-sqr-sqrt
29×prod-diff
20×add-cube-cbrt
14×add-log-exp
11×associate--l+ distribute-lft-out--
frac-sub difference-of-squares
add-exp-log flip3-- add-cbrt-cube flip-- distribute-lft-out
diff-log associate-*r/ associate-/l/
fma-neg
flip3-+ times-frac associate-/r* flip-+
pow1 cbrt-undiv expm1-log1p-u sub-neg div-exp sum-log associate-/r/ log1p-expm1-u
associate--l- frac-2neg prod-exp clear-num cbrt-unprod div-inv associate-/l* associate--r+
Counts
2 → 97
Calls
2 calls:
22.0ms
(/ (* 1.0 (- (- x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
11.0ms
(- (- x 1.0) (+ x 1.0))

series59.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
05611035
13510762
25001760

prune155.0ms

Filtered
103 candidates to 66 candidates (64.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1003103
Fresh202
Picked101
Done000
Total1033106

Merged error: 0.2b

Counts
106 → 3

localize7.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 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 associate-/l* add-log-exp
Counts
1 → 28
Calls
1 calls:
7.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)))

simplify38.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0250269
11247227
25002225

prune56.0ms

Filtered
31 candidates to 25 candidates (80.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New27431
Fresh202
Picked011
Done000
Total29534

Merged error: 0.0b

Counts
34 → 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)))

rewrite54.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
expm1-log1p-u log1p-expm1-u 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 → 219
Calls
3 calls:
8.0ms
(/ 1.0 (+ x 1.0))
7.0ms
(/ (- 2.0) (- x 1.0))
29.0ms
(* (/ 1.0 (+ x 1.0)) (/ (- 2.0) (- x 1.0)))

series127.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
228 → 228
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
08591597
144451497
250011495

prune322.0ms

Filtered
228 candidates to 161 candidates (70.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2262228
Fresh123
Picked011
Done011
Total2276233

Merged error: 0b

Counts
233 → 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

sample539.0ms

Algorithm
intervals
Results
197.0ms1953×body640valid
122.0ms4212×body80valid
91.0ms1215×body320valid
32.0ms620×body160valid