Details

Time bar (total: 4.4s)

analyze238.0ms (5.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
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

sample76.0ms (1.7%)

Algorithm
intervals
Results
30.0ms50×body1280valid
17.0ms47×body640valid
10.0ms125×body80valid
7.0ms29×body320valid
1.0msbody160valid
1.0msbody80overflowed
1.0msbody80invalid
1.0msbody1280invalid

simplify53.0ms (1.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
0572027

prune12.0ms (0.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.1b

Counts
2 → 2

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite47.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
81×frac-sub
72×exp-neg frac-times
54×neg-sub0 exp-diff
40×associate-*l/
36×associate-*r/
29×flip3-- flip3-+ flip-- flip-+
18×un-div-inv
14×add-sqr-sqrt *-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*r*
pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative sub-neg diff-log sum-log distribute-lft-out-- difference-of-squares
Counts
4 → 147
Calls

4 calls:

19.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))
6.0ms
(* (- 1.0 eps) x)
6.0ms
(* (+ 1.0 eps) x)
6.0ms
(+ 1.0 (/ 1.0 eps))

series60.0ms (1.4%)

Counts
4 → 12
Calls

4 calls:

49.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))
4.0ms
(* (- 1.0 eps) x)
4.0ms
(* (+ 1.0 eps) x)
3.0ms
(+ 1.0 (/ 1.0 eps))

simplify80.0ms (1.8%)

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
051266250

prune696.0ms (15.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1554159
Fresh101
Picked101
Done000
Total1574161

Merged error: 0.6b

Counts
161 → 4

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite15.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 diff-log sqr-pow
cube-mult pow-to-exp sub-neg flip3-- unpow3 pow-exp associate--l+ sum-log *-commutative flip-- cbrt-unprod
Counts
2 → 44
Calls

2 calls:

8.0ms
(- (+ (* (pow x 3) 0.6666666666666667) 2.0) (* 1.0 (* x x)))
5.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)

simplify27.0ms (0.6%)

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
05346457

prune104.0ms (2.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New48250
Fresh033
Picked011
Done000
Total48654

Merged error: 0.6b

Counts
54 → 6

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(pow (+ 2.0 (* (* x x) (- (* x 0.6666666666666667) 1.0))) 3)
0.0b
(* (* x x) (- (* x 0.6666666666666667) 1.0))
3.8b
(cbrt (pow (+ 2.0 (* (* x x) (- (* x 0.6666666666666667) 1.0))) 3))

rewrite20.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
11×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
unpow-prod-down cube-prod
cube-div
pow-unpow associate-*r* pow-prod-down prod-exp cbrt-unprod add-log-exp
cube-mult sub-neg cbrt-div flip3-+ unpow3 associate-*r/ flip-+ sqr-pow
distribute-rgt-in pow-to-exp flip3-- pow-pow distribute-lft-in pow1/3 associate-*l* pow-exp *-commutative flip-- rem-cbrt-cube rem-cube-cbrt unswap-sqr
Counts
3 → 71
Calls

3 calls:

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

series16.0ms (0.4%)

Counts
3 → 9
Calls

3 calls:

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

simplify54.0ms (1.2%)

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049661202
149661202

prune165.0ms (3.8%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New78280
Fresh134
Picked101
Done011
Total80686

Merged error: 0.6b

Counts
86 → 6

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.1b
(* (* x x) (- (* x 8.0) 12.0))
0.2b
(/ (cbrt (+ 8.0 (* (* x x) (- (* x 8.0) 12.0)))) 2.0)
10.2b
(cbrt (+ 8.0 (* (* x x) (- (* x 8.0) 12.0))))

rewrite18.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity
18×times-frac
15×cbrt-prod
10×add-exp-log
add-cbrt-cube
pow1
associate-/l*
cbrt-div
associate-*r* pow-prod-down prod-exp associate-/r* cbrt-unprod add-log-exp
sub-neg flip3-+ associate-*r/ flip-+ associate-/l/
cbrt-undiv distribute-rgt-in flip3-- frac-2neg distribute-lft-in pow1/3 div-exp associate-*l* clear-num *-commutative flip-- div-inv unswap-sqr
Counts
3 → 77
Calls

3 calls:

9.0ms
(* (* x x) (- (* x 8.0) 12.0))
5.0ms
(/ (cbrt (+ 8.0 (* (* x x) (- (* x 8.0) 12.0)))) 2.0)
3.0ms
(cbrt (+ 8.0 (* (* x x) (- (* x 8.0) 12.0))))

series29.0ms (0.7%)

Counts
3 → 9
Calls

3 calls:

11.0ms
(/ (cbrt (+ 8.0 (* (* x x) (- (* x 8.0) 12.0)))) 2.0)
9.0ms
(cbrt (+ 8.0 (* (* x x) (- (* x 8.0) 12.0))))
8.0ms
(* (* x x) (- (* x 8.0) 12.0))

simplify57.0ms (1.3%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049451660
149451660

prune168.0ms (3.9%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh044
Picked011
Done011
Total86692

Merged error: 0.6b

Counts
92 → 6

regimes138.0ms (3.2%)

Accuracy

Total 0.6b remaining (61.2%)

Threshold costs 0.6b (61.2%)

bsearch77.0ms (1.8%)

Steps
ItersRangePoint
9
0.24996242650620346
137710839.58421397
301.0358346712036

simplify9.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
047549
147549

end0.0ms (0%)

sample2.2s (49.3%)

Algorithm
intervals
Results
963.0ms1752×body1280valid
444.0ms1244×body640valid
325.0ms4059×body80valid
152.0ms629×body320valid
49.0ms316×body160valid
17.0ms209×body80invalid
16.0ms202×body80overflowed
12.0ms22×body1280invalid
6.0ms14×body640invalid
3.0msbody320invalid
0.0msbody160invalid

Profiling

Loading profile data...