Details

Time bar (total: 3.8s)

analyze327.0ms (8.7%)

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

sample51.0ms (1.3%)

Algorithm
intervals
Results
26.0ms121×body5120exit
7.0ms196×body80valid
3.0ms23×body320valid
2.0ms12×body640valid
2.0ms25×body160valid
0.0msbody80invalid

simplify67.0ms (1.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
0619612

prune12.0ms (0.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.4b

Counts
2 → 2

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite45.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
52×*-un-lft-identity
39×times-frac
24×add-cube-cbrt
12×difference-of-squares
associate-/l*
add-cbrt-cube distribute-lft-out add-log-exp
add-exp-log associate-/r*
distribute-lft-out--
pow1
cbrt-undiv flip3-- frac-2neg flip3-+ div-sub div-exp clear-num associate-/r/ flip-- flip-+ div-inv associate-/l/
+-commutative associate-+r- sub-neg diff-log sum-log
Counts
4 → 105
Calls

4 calls:

17.0ms
(+ wj (/ (- (/ x (exp wj)) wj) (+ wj 1)))
12.0ms
(/ (- (/ x (exp wj)) wj) (+ wj 1))
8.0ms
(- (/ x (exp wj)) wj)
4.0ms
(/ x (exp wj))

series41.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

13.0ms
(/ (- (/ x (exp wj)) wj) (+ wj 1))
11.0ms
(- (/ x (exp wj)) wj)
10.0ms
(+ wj (/ (- (/ x (exp wj)) wj) (+ wj 1)))
8.0ms
(/ x (exp wj))

simplify66.0ms (1.8%)

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
058261514

prune175.0ms (4.6%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1125117
Fresh101
Picked101
Done000
Total1145119

Merged error: 0.5b

Counts
119 → 5

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite10.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r* associate-*l*
distribute-rgt-in associate-+r+ distribute-lft-in flip3-+ associate-*r/ flip-+
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 35
Calls

2 calls:

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

series13.0ms (0.3%)

Counts
2 → 6
Calls

2 calls:

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

simplify56.0ms (1.5%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
04935405
14935405

prune89.0ms (2.4%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New36541
Fresh044
Picked011
Done000
Total361046

Merged error: 0.5b

Counts
46 → 10

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite21.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
20×associate-*r/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-+ pow1/3 flip-+
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls

4 calls:

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

series196.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

56.0ms
(* (cbrt (* wj (+ wj (* x -2)))) (cbrt (* wj (+ wj (* x -2)))))
48.0ms
(cbrt (* wj (+ wj (* x -2))))
47.0ms
(cbrt (* wj (+ wj (* x -2))))
45.0ms
(cbrt (* wj (+ wj (* x -2))))

simplify58.0ms (1.6%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
04884982
14884982

prune243.0ms (6.4%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New80484
Fresh358
Picked101
Done011
Total841094

Merged error: 0.5b

Counts
94 → 10

localize18.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.5b
(pow (cbrt (* wj (+ wj (* x -2)))) 6)
12.7b
(cbrt (* wj (+ wj (* x -2))))
12.7b
(cbrt (* wj (+ wj (* x -2))))
29.6b
(pow (pow (cbrt (* wj (+ wj (* x -2)))) 6) 1/3)

rewrite18.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
16×unpow-prod-down
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-exp-log
pow-unpow
pow1 pow-exp
cbrt-prod cbrt-div associate-*r/ add-cbrt-cube add-log-exp
pow-to-exp pow-pow pow1/3 sqr-pow
flip3-+ flip-+
unpow1/3
Counts
4 → 66
Calls

4 calls:

5.0ms
(pow (pow (cbrt (* wj (+ wj (* x -2)))) 6) 1/3)
4.0ms
(cbrt (* wj (+ wj (* x -2))))
4.0ms
(cbrt (* wj (+ wj (* x -2))))
3.0ms
(pow (cbrt (* wj (+ wj (* x -2)))) 6)

series279.0ms (7.4%)

Counts
4 → 12
Calls

4 calls:

109.0ms
(pow (pow (cbrt (* wj (+ wj (* x -2)))) 6) 1/3)
77.0ms
(pow (cbrt (* wj (+ wj (* x -2)))) 6)
47.0ms
(cbrt (* wj (+ wj (* x -2))))
45.0ms
(cbrt (* wj (+ wj (* x -2))))

simplify46.0ms (1.2%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05021856

prune201.0ms (5.3%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New74478
Fresh268
Picked101
Done011
Total771188

Merged error: 0.5b

Counts
88 → 11

regimes149.0ms (3.9%)

Accuracy

Total 0.6b remaining (67.4%)

Threshold costs 0.6b (67.4%)

bsearch15.0ms (0.4%)

Steps
ItersRangePoint
7
5.677089670872761e-10
1.152502768131149e-07
7.795004187076639e-09

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03427
13427

end0.0ms (0%)

sample1.5s (41%)

Algorithm
intervals
Results
869.0ms3872×body5120exit
220.0ms6135×body80valid
97.0ms839×body320valid
84.0ms482×body640valid
40.0ms544×body160valid
4.0ms93×body80invalid
0.0ms13×body80overflowed

Profiling

Loading profile data...