Details

Time bar (total: 4.9s)

sample22.0ms

Algorithm
intervals
Results
10.0ms258×body80valid
1.0msbody1280valid
0.0msbody640valid
0.0msbody160valid

simplify875.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
01215
15415
214614
331514
495214
5311114
done500014

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.6b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
0.4b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.0b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
29×*-un-lft-identity
27×prod-diff
25×add-cube-cbrt
18×frac-sub
13×tanh-def
11×distribute-rgt-in distribute-lft-in associate-*r/
pow1 add-exp-log add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u log1p-expm1-u
sub-neg fma-neg associate-*l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 114
Calls
4 calls:
1.0ms
(tanh (/ t y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
24.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series785.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(tanh (/ t y))
230.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
219.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
254.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify582.0ms

Counts
126 → 126
Iterations

Useful iterations: 2 (161.0ms)

IterNodesCost
02173259
15572726
218252366
done50002366

prune572.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
1.0b
(fma y (+ (* (tanh (/ t y)) z) (* (- (tanh (/ x y))) z)) x)
1.6b
(* (tanh (/ t y)) z)
1.7b
(* (- (tanh (/ x y))) z)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×associate-*l*
10×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
associate-*r* associate-*l/
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in distribute-neg-frac tanh-def
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-lft-neg-out neg-mul-1 fma-udef
Counts
4 → 76
Calls
4 calls:
1.0ms
(tanh (/ t y))
0.0ms
(fma y (+ (* (tanh (/ t y)) z) (* (- (tanh (/ x y))) z)) x)
5.0ms
(* (tanh (/ t y)) z)
9.0ms
(* (- (tanh (/ x y))) z)

series529.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(tanh (/ t y))
244.0ms
(fma y (+ (* (tanh (/ t y)) z) (* (- (tanh (/ x y))) z)) x)
100.0ms
(* (tanh (/ t y)) z)
105.0ms
(* (- (tanh (/ x y))) z)

simplify420.0ms

Counts
88 → 88
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
0143953
1342911
21194814
done5000814

prune297.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
4.1b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt *-un-lft-identity prod-diff
23×add-cube-cbrt
18×frac-sub
13×tanh-def
11×distribute-rgt-in distribute-lft-in associate-*r/
pow1 add-exp-log add-cbrt-cube
associate-*r* add-log-exp
expm1-log1p-u sub-neg fma-neg pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
3 → 104
Calls
3 calls:
1.0ms
(tanh (/ t y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
26.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series460.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(tanh (/ t y))
222.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
161.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify190.0ms

Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
02093221
16442684