Details

Time bar (total: 5.1s)

sample40.0ms

Algorithm
intervals
Results
18.0ms254×body80valid
2.0msbody1280valid
0.0msbody320valid
0.0msbody160valid
0.0msbody640valid

simplify48.0ms

Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115
done500115

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.2b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (* K (+ m n)) 2.0) M)
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.0b
(* K (+ m n))
34.4b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
42×*-un-lft-identity prod-diff
36×add-cube-cbrt
23×cos-sum
22×times-frac
pow1 add-exp-log fma-neg div-inv
unpow-prod-down add-cbrt-cube add-log-exp
expm1-log1p-u associate-*r* log1p-expm1-u
pow-unpow associate-*l* difference-of-squares
sub-neg associate-*r/ distribute-lft-out--
distribute-rgt-in cos-diff pow-to-exp flip3-- pow-pow distribute-lft-in flip3-+ diff-log pow-prod-down pow-exp prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out unswap-sqr sqr-pow
Counts
4 → 124
Calls
4 calls:
22.0ms
(- (/ (* K (+ m n)) 2.0) M)
56.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
22.0ms
(* K (+ m n))
35.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series415.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- (/ (* K (+ m n)) 2.0) M)
267.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
26.0ms
(* K (+ m n))
66.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify58.0ms

Counts
136 → 136
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
06121660
119071270
250031268
done50031268

prune480.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.6b

localize15.0ms

Local error

Found 1 expressions with local error:

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

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
unpow-prod-down
*-un-lft-identity
add-cube-cbrt pow-unpow
pow1 add-exp-log difference-of-squares
expm1-log1p-u pow-to-exp pow-pow times-frac pow-exp add-cbrt-cube log1p-expm1-u distribute-lft-out-- add-log-exp sqr-pow
Counts
1 → 22
Calls
1 calls:
58.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series256.0ms

Counts
1 → 3
Calls
1 calls:
256.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify41.0ms

Counts
25 → 25
Iterations

Useful iterations: 3 (38.0ms)

IterNodesCost
0159174
1445168
21492167
35001162
done5001162

prune105.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.6b

localize32.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
34.3b
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- M)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
cos-sum fma-udef
Counts
4 → 49
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
3.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- M)))

series223.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
223.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- M)))

simplify95.0ms

Counts
55 → 55
Iterations

Useful iterations: 4 (26.0ms)

IterNodesCost
077281
1144253
2316247
3854247
43641244
55002244
done5002244

prune351.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.6b

localize32.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ K (* (cbrt 2.0) (cbrt 2.0)))
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
34.3b
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (- M)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-cbrt-cube
cbrt-prod
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
times-frac associate-/l*
cbrt-undiv pow1/3 div-exp
cos-sum frac-2neg prod-exp clear-num associate-/r* cbrt-unprod fma-udef div-inv
Counts
4 → 59
Calls
4 calls:
9.0ms
(/ K (* (cbrt 2.0) (cbrt 2.0)))
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
3.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (- M)))

series811.0ms

Counts
4 → 8
Calls
4 calls:
93.0ms
(/ K (* (cbrt 2.0) (cbrt 2.0)))
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
718.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (- M)))

simplify42.0ms

Counts
67 → 67
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0177452
1505400
21605391
35002391
done5002391

prune403.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.6b

regimes176.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310
done2310

end0.0ms

sample1.2s

Algorithm
intervals
Results
633.0ms8088×body80valid
57.0ms117×body1280valid
47.0ms139×body640valid
26.0ms108×body320valid
9.0ms56×body160valid
2.0msbody2560valid