Details

Time bar (total: 2.9s)

sample171.0ms

Algorithm
intervals
Results
94.0ms127×body1280valid
34.0ms61×body640valid
10.0ms256×pre80true
7.0ms23×body320valid
3.0ms17×body160valid
2.0ms28×body80valid

simplify79.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
099
1159
2229
3319
4379
5479
6549
7649
8829
91169
101479
done1479

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.9b
(tan (+ y z))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
8.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series280.0ms

Counts
3 → 9
Calls
3 calls:
116.0ms
(+ x (- (tan (+ y z)) (tan a)))
115.0ms
(- (tan (+ y z)) (tan a))
49.0ms
(tan (+ y z))

simplify1.2s

Counts
81 → 81
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01281195
12831008
2706882
32650793
done5000792

prune227.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.1b
(+ (tan y) (tan z))
0.2b
(* (tan y) (tan z))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
92×*-un-lft-identity
61×add-sqr-sqrt
59×add-cube-cbrt
56×associate-+r+
54×prod-diff
48×times-frac
16×distribute-lft-out
11×add-log-exp
tan-quot add-exp-log associate-/r/ add-cbrt-cube
pow1 fma-def
expm1-log1p-u flip3-- flip-- log1p-expm1-u div-inv associate-/l*
flip3-+ associate-*r* associate-*l* associate-/r* sum-log flip-+ associate-/l/
+-commutative frac-add
cbrt-undiv frac-times associate-+r- sub-neg frac-2neg diff-log associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num *-commutative cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 155
Calls
4 calls:
81.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
11.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
3.0ms
(+ (tan y) (tan z))
5.0ms
(* (tan y) (tan z))

series730.0ms

Counts
4 → 12
Calls
4 calls:
335.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
212.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
92.0ms
(+ (tan y) (tan z))
92.0ms
(* (tan y) (tan z))

simplify55.0ms

Iterations

Useful iterations: 0 (13.0ms)

IterNodesCost
02843983