Details

Time bar (total: 2.6s)

sample18.0ms

Algorithm
intervals
Results
5.0ms55×body640valid
3.0ms131×body80valid
3.0ms45×body320valid
1.0ms25×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1124
2124

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 17.2b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.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:
5.0ms
(/ 1.0 (+ x 1.0))
20.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series6.0ms

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

simplify154.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0266392
1898369
24171367
35002367

prune101.0ms

Filtered
64 candidates to 47 candidates (26.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New61364
Fresh000
Picked101
Done000
Total62365

Merged error: 0.4b

Counts
65 → 3

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.0b
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
2.9b
(- x (+ x 1.0))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
17×add-exp-log add-cbrt-cube
12×*-un-lft-identity
add-sqr-sqrt
add-log-exp
pow1 add-cube-cbrt prod-exp cbrt-unprod
cbrt-undiv div-exp associate-*l* associate-*l/
associate-*r*
flip3-- flip3-+ diff-log associate-*r/ associate-/r/ flip-- flip-+ associate-/l/ distribute-lft-out distribute-lft-out--
sub-neg frac-2neg times-frac pow-prod-down clear-num associate-/r* sum-log *-commutative div-inv associate-/l* associate--r+ difference-of-squares unswap-sqr
Counts
3 → 63
Calls
3 calls:
5.0ms
(* (+ x 1.0) x)
11.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
5.0ms
(- x (+ x 1.0))

series8.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0345395
12045325
25003316

prune81.0ms

Filtered
72 candidates to 48 candidates (33.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New69372
Fresh112
Picked011
Done000
Total70575

Merged error: 0b

Counts
75 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1.0 (/ (+ x 1.0) (- 0 1.0)))
0.1b
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
959×times-frac
669×*-un-lft-identity
509×add-sqr-sqrt
381×add-cube-cbrt
86×associate-/l*
80×distribute-lft-out
64×distribute-lft-out-- difference-of-squares
37×associate-/r/
29×associate-/r*
22×div-inv
16×add-exp-log flip3-- add-cbrt-cube flip--
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
associate-/l/
Counts
2 → 474
Calls
2 calls:
13.0ms
(/ 1.0 (/ (+ x 1.0) (- 0 1.0)))
22.0ms
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

series5.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
480 → 480
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
015825673
150015480

prune912.0ms

Filtered
480 candidates to 316 candidates (34.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New4800480
Fresh033
Picked011
Done011
Total4805485

Merged error: 0b

Counts
485 → 5

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(* (- (* x x) (* 1.0 1.0)) x)
0.3b
(/ 1.0 (/ (* (- (* x x) (* 1.0 1.0)) x) (- 0 1.0)))
4.5b
(* (/ 1.0 (/ (* (- (* x x) (* 1.0 1.0)) x) (- 0 1.0))) (- x 1.0))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
67×add-sqr-sqrt
60×*-un-lft-identity
44×add-cube-cbrt
42×associate-*l*
28×add-exp-log add-cbrt-cube
16×associate-/r/
11×associate-/r*
10×cbrt-undiv flip3-- div-exp flip--
div-inv difference-of-squares
associate-*r* distribute-lft-out--
pow1 prod-exp cbrt-unprod
associate-*l/ associate-/l* add-log-exp unswap-sqr
distribute-rgt-in frac-times sub-neg distribute-lft-in associate-*r/ pow-prod-down *-commutative
frac-2neg clear-num
Counts
3 → 156
Calls
3 calls:
6.0ms
(* (- (* x x) (* 1.0 1.0)) x)
9.0ms
(/ 1.0 (/ (* (- (* x x) (* 1.0 1.0)) x) (- 0 1.0)))
19.0ms
(* (/ 1.0 (/ (* (- (* x x) (* 1.0 1.0)) x) (- 0 1.0))) (- x 1.0))

series15.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
07641694
144491481
250021481

prune250.0ms

Filtered
165 candidates to 124 candidates (24.8%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1650165
Fresh022
Picked011
Done022
Total1655170

Merged error: 0b

Counts
170 → 5

regimes33.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
0105
1105

end0.0ms

sample506.0ms

Algorithm
intervals
Results
167.0ms1884×body640valid
103.0ms4237×body80valid
82.0ms1241×body320valid
29.0ms639×body160valid

Profiling

Loading profile data...