Details

Time bar (total: 7.5s)

sample298.0ms

Algorithm
intervals
Results
19.0ms42×body1280valid
15.0ms52×body640valid
10.0ms140×body80valid
3.0ms15×body320valid
1.0msbody160valid

simplify29.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
0715
11315
22214
32914
43714
54214
64414
done4414

prune15.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))

rewrite28.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:
2.0ms
(- 1.0 (* (tan x) (tan x)))
8.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series204.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- 1.0 (* (tan x) (tan x)))
93.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
37.0ms
(* (tan x) (tan x))
42.0ms
(* (tan x) (tan x))

simplify495.0ms

Counts
131 → 131
Iterations

Useful iterations: 2 (105.0ms)

IterNodesCost
01511789
13391638
211401453
done50011453

prune291.0ms

Pruning

12 alts after pruning (12 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
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (fma (tan x) (tan x) 1.0)))
0.2b
(/ (- (sqrt 1.0) (tan x)) (fma (tan x) (tan x) 1.0))
0.2b
(- (sqrt 1.0) (tan x))

rewrite61.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)
35.0ms
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (fma (tan x) (tan x) 1.0)))
14.0ms
(/ (- (sqrt 1.0) (tan x)) (fma (tan x) (tan x) 1.0))
6.0ms
(- (sqrt 1.0) (tan x))

series380.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(fma (tan x) (tan x) 1.0)
203.0ms
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (fma (tan x) (tan x) 1.0)))
100.0ms
(/ (- (sqrt 1.0) (tan x)) (fma (tan x) (tan x) 1.0))
36.0ms
(- (sqrt 1.0) (tan x))

simplify858.0ms

Counts
155 → 155
Iterations

Useful iterations: 2 (183.0ms)

IterNodesCost
02243085
15622688
223152322
done50002322

prune371.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize14.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)

rewrite8.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
expm1-log1p-u pow-to-exp pow-pow pow-exp add-cbrt-cube log1p-expm1-u unpow2 add-log-exp sqr-pow
Counts
4 → 80
Calls
4 calls:
1.0ms
(pow (sin x) 2)
1.0ms
(pow (sin x) 2)
1.0ms
(pow (cos x) 2)
2.0ms
(pow (cos x) 2)

series69.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (sin x) 2)
18.0ms
(pow (sin x) 2)
16.0ms
(pow (cos x) 2)
17.0ms
(pow (cos x) 2)

simplify1.2s

Counts
92 → 92
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
068616
1149530
2472466
31504466
done5000466

prune249.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize13.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.1b
(/ (* (tan x) (sin x)) (cos x))
0.2b
(* (tan x) (sin x))
0.3b
(* (tan x) (tan x))

rewrite38.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:
19.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))
5.0ms
(* (tan x) (tan x))

series239.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
59.0ms
(/ (* (tan x) (sin x)) (cos x))
41.0ms
(* (tan x) (sin x))
31.0ms
(* (tan x) (tan x))

simplify586.0ms

Counts
129 → 129
Iterations

Useful iterations: 2 (143.0ms)

IterNodesCost
01982029
14611923
217811708
done50001708

prune328.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

regimes143.0ms

Accuracy

0% (0.4b 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
01219
11519
done1519

end0.0ms

sample1.6s

Algorithm
intervals
Results
682.0ms1515×body1280valid
368.0ms1230×body640valid
255.0ms4337×body80valid
126.0ms624×body320valid
41.0ms294×body160valid