Details

Time bar (total: 3.5s)

sample19.0ms

Algorithm
intervals
Results
5.0ms65×body640valid
3.0ms49×body320valid
3.0ms124×body80valid
1.0ms18×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1155
2155

prune1.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.1b

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

rewrite94.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))
5.0ms
(/ 1.0 (+ x 1.0))
36.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series216.0ms

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

simplify165.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
0120013350
135939620
250019568

prune687.0ms

Filtered
513 candidates to 209 candidates (40.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

localize9.0ms

Local error

Found 2 expressions with local error:

0.4b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
2.7b
(- (- x 1.0) (+ x 1.0))

rewrite20.0ms

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

series57.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
0500926
12870692
25001690

prune191.0ms

Filtered
105 candidates to 69 candidates (65.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(/ 1 (+ x 1.0))
0.1b
(* (/ 1 (+ x 1.0)) (/ 1.0 (- x 1.0)))
2.7b
(- (- x 1.0) (+ x 1.0))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
118×*-un-lft-identity
99×add-sqr-sqrt
61×times-frac
56×add-cube-cbrt
32×add-exp-log
29×prod-diff
21×associate-*r*
20×add-cbrt-cube
18×associate-*l* distribute-lft-out--
16×add-log-exp
14×distribute-lft-out
13×difference-of-squares
11×div-exp associate--l+
associate-/r*
prod-exp associate-/r/
pow1
cbrt-undiv diff-log associate-/l* unswap-sqr
flip3-- fma-neg flip--
expm1-log1p-u flip3-+ frac-sub cbrt-unprod flip-+ log1p-expm1-u div-inv
rec-exp 1-exp
sub-neg frac-2neg clear-num sum-log
associate--l- frac-times pow-flip associate-*r/ pow-prod-down associate-*l/ *-commutative associate--r+ inv-pow
Counts
4 → 213
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1 (+ x 1.0))
21.0ms
(* (/ 1 (+ x 1.0)) (/ 1.0 (- x 1.0)))
11.0ms
(- (- x 1.0) (+ x 1.0))

series119.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ 1.0 (- x 1.0))
21.0ms
(/ 1 (+ x 1.0))
64.0ms
(* (/ 1 (+ x 1.0)) (/ 1.0 (- x 1.0)))
7.0ms
(- (- x 1.0) (+ x 1.0))

simplify140.0ms

Algorithm
egg-herbie
Counts
225 → 225
Iterations

Useful iterations: 2 (119.0ms)

IterNodesCost
08271570
146661249
250011247

prune387.0ms

Filtered
225 candidates to 144 candidates (64.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
73×*-un-lft-identity
64×add-exp-log
61×times-frac
43×add-cube-cbrt
38×add-cbrt-cube
31×associate-*r*
25×prod-exp
19×div-exp associate-*l*
13×cbrt-unprod
12×pow1
10×cbrt-undiv
associate-/r*
associate-/r/
distribute-lft-out distribute-lft-out-- difference-of-squares
associate-/l* unswap-sqr
rec-exp 1-exp associate-*l/
expm1-log1p-u pow-prod-down log1p-expm1-u div-inv add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in
frac-times flip3-- frac-2neg flip3-+ associate-*r/ clear-num *-commutative flip-- flip-+
neg-mul-1 pow-flip distribute-rgt-neg-out inv-pow
Counts
4 → 190
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1 (+ x 1.0))
15.0ms
(* (* (/ 1 (+ x 1.0)) (/ 1.0 (- x 1.0))) (- 2.0))
21.0ms
(* (/ 1 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series227.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ 1.0 (- x 1.0))
22.0ms
(/ 1 (+ x 1.0))
90.0ms
(* (* (/ 1 (+ x 1.0)) (/ 1.0 (- x 1.0))) (- 2.0))
89.0ms
(* (/ 1 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify104.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
07871332
140331130
250021098

prune316.0ms

Filtered
202 candidates to 128 candidates (63.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

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

sample476.0ms

Algorithm
intervals
Results
171.0ms1931×body640valid
96.0ms4179×body80valid
84.0ms1284×body320valid
27.0ms606×body160valid