Details

Time bar (total: 9.6s)

sample350.0ms

Algorithm
intervals
Results
19.0ms43×body1280valid
12.0ms42×body640valid
8.0ms141×body80valid
6.0ms25×body320valid
1.0msbody160valid

simplify57.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0715
11315
22115
32615
43415
53615
done3615

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.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:
5.0ms
(- 1.0 (* (tan x) (tan x)))
21.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
15.0ms
(* (tan x) (tan x))
17.0ms
(* (tan x) (tan x))

series211.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- 1.0 (* (tan x) (tan x)))
93.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
36.0ms
(* (tan x) (tan x))
45.0ms
(* (tan x) (tan x))

simplify1.3s

Counts
117 → 117
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01381632
13151486
28561368
326691346
done50001342

prune250.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.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)
4.0ms
(pow (sin x) 2)
4.0ms
(pow (sin x) 2)

series76.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(pow (cos x) 2)
18.0ms
(pow (cos x) 2)
19.0ms
(pow (sin x) 2)
23.0ms
(pow (sin x) 2)

simplify1.9s

Counts
84 → 84
Iterations

Useful iterations: 4 (694.0ms)

IterNodesCost
064576
1133492
2277432
3763432
43650424
done5000424

prune212.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
69×add-sqr-sqrt
48×*-un-lft-identity
37×times-frac
30×add-cube-cbrt
27×associate-*r*
16×difference-of-squares
13×pow1 add-exp-log add-cbrt-cube
sqrt-prod distribute-lft-out--
associate-*l*
associate-/l* add-log-exp
tan-quot flip3-+ associate-/r/ flip-+
frac-times swap-sqr associate-*l/ prod-exp associate-/r* cbrt-unprod unswap-sqr
cbrt-undiv flip3-- associate-*r/ div-exp pow-prod-down *-commutative flip-- div-inv associate-/l/
pow2 sub-neg frac-2neg pow-plus diff-log div-sub clear-num pow-sqr pow-prod-up distribute-lft-out
Counts
4 → 135
Calls
4 calls:
9.0ms
(- (sqrt 1.0) (tan x))
28.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
67.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
15.0ms
(* (tan x) (tan x))

series353.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (sqrt 1.0) (tan x))
94.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
188.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
32.0ms
(* (tan x) (tan x))

simplify897.0ms

Counts
147 → 147
Iterations

Useful iterations: done (893.0ms)

IterNodesCost
02162757
15452521
220402313
done50002306

prune326.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))
0.3b
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

rewrite100.0ms

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

series251.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (tan x) (tan x))
34.0ms
(* (tan x) (tan x))
33.0ms
(* (tan x) (tan x))
151.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify1.1s

Counts
118 → 118
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01181623
12661425
27271302
327651269
done50001263

prune214.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

regimes143.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
01019
11319
done1319

end0.0ms

sample1.6s

Algorithm
intervals
Results
660.0ms1467×body1280valid
350.0ms1238×body640valid
251.0ms4342×body80valid
126.0ms635×body320valid
42.0ms318×body160valid