Details

Time bar (total: 16.2s)

sample43.0ms

Algorithm
intervals
Results
21.0ms268×body80valid
1.0msbody640valid
1.0msbody320valid
1.0msbody1280valid
0.0msbody160valid

simplify2.8s

Counts
1 → 1
Iterations

Useful iterations: 4 (67.0ms)

IterNodesCost
02129
15029
29429
320529
446028
5127828
6469228
done500028

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(* K (+ m n))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.0b
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
31.7b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite749.0ms

Algorithm
rewrite-expression-head
Rules
198×add-sqr-sqrt
167×*-un-lft-identity
150×prod-diff
81×add-cube-cbrt
78×unpow-prod-down
62×distribute-rgt-neg-in
60×distribute-lft-neg-in
51×difference-of-squares
43×distribute-lft-out--
24×fma-neg
23×cos-sum
22×times-frac
14×add-log-exp
13×sqr-pow
11×associate--r+
pow1 add-exp-log
neg-mul-1 diff-log add-cbrt-cube
expm1-log1p-u associate-*r* log1p-expm1-u
sub-neg pow-unpow associate-*l* div-inv
associate-*r/ neg-log
associate--l- neg-sub0 distribute-rgt-in cos-diff pow-to-exp flip3-- pow-pow distribute-lft-in flip3-+ pow-prod-down pow-exp prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out associate--r- unswap-sqr
Counts
4 → 259
Calls
4 calls:
9.0ms
(* K (+ m n))
32.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
671.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
20.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series572.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* K (+ m n))
304.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
184.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
58.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify802.0ms

Counts
271 → 271
Iterations

Useful iterations: done (791.0ms)

IterNodesCost
047811285
19488855
220487287
done50017165

prune720.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.8b

localize15.0ms

Local error

Found 2 expressions with local error:

0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.0b
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))

rewrite719.0ms

Algorithm
rewrite-expression-head
Rules
179×add-sqr-sqrt
148×*-un-lft-identity
129×prod-diff
78×unpow-prod-down
64×add-cube-cbrt
62×distribute-rgt-neg-in
60×distribute-lft-neg-in
51×difference-of-squares
43×distribute-lft-out--
24×fma-neg
13×times-frac sqr-pow
12×add-log-exp
11×associate--r+
neg-mul-1 diff-log
pow1 add-exp-log pow-unpow
expm1-log1p-u sub-neg neg-log add-cbrt-cube log1p-expm1-u
associate--l- neg-sub0 pow-to-exp flip3-- pow-pow pow-exp flip-- associate--r-
Counts
2 → 201
Calls
2 calls:
32.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
673.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))

series463.0ms

Counts
2 → 6
Calls
2 calls:
273.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
190.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))

simplify1.1s

Counts
207 → 207
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02749396
15757377
213366047
done50004898

prune407.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.8b

localize30.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt K)
0.6b
(cbrt K)
0.6b
(cbrt K)
31.7b
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
23×cos-sum
21×prod-diff
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-prod times-frac
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3 div-inv
cos-diff sub-neg
Counts
4 → 72
Calls
4 calls:
0.0ms
(cbrt K)
0.0ms
(cbrt K)
1.0ms
(cbrt K)
51.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series629.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(cbrt K)
175.0ms
(cbrt K)
179.0ms
(cbrt K)
101.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

simplify1.3s

Counts
84 → 84
Iterations

Useful iterations: 3 (365.0ms)

IterNodesCost
02022442
13492034
26491482
319691089
done50001089

prune350.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.8b

localize36.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ K (sqrt 2.0))
0.4b
(/ K (sqrt 2.0))
31.6b
(sin (- (/ (* (/ K (sqrt 2.0)) (+ m n)) (sqrt 2.0)) M))
31.7b
(cos (- (/ (* (/ K (sqrt 2.0)) (+ m n)) (sqrt 2.0)) M))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
60×prod-diff
42×sqrt-prod
32×cos-sum sin-sum
12×associate-/r*
add-exp-log add-cbrt-cube div-inv
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv sub-neg frac-2neg div-exp clear-num
cos-diff sin-diff
Counts
4 → 166
Calls
4 calls:
3.0ms
(/ K (sqrt 2.0))
3.0ms
(/ K (sqrt 2.0))
36.0ms
(sin (- (/ (* (/ K (sqrt 2.0)) (+ m n)) (sqrt 2.0)) M))
34.0ms
(cos (- (/ (* (/ K (sqrt 2.0)) (+ m n)) (sqrt 2.0)) M))

series808.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ K (sqrt 2.0))
61.0ms
(/ K (sqrt 2.0))
338.0ms
(sin (- (/ (* (/ K (sqrt 2.0)) (+ m n)) (sqrt 2.0)) M))
346.0ms
(cos (- (/ (* (/ K (sqrt 2.0)) (+ m n)) (sqrt 2.0)) M))

simplify2.5s

Counts
178 → 178
Iterations

Useful iterations: 4 (1.9s)

IterNodesCost
03416174
15774890
28403798
315513390
436032778
done50012778

prune775.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.8b

regimes146.0ms

Accuracy

0% (0.2b remaining)

Error of 1.3b against oracle of 1.1b and baseline of 1.3b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01720
12118
done2118

end0.0ms

sample1.1s

Algorithm
intervals
Results
665.0ms8117×body80valid
59.0ms160×body640valid
52.0ms102×body1280valid
27.0ms109×body320valid
8.0ms50×body160valid
5.0msbody2560valid