Details

Time bar (total: 2.6s)

analyze4.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
62.5%37.5%0%4
81.2%18.7%0%5
90.6%9.4%0%6
95.3%4.7%0%7
97.6%2.3%0%8
98.8%1.2%0%9
99.4%0.6%0%10
99.7%0.3%0%11
99.8%0.1%0%12
99.9%0.1%0%13
99.9%0%0%14

sample25.0ms

Algorithm
intervals
Results
4.0ms52×body640valid
3.0ms52×body320valid
3.0ms134×body80valid
1.0ms18×body160valid

simplify32.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
04979
14979

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

rewrite24.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 → 57
Calls
2 calls:
5.0ms
(/ 1.0 (+ x 1.0))
17.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))

simplify43.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05088709

prune87.0ms

Filtered
49 candidates to 63 candidates (-28.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New61263
Fresh000
Picked101
Done000
Total62264

Merged error: 0.2b

Counts
64 → 2

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
13×add-exp-log add-cbrt-cube
cbrt-undiv div-exp prod-exp cbrt-unprod
associate-*r/ associate-/r/
pow1 add-sqr-sqrt add-cube-cbrt frac-2neg *-un-lft-identity flip3-+ times-frac distribute-frac-neg clear-num associate-/r* distribute-rgt-neg-out flip-+ div-inv associate-/l* add-log-exp
Counts
1 → 24
Calls
1 calls:
8.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)))

simplify20.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
05451311

prune34.0ms

Filtered
17 candidates to 27 candidates (-58.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New24327
Fresh101
Picked011
Done000
Total25429

Merged error: 0.0b

Counts
29 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
100×*-un-lft-identity
93×times-frac
70×add-sqr-sqrt
58×add-cube-cbrt
46×associate-*r*
27×distribute-lft-neg-in distribute-rgt-neg-in
21×distribute-lft-out
16×add-exp-log add-cbrt-cube
13×associate-*l*
10×associate-/l*
neg-mul-1
cbrt-undiv div-exp
pow1 prod-exp associate-/r* associate-/r/ cbrt-unprod unswap-sqr
div-inv
flip3-+ distribute-frac-neg flip-+ add-log-exp
neg-sub0 frac-times frac-2neg div-sub associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative distribute-rgt-neg-out
Counts
2 → 154
Calls
2 calls:
8.0ms
(/ (neg 1.0) (+ 1.0 x))
21.0ms
(* (/ 1.0 x) (/ (neg 1.0) (+ 1.0 x)))

series5.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049691768
149691768

prune201.0ms

Filtered
107 candidates to 160 candidates (-49.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1582160
Fresh022
Picked101
Done011
Total1595164

Merged error: 0.0b

Counts
164 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (/ (neg 1.0) (+ 1.0 x))) (cbrt (/ (neg 1.0) (+ 1.0 x))))
0.3b
(cbrt (/ (neg 1.0) (+ 1.0 x)))
0.3b
(cbrt (/ (neg 1.0) (+ 1.0 x)))
0.3b
(cbrt (/ (neg 1.0) (+ 1.0 x)))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
429×*-un-lft-identity
398×cbrt-prod
350×times-frac
209×add-sqr-sqrt
185×add-cube-cbrt
108×distribute-rgt-neg-in
98×distribute-lft-out
96×distribute-lft-neg-in
81×swap-sqr
49×associate-*r* associate-*l*
32×neg-mul-1
14×associate-/r/
11×pow1
pow1/3 unswap-sqr
cbrt-div flip3-+ flip-+ div-inv
add-exp-log
add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 374
Calls
4 calls:
53.0ms
(* (cbrt (/ (neg 1.0) (+ 1.0 x))) (cbrt (/ (neg 1.0) (+ 1.0 x))))
6.0ms
(cbrt (/ (neg 1.0) (+ 1.0 x)))
6.0ms
(cbrt (/ (neg 1.0) (+ 1.0 x)))
6.0ms
(cbrt (/ (neg 1.0) (+ 1.0 x)))

series58.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (cbrt (/ (neg 1.0) (+ 1.0 x))) (cbrt (/ (neg 1.0) (+ 1.0 x))))
12.0ms
(cbrt (/ (neg 1.0) (+ 1.0 x)))
11.0ms
(cbrt (/ (neg 1.0) (+ 1.0 x)))
19.0ms
(cbrt (/ (neg 1.0) (+ 1.0 x)))

simplify105.0ms

Algorithm
egg-herbie
Counts
386 → 386
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
051806642

prune983.0ms

Filtered
227 candidates to 386 candidates (-70.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New3842386
Fresh033
Picked011
Done011
Total3847391

Merged error: 0b

Counts
391 → 7

regimes44.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03110
13110

end0.0ms

sample670.0ms

Algorithm
intervals
Results
160.0ms1855×body640valid
87.0ms4173×body80valid
82.0ms1313×body320valid
28.0ms659×body160valid

Profiling

Loading profile data...