Details

Time bar (total: 10.1s)

sample305.0ms

Algorithm
intervals
Results
21.0ms47×body1280valid
14.0ms51×body640valid
8.0ms126×body80valid
4.0ms22×body320valid
1.0ms10×body160valid

simplify30.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0715
11315
22214
32914
43714
54214
64414
done4414

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

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

series206.0ms

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

simplify515.0ms

Counts
131 → 131
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
01511789
13391638
211411453
done50001453

prune288.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

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

series75.0ms

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

simplify1.3s

Counts
92 → 92
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
068616
1149530
2472466
31509466
done5000466

prune258.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
76×add-sqr-sqrt
61×add-cube-cbrt *-un-lft-identity
18×associate-/r*
17×add-exp-log
13×difference-of-squares
12×pow1
11×add-cbrt-cube
associate-/r/
div-exp
add-log-exp
flip3-- flip-- div-inv
tan-quot expm1-log1p-u log1p-expm1-u
cbrt-undiv fma-neg swap-sqr associate-*r* associate-*l* prod-diff associate-/l*
rec-exp 1-exp
pow2 frac-times sub-neg pow-flip frac-2neg pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef inv-pow unswap-sqr
Counts
4 → 159
Calls
4 calls:
0.0ms
(fma (tan x) (tan x) 1.0)
2.0ms
(- 1.0 (* (tan x) (tan x)))
8.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
8.0ms
(* (tan x) (tan x))

series216.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(fma (tan x) (tan x) 1.0)
35.0ms
(- 1.0 (* (tan x) (tan x)))
106.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
32.0ms
(* (tan x) (tan x))

simplify1.3s

Counts
171 → 171
Iterations

Useful iterations: 2 (236.0ms)

IterNodesCost
02703573
15853269
222192917
done50002917

prune319.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite108.0ms

Algorithm
rewrite-expression-head
Rules
294×times-frac
268×add-sqr-sqrt
206×*-un-lft-identity
150×add-cube-cbrt
77×associate-*r*
52×difference-of-squares
38×sqrt-prod
36×add-exp-log
30×associate-/r*
26×distribute-lft-out--
20×add-cbrt-cube
18×prod-diff associate-/r/
15×div-exp
10×div-inv
flip3-- flip--
pow1 cbrt-undiv prod-exp
fma-neg associate-/l* add-log-exp
unswap-sqr
expm1-log1p-u rec-exp 1-exp associate-*l* log1p-expm1-u
cbrt-unprod
frac-times frac-2neg flip3-+ associate-*l/ clear-num flip-+
sub-neg pow-flip diff-log associate-*r/ pow-prod-down un-div-inv *-commutative distribute-lft-out inv-pow
Counts
4 → 319
Calls
4 calls:
16.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))))
57.0ms
(* (+ (tan x) (sqrt 1.0)) (/ 1 (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x)))))
6.0ms
(- (sqrt 1.0) (tan x))
11.0ms
(/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x)))

series466.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x))))
203.0ms
(* (+ (tan x) (sqrt 1.0)) (/ 1 (/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x)))))
39.0ms
(- (sqrt 1.0) (tan x))
122.0ms
(/ (fma (tan x) (tan x) 1.0) (- (sqrt 1.0) (tan x)))

simplify2.3s

Counts
331 → 331
Iterations

Useful iterations: 2 (414.0ms)

IterNodesCost
04048023
110017126
240806037
done50006037

prune636.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

regimes107.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
01226
11326
21526
done1526

end0.0ms

sample1.6s

Algorithm
intervals
Results
680.0ms1521×body1280valid
370.0ms1285×body640valid
241.0ms4286×body80valid
120.0ms606×body320valid
40.0ms302×body160valid