Details

Time bar (total: 4.7s)

analyze237.0ms (5.1%)

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
0%99.9%0.1%5
0%87.4%12.6%6
20.3%59.3%20.4%7
21.1%51.5%27.4%8
35.5%30.4%34%9
35.7%26.1%38.1%10
42.8%15.4%41.8%11
42.9%13.2%44%12
46.4%7.8%45.8%13
46.4%6.6%47%14

sample80.0ms (1.7%)

Algorithm
intervals
Results
36.0ms62×body1280valid
16.0ms46×body640valid
12.0ms120×body80valid
5.0ms22×body320valid
1.0msbody160valid
0.0msbody80invalid
0.0msbody80overflowed

simplify43.0ms (0.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
0572027

prune11.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.1b

Counts
2 → 2

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
0.0b
(* (- 1.0 eps) x)
0.0b
(* (+ 1.0 eps) x)
1.9b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

rewrite55.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
81×frac-sub
76×exp-neg frac-times
57×neg-sub0 exp-diff
42×associate-*l/
38×associate-*r/
31×flip3-+ flip-+
29×flip3-- flip--
19×un-div-inv
18×add-sqr-sqrt
16×*-un-lft-identity
13×associate-*l*
10×pow1 add-cube-cbrt add-cbrt-cube
add-exp-log associate-*r*
add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-lft-out
sub-neg diff-log distribute-lft-out-- difference-of-squares
Counts
4 → 163
Calls

4 calls:

17.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))
12.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
8.0ms
(* (+ 1.0 eps) x)
6.0ms
(* (- 1.0 eps) x)

series68.0ms (1.5%)

Counts
4 → 12
Calls

4 calls:

46.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))
10.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
8.0ms
(* (+ 1.0 eps) x)
5.0ms
(* (- 1.0 eps) x)

simplify94.0ms (2%)

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
050056596

prune772.0ms (16.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1723175
Fresh101
Picked101
Done000
Total1743177

Merged error: 0.2b

Counts
177 → 3

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.1b
(* (pow x 3) 0.6666666666666667)
5.8b
(+ (* (pow x 3) 0.6666666666666667) (- 2.0 (* 1.0 (* x x))))

rewrite14.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×associate-*l*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod add-cbrt-cube unswap-sqr
associate-*r* prod-exp
pow1 sum-log sqr-pow
+-commutative cube-mult pow-to-exp associate-+r- sub-neg associate-+r+ flip3-+ diff-log unpow3 pow-exp *-commutative cbrt-unprod flip-+
Counts
2 → 45
Calls

2 calls:

7.0ms
(+ (* (pow x 3) 0.6666666666666667) (- 2.0 (* 1.0 (* x x))))
6.0ms
(* (pow x 3) 0.6666666666666667)

series8.0ms (0.2%)

Counts
2 → 6
Calls

2 calls:

4.0ms
(+ (* (pow x 3) 0.6666666666666667) (- 2.0 (* 1.0 (* x x))))
4.0ms
(* (pow x 3) 0.6666666666666667)

simplify55.0ms (1.2%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
04959458
14959458

prune97.0ms (2.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New50151
Fresh022
Picked101
Done000
Total51354

Merged error: 0.2b

Counts
54 → 3

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
0.7b
(cbrt x)
0.7b
(cbrt x)
5.8b
(+ (* (pow (* (cbrt x) (cbrt x)) 3) (* x 0.6666666666666667)) (- 2.0 (* 1.0 (* x x))))

rewrite19.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
22×cbrt-prod add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
11×pow1
add-log-exp
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube unswap-sqr
pow-prod-down sum-log pow-sqr pow-prod-up
+-commutative pow2 associate-+r- sub-neg associate-+r+ flip3-+ pow-plus diff-log prod-exp *-commutative cbrt-unprod flip-+
Counts
4 → 76
Calls

4 calls:

9.0ms
(+ (* (pow (* (cbrt x) (cbrt x)) 3) (* x 0.6666666666666667)) (- 2.0 (* 1.0 (* x x))))
6.0ms
(* (cbrt x) (cbrt x))
1.0ms
(cbrt x)
1.0ms
(cbrt x)

series77.0ms (1.7%)

Counts
4 → 12
Calls

4 calls:

24.0ms
(* (cbrt x) (cbrt x))
24.0ms
(cbrt x)
21.0ms
(cbrt x)
7.0ms
(+ (* (pow (* (cbrt x) (cbrt x)) 3) (* x 0.6666666666666667)) (- 2.0 (* 1.0 (* x x))))

simplify65.0ms (1.4%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
04997553
14997553

prune148.0ms (3.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New88088
Fresh022
Picked011
Done000
Total88391

Merged error: 0.2b

Counts
91 → 3

localize20.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(* (+ 1.0 eps) x)
1.6b
(exp (- (log (+ 1.0 (/ 1.0 eps))) (* (- 1.0 eps) x)))
2.2b
(log (+ 1.0 (/ 1.0 eps)))
16.2b
(- (exp (- (log (+ 1.0 (/ 1.0 eps))) (* (- 1.0 eps) x))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

rewrite41.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×exp-diff
11×add-sqr-sqrt
add-cube-cbrt frac-sub
log-prod add-log-exp
pow1 add-exp-log
add-cbrt-cube
exp-sum
exp-neg frac-times flip3-- associate-*l* associate-*l/ associate--l+ flip--
neg-sub0 exp-prod associate-*r* distribute-lft-out
sub-neg log-div flip3-+ diff-log associate-*r/ flip-+ rem-exp-log
rem-log-exp pow-prod-down prod-exp log-pow un-div-inv *-commutative cbrt-unprod unswap-sqr
Counts
4 → 74
Calls

4 calls:

15.0ms
(- (exp (- (log (+ 1.0 (/ 1.0 eps))) (* (- 1.0 eps) x))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))
9.0ms
(exp (- (log (+ 1.0 (/ 1.0 eps))) (* (- 1.0 eps) x)))
8.0ms
(log (+ 1.0 (/ 1.0 eps)))
6.0ms
(* (+ 1.0 eps) x)

series43.0ms (0.9%)

Counts
4 → 12
Calls

4 calls:

26.0ms
(- (exp (- (log (+ 1.0 (/ 1.0 eps))) (* (- 1.0 eps) x))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))
10.0ms
(exp (- (log (+ 1.0 (/ 1.0 eps))) (* (- 1.0 eps) x)))
4.0ms
(* (+ 1.0 eps) x)
3.0ms
(log (+ 1.0 (/ 1.0 eps)))

simplify49.0ms (1.1%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049721529
149721529

prune233.0ms (5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh011
Picked011
Done011
Total86389

Merged error: 0.2b

Counts
89 → 3

regimes89.0ms (1.9%)

Accuracy

Total 0.5b remaining (58.4%)

Threshold costs 0.5b (58.4%)

bsearch89.0ms (1.9%)

Steps
ItersRangePoint
10
8.333210867680476e-08
231781.61384385402
523.0649211994058

simplify12.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (11.0ms)

IterNodesCost
059263
159263

end0.0ms (0%)

sample2.2s (47.1%)

Algorithm
intervals
Results
989.0ms1749×body1280valid
443.0ms1277×body640valid
331.0ms4050×body80valid
156.0ms639×body320valid
44.0ms285×body160valid
17.0ms202×body80invalid
16.0ms201×body80overflowed
14.0ms25×body1280invalid
4.0ms10×body640invalid
1.0msbody320invalid
1.0msbody160invalid

Profiling

Loading profile data...