Details

Time bar (total: 2.8s)

sample76.0ms

Algorithm
intervals
Results
28.0ms99×body1280valid
15.0ms81×body640valid
12.0ms260×body80overflowed
5.0ms40×body320valid
2.0ms21×body160valid
1.0ms15×body80valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
0499413
1499413

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 57.9b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
1.2b
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
7.5b
(- (exp x) (exp (neg x)))

rewrite26.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 → 73
Calls
3 calls:
5.0ms
(+ (exp x) (exp (neg x)))
13.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
5.0ms
(- (exp x) (exp (neg x)))

series26.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
052151222

prune90.0ms

Filtered
56 candidates to 82 candidates (-46.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New80282
Fresh000
Picked101
Done000
Total81283

Merged error: 0b

Counts
83 → 2

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 tanh-def2 *-un-lft-identity tanh-def1 tanh-def3 add-cbrt-cube add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(tanh x)

series17.0ms

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

simplify26.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
0573579

prune18.0ms

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

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh011
Picked011
Done000
Total13215

Merged error: 0b

Counts
15 → 2

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
19×associate-*l*
13×add-exp-log
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down
add-cbrt-cube unswap-sqr
associate-*r* prod-exp
add-log-exp
cube-prod sqr-pow
pow1
pow-to-exp pow-exp *-commutative cbrt-unprod
+-commutative cube-mult flip3-+ unpow3 sum-log flip-+
Counts
3 → 67
Calls
3 calls:
8.0ms
(+ (* (pow x 5) 2/15) (* (pow x 3) -1/3))
6.0ms
(* (pow x 5) 2/15)
7.0ms
(* (pow x 3) -1/3)

series23.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05340605

prune122.0ms

Filtered
53 candidates to 76 candidates (-43.4%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New76076
Fresh000
Picked011
Done011
Total76278

Merged error: 0b

Counts
78 → 2

regimes24.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022
122

end0.0ms

sample2.2s

Algorithm
intervals
Results
963.0ms3327×body1280valid
442.0ms2369×body640valid
246.0ms7561×body80overflowed
151.0ms1213×body320valid
51.0ms656×body160valid
17.0ms435×body80valid

Profiling

Loading profile data...