Details

Time bar (total: 9.7s)

sample310.0ms

Algorithm
intervals
Results
23.0ms50×body1280valid
12.0ms42×body640valid
9.0ms131×body80valid
4.0ms19×body320valid
2.0ms14×body160valid

simplify32.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0715
11315
22214
32914
43714
54214
64414
done4414

prune17.0ms

Pruning

2 alts after pruning (2 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)))
0.1b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
23×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
expm1-log1p-u log1p-expm1-u associate-/l*
fma-neg prod-diff 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 → 119
Calls
4 calls:
3.0ms
(- 1.0 (* (tan x) (tan x)))
9.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))

series217.0ms

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

simplify1.9s

Counts
131 → 131
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01511789
13361638
29091453
332171419
done50001418

prune314.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
77×add-sqr-sqrt
58×*-un-lft-identity
40×add-cube-cbrt
37×times-frac
22×associate-*r*
20×sqrt-prod
18×prod-diff
16×difference-of-squares
11×add-exp-log add-cbrt-cube
distribute-lft-out--
pow1 fma-neg associate-/l* add-log-exp
expm1-log1p-u associate-*l* log1p-expm1-u
associate-/r*
cbrt-undiv frac-times flip3-- flip3-+ div-exp associate-*l/ prod-exp flip-- cbrt-unprod flip-+ div-inv associate-/l/ unswap-sqr
sub-neg frac-2neg diff-log div-sub associate-*r/ pow-prod-down clear-num *-commutative fma-udef distribute-lft-out
Counts
4 → 143
Calls
4 calls:
0.0ms
(fma (tan x) (tan x) 1.0)
19.0ms
(/ (- (sqrt 1.0) (tan x)) (fma (tan x) (tan x) 1.0))
36.0ms
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (fma (tan x) (tan x) 1.0)))
7.0ms
(- (sqrt 1.0) (tan x))

series413.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(fma (tan x) (tan x) 1.0)
109.0ms
(/ (- (sqrt 1.0) (tan x)) (fma (tan x) (tan x) 1.0))
221.0ms
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (fma (tan x) (tan x) 1.0)))
39.0ms
(- (sqrt 1.0) (tan x))

simplify1.0s

Counts
155 → 155
Iterations

Useful iterations: 2 (371.0ms)

IterNodesCost
02243085
15452688
218452370
done50002370

prune382.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.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*
expm1-log1p-u log1p-expm1-u 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 → 117
Calls
4 calls:
20.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(/ (* (tan x) (sin x)) (cos x))
5.0ms
(* (tan x) (sin x))
6.0ms
(* (tan x) (tan x))

series259.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
64.0ms
(/ (* (tan x) (sin x)) (cos x))
43.0ms
(* (tan x) (sin x))
37.0ms
(* (tan x) (tan x))

simplify712.0ms

Counts
129 → 129
Iterations

Useful iterations: 2 (215.0ms)

IterNodesCost
01982029
14521923
214681712
done50001712

prune370.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
117×times-frac
108×add-sqr-sqrt
78×*-un-lft-identity
70×add-cube-cbrt
19×associate-/r*
15×add-exp-log add-cbrt-cube
13×associate-/l*
12×difference-of-squares
11×pow1
div-inv
tan-quot cbrt-undiv div-exp
expm1-log1p-u log1p-expm1-u distribute-lft-out-- add-log-exp
frac-2neg swap-sqr associate-*r* associate-*l* clear-num associate-/r/ associate-/l/
pow2 frac-times flip3-- flip3-+ pow-plus div-sub associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod flip-+ unswap-sqr
Counts
4 → 182
Calls
4 calls:
76.0ms
(/ (- 1.0 (/ (tan x) (/ (cos x) (sin x)))) (+ 1.0 (* (tan x) (tan x))))
4.0ms
(/ (cos x) (sin x))
6.0ms
(/ (tan x) (/ (cos x) (sin x)))
6.0ms
(* (tan x) (tan x))

series239.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(/ (- 1.0 (/ (tan x) (/ (cos x) (sin x)))) (+ 1.0 (* (tan x) (tan x))))
19.0ms
(/ (cos x) (sin x))
59.0ms
(/ (tan x) (/ (cos x) (sin x)))
38.0ms
(* (tan x) (tan x))

simplify1.0s

Counts
194 → 194
Iterations

Useful iterations: 2 (429.0ms)

IterNodesCost
03113413
16953238
221652997
done50012997

prune555.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

regimes111.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
01123
11223
done1223

end0.0ms

sample1.6s

Algorithm
intervals
Results
685.0ms1515×body1280valid
362.0ms1249×body640valid
257.0ms4274×body80valid
129.0ms640×body320valid
49.0ms322×body160valid