Details

Time bar (total: 9.8s)

sample237.0ms

Algorithm
intervals
Results
62.0ms58×body1280valid
24.0ms35×body640valid
19.0ms141×body80valid
7.0ms16×body320valid
2.0msbody160valid

simplify61.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
07257
113257
221257
326257
434257
536257
done36257

prune48.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize44.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (* (tan x) (tan x)))
0.2b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
21×*-un-lft-identity add-cube-cbrt
18×pow1
12×times-frac
10×add-cbrt-cube add-exp-log
tan-quot
swap-sqr associate-*r* associate-*l* add-log-exp
difference-of-squares
associate-/l*
associate-/r*
pow2 frac-times pow-plus flip3-- pow-prod-down associate-*l/ prod-exp associate-*r/ associate-/r/ pow-sqr *-commutative pow-prod-up cbrt-unprod flip-- unswap-sqr associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg flip3-+ diff-log div-sub div-exp flip-+ div-inv
Counts
4 → 105
Calls
4 calls:
7.0ms
(- 1.0 (* (tan x) (tan x)))
17.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
15.0ms
(* (tan x) (tan x))
24.0ms
(* (tan x) (tan x))

series320.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(- 1.0 (* (tan x) (tan x)))
163.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
58.0ms
(* (tan x) (tan x))
46.0ms
(* (tan x) (tan x))

simplify3.7s

Counts
117 → 117
Iterations

Useful iterations: 3 (1.8s)

IterNodesCost
013838292
134931966
299631584
3368031144
done503331144

prune742.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

localize46.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* (sin x) (tan x)) (cos x))
0.2b
(* (sin x) (tan x))
0.2b
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(* (tan x) (tan x))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
30×*-un-lft-identity
22×add-cube-cbrt
18×times-frac
15×add-cbrt-cube add-exp-log
13×pow1
associate-/r* associate-*r* associate-*l* tan-quot associate-/l*
distribute-lft-out-- add-log-exp difference-of-squares
cbrt-undiv swap-sqr div-exp prod-exp associate-*r/ cbrt-unprod associate-/l/
clear-num frac-2neg pow-prod-down associate-/r/ *-commutative div-inv unswap-sqr
pow2 frac-times flip3-+ pow-plus flip3-- div-sub associate-*l/ pow-sqr pow-prod-up flip-+ flip--
Counts
4 → 109
Calls
4 calls:
25.0ms
(/ (* (sin x) (tan x)) (cos x))
12.0ms
(* (sin x) (tan x))
47.0ms
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
15.0ms
(* (tan x) (tan x))

series426.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(/ (* (sin x) (tan x)) (cos x))
63.0ms
(* (sin x) (tan x))
194.0ms
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
69.0ms
(* (tan x) (tan x))

simplify2.1s

Counts
121 → 121
Iterations

Useful iterations: done (2.1s)

IterNodesCost
019052871
148647455
2153646982
done500046342

prune836.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (cos x) (* (sin x) (tan x)))
0.2b
(/ (- 1.0 (/ 1 (/ (cos x) (* (sin x) (tan x))))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(* (tan x) (tan x))
0.2b
(/ 1 (/ (cos x) (* (sin x) (tan x))))

rewrite207.0ms

Algorithm
rewrite-expression-head
Rules
71×times-frac
70×add-sqr-sqrt
56×*-un-lft-identity
40×add-cube-cbrt
34×add-exp-log
22×add-cbrt-cube
15×div-exp
14×associate-/l*
12×pow1 associate-/r* difference-of-squares
11×div-inv
tan-quot
cbrt-undiv associate-/r/ distribute-lft-out--
associate-*r/
prod-exp
add-log-exp
rec-exp clear-num frac-2neg 1-exp swap-sqr associate-*r* associate-*l* cbrt-unprod
associate-/l/
pow2 frac-times flip3-+ pow-plus flip3-- div-sub pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up flip-+ pow-flip flip-- inv-pow unswap-sqr
Counts
4 → 162
Calls
4 calls:
15.0ms
(/ (cos x) (* (sin x) (tan x)))
128.0ms
(/ (- 1.0 (/ 1 (/ (cos x) (* (sin x) (tan x))))) (+ 1.0 (* (tan x) (tan x))))
26.0ms
(* (tan x) (tan x))
33.0ms
(/ 1 (/ (cos x) (* (sin x) (tan x))))

series451.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(/ (cos x) (* (sin x) (tan x)))
179.0ms
(/ (- 1.0 (/ 1 (/ (cos x) (* (sin x) (tan x))))) (+ 1.0 (* (tan x) (tan x))))
54.0ms
(* (tan x) (tan x))
90.0ms
(/ 1 (/ (cos x) (* (sin x) (tan x))))

simplify284.0ms

Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
026890177