Details

Time bar (total: 5.5s)

sample352.0ms

Algorithm
intervals
Results
22.0ms51×body1280valid
11.0ms41×body640valid
9.0ms133×body80valid
4.0ms22×body320valid
1.0msbody160valid

simplify14.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1229
2299
3379
4439
5459
6459
done459

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize37.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.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite68.0ms

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

series218.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- 1.0 (* (tan x) (tan x)))
101.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
34.0ms
(* (tan x) (tan x))
45.0ms
(* (tan x) (tan x))

simplify46.0ms

Counts
131 → 131
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03381007
11243917
25001882
done5001882

prune305.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite82.0ms

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

series257.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(/ (* (tan x) (sin x)) (cos x))
115.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
47.0ms
(* (tan x) (sin x))
34.0ms
(* (tan x) (tan x))

simplify75.0ms

Counts
129 → 129
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
04551207
119041097
250011088
done50011088

prune370.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
89×add-sqr-sqrt
70×add-cube-cbrt *-un-lft-identity
22×associate-/r*
19×add-exp-log
17×difference-of-squares
13×add-cbrt-cube
12×pow1
11×associate-/r/
div-exp
flip3-- flip-- div-inv associate-/l* add-log-exp
tan-quot cbrt-undiv expm1-log1p-u log1p-expm1-u
fma-neg swap-sqr associate-*r* associate-*l* prod-diff
rec-exp frac-2neg 1-exp clear-num
pow2 frac-times sub-neg pow-flip pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod inv-pow unswap-sqr
Counts
4 → 184
Calls
4 calls:
11.0ms
(/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x))))
6.0ms
(- 1.0 (* (tan x) (tan x)))
14.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
15.0ms
(* (tan x) (tan x))

series294.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x))))
37.0ms
(- 1.0 (* (tan x) (tan x)))
113.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
35.0ms
(* (tan x) (tan x))

simplify77.0ms

Counts
196 → 196
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05932482
126912268
250012158
done50012158

prune408.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (sin x))
0.2b
(expm1 (log1p (/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))))
0.3b
(* (tan x) (tan x))
0.3b
(log1p (/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x)))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×pow1
10×add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
associate-*r* associate-*l*
tan-quot expm1-log1p-u
log1p-expm1-u add-log-exp
swap-sqr
pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 frac-times log1p-udef expm1-log1p pow-plus log1p-expm1 associate-*r/ pow-sqr pow-prod-up expm1-udef
Counts
4 → 73
Calls
4 calls:
15.0ms
(* (tan x) (sin x))
0.0ms
(expm1 (log1p (/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))))
14.0ms
(* (tan x) (tan x))
0.0ms
(log1p (/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x)))))

series645.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* (tan x) (sin x))
314.0ms
(expm1 (log1p (/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))))
36.0ms
(* (tan x) (tan x))
247.0ms
(log1p (/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x)))))

simplify133.0ms

Counts
85 → 85
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0266697
1929608
24621595
35001595
done5001595

prune242.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes210.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02021
12021
done2021

end0.0ms

sample1.6s

Algorithm
intervals
Results
690.0ms1545×body1280valid
322.0ms1180×body640valid
251.0ms4370×body80valid
108.0ms585×body320valid
42.0ms320×body160valid