Details

Time bar (total: 34.8s)

sample62.0ms

Algorithm
intervals
Results
29.0ms261×body80valid
3.0msbody1280valid
3.0msbody640valid
1.0msbody320valid

simplify5.1s

Counts
1 → 1
Iterations

Useful iterations: 4 (173.0ms)

IterNodesCost
02129
15029
29529
320729
449928
5120928
6480728
done500028

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.9b

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite9.4s

Algorithm
rewrite-expression-head
Rules
179×add-sqr-sqrt
144×*-un-lft-identity
141×prod-diff
130×associate-*r*
123×exp-sum
72×add-cube-cbrt
66×unpow-prod-down
50×distribute-lft-neg-in distribute-rgt-neg-in
46×difference-of-squares
35×distribute-lft-out--
23×cos-sum
20×times-frac
11×sqr-pow
pow1
add-exp-log add-cbrt-cube
associate-*l*
neg-mul-1
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow associate-*r/ div-inv
sub-neg pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-rgt-in cos-diff pow-to-exp pow-pow distribute-lft-in flip3-+ exp-diff pow-exp flip-+ distribute-lft-out associate--r-
Counts
4 → 224
Calls
4 calls:
19.0ms
(* K (+ m n))
9.2s
(* (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
75.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
61.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series1.1s

Counts
4 → 12
Calls
4 calls:
31.0ms
(* K (+ m n))
555.0ms
(* (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
397.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
85.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify1.8s

Counts
236 → 236
Iterations

Useful iterations: done (1.8s)

IterNodesCost
06299112
111877956
224767241
done50006804

prune1.1s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.0b

localize36.0ms

Local error

Found 2 expressions with local error:

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

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×*-un-lft-identity
11×add-cube-cbrt
prod-diff
unpow-prod-down
add-log-exp
pow1 add-exp-log pow-unpow fma-neg difference-of-squares
expm1-log1p-u add-cbrt-cube log1p-expm1-u distribute-lft-out--
pow-to-exp sub-neg flip3-- pow-pow times-frac diff-log pow-exp flip-- sqr-pow
Counts
2 → 50
Calls
2 calls:
8.0ms
(- l (fabs (- m n)))
120.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series415.0ms

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

simplify2.4s

Counts
56 → 56
Iterations

Useful iterations: done (2.4s)

IterNodesCost
0132935
1273747
2574641
31649581
done5000564

prune242.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.0b

localize69.0ms

Local error

Found 4 expressions with local error:

14.9b
(cbrt (/ (* K (+ m n)) 2.0))
14.9b
(cbrt (/ (* K (+ m n)) 2.0))
32.1b
(cos (- (pow (cbrt (/ (* K (+ m n)) 2.0)) 3) M))
32.8b
(sin (- (pow (cbrt (/ (* K (+ m n)) 2.0)) 3) M))

rewrite335.0ms

Algorithm
rewrite-expression-head
Rules
156×prod-diff
102×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
98×cbrt-prod
80×cos-sum sin-sum
60×unpow-prod-down cube-prod
42×times-frac
14×div-inv
cube-mult unpow3 sqr-pow
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
sub-neg cbrt-div pow1/3
cos-diff sin-diff
Counts
4 → 216
Calls
4 calls:
11.0ms
(cbrt (/ (* K (+ m n)) 2.0))
13.0ms
(cbrt (/ (* K (+ m n)) 2.0))
116.0ms
(cos (- (pow (cbrt (/ (* K (+ m n)) 2.0)) 3) M))
180.0ms
(sin (- (pow (cbrt (/ (* K (+ m n)) 2.0)) 3) M))

series886.0ms

Counts
4 → 12
Calls
4 calls:
228.0ms
(cbrt (/ (* K (+ m n)) 2.0))
278.0ms
(cbrt (/ (* K (+ m n)) 2.0))
173.0ms
(cos (- (pow (cbrt (/ (* K (+ m n)) 2.0)) 3) M))
206.0ms
(sin (- (pow (cbrt (/ (* K (+ m n)) 2.0)) 3) M))

simplify3.3s

Counts
228 → 228
Iterations

Useful iterations: done (3.2s)

IterNodesCost
049314384
17938056
211866156
326115792
done50015152

prune1.1s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 1.0b

localize46.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.6b
(cbrt (pow (cos (fma K (/ (+ m n) 2.0) (- M))) 3))
0.6b
(pow (cos (fma K (/ (+ m n) 2.0) (- M))) 3)
32.2b
(cos (fma K (/ (+ m n) 2.0) (- M)))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
14×*-un-lft-identity
12×cbrt-prod add-cube-cbrt unpow-prod-down
pow1 add-exp-log pow-unpow cube-prod
add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
sqr-pow
cube-mult pow-to-exp pow-pow unpow3 pow-exp difference-of-squares
cos-sum times-frac pow1/3 rem-cbrt-cube fma-udef distribute-lft-out-- rem-cube-cbrt
Counts
4 → 80
Calls
4 calls:
77.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
3.0ms
(cbrt (pow (cos (fma K (/ (+ m n) 2.0) (- M))) 3))
4.0ms
(pow (cos (fma K (/ (+ m n) 2.0) (- M))) 3)
3.0ms
(cos (fma K (/ (+ m n) 2.0) (- M)))

series811.0ms

Counts
4 → 12
Calls
4 calls:
408.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
107.0ms
(cbrt (pow (cos (fma K (/ (+ m n) 2.0) (- M))) 3))
189.0ms
(pow (cos (fma K (/ (+ m n) 2.0) (- M))) 3)
105.0ms
(cos (fma K (/ (+ m n) 2.0) (- M)))

simplify3.0s

Counts
92 → 92
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01461556
12971352
26661220
328411211
done50001202

prune495.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 1.0b

regimes324.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01720
12118
done2118

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.8s8086×body80valid
114.0ms124×body1280valid
82.0ms142×body640valid
42.0ms106×body320valid
13.0ms47×body160valid
1.0msbody2560valid