Details

Time bar (total: 7.1m)

sample387.0ms

Algorithm
intervals
Results
120.0ms43×body1280valid
104.0ms56×body640valid
51.0ms173×body80valid
11.0ms15×body160valid
10.0ms12×body320valid

simplify147.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
146.0ms
(+ (- (* x (/ 1 (tan B)))) (/ 1 (sin B)))

prune26.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize37.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ x (tan B))
0.1b
(/ 1 (sin B))
0.0b
(- (/ 1 (sin B)) (/ x (tan B)))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
279×times-frac
232×add-sqr-sqrt
224×*-un-lft-identity
215×add-cube-cbrt
182×prod-diff
31×div-inv
14×tan-quot associate-/r/
13×fma-neg
add-exp-log
add-cbrt-cube
associate-/r* associate-/l* difference-of-squares
add-log-exp
pow1
expm1-log1p-u div-exp insert-posit16 log1p-expm1-u distribute-lft-out--
cbrt-undiv clear-num frac-2neg
rec-exp sub-neg flip3-- diff-log 1-exp frac-sub pow-flip flip-- inv-pow
Counts
3 → 285
Calls
3 calls:
Slowest
43.0ms
(- (/ 1 (sin B)) (/ x (tan B)))
13.0ms
(/ x (tan B))
12.0ms
(/ 1 (sin B))

series332.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
166.0ms
(/ x (tan B))
150.0ms
(- (/ 1 (sin B)) (/ x (tan B)))
15.0ms
(/ 1 (sin B))

simplify1.2m

Counts
456 → 294
Calls
456 calls:
Slowest
702.0ms
(fma 1 (/ 1 (sin B)) (- (* (/ (cbrt x) (cbrt (tan B))) (/ (* (cbrt x) (cbrt x)) (* (cbrt (tan B)) (cbrt (tan B)))))))
625.0ms
(fma (/ (* (cbrt 1) (cbrt 1)) (sqrt (sin B))) (/ (cbrt 1) (sqrt (sin B))) (- (* (/ x (cbrt (tan B))) (/ 1 (* (cbrt (tan B)) (cbrt (tan B)))))))
591.0ms
(fma (sqrt (/ 1 (sin B))) (sqrt (/ 1 (sin B))) (- (* (/ x (cbrt (tan B))) (/ 1 (* (cbrt (tan B)) (cbrt (tan B)))))))
586.0ms
(fma (/ (sqrt 1) (sqrt (sin B))) (/ (sqrt 1) (sqrt (sin B))) (- (* (/ x (cbrt (tan B))) (/ 1 (* (cbrt (tan B)) (cbrt (tan B)))))))
580.0ms
(fma (/ (* (cbrt 1) (cbrt 1)) 1) (/ (cbrt 1) (sin B)) (- (* (/ x (cbrt (tan B))) (/ 1 (* (cbrt (tan B)) (cbrt (tan B)))))))

prune2.7s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0b

localize39.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ x (sin B)) (cos B))
0.1b
(/ x (sin B))
0.1b
(/ 1 (sin B))
0.0b
(- (/ 1 (sin B)) (* (/ x (sin B)) (cos B)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
46×times-frac
42×*-un-lft-identity add-cube-cbrt
15×add-exp-log
13×add-cbrt-cube fma-neg associate-*l* prod-diff
pow1
associate-/r* associate-/l* add-log-exp
div-inv
expm1-log1p-u div-exp insert-posit16 log1p-expm1-u
cbrt-undiv associate-*r* associate-*l/
clear-num frac-2neg prod-exp cbrt-unprod unswap-sqr
rec-exp sub-neg flip3-- diff-log 1-exp pow-prod-down *-commutative frac-sub pow-flip flip-- inv-pow sub-div
Counts
4 → 142
Calls
4 calls:
Slowest
38.0ms
(- (/ 1 (sin B)) (* (/ x (sin B)) (cos B)))
14.0ms
(* (/ x (sin B)) (cos B))
5.0ms
(/ 1 (sin B))
5.0ms
(/ x (sin B))

series339.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
128.0ms
(- (/ 1 (sin B)) (* (/ x (sin B)) (cos B)))
120.0ms
(* (/ x (sin B)) (cos B))
77.0ms
(/ x (sin B))
14.0ms
(/ 1 (sin B))

simplify5.6s

Counts
130 → 154
Calls
130 calls:
Slowest
348.0ms
(/ (* (* x x) x) (* (* (sin B) (sin B)) (sin B)))
262.0ms
(* (* (* (/ x (sin B)) (/ x (sin B))) (/ x (sin B))) (* (* (cos B) (cos B)) (cos B)))
217.0ms
(fma (/ (* (cbrt 1) (cbrt 1)) (* (cbrt (sin B)) (cbrt (sin B)))) (/ (cbrt 1) (cbrt (sin B))) (- (* (cos B) (/ x (sin B)))))
216.0ms
(/ (exp (/ 1 (sin B))) (exp (* (/ x (sin B)) (cos B))))
193.0ms
(- (* 1 (sin B)) (* (sin B) (* x (cos B))))

prune1.7s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (/ (tan B) x))
0.1b
(/ (tan B) x)
0.1b
(/ 1 (sin B))
0.0b
(- (/ 1 (sin B)) (/ 1 (/ (tan B) x)))

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
1390×times-frac
881×add-sqr-sqrt
855×*-un-lft-identity
834×add-cube-cbrt
572×prod-diff
108×div-inv
21×add-exp-log
19×associate-/r*
15×difference-of-squares
14×associate-/r/
13×add-cbrt-cube fma-neg
10×div-exp
associate-/l*
distribute-lft-out--
pow1 add-log-exp
cbrt-undiv
expm1-log1p-u insert-posit16 log1p-expm1-u
rec-exp clear-num frac-2neg 1-exp
pow-flip inv-pow
sub-neg flip3-- diff-log tan-quot frac-sub flip-- associate-/l/
Counts
4 → 767
Calls
4 calls:
Slowest
43.0ms
(- (/ 1 (sin B)) (/ 1 (/ (tan B) x)))
8.0ms
(/ 1 (sin B))
6.0ms
(/ 1 (/ (tan B) x))
6.0ms
(/ (tan B) x)

series333.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
162.0ms
(- (/ 1 (sin B)) (/ 1 (/ (tan B) x)))
84.0ms
(/ 1 (/ (tan B) x))
73.0ms
(/ (tan B) x)
14.0ms
(/ 1 (sin B))

simplify5.4m

Counts
1362 → 779
Calls
1362 calls:
Slowest
998.0ms
(fma (- (/ (cbrt 1) (/ (cbrt (tan B)) (sqrt x)))) (/ (* (cbrt 1) (cbrt 1)) (/ (* (cbrt (tan B)) (cbrt (tan B))) (sqrt x))) (* (/ (cbrt 1) (/ (cbrt (tan B)) (sqrt x))) (/ (* (cbrt 1) (cbrt 1)) (/ (* (cbrt (tan B)) (cbrt (tan B))) (sqrt x)))))
807.0ms
(fma (- (/ (sqrt 1) (/ (cbrt (tan B)) (sqrt x)))) (/ (sqrt 1) (/ (* (cbrt (tan B)) (cbrt (tan B))) (sqrt x))) (* (/ (sqrt 1) (/ (cbrt (tan B)) (sqrt x))) (/ (sqrt 1) (/ (* (cbrt (tan B)) (cbrt (tan B))) (sqrt x)))))
786.0ms
(fma (- (/ (cbrt 1) (/ (sqrt (tan B)) (cbrt x)))) (/ (* (cbrt 1) (cbrt 1)) (/ (sqrt (tan B)) (* (cbrt x) (cbrt x)))) (* (/ (cbrt 1) (/ (sqrt (tan B)) (cbrt x))) (/ (* (cbrt 1) (cbrt 1)) (/ (sqrt (tan B)) (* (cbrt x) (cbrt x))))))
741.0ms
(fma (- (/ 1 (/ (cbrt (tan B)) (cbrt x)))) (/ 1 (/ (* (cbrt (tan B)) (cbrt (tan B))) (* (cbrt x) (cbrt x)))) (* (/ 1 (/ (cbrt (tan B)) (cbrt x))) (/ 1 (/ (* (cbrt (tan B)) (cbrt (tan B))) (* (cbrt x) (cbrt x))))))
741.0ms
(fma (/ (sqrt 1) (* (cbrt (sin B)) (cbrt (sin B)))) (/ (sqrt 1) (cbrt (sin B))) (- (* (/ (cbrt 1) (/ (cbrt (tan B)) (sqrt x))) (/ (* (cbrt 1) (cbrt 1)) (/ (* (cbrt (tan B)) (cbrt (tan B))) (sqrt x))))))

prune8.2s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
47×times-frac
43×*-un-lft-identity
42×add-cube-cbrt
21×add-exp-log
14×associate-*l*
13×add-cbrt-cube fma-neg prod-diff
pow1
associate-/r* div-exp associate-/l* add-log-exp
div-inv
expm1-log1p-u prod-exp insert-posit16 log1p-expm1-u
cbrt-undiv rec-exp 1-exp associate-*r* unswap-sqr
clear-num frac-2neg associate-*l/ tan-quot associate-/r/ cbrt-unprod pow-flip inv-pow
sub-neg flip3-- diff-log pow-prod-down *-commutative frac-sub flip--
Counts
4 → 150
Calls
4 calls:
Slowest
31.0ms
(- (/ 1 (sin B)) (* (/ 1 (tan B)) x))
29.0ms
(* (/ 1 (tan B)) x)
13.0ms
(/ 1 (tan B))
10.0ms
(/ 1 (sin B))

series344.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
160.0ms
(- (/ 1 (sin B)) (* (/ 1 (tan B)) x))
129.0ms
(* (/ 1 (tan B)) x)
30.0ms
(/ 1 (tan B))
26.0ms
(/ 1 (sin B))

simplify6.6s

Counts
135 → 162
Calls
135 calls:
Slowest
524.0ms
(/ (* (* 1 1) 1) (* (* (tan B) (tan B)) (tan B)))
449.0ms
(- (/ 1 B) (+ (* 1/3 B) (* 1/45 (pow B 3))))
410.0ms
(* (* (* (/ 1 (tan B)) (/ 1 (tan B))) (/ 1 (tan B))) (* (* x x) x))
348.0ms
(* (/ (* (* 1 1) 1) (* (* (tan B) (tan B)) (tan B))) (* (* x x) x))
251.0ms
(+ (* 1/6 B) (+ (/ 1 B) (* 7/360 (pow B 3))))

prune1.7s

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0b

regimes138.0ms

Accuracy

0% (0.2b remaining)

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

bsearch2.0ms

end0.0ms

sample8.6s

Algorithm
intervals
Results
4.2s1723×body1280valid
1.9s1407×body640valid
1.5s4982×body80valid
614.0ms691×body320valid
207.0ms382×body160valid