Details

Time bar (total: 1.5s)

sample21.0ms

Algorithm
intervals
Results
6.0ms59×body640valid
4.0ms52×body320valid
4.0ms134×body80valid
1.0ms11×body160valid

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0129
1129

prune5.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 15.0b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
28×times-frac
27×add-sqr-sqrt
15×add-cube-cbrt
distribute-lft-out--
distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube add-log-exp difference-of-squares
div-inv associate-/l*
pow1 associate-/r/
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ diff-log div-exp clear-num frac-sub flip-- flip-+
Counts
2 → 58
Calls
2 calls:
9.0ms
(/ 1.0 (+ x 1.0))
17.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series7.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(/ 1.0 (+ x 1.0))
4.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

simplify33.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
05026713

prune94.0ms

Filtered
49 candidates to 64 candidates (-30.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New61364
Fresh000
Picked011
Done000
Total61465

Merged error: 0.2b

Counts
65 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ 1.0 x))
0.2b
(/ (* 1.0 (neg 1.0)) (* x (+ 1.0 x)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
16×add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
prod-exp cbrt-unprod
pow1 cbrt-undiv add-cube-cbrt associate-*r/ div-exp associate-*r*
associate-*l*
flip3-+ associate-/r/ flip-+ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in times-frac distribute-frac-neg pow-prod-down clear-num associate-/r* *-commutative distribute-rgt-neg-out div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
2 → 47
Calls
2 calls:
6.0ms
(* x (+ 1.0 x))
9.0ms
(/ (* 1.0 (neg 1.0)) (* x (+ 1.0 x)))

series10.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
04968474
14968474

prune65.0ms

Filtered
33 candidates to 53 candidates (-60.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New49453
Fresh202
Picked011
Done101
Total52557

Merged error: 0.0b

Counts
57 → 5

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(/ (* 1.0 (/ (neg 1.0) x)) (+ 1.0 x))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
*-un-lft-identity
cbrt-undiv times-frac div-exp associate-/r*
add-sqr-sqrt add-cube-cbrt
distribute-frac-neg prod-exp associate-/r/ cbrt-unprod distribute-lft-out
pow1 frac-2neg flip3-+ associate-*r/ clear-num distribute-rgt-neg-out flip-+ div-inv associate-/l/ associate-/l* add-log-exp
Counts
1 → 29
Calls
1 calls:
10.0ms
(/ (* 1.0 (/ (neg 1.0) x)) (+ 1.0 x))

series3.0ms

Counts
1 → 3
Calls
1 calls:
3.0ms
(/ (* 1.0 (/ (neg 1.0) x)) (+ 1.0 x))

simplify32.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
05041368

prune43.0ms

Filtered
21 candidates to 32 candidates (-52.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New31132
Fresh123
Picked011
Done011
Total32537

Merged error: 0.0b

Counts
37 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(* (/ 1.0 x) (/ (neg 1.0) (- (* 1.0 1.0) (* x x))))
0.2b
(/ (neg 1.0) (- (* 1.0 1.0) (* x x)))
5.2b
(* (* (/ 1.0 x) (/ (neg 1.0) (- (* 1.0 1.0) (* x x)))) (- 1.0 x))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
93×times-frac
74×add-sqr-sqrt
62×*-un-lft-identity
60×add-cube-cbrt
51×associate-*r*
35×add-exp-log add-cbrt-cube
27×distribute-lft-neg-in distribute-rgt-neg-in
22×difference-of-squares
14×associate-*l*
13×prod-exp cbrt-unprod
10×pow1 frac-times associate-/l*
cbrt-undiv neg-mul-1 div-exp
associate-*l/
flip3-- associate-*r/ flip--
pow-prod-down associate-/r* associate-/r/ unswap-sqr
distribute-frac-neg div-inv add-log-exp
distribute-rgt-in sub-neg distribute-lft-in *-commutative distribute-rgt-neg-out
distribute-lft-neg-out neg-sub0 frac-2neg div-sub clear-num distribute-lft-out--
Counts
3 → 196
Calls
3 calls:
24.0ms
(* (/ 1.0 x) (/ (neg 1.0) (- (* 1.0 1.0) (* x x))))
7.0ms
(/ (neg 1.0) (- (* 1.0 1.0) (* x x)))
17.0ms
(* (* (/ 1.0 x) (/ (neg 1.0) (- (* 1.0 1.0) (* x x)))) (- 1.0 x))

series14.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(* (/ 1.0 x) (/ (neg 1.0) (- (* 1.0 1.0) (* x x))))
4.0ms
(/ (neg 1.0) (- (* 1.0 1.0) (* x x)))
5.0ms
(* (* (/ 1.0 x) (/ (neg 1.0) (- (* 1.0 1.0) (* x x)))) (- 1.0 x))

simplify62.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049763193
149763193

prune333.0ms

Filtered
154 candidates to 205 candidates (-33.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2023205
Fresh112
Picked101
Done022
Total2046210

Merged error: 0b

Counts
210 → 6

regimes37.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
01810
11810

end0.0ms

sample579.0ms

Algorithm
intervals
Results
186.0ms1860×body640valid
120.0ms4280×body80valid
97.0ms1221×body320valid
32.0ms640×body160valid

Profiling

Loading profile data...