Details

Time bar (total: 3.0s)

analyze321.0ms (10.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
12.5%87.4%0.1%5
18.7%68.7%12.6%6
28.1%59.3%12.6%7
32.8%48.4%18.8%8
38.2%42.9%18.8%9
41%37.1%22%10
43.9%34.1%22%11
45.5%31%23.5%12
46.9%29.6%23.5%13
47.7%28%24.3%14

sample54.0ms (1.8%)

Algorithm
intervals
Results
27.0ms131×body5120exit
10.0ms196×body80valid
3.0ms30×body320valid
2.0ms14×body640valid
1.0ms16×body160valid
0.0msbody80invalid

simplify71.0ms (2.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
0619612

prune7.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 13.8b

Counts
2 → 1

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(/ (- (/ x (exp wj)) wj) (+ wj 1))
0.0b
(/ x (exp wj))
4.5b
(+ wj (/ (- (/ x (exp wj)) wj) (+ wj 1)))

rewrite36.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
48×add-sqr-sqrt
38×times-frac
23×add-cube-cbrt
10×difference-of-squares
associate-/l*
distribute-lft-out
associate-/r* add-cbrt-cube
add-exp-log
distribute-lft-out-- add-log-exp
pow1
cbrt-undiv frac-2neg flip3-+ div-sub div-exp clear-num associate-/r/ flip-+ div-inv associate-/l/
+-commutative associate-+r- flip3-- sum-log flip--
Counts
3 → 91
Calls

3 calls:

18.0ms
(+ wj (/ (- (/ x (exp wj)) wj) (+ wj 1)))
11.0ms
(/ (- (/ x (exp wj)) wj) (+ wj 1))
4.0ms
(/ x (exp wj))

series27.0ms (0.9%)

Counts
3 → 9
Calls

3 calls:

10.0ms
(/ (- (/ x (exp wj)) wj) (+ wj 1))
9.0ms
(+ wj (/ (- (/ x (exp wj)) wj) (+ wj 1)))
7.0ms
(/ x (exp wj))

simplify52.0ms (1.7%)

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
058601345

prune136.0ms (4.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New982100
Fresh000
Picked101
Done000
Total992101

Merged error: 0.2b

Counts
101 → 2

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.0b
(+ x (* wj (+ wj (* x -2))))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-log-exp
associate-+r+
pow1 add-exp-log +-commutative distribute-rgt-in add-sqr-sqrt add-cube-cbrt *-un-lft-identity distribute-lft-in flip3-+ sum-log add-cbrt-cube flip-+
Counts
1 → 13
Calls

1 calls:

3.0ms
(+ x (* wj (+ wj (* x -2))))

series6.0ms (0.2%)

Counts
1 → 3
Calls

1 calls:

6.0ms
(+ x (* wj (+ wj (* x -2))))

simplify23.0ms (0.8%)

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
05262191

prune35.0ms (1.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New13316
Fresh011
Picked011
Done000
Total13518

Merged error: 0.2b

Counts
18 → 5

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ x (* wj (+ wj (* x -2))))) (cbrt (+ x (* wj (+ wj (* x -2))))))
0.6b
(cbrt (+ x (* wj (+ wj (* x -2)))))
0.6b
(cbrt (+ x (* wj (+ wj (* x -2)))))
0.6b
(cbrt (+ x (* wj (+ wj (* x -2)))))

rewrite18.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
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 → 87
Calls

4 calls:

8.0ms
(* (cbrt (+ x (* wj (+ wj (* x -2))))) (cbrt (+ x (* wj (+ wj (* x -2))))))
3.0ms
(cbrt (+ x (* wj (+ wj (* x -2)))))
2.0ms
(cbrt (+ x (* wj (+ wj (* x -2)))))
2.0ms
(cbrt (+ x (* wj (+ wj (* x -2)))))

series164.0ms (5.4%)

Counts
4 → 12
Calls

4 calls:

46.0ms
(* (cbrt (+ x (* wj (+ wj (* x -2))))) (cbrt (+ x (* wj (+ wj (* x -2))))))
40.0ms
(cbrt (+ x (* wj (+ wj (* x -2)))))
39.0ms
(cbrt (+ x (* wj (+ wj (* x -2)))))
38.0ms
(cbrt (+ x (* wj (+ wj (* x -2)))))

simplify37.0ms (1.2%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
051461924

prune266.0ms (8.8%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New97299
Fresh123
Picked011
Done011
Total986104

Merged error: 0.2b

Counts
104 → 6

localize9.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(/ (- (* x (exp (neg wj))) wj) (+ wj 1))
0.0b
(* x (exp (neg wj)))
4.5b
(+ wj (/ (- (* x (exp (neg wj))) wj) (+ wj 1)))

rewrite32.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
16×add-sqr-sqrt
14×add-cube-cbrt
12×times-frac
add-cbrt-cube
add-exp-log
pow1 distribute-lft-out add-log-exp
associate-/r*
associate-*r* associate-*l* associate-/l*
exp-neg flip3-+ div-sub associate-*r/ associate-/r/ flip-+ associate-/l/
cbrt-undiv +-commutative neg-sub0 associate-+r- flip3-- frac-2neg exp-diff div-exp pow-prod-down prod-exp clear-num sum-log un-div-inv *-commutative flip-- cbrt-unprod div-inv unswap-sqr
Counts
3 → 70
Calls

3 calls:

13.0ms
(+ wj (/ (- (* x (exp (neg wj))) wj) (+ wj 1)))
11.0ms
(/ (- (* x (exp (neg wj))) wj) (+ wj 1))
6.0ms
(* x (exp (neg wj)))

series24.0ms (0.8%)

Counts
3 → 9
Calls

3 calls:

9.0ms
(+ wj (/ (- (* x (exp (neg wj))) wj) (+ wj 1)))
9.0ms
(/ (- (* x (exp (neg wj))) wj) (+ wj 1))
6.0ms
(* x (exp (neg wj)))

simplify54.0ms (1.8%)

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
05176950

prune93.0ms (3.1%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New79079
Fresh033
Picked011
Done022
Total79685

Merged error: 0.2b

Counts
85 → 6

regimes95.0ms (3.1%)

Accuracy

Total 1.7b remaining (85.7%)

Threshold costs 0b (0%)

bsearch0.0ms (0%)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0119
1119

end0.0ms (0%)

sample1.5s (47.9%)

Algorithm
intervals
Results
806.0ms3729×body5120exit
223.0ms6243×body80valid
87.0ms762×body320valid
81.0ms469×body640valid
38.0ms526×body160valid
3.0ms80×body80invalid
0.0ms15×body80overflowed

Profiling

Loading profile data...