Details

Time bar (total: 12.8s)

sample100.0ms

Algorithm
intervals
Results
41.0ms266×body10240exit
28.0ms96×body1280valid
15.0ms89×body640valid
3.0ms31×body320valid
1.0ms20×body160valid
1.0ms20×body80valid

simplify2.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0713
11513
22513
33113
44213
55213
65513
78713
812013
915513
1025213
1138613
1267213
13154113
done500113

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 57.2b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
2.0b
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
6.1b
(- (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)))

series130.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ (exp x) (exp (- x)))
68.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
37.0ms
(- (exp x) (exp (- x)))

simplify1.3s

Counts
82 → 82
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01171385
12821333
26711237
317401231
done50001230

prune164.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 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)

series80.0ms

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

simplify1.2s

Counts
13 → 13
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
042107
19383
219779
352679
4228779
done500179

prune24.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

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

series146.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
48.0ms
(* 2/15 (pow x 5))
41.0ms
(* 1/3 (pow x 3))

simplify2.2s

Counts
79 → 79
Iterations

Useful iterations: 3 (580.0ms)

IterNodesCost
0121815
1286726
2824684
33925675
done5000675

prune157.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize4.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (tanh x))
0.0b
(tanh x)
0.0b
(tanh x)
0.3b
(* (sqrt (tanh x)) (sqrt (tanh x)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
27×sqrt-div
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
13×add-cube-cbrt *-un-lft-identity
11×tanh-def
frac-times sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 100
Calls
4 calls:
1.0ms
(sqrt (tanh x))
1.0ms
(tanh x)
1.0ms
(tanh x)
10.0ms
(* (sqrt (tanh x)) (sqrt (tanh x)))

series298.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(sqrt (tanh x))
76.0ms
(tanh x)
76.0ms
(tanh x)
78.0ms
(* (sqrt (tanh x)) (sqrt (tanh x)))

simplify1.3s

Counts
112 → 112
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01271238
1224825
2577788
32485777
done5000776

prune181.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes12.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022
done22

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.3s7780×body10240exit
1.0s3334×body1280valid
435.0ms2454×body640valid
133.0ms1197×body320valid
45.0ms591×body160valid
15.0ms424×body80valid