Details

Time bar (total: 9.6s)

sample299.0ms

Algorithm
intervals
Results
21.0ms47×body1280valid
14.0ms51×body640valid
9.0ms126×body80valid
4.0ms22×body320valid
1.0ms10×body160valid

simplify25.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0715
11315
22115
32615
43415
53715
done3715

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))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(- 1.0 (* (tan x) (tan x)))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite36.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:
17.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
2.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series201.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
37.0ms
(- 1.0 (* (tan x) (tan x)))
31.0ms
(* (tan x) (tan x))
43.0ms
(* (tan x) (tan x))

simplify1.6s

Counts
117 → 117
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01381632
13121486
28421368
329931346
done50001345

prune253.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

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)

rewrite9.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:
1.0ms
(pow (cos x) 2)
1.0ms
(pow (cos x) 2)
1.0ms
(pow (sin x) 2)
4.0ms
(pow (sin x) 2)

series70.0ms

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

simplify1.6s

Counts
84 → 84
Iterations

Useful iterations: 4 (493.0ms)

IterNodesCost
064576
1138492
2304432
3784432
43027424
done5000424

prune226.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.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:
37.0ms
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(- (sqrt 1.0) (tan x))
14.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(* (tan x) (tan x))

series347.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
35.0ms
(- (sqrt 1.0) (tan x))
93.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
32.0ms
(* (tan x) (tan x))

simplify935.0ms

Counts
147 → 147
Iterations

Useful iterations: 2 (349.0ms)

IterNodesCost
02202757
15612524
219942324
done50002324

prune336.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite192.0ms

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

series406.0ms

Counts
4 → 12
Calls
4 calls:
216.0ms
(* (+ (tan x) (sqrt 1.0)) (- (/ (sqrt 1.0) (+ 1.0 (* (tan x) (tan x)))) (/ (tan x) (+ 1.0 (* (tan x) (tan x))))))
126.0ms
(- (/ (sqrt 1.0) (+ 1.0 (* (tan x) (tan x)))) (/ (tan x) (+ 1.0 (* (tan x) (tan x)))))
33.0ms
(* (tan x) (tan x))
31.0ms
(* (tan x) (tan x))

simplify890.0ms

Counts
145 → 145
Iterations

Useful iterations: 2 (311.0ms)

IterNodesCost
02163466
15703235
221772982
done50012982

prune338.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

regimes137.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
11319
done1319

end0.0ms

sample1.6s

Algorithm
intervals
Results
683.0ms1521×body1280valid
363.0ms1285×body640valid
258.0ms4286×body80valid
115.0ms606×body320valid
44.0ms302×body160valid