Details

Time bar (total: 4.8s)

sample357.0ms

Algorithm
intervals
Results
22.0ms51×body1280valid
11.0ms41×body640valid
9.0ms133×body80valid
4.0ms22×body320valid
1.0msbody160valid

simplify13.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379
done379

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize35.0ms

Local error

Found 4 expressions with local error:

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

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

series214.0ms

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

simplify42.0ms

Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314909
11157838
25001824
done5001824

prune239.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.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:
17.0ms
(/ (* (tan x) (sin x)) (cos x))
31.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
13.0ms
(* (tan x) (sin x))
17.0ms
(* (tan x) (tan x))

series253.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ (* (tan x) (sin x)) (cos x))
113.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
46.0ms
(* (tan x) (sin x))
34.0ms
(* (tan x) (tan x))

simplify57.0ms

Counts
121 → 121
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04411158
118491060
250011054
done50011054

prune311.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (sin x))
0.2b
(exp (* (tan x) (sin x)))
0.3b
(* (tan x) (tan x))
2.2b
(log (exp (* (tan x) (sin x))))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
14×pow1
11×add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
add-log-exp
associate-*r* associate-*l*
tan-quot
log-prod swap-sqr log-pow
exp-prod exp-to-pow pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 frac-times pow-plus associate-*r/ rem-log-exp pow-sqr pow-prod-up rem-exp-log
Counts
4 → 71
Calls
4 calls:
13.0ms
(* (tan x) (sin x))
13.0ms
(exp (* (tan x) (sin x)))
15.0ms
(* (tan x) (tan x))
4.0ms
(log (exp (* (tan x) (sin x))))

series182.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* (tan x) (sin x))
57.0ms
(exp (* (tan x) (sin x)))
35.0ms
(* (tan x) (tan x))
44.0ms
(log (exp (* (tan x) (sin x))))

simplify102.0ms

Counts
83 → 83
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0181388
1614335
23185326
35002323
done5002323

prune238.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
30×add-cube-cbrt *-un-lft-identity
24×times-frac
19×pow1 log-pow
18×exp-prod
10×add-exp-log add-cbrt-cube
tan-quot
difference-of-squares
swap-sqr associate-*r* associate-*l*
associate-/r/ associate-/l* add-log-exp
log-prod associate-/r*
pow2 frac-times flip3-+ pow-plus div-sub associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod flip-+ div-inv associate-/l/ unswap-sqr
cbrt-undiv log-div flip3-- frac-2neg exp-diff div-exp rem-log-exp clear-num flip--
Counts
4 → 123
Calls
4 calls:
17.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
15.0ms
(* (tan x) (tan x))
15.0ms
(* (tan x) (tan x))
26.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

series261.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
32.0ms
(* (tan x) (tan x))
35.0ms
(* (tan x) (tan x))
98.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

simplify41.0ms

Counts
135 → 135
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03621207
111911116
250011100
done50011100

prune303.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

regimes199.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01513
11513
done1513

end0.0ms

sample1.6s

Algorithm
intervals
Results
690.0ms1545×body1280valid
324.0ms1180×body640valid
252.0ms4370×body80valid
116.0ms585×body320valid
42.0ms320×body160valid