Details

Time bar (total: 4.4s)

analyze225.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

sample64.0ms

Algorithm
intervals
Results
24.0ms47×body1280valid
12.0ms35×body640valid
11.0ms145×body80valid
5.0ms22×body320valid
1.0msbody160valid
1.0msbody1280invalid
0.0msbody80invalid
0.0msbody640invalid
0.0msbody80overflowed

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
0541527

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 26.6b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 eps) x)
0.0b
(exp (neg (* (- 1.0 eps) x)))
0.0b
(exp (neg (* (+ 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)))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
74×exp-neg
72×frac-times
56×neg-sub0 exp-diff
38×associate-*l/
36×associate-*r/
29×flip3-- flip--
27×flip3-+ flip-+
18×un-div-inv
12×add-sqr-sqrt exp-prod
10×*-un-lft-identity add-log-exp
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
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-- difference-of-squares unswap-sqr
Counts
4 → 148
Calls
4 calls:
6.0ms
(* (- 1.0 eps) x)
4.0ms
(exp (neg (* (- 1.0 eps) x)))
3.0ms
(exp (neg (* (+ 1.0 eps) x)))
17.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series64.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049536083
149536083

prune344.0ms

Filtered
85 candidates to 160 candidates (-88.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1555160
Fresh000
Picked101
Done000
Total1565161

Merged error: 0.4b

Counts
161 → 5

localize8.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (* x x) (+ (* x 0.6666666666666667) (neg 1.0)))

rewrite12.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 *-un-lft-identity associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ associate-*l* *-commutative flip-+ add-log-exp unswap-sqr
Counts
1 → 23
Calls
1 calls:
12.0ms
(* (* x x) (+ (* x 0.6666666666666667) (neg 1.0)))

series7.0ms

Counts
1 → 3
Calls
1 calls:
7.0ms
(* (* x x) (+ (* x 0.6666666666666667) (neg 1.0)))

simplify40.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05701272

prune50.0ms

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New26026
Fresh044
Picked011
Done000
Total26531

Merged error: 0.4b

Counts
31 → 5

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
54×frac-sub
42×frac-times
32×associate-*l/
25×exp-neg
21×associate-*r/
20×flip3-- flip--
19×neg-sub0 exp-diff
18×flip3-+ flip-+
15×un-div-inv
12×add-log-exp
11×add-sqr-sqrt
*-un-lft-identity
add-cube-cbrt exp-prod
pow1 add-exp-log add-cbrt-cube
associate-*l*
associate-*r* rem-exp-log
exp-to-pow diff-log
distribute-lft-neg-in neg-mul-1 sub-neg distribute-rgt-neg-in pow-prod-down neg-log prod-exp *-commutative cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 115
Calls
4 calls:
6.0ms
(* (- 1.0 eps) x)
3.0ms
(exp (* (- 1.0 eps) x))
3.0ms
(exp (neg (* (+ 1.0 eps) x)))
17.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (/ 1 (exp (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series66.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
049614289
149614289

prune278.0ms

Filtered
78 candidates to 127 candidates (-62.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1270127
Fresh033
Picked011
Done011
Total1275132

Merged error: 0.4b

Counts
132 → 5

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 eps) x)
0.0b
(exp (neg (* (- 1.0 eps) x)))
0.0b
(pow E (neg (* (+ 1.0 eps) x)))
2.5b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (pow E (neg (* (+ 1.0 eps) x)))))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
72×frac-times
56×neg-sub0
38×associate-*l/
37×exp-neg pow-neg
36×associate-*r/
29×flip3-- flip--
28×exp-diff pow-sub
27×flip3-+ flip-+
18×un-div-inv
13×add-sqr-sqrt
11×*-un-lft-identity
add-cube-cbrt
add-log-exp
pow1 add-exp-log
pow-unpow exp-prod add-cbrt-cube
associate-*l*
unpow-prod-down associate-*r*
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in pow-exp rem-exp-log
pow-to-exp sub-neg e-exp-1 pow-pow diff-log pow-prod-down neg-log prod-exp *-commutative cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr sqr-pow
Counts
4 → 154
Calls
4 calls:
12.0ms
(* (- 1.0 eps) x)
6.0ms
(exp (neg (* (- 1.0 eps) x)))
4.0ms
(pow E (neg (* (+ 1.0 eps) x)))
24.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (pow E (neg (* (+ 1.0 eps) x)))))

series114.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (- 1.0 eps) x)
5.0ms
(exp (neg (* (- 1.0 eps) x)))
7.0ms
(pow E (neg (* (+ 1.0 eps) x)))
97.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (pow E (neg (* (+ 1.0 eps) x)))))

simplify127.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 0 (98.0ms)

IterNodesCost
049336452
149336452

prune297.0ms

Filtered
89 candidates to 166 candidates (-86.5%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1651166
Fresh112
Picked011
Done022
Total1665171

Merged error: 0.4b

Counts
171 → 5

regimes125.0ms

Accuracy

96.2% (0.6b remaining)

Error of 1.0b against oracle of 0.4b and baseline of 16.5b

bsearch56.0ms

Steps
ItersRangePoint
6
0.0012750439604827532
0.009352498148476414
0.009176016535471614

simplify9.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
039847
139847

end0.0ms

sample2.1s

Algorithm
intervals
Results
933.0ms1719×body1280valid
433.0ms1269×body640valid
327.0ms4107×body80valid
139.0ms607×body320valid
46.0ms298×body160valid
18.0ms226×body80invalid
15.0ms180×body80overflowed
9.0ms17×body1280invalid
4.0ms11×body640invalid
2.0msbody320invalid
0.0msbody160invalid

Profiling

Loading profile data...