Details

Time bar (total: 18.1s)

sample222.0ms

Algorithm
intervals
Results
50.0ms46×body1280valid
23.0ms34×body640valid
22.0ms139×body80valid
10.0ms21×body320valid
5.0ms16×body160valid

simplify97.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0715
11315
22115
32615
43415
53615
done3615

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite106.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:
19.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(- 1.0 (* (tan x) (tan x)))
41.0ms
(* (tan x) (tan x))
36.0ms
(* (tan x) (tan x))

series333.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
37.0ms
(- 1.0 (* (tan x) (tan x)))
58.0ms
(* (tan x) (tan x))
80.0ms
(* (tan x) (tan x))

simplify2.1s

Counts
117 → 117
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01381632
13151486
28611368
326781346
done50011342

prune465.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.2b
(/ 1 (+ 1.0 (* (tan x) (tan x))))
0.2b
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite172.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
29×*-un-lft-identity
28×add-cube-cbrt
21×pow1 add-exp-log associate-*r*
20×times-frac
15×add-cbrt-cube
10×associate-*l*
tan-quot
swap-sqr prod-exp
unswap-sqr
frac-times div-exp associate-*l/ associate-/r/ cbrt-unprod add-log-exp
associate-*r/ pow-prod-down associate-/r* *-commutative associate-/l*
cbrt-undiv pow2 rec-exp flip3-- flip3-+ pow-plus 1-exp pow-sqr pow-prod-up flip-- flip-+ div-inv
pow-flip frac-2neg clear-num un-div-inv inv-pow difference-of-squares
Counts
4 → 132
Calls
4 calls:
20.0ms
(/ 1 (+ 1.0 (* (tan x) (tan x))))
77.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
33.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))

series338.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(/ 1 (+ 1.0 (* (tan x) (tan x))))
159.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
67.0ms
(* (tan x) (tan x))
41.0ms
(* (tan x) (tan x))

simplify3.0s

Counts
144 → 144
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01692062
13861786
211261585
337731543
done50011539

prune380.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite122.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:
23.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
29.0ms
(* (tan x) (sin x))
33.0ms
(/ (* (tan x) (sin x)) (cos x))
33.0ms
(* (tan x) (tan x))

series307.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
53.0ms
(* (tan x) (sin x))
114.0ms
(/ (* (tan x) (sin x)) (cos x))
62.0ms
(* (tan x) (tan x))

simplify1.4s

Counts
95 → 95
Iterations

Useful iterations: done (1.4s)

IterNodesCost
0134997
1289912
2951816
done5000807

prune405.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-*r* associate-*l* associate-/r*
tan-quot cbrt-undiv div-exp associate-*l/ prod-exp cbrt-unprod add-log-exp
frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l/ associate-/l* unswap-sqr
Counts
4 → 82
Calls
4 calls:
23.0ms
(* (tan x) (sin x))
14.0ms
(* (tan x) (sin x))
25.0ms
(/ (* (tan x) (sin x)) (cos x))
33.0ms
(/ (* (tan x) (sin x)) (cos x))

series343.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* (tan x) (sin x))
86.0ms
(* (tan x) (sin x))
100.0ms
(/ (* (tan x) (sin x)) (cos x))
96.0ms
(/ (* (tan x) (sin x)) (cos x))

simplify2.6s

Counts
94 → 94
Iterations

Useful iterations: 2 (147.0ms)

IterNodesCost
086934
1185898
2639774
33087774
done5000774

prune338.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

regimes324.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01021
11221
done1221

end0.0ms

sample4.9s

Algorithm
intervals
Results
2.2s1546×body1280valid
1.1s4315×body80valid
923.0ms1198×body640valid
339.0ms647×body320valid
79.0ms294×body160valid