Details

Time bar (total: 5.9s)

sample47.0ms

Algorithm
intervals
Results
15.0ms50×body1280valid
8.0ms133×body80valid
7.0ms38×body640valid
3.0ms21×body320valid
1.0ms14×body160valid

simplify24.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0715
11315
22115
32615
43415
53715
done3715

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize10.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))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
21×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
associate-/l*
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 → 105
Calls
4 calls:
3.0ms
(- 1.0 (* (tan x) (tan x)))
7.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))

series80.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(- 1.0 (* (tan x) (tan x)))
38.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
11.0ms
(* (tan x) (tan x))
20.0ms
(* (tan x) (tan x))

simplify1.0s

Counts
117 → 117
Iterations

Useful iterations: done (992.0ms)

IterNodesCost
01381632
13141488
29331370
334351350
done50011345

prune206.0ms

Filtered
77 candidates to 117 candidates (-51.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10512117
Fresh000
Picked101
Done000
Total10612118

Merged error: 0.0b

Counts
118 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (sqrt 1.0) (tan x))
0.2b
(- (sqrt 1.0) (tan x))
0.2b
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
0.3b
(* (tan x) (tan x))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
18×*-un-lft-identity
13×pow1
10×add-cube-cbrt
associate-*r*
add-exp-log add-cbrt-cube add-log-exp
associate-*l*
frac-times
tan-quot flip3-- flip3-+ flip-- flip-+ difference-of-squares
sub-neg associate-*r/ swap-sqr associate-*l/
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp sqrt-prod *-commutative cbrt-unprod distribute-lft-out distribute-lft-out-- unswap-sqr
+-commutative pow2 pow-plus diff-log sum-log pow-sqr pow-prod-up
Counts
4 → 89
Calls
4 calls:
5.0ms
(+ (sqrt 1.0) (tan x))
5.0ms
(- (sqrt 1.0) (tan x))
15.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
6.0ms
(* (tan x) (tan x))

series46.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (sqrt 1.0) (tan x))
8.0ms
(- (sqrt 1.0) (tan x))
20.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
10.0ms
(* (tan x) (tan x))

simplify437.0ms

Counts
101 → 101
Iterations

Useful iterations: done (434.0ms)

IterNodesCost
01341238
13361055
21329966
done5000961

prune193.0ms

Filtered
67 candidates to 101 candidates (-50.7%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New974101
Fresh2911
Picked101
Done000
Total10013113

Merged error: 0.0b

Counts
113 → 13

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (cos x) 2)
0.3b
(pow (cos x) 2)
0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt unpow-prod-down pow-unpow *-un-lft-identity
pow1 add-exp-log
pow-to-exp pow-pow pow-exp add-cbrt-cube unpow2 add-log-exp sqr-pow
Counts
4 → 72
Calls
4 calls:
3.0ms
(pow (cos x) 2)
3.0ms
(pow (cos x) 2)
3.0ms
(pow (sin x) 2)
3.0ms
(pow (sin x) 2)

series15.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(pow (cos x) 2)
3.0ms
(pow (cos x) 2)
4.0ms
(pow (sin x) 2)
4.0ms
(pow (sin x) 2)

simplify1.4s

Counts
84 → 84
Iterations

Useful iterations: 4 (612.0ms)

IterNodesCost
064576
1144508
2375432
31109432
43443424
done5000424

prune172.0ms

Filtered
48 candidates to 84 candidates (-75.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New83184
Fresh11112
Picked101
Done000
Total851297

Merged error: 0.0b

Counts
97 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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*
distribute-lft-out-- add-log-exp difference-of-squares
cbrt-undiv associate-*r/ swap-sqr div-exp 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-*l/ pow-sqr pow-prod-up flip-- flip-+
Counts
4 → 109
Calls
4 calls:
9.0ms
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(* (sin x) (tan x))
7.0ms
(/ (* (sin x) (tan x)) (cos x))
6.0ms
(* (tan x) (tan x))

series86.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
12.0ms
(* (sin x) (tan x))
18.0ms
(/ (* (sin x) (tan x)) (cos x))
10.0ms
(* (tan x) (tan x))

simplify555.0ms

Counts
121 → 121
Iterations

Useful iterations: done (552.0ms)

IterNodesCost
01901949
14521859
216351707
done50001693

prune132.0ms

Filtered
85 candidates to 121 candidates (-42.4%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1183121
Fresh11011
Picked011
Done000
Total11914133

Merged error: 0.0b

Counts
133 → 14

regimes322.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01118
11318
done1318

end0.0ms

sample1.1s

Algorithm
intervals
Results
390.0ms1509×body1280valid
223.0ms1205×body640valid
192.0ms4390×body80valid
83.0ms612×body320valid
26.0ms284×body160valid

Profiling

Loading profile data...