Details

Time bar (total: 2.8s)

analyze15.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%1.6%48.5%9
50.4%1.2%48.5%10
50.4%1.2%48.5%11
50.4%1.1%48.6%12
50.4%1%48.6%13
50.5%0.9%48.6%14

sample69.0ms

Algorithm
intervals
Results
36.0ms109×body1280valid
19.0ms75×body640valid
5.0ms35×body320valid
2.0ms21×body160valid
1.0ms16×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
0486413
1486413

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 58.3b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
1.7b
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
6.1b
(- (exp x) (exp (neg x)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
26×add-sqr-sqrt
20×times-frac
14×add-cube-cbrt
distribute-lft-out add-log-exp
distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
associate-/r*
pow1
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-sub tanh-undef div-exp clear-num sum-log div-inv
Counts
3 → 72
Calls
3 calls:
4.0ms
(+ (exp x) (exp (neg x)))
10.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
5.0ms
(- (exp x) (exp (neg x)))

series22.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ (exp x) (exp (neg x)))
13.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
6.0ms
(- (exp x) (exp (neg x)))

simplify58.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
055001219

prune81.0ms

Filtered
56 candidates to 81 candidates (-44.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New78381
Fresh000
Picked101
Done000
Total79382

Merged error: 0b

Counts
82 → 3

localize2.0ms

Local error

Found 1 expressions with local error:

0.0b
(tanh x)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity tanh-def-c add-cbrt-cube tanh-def-b add-log-exp tanh-def-a
Counts
1 → 10
Calls
1 calls:
1.0ms
(tanh x)

series15.0ms

Counts
1 → 3
Calls
1 calls:
15.0ms
(tanh x)

simplify15.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 0 (13.0ms)

IterNodesCost
0514579

prune23.0ms

Filtered
11 candidates to 13 candidates (-18.2%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New12113
Fresh112
Picked101
Done000
Total14216

Merged error: 0b

Counts
16 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (- (* (pow x 5) 2/15) (* 1/3 (pow x 3))))
0.0b
(- (* (pow x 5) 2/15) (* 1/3 (pow x 3)))
0.0b
(* (pow x 5) 2/15)
0.1b
(* 1/3 (pow x 3))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
15×associate-*r*
14×add-exp-log
13×*-un-lft-identity
11×add-cube-cbrt add-log-exp
10×associate-*l*
unpow-prod-down add-cbrt-cube
unswap-sqr
prod-exp
pow1 cube-prod sqr-pow
pow-to-exp sub-neg diff-log pow-exp sum-log *-commutative cbrt-unprod
+-commutative cube-mult associate-+r- associate-+r+ flip3-- flip3-+ unpow3 flip-- flip-+ distribute-lft-out
Counts
4 → 82
Calls
4 calls:
5.0ms
(+ x (- (* (pow x 5) 2/15) (* 1/3 (pow x 3))))
4.0ms
(- (* (pow x 5) 2/15) (* 1/3 (pow x 3)))
5.0ms
(* (pow x 5) 2/15)
6.0ms
(* 1/3 (pow x 3))

series24.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ x (- (* (pow x 5) 2/15) (* 1/3 (pow x 3))))
11.0ms
(- (* (pow x 5) 2/15) (* 1/3 (pow x 3)))
4.0ms
(* (pow x 5) 2/15)
4.0ms
(* 1/3 (pow x 3))

simplify38.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
04865890
14865890

prune133.0ms

Filtered
63 candidates to 94 candidates (-49.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New94094
Fresh011
Picked011
Done000
Total94296

Merged error: 0b

Counts
96 → 2

localize5.0ms

Local error

Found 3 expressions with local error:

0.0b
(tanh x)
0.0b
(pow (tanh x) 3)
38.5b
(cbrt (pow (tanh x) 3))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cube-div unpow-prod-down cube-prod
pow1 add-exp-log add-cbrt-cube
pow-unpow cbrt-div tanh-def-c tanh-def-b add-log-exp tanh-def-a
cube-mult unpow3 sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
3 → 60
Calls
3 calls:
1.0ms
(tanh x)
2.0ms
(pow (tanh x) 3)
3.0ms
(cbrt (pow (tanh x) 3))

series48.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(tanh x)
21.0ms
(pow (tanh x) 3)
14.0ms
(cbrt (pow (tanh x) 3))

simplify35.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
04902417
14902417

prune62.0ms

Filtered
42 candidates to 69 candidates (-64.3%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New69069
Fresh000
Picked011
Done011
Total69271

Merged error: 0b

Counts
71 → 2

regimes29.0ms

Accuracy

48.7% (0.9b remaining)

Error of 0.9b against oracle of 0.0b and baseline of 1.8b

bsearch18.0ms

Steps
ItersRangePoint
7
1.8506643636163383e-07
4.5487215345228e-06
3.0408838089225477e-06

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02022
12022

end0.0ms

analyze15.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%1.6%48.5%9
50.4%1.2%48.5%10
50.4%1.2%48.5%11
50.4%1.1%48.6%12
50.4%1%48.6%13
50.5%0.9%48.6%14

sample2.0s

Algorithm
intervals
Results
1.1s3303×body1280valid
515.0ms2444×body640valid
161.0ms1201×body320valid
53.0ms638×body160valid
18.0ms414×body80valid

Profiling

Loading profile data...