Details

Time bar (total: 23.6s)

sample197.0ms

Algorithm
intervals
Results
103.0ms269×body10240exit
45.0ms107×body1280valid
22.0ms85×body640valid
6.0ms34×body320valid
2.0ms17×body160valid
1.0ms13×body80valid

simplify3.3s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11513
22513
33113
44213
55613
65913
79513
811013
915513
1022713
1139513
1296513
13306113
done500113

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 58.6b

localize8.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))))
4.7b
(- (exp x) (exp (- x)))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
34×add-sqr-sqrt
22×add-cube-cbrt
20×times-frac
prod-diff
distribute-lft-out add-log-exp
distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
associate-/r*
pow1 expm1-log1p-u fma-def fma-neg log1p-expm1-u
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 → 94
Calls
3 calls:
13.0ms
(+ (exp x) (exp (- x)))
73.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
27.0ms
(- (exp x) (exp (- x)))

series192.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ (exp x) (exp (- x)))
112.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
45.0ms
(- (exp x) (exp (- x)))

simplify2.9s

Counts
103 → 103
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
01471789
13421599
29441426
335621362
done50001362

prune266.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize4.0ms

Local error

Found 1 expressions with local error:

0.0b
(tanh x)

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u tanh-def add-log-exp
Counts
1 → 12
Calls
1 calls:
2.0ms
(tanh x)

series113.0ms

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

simplify2.0s

Counts
15 → 15
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
044113
19287
220182
359481
4282681
done500081

prune50.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma (pow x 3) -1/3 (fma 2/15 (pow x 5) x))
0.0ms
(fma 2/15 (pow x 5) x)

series266.0ms

Counts
2 → 6
Calls
2 calls:
88.0ms
(fma (pow x 3) -1/3 (fma 2/15 (pow x 5) x))
177.0ms
(fma 2/15 (pow x 5) x)

simplify3.6s

Counts
26 → 26
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
033298
156292
2155255
3679255
44223255
done5000255

prune96.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(tanh x)
4.7b
(log (exp (tanh x)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity log-pow
pow1 log-prod exp-prod
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-log-exp tanh-def
Counts
2 → 29
Calls
2 calls:
1.0ms
(tanh x)
3.0ms
(log (exp (tanh x)))

series602.0ms

Counts
2 → 6
Calls
2 calls:
497.0ms
(tanh x)
104.0ms
(log (exp (tanh x)))

simplify2.0s

Counts
35 → 35
Iterations

Useful iterations: 3 (165.0ms)

IterNodesCost
067266
1119181
2234168
3622166
42887166
done5000166

prune106.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes16.0ms

Accuracy

49.6% (1.0b remaining)

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

bsearch57.0ms

Steps
ItersRangePoint
9
-108.06719872485291
-0.00012163823945093722
-0.005609947366707223

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01519
done1519

end0.0ms

sample7.5s

Algorithm
intervals
Results
4.1s7765×body10240exit
1.7s3336×body1280valid
967.0ms2401×body640valid
290.0ms1172×body320valid
105.0ms646×body160valid
26.0ms445×body80valid