Details

Time bar (total: 13.5s)

sample324.0ms

Algorithm
intervals
Results
31.0ms55×body1280valid
15.0ms45×body640valid
13.0ms165×body80valid
5.0ms20×body320valid
3.0ms10×body160valid

simplify56.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
01012
11812
23211
34411
45511
56011
66211
done6211

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
0.1b
(/ 1.0 (sin B))
0.1b
(/ 1.0 (tan B))
0.3b
(* x (/ 1.0 (tan B)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
31×*-un-lft-identity
29×add-cube-cbrt
28×times-frac
14×associate-*r*
13×add-exp-log add-cbrt-cube
add-log-exp
pow1 fma-def associate-/r* associate-/l*
expm1-log1p-u log1p-expm1-u
cbrt-undiv div-exp associate-*l* div-inv
tan-quot frac-2neg associate-*r/ prod-exp clear-num sum-log associate-/r/ cbrt-unprod unswap-sqr
+-commutative neg-sub0 distribute-lft-neg-in associate-+l- neg-mul-1 distribute-rgt-neg-in flip3-+ pow-prod-down neg-log frac-add *-commutative flip-+ distribute-neg-frac distribute-lft-out
Counts
4 → 117
Calls
4 calls:
9.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
2.0ms
(/ 1.0 (sin B))
2.0ms
(/ 1.0 (tan B))
11.0ms
(* x (/ 1.0 (tan B)))

series299.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
18.0ms
(/ 1.0 (sin B))
36.0ms
(/ 1.0 (tan B))
128.0ms
(* x (/ 1.0 (tan B)))

simplify1.8s

Counts
129 → 129
Iterations

Useful iterations: 3 (923.0ms)

IterNodesCost
01881244
14381180
211441075
338371067
done50011067

prune368.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
0.1b
(/ 1.0 (sin B))
0.2b
(/ (* x 1.0) (tan B))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
20×fma-def
18×add-sqr-sqrt add-cube-cbrt times-frac
10×add-exp-log add-cbrt-cube
distribute-rgt-neg-in
distribute-lft-neg-in
add-log-exp
associate-/r*
div-inv associate-/l*
tan-quot pow1 cbrt-undiv expm1-log1p-u div-exp associate-/r/ log1p-expm1-u
frac-2neg clear-num sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 flip3-+ neg-log frac-add prod-exp cbrt-unprod flip-+ distribute-neg-frac
Counts
3 → 91
Calls
3 calls:
35.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
2.0ms
(/ 1.0 (sin B))
4.0ms
(/ (* x 1.0) (tan B))

series241.0ms

Counts
3 → 9
Calls
3 calls:
113.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
19.0ms
(/ 1.0 (sin B))
109.0ms
(/ (* x 1.0) (tan B))

simplify2.0s

Counts
100 → 100
Iterations

Useful iterations: 3 (1.0s)

IterNodesCost
0150887
1350843
2989755
33983747
done5001747

prune277.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1.0 (sin B))
0.1b
(/ 1.0 (tan B))
0.1b
(fma (- (/ x 1)) (/ 1.0 (tan B)) (/ 1.0 (sin B)))

rewrite7.0ms

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

series157.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(/ 1.0 (sin B))
35.0ms
(/ 1.0 (tan B))
99.0ms
(fma (- (/ x 1)) (/ 1.0 (tan B)) (/ 1.0 (sin B)))

simplify1.8s

Counts
78 → 78
Iterations

Useful iterations: 4 (878.0ms)

IterNodesCost
0131756
1250704
2522644
31196644
43008636
done5001636

prune245.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1.0 (sin B))
0.1b
(/ 1.0 (sin B))
0.2b
(* (* x (/ 1.0 (sin B))) (cos B))
0.3b
(* x (/ 1.0 (sin B)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
29×add-cube-cbrt *-un-lft-identity
28×times-frac
22×add-exp-log add-cbrt-cube
16×associate-*r*
11×pow1
prod-exp cbrt-unprod
associate-/r* associate-/l*
cbrt-undiv expm1-log1p-u div-exp associate-*l* pow-prod-down log1p-expm1-u add-log-exp
div-inv
frac-2neg associate-*r/ clear-num *-commutative unswap-sqr
associate-*l/
Counts
4 → 115
Calls
4 calls:
2.0ms
(/ 1.0 (sin B))
2.0ms
(/ 1.0 (sin B))
14.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
8.0ms
(* x (/ 1.0 (sin B)))

series198.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ 1.0 (sin B))
18.0ms
(/ 1.0 (sin B))
103.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
59.0ms
(* x (/ 1.0 (sin B)))

simplify2.7s

Counts
127 → 127
Iterations

Useful iterations: 3 (1.5s)

IterNodesCost
01401194
13251146
210301008
346511002
done50001002

prune314.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes72.0ms

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 0.3b

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01015
11715
22515
32715
done2715

end0.0ms

sample2.5s

Algorithm
intervals
Results
998.0ms1700×body1280valid
677.0ms1461×body640valid
378.0ms4889×body80valid
171.0ms725×body320valid
61.0ms368×body160valid