Details

Time bar (total: 13.5s)

sample206.0ms

Algorithm
intervals
Results
70.0ms141×body80valid
46.0ms46×body1280valid
20.0ms28×body640valid
13.0ms26×body320valid
5.0ms15×body160valid

simplify40.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0715
11315
22214
32914
43714
54214
64414
done4414

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
12×times-frac
11×pow1
add-exp-log add-cbrt-cube
add-log-exp
difference-of-squares
tan-quot expm1-log1p-u log1p-expm1-u associate-/l*
fma-neg swap-sqr associate-*r* associate-*l* prod-diff associate-/r*
flip3-- flip-- associate-/l/
cbrt-undiv pow2 frac-times sub-neg frac-2neg pow-plus diff-log div-sub associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef div-inv unswap-sqr
Counts
4 → 97
Calls
4 calls:
16.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
8.0ms
(- 1.0 (* (tan x) (tan x)))
0.0ms
(fma (tan x) (tan x) 1.0)
35.0ms
(* (tan x) (tan x))

series298.0ms

Counts
4 → 12
Calls
4 calls:
156.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
39.0ms
(- 1.0 (* (tan x) (tan x)))
55.0ms
(fma (tan x) (tan x) 1.0)
48.0ms
(* (tan x) (tan x))

simplify2.5s

Counts
109 → 109
Iterations

Useful iterations: done (2.5s)

IterNodesCost
01551557
13301462
28931345
328051320
done50001314

prune399.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (* (tan x) (tan x)))
0.1b
(fma (tan x) (tan x) 1.0)
0.2b
(* (tan x) (tan x))
0.3b
(log1p (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
11×pow1
10×add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u
tan-quot log1p-expm1-u
fma-neg swap-sqr associate-*r* associate-*l* prod-diff
pow2 frac-times sub-neg log1p-udef flip3-- pow-plus diff-log log1p-expm1 associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod fma-udef difference-of-squares unswap-sqr
Counts
4 → 72
Calls
4 calls:
6.0ms
(- 1.0 (* (tan x) (tan x)))
0.0ms
(fma (tan x) (tan x) 1.0)
18.0ms
(* (tan x) (tan x))
1.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0)))

series551.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- 1.0 (* (tan x) (tan x)))
54.0ms
(fma (tan x) (tan x) 1.0)
48.0ms
(* (tan x) (tan x))
402.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0)))

simplify2.1s

Counts
84 → 84
Iterations

Useful iterations: done (2.1s)

IterNodesCost
0131993
1263914
2663820
32019793
done5000767

prune392.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
24×*-un-lft-identity
22×add-cube-cbrt
21×prod-diff
12×times-frac
11×add-exp-log add-cbrt-cube
pow1 add-log-exp
expm1-log1p-u log1p-expm1-u div-inv
fma-neg associate-*r* associate-*l* associate-/r*
tan-quot cbrt-undiv associate-*r/ div-exp prod-exp cbrt-unprod
sub-neg flip3-- frac-2neg diff-log pow-prod-down clear-num *-commutative flip-- fma-udef associate-/l/ associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 95
Calls
4 calls:
19.0ms
(- 1.0 (/ (* (sin x) (tan x)) (cos x)))
15.0ms
(* (sin x) (tan x))
16.0ms
(/ (* (sin x) (tan x)) (cos x))
0.0ms
(fma (tan x) (tan x) 1.0)

series349.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(- 1.0 (/ (* (sin x) (tan x)) (cos x)))
68.0ms
(* (sin x) (tan x))
119.0ms
(/ (* (sin x) (tan x)) (cos x))
74.0ms
(fma (tan x) (tan x) 1.0)

simplify1.8s

Counts
107 → 107
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01832078
14071730
212861407
done50011165

prune536.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (fma (tan x) (tan x) 1.0))
0.1b
(fma (tan x) (tan x) 1.0)
0.2b
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (fma (tan x) (tan x) 1.0)))
0.2b
(* (tan x) (tan x))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
25×*-un-lft-identity
24×add-cube-cbrt
20×times-frac
19×add-exp-log
16×associate-*r*
14×pow1
13×add-cbrt-cube
associate-*l*
prod-exp
tan-quot expm1-log1p-u div-exp log1p-expm1-u add-log-exp unswap-sqr
frac-times swap-sqr associate-*l/ associate-/r* cbrt-unprod associate-/l*
cbrt-undiv rec-exp flip3-- 1-exp associate-*r/ pow-prod-down *-commutative flip-- div-inv
pow2 pow-flip frac-2neg pow-plus clear-num pow-sqr un-div-inv pow-prod-up fma-udef inv-pow difference-of-squares
Counts
4 → 116
Calls
4 calls:
7.0ms
(/ 1 (fma (tan x) (tan x) 1.0))
0.0ms
(fma (tan x) (tan x) 1.0)
36.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (fma (tan x) (tan x) 1.0)))
33.0ms
(* (tan x) (tan x))

series467.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(/ 1 (fma (tan x) (tan x) 1.0))
88.0ms
(fma (tan x) (tan x) 1.0)
205.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (fma (tan x) (tan x) 1.0)))
43.0ms
(* (tan x) (tan x))

simplify3.2s

Counts
128 → 128
Iterations

Useful iterations: done (3.2s)

IterNodesCost
01771836
13791612
210491438
334761416
done50021413

prune387.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes4.0ms