Details

Time bar (total: 6.1s)

sample74.0ms

Algorithm
intervals
Results
38.0ms116×body1280valid
14.0ms71×body640valid
7.0ms227×body80overflowed
4.0ms32×body320valid
1.0ms18×body160valid
1.0ms19×body80valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0159
1249
2329
3449
4599
51749
611539
750019

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 56.3b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
0.8b
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
5.2b
(- (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:
4.0ms
(+ (exp x) (exp (neg x)))
14.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
5.0ms
(- (exp x) (exp (neg x)))

series129.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(+ (exp x) (exp (neg x)))
72.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
35.0ms
(- (exp x) (exp (neg x)))

simplify243.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0285936
1951868
24961857
35001857

prune154.0ms

Filtered
82 candidates to 59 candidates (72.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New79382
Fresh000
Picked101
Done000
Total80383

Merged error: 0b

Counts
83 → 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 add-cbrt-cube tanh-def add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(tanh x)

series74.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
09248
120645
261945
3320345
4500245

prune20.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh022
Picked011
Done000
Total13316

Merged error: 0b

Counts
16 → 3

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

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

series247.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(+ x (* 2/15 (pow x 5)))
51.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
48.0ms
(* 2/15 (pow x 5))
38.0ms
(* 1/3 (pow x 3))

simplify48.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0314425
11376398
25001393

prune140.0ms

Filtered
93 candidates to 59 candidates (63.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New93093
Fresh011
Picked011
Done011
Total93396

Merged error: 0b

Counts
96 → 3

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp (neg x)) 3)
0.8b
(/ (/ (- (pow (exp x) 3) (pow (exp (neg x)) 3)) (+ (+ 1 (exp (+ x x))) (pow (exp -1) (* 2 x)))) (+ (exp x) (exp (neg x))))
1.2b
(/ (- (pow (exp x) 3) (pow (exp (neg x)) 3)) (+ (+ 1 (exp (+ x x))) (pow (exp -1) (* 2 x))))
5.2b
(- (pow (exp x) 3) (pow (exp (neg x)) 3))

rewrite194.0ms

Algorithm
rewrite-expression-head
Rules
1668×*-un-lft-identity
1274×times-frac
1097×add-sqr-sqrt
585×distribute-lft-out
512×difference-of-squares
387×unpow-prod-down cube-prod
329×add-cube-cbrt
257×sqr-pow
160×distribute-lft-out--
156×associate-/l*
32×difference-cubes
14×associate-/r/
12×add-cbrt-cube
11×add-exp-log pow-pow
10×exp-prod
associate-/r*
flip3-+ flip-+ div-inv
add-log-exp
pow1
cbrt-undiv div-exp
distribute-lft-neg-in pow-unpow distribute-rgt-neg-in div-sub associate-/l/
cube-div flip3-- frac-2neg clear-num flip--
neg-sub0 exp-neg cube-mult pow-to-exp neg-mul-1 sub-neg exp-diff diff-log unpow3 pow-exp rem-cube-cbrt
Counts
4 → 918
Calls
4 calls:
5.0ms
(pow (exp (neg x)) 3)
57.0ms
(/ (/ (- (pow (exp x) 3) (pow (exp (neg x)) 3)) (+ (+ 1 (exp (+ x x))) (pow (exp -1) (* 2 x)))) (+ (exp x) (exp (neg x))))
29.0ms
(/ (- (pow (exp x) 3) (pow (exp (neg x)) 3)) (+ (+ 1 (exp (+ x x))) (pow (exp -1) (* 2 x))))
12.0ms
(- (pow (exp x) 3) (pow (exp (neg x)) 3))

series511.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(pow (exp (neg x)) 3)
219.0ms
(/ (/ (- (pow (exp x) 3) (pow (exp (neg x)) 3)) (+ (+ 1 (exp (+ x x))) (pow (exp -1) (* 2 x)))) (+ (exp x) (exp (neg x))))
172.0ms
(/ (- (pow (exp x) 3) (pow (exp (neg x)) 3)) (+ (+ 1 (exp (+ x x))) (pow (exp -1) (* 2 x))))
94.0ms
(- (pow (exp x) 3) (pow (exp (neg x)) 3))

simplify247.0ms

Algorithm
egg-herbie
Counts
930 → 930
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
0152627393
1500127048

prune1.6s

Filtered
930 candidates to 314 candidates (33.8%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New9300930
Fresh000
Picked011
Done022
Total9303933

Merged error: 0b

Counts
933 → 3

regimes18.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
021

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.1s3312×body1280valid
471.0ms2389×body640valid
234.0ms7528×body80overflowed
157.0ms1242×body320valid
52.0ms647×body160valid
19.0ms410×body80valid

Profiling

Loading profile data...