Details

Time bar (total: 4.1s)

analyze231.0ms

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

sample83.0ms

Algorithm
intervals
Results
40.0ms73×body1280valid
10.0ms31×body640valid
10.0ms122×body80valid
4.0ms19×body320valid
4.0msbody5120exit
2.0ms11×body160valid
1.0msbody80invalid
1.0msbody1280invalid
0.0msbody640invalid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
0572027

prune11.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.6b

Counts
2 → 2

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
78×exp-neg
76×frac-times
59×neg-sub0 exp-diff
38×associate-*r/ associate-*l/
30×flip3-+ flip-+
28×flip3-- flip--
19×un-div-inv
12×exp-prod
10×add-sqr-sqrt *-un-lft-identity add-log-exp
add-cube-cbrt
pow1 add-cbrt-cube
add-exp-log
associate-*l* rem-exp-log
associate-*r*
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in neg-log
sub-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
4 → 154
Calls
4 calls:
12.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
3.0ms
(exp (neg (* (+ 1.0 eps) x)))
4.0ms
(exp (neg (* (- 1.0 eps) x)))
18.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series71.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
6.0ms
(exp (neg (* (+ 1.0 eps) x)))
6.0ms
(exp (neg (* (- 1.0 eps) x)))
49.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

simplify121.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 0 (92.0ms)

IterNodesCost
049826540
149826540

prune340.0ms

Filtered
92 candidates to 166 candidates (-80.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1615166
Fresh101
Picked101
Done000
Total1635168

Merged error: 0.6b

Counts
168 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
0.2b
(/ (+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (* x x)))) 2.0)
4.4b
(+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (* x x))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
12×associate-*r*
10×add-exp-log
times-frac
add-log-exp
add-cbrt-cube
unpow-prod-down cube-prod unswap-sqr
pow1 associate-*l* prod-exp associate-/r* associate-/l*
associate-+r- flip3-+ sum-log flip-+ associate-/l/ sqr-pow
cbrt-undiv +-commutative cube-mult pow-to-exp sub-neg associate-+r+ frac-2neg diff-log unpow3 div-sub div-exp pow-exp clear-num *-commutative cbrt-unprod div-inv
Counts
3 → 75
Calls
3 calls:
6.0ms
(* 0.6666666666666667 (pow x 3))
9.0ms
(/ (+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (* x x)))) 2.0)
7.0ms
(+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (* x x))))

series13.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* 0.6666666666666667 (pow x 3))
5.0ms
(/ (+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (* x x)))) 2.0)
5.0ms
(+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (* x x))))

simplify50.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050641068

prune134.0ms

Filtered
59 candidates to 84 candidates (-42.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New82284
Fresh044
Picked101
Done000
Total83689

Merged error: 0.6b

Counts
89 → 6

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (* x x) (- (* x 0.33333333333333337) 0.5))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt associate-*r* pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt sub-neg *-un-lft-identity associate-*r/
distribute-rgt-in flip3-- distribute-lft-in associate-*l* *-commutative flip-- add-log-exp unswap-sqr
Counts
1 → 23
Calls
1 calls:
9.0ms
(* (* x x) (- (* x 0.33333333333333337) 0.5))

series7.0ms

Counts
1 → 3
Calls
1 calls:
7.0ms
(* (* x x) (- (* x 0.33333333333333337) 0.5))

simplify49.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04934272
14934272

prune51.0ms

Filtered
16 candidates to 26 candidates (-62.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New26026
Fresh055
Picked011
Done000
Total26632

Merged error: 0.6b

Counts
32 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
9.3b
(cbrt (+ 2.0 (* (* x x) (- (* 0.6666666666666667 x) 1.0))))
9.3b
(cbrt (+ 2.0 (* (* x x) (- (* 0.6666666666666667 x) 1.0))))
9.3b
(cbrt (+ 2.0 (* (* x x) (- (* 0.6666666666666667 x) 1.0))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-div
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
flip3-+ flip-+
Counts
4 → 50
Calls
4 calls:
1.0ms
(cbrt 2.0)
3.0ms
(cbrt (+ 2.0 (* (* x x) (- (* 0.6666666666666667 x) 1.0))))
3.0ms
(cbrt (+ 2.0 (* (* x x) (- (* 0.6666666666666667 x) 1.0))))
3.0ms
(cbrt (+ 2.0 (* (* x x) (- (* 0.6666666666666667 x) 1.0))))

series32.0ms

Counts
4 → 10
Calls
4 calls:
0.0ms
(cbrt 2.0)
12.0ms
(cbrt (+ 2.0 (* (* x x) (- (* 0.6666666666666667 x) 1.0))))
9.0ms
(cbrt (+ 2.0 (* (* x x) (- (* 0.6666666666666667 x) 1.0))))
11.0ms
(cbrt (+ 2.0 (* (* x x) (- (* 0.6666666666666667 x) 1.0))))

simplify66.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049531088
149531088

prune227.0ms

Filtered
59 candidates to 60 candidates (-1.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New59160
Fresh044
Picked101
Done011
Total60666

Merged error: 0.6b

Counts
66 → 6

regimes135.0ms

Accuracy

96.6% (0.6b remaining)

Error of 0.9b against oracle of 0.4b and baseline of 16.6b

bsearch59.0ms

Steps
ItersRangePoint
6
226.83727372543933
3216.9668642398738
296.438625869069

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07097
17097

end0.0ms

sample2.2s

Algorithm
intervals
Results
973.0ms1751×body1280valid
425.0ms1222×body640valid
326.0ms4088×body80valid
152.0ms643×body320valid
119.0ms205×body5120exit
45.0ms296×body160valid
21.0ms218×body80invalid
7.0ms13×body1280invalid
5.0ms12×body640invalid
1.0msbody320invalid
0.0msbody160invalid

Profiling

Loading profile data...