Details

Time bar (total: 9.9s)

sample373.0ms

Algorithm
intervals
Results
19.0ms44×body1280valid
12.0ms44×body640valid
9.0ms141×body80valid
3.0ms15×body320valid
2.0ms12×body160valid

simplify54.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.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))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))

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

series215.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
39.0ms
(- 1.0 (* (tan x) (tan x)))
34.0ms
(* (tan x) (tan x))
46.0ms
(* (tan x) (tan x))

simplify1.3s

Counts
117 → 117
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01381632
13151486
28611368
326781346
done50011342

prune248.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (sin x) 2)
0.2b
(pow (sin x) 2)
0.2b
(pow (cos x) 2)
0.2b
(pow (cos 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 (sin x) 2)
3.0ms
(pow (sin x) 2)
3.0ms
(pow (cos x) 2)
3.0ms
(pow (cos x) 2)

series80.0ms

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

simplify1.9s

Counts
84 → 84
Iterations

Useful iterations: 4 (726.0ms)

IterNodesCost
064576
1133492
2277432
3760432
43670424
done5000424

prune211.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

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

series200.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
64.0ms
(/ (* (tan x) (sin x)) (cos x))
44.0ms
(* (tan x) (sin x))
36.0ms
(* (tan x) (tan x))

simplify930.0ms

Counts
95 → 95
Iterations

Useful iterations: done (927.0ms)

IterNodesCost
0134997
1289912
2954816
done5001807

prune236.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (/ (* (tan x) (sin x)) (cos x))) (sqrt (/ (* (tan x) (sin x)) (cos x))))
0.2b
(* (tan x) (tan x))
13.7b
(sqrt (/ (* (tan x) (sin x)) (cos x)))
13.7b
(sqrt (/ (* (tan x) (sin x)) (cos x)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
48×sqrt-prod
40×add-sqr-sqrt
28×pow1
24×add-cube-cbrt *-un-lft-identity
18×times-frac
15×swap-sqr
13×associate-*r* associate-*l*
10×sqrt-pow1 pow1/2
add-exp-log add-cbrt-cube
sqrt-div pow-prod-up div-inv
unswap-sqr
tan-quot pow-prod-down pow-sqr add-log-exp
pow2 frac-times rem-sqrt-square pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
sqrt-unprod rem-square-sqrt
Counts
4 → 128
Calls
4 calls:
39.0ms
(* (sqrt (/ (* (tan x) (sin x)) (cos x))) (sqrt (/ (* (tan x) (sin x)) (cos x))))
15.0ms
(* (tan x) (tan x))
5.0ms
(sqrt (/ (* (tan x) (sin x)) (cos x)))
7.0ms
(sqrt (/ (* (tan x) (sin x)) (cos x)))

series250.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* (sqrt (/ (* (tan x) (sin x)) (cos x))) (sqrt (/ (* (tan x) (sin x)) (cos x))))
35.0ms
(* (tan x) (tan x))
75.0ms
(sqrt (/ (* (tan x) (sin x)) (cos x)))
79.0ms
(sqrt (/ (* (tan x) (sin x)) (cos x)))

simplify1.4s

Counts
140 → 140
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01402218
12401553
27421427
327891361
done50001336

prune345.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes211.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
01329
11529
done1529

end0.0ms

sample1.6s

Algorithm
intervals
Results
638.0ms1486×body1280valid
337.0ms1208×body640valid
249.0ms4384×body80valid
117.0ms593×body320valid
52.0ms329×body160valid