Details

Time bar (total: 18.2s)

sample252.0ms

Algorithm
intervals
Results
62.0msbody160valid
60.0ms54×body1280valid
25.0ms35×body640valid
23.0ms143×body80valid
10.0ms15×body320valid

simplify176.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0715
11315
22214
32914
43714
54214
64414
done4414

prune53.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

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

rewrite85.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:
1.0ms
(fma (tan x) (tan x) 1.0)
10.0ms
(- 1.0 (* (tan x) (tan x)))
18.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
49.0ms
(* (tan x) (tan x))

series377.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(fma (tan x) (tan x) 1.0)
37.0ms
(- 1.0 (* (tan x) (tan x)))
196.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
90.0ms
(* (tan x) (tan x))

simplify2.4s

Counts
109 → 109
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01551557
13301462
28931345
328091320
done50001314

prune416.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l* add-log-exp
fma-udef
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
3 → 49
Calls
3 calls:
0.0ms
(fma (tan x) (tan x) 1.0)
5.0ms
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
0.0ms
(fma (- (tan x)) (tan x) 1.0)

series323.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(fma (tan x) (tan x) 1.0)
176.0ms
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
91.0ms
(fma (- (tan x)) (tan x) 1.0)

simplify2.2s

Counts
58 → 58
Iterations

Useful iterations: 3 (214.0ms)

IterNodesCost
087978
1160967
2377883
3984882
43063882
done5001882

prune302.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

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

rewrite23.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:
4.0ms
(pow (sin x) 2)
4.0ms
(pow (sin x) 2)
3.0ms
(pow (cos x) 2)
4.0ms
(pow (cos x) 2)

series115.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(pow (sin x) 2)
37.0ms
(pow (sin x) 2)
19.0ms
(pow (cos x) 2)
23.0ms
(pow (cos x) 2)

simplify3.2s

Counts
92 → 92
Iterations

Useful iterations: 4 (1.3s)

IterNodesCost
068616
1138530
2293466
3808466
43771458
done5000458

prune358.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
42×*-un-lft-identity
32×add-cube-cbrt
27×times-frac
21×prod-diff
13×add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/l* add-log-exp
div-inv distribute-lft-out-- difference-of-squares
expm1-log1p-u log1p-expm1-u
cbrt-undiv fma-neg div-exp associate-*r* associate-*l* associate-/l/
tan-quot flip3-- frac-2neg associate-*r/ prod-exp clear-num flip-- cbrt-unprod
sub-neg diff-log div-sub pow-prod-down *-commutative unswap-sqr
Counts
4 → 125
Calls
4 calls:
24.0ms
(- 1.0 (/ (* (sin x) (tan x)) (cos x)))
31.0ms
(/ (* (sin x) (tan x)) (cos x))
62.0ms
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (fma (tan x) (tan x) 1.0))
13.0ms
(* (sin x) (tan x))

series464.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(- 1.0 (/ (* (sin x) (tan x)) (cos x)))
97.0ms
(/ (* (sin x) (tan x)) (cos x))
217.0ms
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (fma (tan x) (tan x) 1.0))
57.0ms
(* (sin x) (tan x))

simplify1.8s

Counts
137 → 137
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02323121
15312750
217132370
done50002128

prune560.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes162.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01123
11223
done1223

end0.0ms

sample4.7s

Algorithm
intervals
Results
1.9s1468×body1280valid
1.5s1253×body640valid
558.0ms4342×body80valid
341.0ms616×body320valid
89.0ms321×body160valid