Details

Time bar (total: 16.1s)

sample318.0ms

Algorithm
intervals
Results
68.0ms143×body80valid
45.0ms54×body1280valid
19.0ms35×body640valid
7.0ms15×body320valid
3.0msbody160valid

simplify56.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0715
11315
22115
32615
43415
53615
done3615

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize25.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.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))

rewrite97.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)))
19.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
17.0ms
(* (tan x) (tan x))
52.0ms
(* (tan x) (tan x))

series307.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(- 1.0 (* (tan x) (tan x)))
134.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
39.0ms
(* (tan x) (tan x))
71.0ms
(* (tan x) (tan x))

simplify2.0s

Counts
117 → 117
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01381632
13151486
28561368
326691346
done50001342

prune407.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite128.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:
18.0ms
(* (tan x) (tan x))
16.0ms
(* (tan x) (tan x))
17.0ms
(* (tan x) (tan x))
74.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

series360.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* (tan x) (tan x))
48.0ms
(* (tan x) (tan x))
43.0ms
(* (tan x) (tan x))
218.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify1.9s

Counts
118 → 118
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01181623
12661425
27271302
327651269
done50001263

prune338.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite204.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
18×*-un-lft-identity
13×pow1 add-exp-log add-cbrt-cube
12×add-cube-cbrt
frac-times associate-*r*
associate-/l/
flip3-- flip3-+ associate-*l* flip-- flip-+
add-log-exp
associate-*r/ associate-*l/
tan-quot difference-of-squares
sub-neg times-frac swap-sqr prod-exp associate-/r* cbrt-unprod
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp pow-prod-down sqrt-prod associate-/r/ *-commutative distribute-lft-out-- unswap-sqr
pow2 frac-2neg pow-plus diff-log clear-num pow-sqr pow-prod-up div-inv distribute-lft-out associate-/l*
Counts
4 → 108
Calls
4 calls:
55.0ms
(/ (* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x))) (+ 1.0 (* (tan x) (tan x))))
9.0ms
(- (sqrt 1.0) (tan x))
101.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
32.0ms
(* (tan x) (tan x))

series547.0ms

Counts
4 → 12
Calls
4 calls:
271.0ms
(/ (* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x))) (+ 1.0 (* (tan x) (tan x))))
53.0ms
(- (sqrt 1.0) (tan x))
180.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
43.0ms
(* (tan x) (tan x))

simplify1.9s

Counts
120 → 120
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01932015
15061658
222071479
done50021466

prune401.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite132.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 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 → 109
Calls
4 calls:
34.0ms
(/ (* (tan x) (sin x)) (cos x))
59.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
14.0ms
(* (tan x) (sin x))
21.0ms
(* (tan x) (tan x))

series339.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(/ (* (tan x) (sin x)) (cos x))
162.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
53.0ms
(* (tan x) (sin x))
36.0ms
(* (tan x) (tan x))

simplify1.4s

Counts
121 → 121
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01901949
14381848
214071693
done50011689

prune353.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes224.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

sample4.5s

Algorithm
intervals
Results
1.5s1468×body1280valid
1.3s1253×body640valid
1.1s4342×body80valid
225.0ms616×body320valid
87.0ms321×body160valid