Details

Time bar (total: 2.9s)

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

sample63.0ms

Algorithm
intervals
Results
35.0ms110×body1280valid
14.0ms73×body640valid
5.0ms43×body320valid
2.0ms20×body160valid
0.0ms10×body80valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (53.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.5b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
1.0b
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
5.7b
(- (exp x) (exp (neg x)))

rewrite25.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))))
8.0ms
(- (exp x) (exp (neg x)))

series23.0ms

Counts
3 → 9
Calls
3 calls:
3.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 (50.0ms)

IterNodesCost
055001219

prune76.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)

series18.0ms

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

simplify18.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 0 (15.0ms)

IterNodesCost
0514579

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

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
10×add-cube-cbrt *-un-lft-identity associate-*l*
unpow-prod-down
add-cbrt-cube unswap-sqr
prod-exp
add-log-exp
cube-prod sqr-pow
pow1
pow-to-exp pow-exp *-commutative cbrt-unprod
cube-mult sub-neg flip3-- diff-log unpow3 flip--
Counts
3 → 67
Calls
3 calls:
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))

series22.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(- (* (pow x 5) 2/15) (* 1/3 (pow x 3)))
5.0ms
(* (pow x 5) 2/15)
4.0ms
(* 1/3 (pow x 3))

simplify54.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04879596
14879596

prune104.0ms

Filtered
50 candidates to 76 candidates (-52.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New76076
Fresh011
Picked011
Done000
Total76278

Merged error: 0b

Counts
78 → 2

localize8.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (tanh x)) (cbrt (tanh x)))
0.6b
(cbrt (tanh x))
0.6b
(cbrt (tanh x))
0.6b
(cbrt (tanh x))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
33×cbrt-div
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1 tanh-def-c tanh-def-b tanh-def-a
frac-times pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ associate-*l/
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 97
Calls
4 calls:
7.0ms
(* (cbrt (tanh x)) (cbrt (tanh x)))
1.0ms
(cbrt (tanh x))
1.0ms
(cbrt (tanh x))
2.0ms
(cbrt (tanh x))

series168.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (cbrt (tanh x)) (cbrt (tanh x)))
37.0ms
(cbrt (tanh x))
40.0ms
(cbrt (tanh x))
40.0ms
(cbrt (tanh x))

simplify52.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05047978

prune92.0ms

Filtered
74 candidates to 109 candidates (-47.3%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1090109
Fresh000
Picked011
Done011
Total1092111

Merged error: 0b

Counts
111 → 2

regimes29.0ms

Accuracy

45.6% (1.0b remaining)

Error of 1.1b against oracle of 0.0b and baseline of 1.9b

bsearch18.0ms

Steps
ItersRangePoint
8
2.1999564072813993e-07
0.0027338149238391083
1.903307721108401e-06

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02228
12228

end0.0ms

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

sample1.9s

Algorithm
intervals
Results
1.1s3306×body1280valid
480.0ms2387×body640valid
156.0ms1230×body320valid
53.0ms636×body160valid
18.0ms441×body80valid

Profiling

Loading profile data...