Details

Time bar (total: 8.0s)

sample304.0ms

Algorithm
intervals
Results
23.0ms49×body1280valid
12.0ms44×body640valid
8.0ms140×body80valid
3.0ms15×body320valid
1.0msbody160valid

simplify29.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
(fma (tan x) (tan x) 1.0)
0.1b
(- 1.0 (* (tan x) (tan x)))
0.1b
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
0.2b
(* (tan x) (tan x))

rewrite19.0ms

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

series227.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(fma (tan x) (tan x) 1.0)
35.0ms
(- 1.0 (* (tan x) (tan x)))
110.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
41.0ms
(* (tan x) (tan x))

simplify500.0ms

Counts
109 → 109
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
01551557
13361462
211171345
done50001345

prune261.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.2b
(pow (cos x) 2)
0.2b
(pow (cos x) 2)
0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)

rewrite10.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)
4.0ms
(pow (sin x) 2)
2.0ms
(pow (sin x) 2)

series72.0ms

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

simplify1.2s

Counts
92 → 92
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
068616
1149530
2472466
31509466
done5000466

prune241.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
0.2b
(expm1 (log1p (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))))
0.2b
(log1p (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0)))
0.2b
(* (tan x) (tan x))

rewrite14.0ms

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

series655.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
291.0ms
(expm1 (log1p (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))))
225.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0)))
35.0ms
(* (tan x) (tan x))

simplify494.0ms

Counts
100 → 100
Iterations

Useful iterations: 2 (111.0ms)

IterNodesCost
01741763
13701670
212451471
done50001471

prune270.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

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

series273.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- 1.0 (* (tan x) (tan x)))
103.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
105.0ms
(/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x))))
32.0ms
(* (tan x) (tan x))

simplify1.3s

Counts
196 → 196
Iterations

Useful iterations: done (1.3s)

IterNodesCost
02814304
16093989
222913588
done50013580

prune341.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

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

end0.0ms

sample1.6s

Algorithm
intervals
Results
662.0ms1464×body1280valid
340.0ms1208×body640valid
257.0ms4339×body80valid
129.0ms651×body320valid
45.0ms338×body160valid