Details

Time bar (total: 5.1s)

sample105.0ms

Algorithm
intervals
Results
42.0ms259×body10240exit
34.0ms105×body1280valid
12.0ms68×body640valid
4.0ms36×body320valid
2.0ms30×body160valid
1.0ms17×body80valid

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

1 alts after pruning (1 fresh and 0 done)

Merged error: 56.9b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
1.5b
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
7.6b
(- (exp x) (exp (- x)))

rewrite38.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 (- x)))
24.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
6.0ms
(- (exp x) (exp (- x)))

series135.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (exp x) (exp (- x)))
73.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
35.0ms
(- (exp x) (exp (- x)))

simplify238.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0281936
1947870
24970860
35003860

prune183.0ms

Filtered
82 candidates to 60 candidates (73.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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)

series71.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
09148
119545
259945
3289145
4500245

prune28.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize9.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.1b
(* 2/15 (pow x 5))
0.2b
(* 1/3 (pow x 3))

rewrite29.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:
2.0ms
(+ x (* 2/15 (pow x 5)))
12.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
5.0ms
(* 2/15 (pow x 5))
7.0ms
(* 1/3 (pow x 3))

series264.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(+ x (* 2/15 (pow x 5)))
52.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
51.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
0314427
11376401
25001396

prune198.0ms

Filtered
93 candidates to 59 candidates (63.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite9.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 add-log-exp
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:
0.0ms
(tanh x)
2.0ms
(pow (tanh x) 3)
2.0ms
(cbrt (pow (tanh x) 3))

series255.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(tanh x)
110.0ms
(pow (tanh x) 3)
70.0ms
(cbrt (pow (tanh x) 3))

simplify30.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0237267
1827242
25002236

prune95.0ms

Filtered
69 candidates to 39 candidates (56.5%)
Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

sample3.2s

Algorithm
intervals
Results
1.3s7478×body10240exit
1000.0ms3246×body1280valid
456.0ms2455×body640valid
142.0ms1216×body320valid
45.0ms634×body160valid
17.0ms449×body80valid