Details

Time bar (total: 11.9s)

sample46.0ms

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

simplify848.0ms

Counts
1 → 1
Iterations

Useful iterations: 4 (62.0ms)

IterNodesCost
02129
15029
29429
320529
447028
5143828
done500028

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.0b

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

rewrite963.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))
33.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
885.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
20.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series519.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* K (+ m n))
258.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
181.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
56.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify888.0ms

Counts
271 → 271
Iterations

Useful iterations: done (877.0ms)

IterNodesCost
047811285
19488855
224117233
done50007165

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

rewrite731.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:
33.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
684.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))

series451.0ms

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

simplify556.0ms

Counts
207 → 207
Iterations

Useful iterations: done (547.0ms)

IterNodesCost
02749396
15757377
214586047
done50005979

prune408.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.8b

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

rewrite54.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)
0.0ms
(cbrt K)
50.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series634.0ms

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

simplify1.1s

Counts
84 → 84
Iterations

Useful iterations: 3 (353.0ms)

IterNodesCost
02022442
13492034
26681440
32143963
done5001963

prune342.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.8b

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
66×*-un-lft-identity
48×times-frac
38×add-sqr-sqrt add-cube-cbrt
30×sqrt-prod
14×distribute-lft-out
12×associate-/r*
add-exp-log add-cbrt-cube associate-/l*
pow1 expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ fma-udef div-inv
cos-sum sin-sum
Counts
4 → 120
Calls
4 calls:
11.0ms
(/ (+ m n) (sqrt 2.0))
9.0ms
(/ (+ m n) (sqrt 2.0))
1.0ms
(cos (fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M)))
1.0ms
(sin (fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M)))

series598.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(/ (+ m n) (sqrt 2.0))
89.0ms
(/ (+ m n) (sqrt 2.0))
211.0ms
(cos (fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M)))
209.0ms
(sin (fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M)))

simplify935.0ms

Counts
132 → 132
Iterations

Useful iterations: 3 (255.0ms)

IterNodesCost
01281746
12301640
25351544
319191428
done50001428

prune774.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.8b

regimes187.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.0s

Algorithm
intervals
Results
618.0ms8117×body80valid
58.0ms160×body640valid
51.0ms102×body1280valid
25.0ms109×body320valid
8.0ms50×body160valid
4.0msbody2560valid