Details

Time bar (total: 2.7s)

sample18.0ms

Algorithm
intervals
Results
5.0ms60×body640valid
3.0ms131×body80valid
3.0ms43×body320valid
1.0ms22×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.5b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1.0 (+ x 1.0))
2.2b
(- (/ 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))

series7.0ms

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

simplify153.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0266392
1898369
24171367
35002367

prune105.0ms

Filtered
64 candidates to 47 candidates (26.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New60464
Fresh000
Picked101
Done000
Total61465

Merged error: 0.7b

Counts
65 → 4

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.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:
11.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
5.0ms
(* (+ x 1.0) x)
5.0ms
(- x (+ x 1.0))

series8.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0345395
12045325
25002316

prune81.0ms

Filtered
72 candidates to 48 candidates (33.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh303
Picked101
Done000
Total72476

Merged error: 0.0b

Counts
76 → 4

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)

rewrite69.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:
10.0ms
(/ 1.0 (/ (+ x 1.0) (- 0 1.0)))
25.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)

simplify90.0ms

Algorithm
egg-herbie
Counts
480 → 480
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
015825707
150015506

prune1.1s

Filtered
480 candidates to 317 candidates (34.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New4782480
Fresh123
Picked011
Done000
Total4795484

Merged error: 0b

Counts
484 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
0.3b
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
12.0ms
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))

series26.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cbrt (+ x 1.0))
6.0ms
(cbrt (+ x 1.0))
6.0ms
(cbrt (+ x 1.0))
8.0ms
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))

simplify138.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0320865
11042820
24485694
35002690

prune194.0ms

Filtered
107 candidates to 72 candidates (32.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh033
Picked011
Done011
Total1075112

Merged error: 0b

Counts
112 → 5

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

sample498.0ms

Algorithm
intervals
Results
172.0ms1933×body640valid
97.0ms4218×body80valid
77.0ms1201×body320valid
29.0ms648×body160valid

Profiling

Loading profile data...