Details

Time bar (total: 32.5s)

sample443.0ms

Algorithm
intervals
Results
240.0ms83×body1280valid
76.0ms55×body640valid
56.0ms84×body80valid
29.0ms29×body320valid
4.0msbody160valid

simplify2.1s

Counts
1 → 1
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
03250
17450
219247
369947
4339047
done500147

prune42.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize63.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ (fma (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y))) 2.0) 3.0) (fma (cos y) (/ (- 3.0 (sqrt 5.0)) 2.0) (fma (cos x) (/ (- (sqrt 5.0) 1.0) 2.0) 1.0)))
0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.0b
(- 3.0 (sqrt 5.0))
3.4b
(- (cos x) (cos y))

rewrite167.0ms

Algorithm
rewrite-expression-head
Rules
152×add-sqr-sqrt
143×*-un-lft-identity
137×add-cube-cbrt
130×times-frac
105×prod-diff
41×distribute-rgt-in distribute-lft-in
14×sqrt-prod
13×associate-/l*
11×add-exp-log add-cbrt-cube div-inv
add-log-exp
pow1 fma-neg associate-*r* associate-*l*
difference-of-squares
expm1-log1p-u sub-neg log1p-expm1-u
cbrt-undiv flip3-- div-exp associate-/r* flip-- distribute-lft-out--
diff-log associate-*r/ unswap-sqr
frac-2neg pow-prod-down prod-exp clear-num *-commutative cbrt-unprod diff-cos associate-/l/
Counts
4 → 250
Calls
4 calls:
21.0ms
(/ (/ (fma (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y))) 2.0) 3.0) (fma (cos y) (/ (- 3.0 (sqrt 5.0)) 2.0) (fma (cos x) (/ (- (sqrt 5.0) 1.0) 2.0) 1.0)))
111.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
8.0ms
(- 3.0 (sqrt 5.0))
13.0ms
(- (cos x) (cos y))

series1.5s

Counts
4 → 10
Calls
4 calls:
1.3s
(/ (/ (fma (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y))) 2.0) 3.0) (fma (cos y) (/ (- 3.0 (sqrt 5.0)) 2.0) (fma (cos x) (/ (- (sqrt 5.0) 1.0) 2.0) 1.0)))
104.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
73.0ms
(- (cos x) (cos y))

simplify998.0ms

Counts
260 → 260
Iterations

Useful iterations: done (975.0ms)

IterNodesCost
065811736
1157010876
done50009459

prune1.5s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

localize97.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 5.0)
1.0b
(cbrt 5.0)
2.0b
(fma (* (cbrt 3.0) (cbrt 3.0)) (cbrt 3.0) (- (* (sqrt (cbrt 5.0)) (fabs (cbrt 5.0)))))
3.4b
(- (cos x) (cos y))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt *-un-lft-identity
13×add-cube-cbrt
prod-diff
cbrt-prod add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-neg
pow1/3
sub-neg flip3-- diff-log flip-- fma-udef diff-cos distribute-lft-out-- difference-of-squares
Counts
4 → 65
Calls
4 calls:
1.0ms
(cbrt 5.0)
1.0ms
(cbrt 5.0)
0.0ms
(fma (* (cbrt 3.0) (cbrt 3.0)) (cbrt 3.0) (- (* (sqrt (cbrt 5.0)) (fabs (cbrt 5.0)))))
15.0ms
(- (cos x) (cos y))

series78.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 5.0)
0.0ms
(cbrt 5.0)
0.0ms
(fma (* (cbrt 3.0) (cbrt 3.0)) (cbrt 3.0) (- (* (sqrt (cbrt 5.0)) (fabs (cbrt 5.0)))))
77.0ms
(- (cos x) (cos y))

simplify765.0ms

Counts
71 → 71
Iterations

Useful iterations: done (762.0ms)

IterNodesCost
01331015
1258902
2812720
done5000602

prune915.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

localize78.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (* 3.0 (+ (+ 1.0 (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))) (* (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y)))))
0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.0b
(- 3.0 (sqrt 5.0))
3.4b
(- (cos x) (cos y))

rewrite203.0ms

Algorithm
rewrite-expression-head
Rules
112×add-sqr-sqrt
105×prod-diff
103×*-un-lft-identity
97×add-cube-cbrt
58×times-frac
41×distribute-rgt-in distribute-lft-in
14×sqrt-prod
11×add-exp-log add-cbrt-cube
add-log-exp
div-inv
pow1 fma-neg associate-*r/ associate-*r* associate-*l*
difference-of-squares
expm1-log1p-u sub-neg associate-/r/ log1p-expm1-u
flip3-- flip3-+ flip-- flip-+ associate-/l* distribute-lft-out--
cbrt-undiv diff-log div-exp associate-*l/ frac-add prod-exp cbrt-unprod associate-/l/ unswap-sqr
frac-2neg pow-prod-down clear-num associate-/r* *-commutative diff-cos
Counts
4 → 207
Calls
4 calls:
97.0ms
(/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (* 3.0 (+ (+ 1.0 (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))) (* (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y)))))
65.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
14.0ms
(- 3.0 (sqrt 5.0))
16.0ms
(- (cos x) (cos y))

series1.8s

Counts
4 → 10
Calls
4 calls:
1.7s
(/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (* 3.0 (+ (+ 1.0 (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))) (* (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y)))))
101.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
62.0ms
(- (cos x) (cos y))

simplify791.0ms

Counts
217 → 217
Iterations

Useful iterations: done (780.0ms)

IterNodesCost
06028074
115617221
done50005700

prune1.4s

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0b

localize55.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ 1 3.0) (fma (cos y) (/ (- 3.0 (sqrt 5.0)) 2.0) (fma (cos x) (/ (- (sqrt 5.0) 1.0) 2.0) 1.0)))
0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.0b
(- 3.0 (sqrt 5.0))
3.4b
(- (cos x) (cos y))

rewrite144.0ms

Algorithm
rewrite-expression-head
Rules
152×add-sqr-sqrt
143×*-un-lft-identity
137×add-cube-cbrt
130×times-frac
105×prod-diff
41×distribute-rgt-in distribute-lft-in
15×add-exp-log
14×sqrt-prod
13×associate-/l*
11×add-cbrt-cube div-inv
add-log-exp
pow1 fma-neg div-exp associate-*r* associate-*l*
difference-of-squares
expm1-log1p-u sub-neg log1p-expm1-u
cbrt-undiv flip3-- associate-/r* flip-- distribute-lft-out--
diff-log associate-*r/ unswap-sqr
rec-exp frac-2neg 1-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod diff-cos associate-/l/
Counts
4 → 252
Calls
4 calls:
12.0ms
(/ (/ 1 3.0) (fma (cos y) (/ (- 3.0 (sqrt 5.0)) 2.0) (fma (cos x) (/ (- (sqrt 5.0) 1.0) 2.0) 1.0)))
90.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
14.0ms
(- 3.0 (sqrt 5.0))
15.0ms
(- (cos x) (cos y))

series692.0ms

Counts
4 → 10
Calls
4 calls:
500.0ms
(/ (/ 1 3.0) (fma (cos y) (/ (- 3.0 (sqrt 5.0)) 2.0) (fma (cos x) (/ (- (sqrt 5.0) 1.0) 2.0) 1.0)))
129.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
63.0ms
(- (cos x) (cos y))

simplify728.0ms

Counts
262 → 262
Iterations

Useful iterations: done (712.0ms)

IterNodesCost
06148935
114138009
done50006719

prune1.6s

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 0b

regimes385.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify16.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04072
14972
25172
done5172

end0.0ms

sample16.0s

Algorithm
intervals
Results
9.5s2797×body1280valid
3.7s1848×body640valid
1.0s721×body320valid
999.0ms2288×body80valid
346.0ms346×body160valid