Details

Time bar (total: 24.1s)

sample75.0ms

Algorithm
intervals
Results
38.0ms255×body80valid
4.0msbody640valid
3.0msbody1280valid
2.0msbody320valid

simplify4.9s

Counts
1 → 1
Iterations

Useful iterations: 4 (137.0ms)

IterNodesCost
02129
15029
29329
319729
446528
5114128
6470928
done500028

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.3b

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite453.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
17×*-un-lft-identity
add-log-exp
add-cube-cbrt
pow1 add-exp-log unpow-prod-down
add-cbrt-cube
difference-of-squares
associate-*r* distribute-lft-out--
sub-neg pow-unpow diff-log associate-*l*
cos-sum associate-*r/ associate--l+ sqr-pow
associate--l- distribute-rgt-in cos-diff pow-to-exp flip3-- pow-pow distribute-lft-in flip3-+ times-frac pow-prod-down pow-exp prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
4 → 74
Calls
4 calls:
291.0ms
(- (- (fabs (- m n)) l) (pow (- (/ (+ m n) 2.0) M) 2.0))
38.0ms
(* K (+ m n))
85.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
35.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series835.0ms

Counts
4 → 12
Calls
4 calls:
297.0ms
(- (- (fabs (- m n)) l) (pow (- (/ (+ m n) 2.0) M) 2.0))
33.0ms
(* K (+ m n))
406.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
98.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify2.0s

Counts
86 → 86
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01871305
14181230
29961151
329821145
done50001137

prune551.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.0b

localize19.0ms

Local error

Found 2 expressions with local error:

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

rewrite442.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×*-un-lft-identity
unpow-prod-down add-log-exp
difference-of-squares
add-cube-cbrt distribute-lft-out--
pow1 add-exp-log pow-unpow diff-log
sub-neg associate--l+ add-cbrt-cube sqr-pow
associate--l- pow-to-exp flip3-- pow-pow times-frac pow-exp flip--
Counts
2 → 41
Calls
2 calls:
353.0ms
(- (- (fabs (- m n)) l) (pow (- (/ (+ m n) 2.0) M) 2.0))
88.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series736.0ms

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

simplify1.3s

Counts
47 → 47
Iterations

Useful iterations: done (1.3s)

IterNodesCost
0120902
1261848
2556809
31585803
done5001791

prune249.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 1.0b

localize63.0ms

Local error

Found 4 expressions with local error:

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

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
pow1/3
cos-sum
cos-diff sub-neg
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt K)
1.0ms
(cbrt K)
1.0ms
(cbrt K)
126.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series1.0s

Counts
4 → 12
Calls
4 calls:
266.0ms
(cbrt K)
293.0ms
(cbrt K)
326.0ms
(cbrt K)
159.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

simplify3.1s

Counts
55 → 55
Iterations

Useful iterations: 3 (201.0ms)

IterNodesCost
060516
1112498
2249386
3596335
42147335
done5000335

prune929.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 1.0b

localize67.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (cos (- (/ K (/ 2.0 (+ m n))) M)))
33.8b
(cos (- (/ K (/ 2.0 (+ m n))) M))
33.8b
(cos (- (/ K (/ 2.0 (+ m n))) M))
33.8b
(cos (- (/ K (/ 2.0 (+ m n))) M))

rewrite581.0ms

Algorithm
rewrite-expression-head
Rules
cos-sum
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-prod cos-diff sub-neg
pow1/3
Counts
4 → 41
Calls
4 calls:
2.0ms
(cbrt (cos (- (/ K (/ 2.0 (+ m n))) M)))
169.0ms
(cos (- (/ K (/ 2.0 (+ m n))) M))
194.0ms
(cos (- (/ K (/ 2.0 (+ m n))) M))
215.0ms
(cos (- (/ K (/ 2.0 (+ m n))) M))

series475.0ms

Counts
4 → 12
Calls
4 calls:
215.0ms
(cbrt (cos (- (/ K (/ 2.0 (+ m n))) M)))
96.0ms
(cos (- (/ K (/ 2.0 (+ m n))) M))
78.0ms
(cos (- (/ K (/ 2.0 (+ m n))) M))
86.0ms
(cos (- (/ K (/ 2.0 (+ m n))) M))

simplify2.4s

Counts
53 → 53
Iterations

Useful iterations: done (2.4s)

IterNodesCost
048853
180828
2124730
3192727
4288727
5534727
61484727
done5000687

prune399.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 1.0b

regimes315.0ms

Accuracy

0% (0.2b remaining)

Error of 1.4b against oracle of 1.2b and baseline of 1.4b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01619
12017
done2017

end0.0ms

sample3.0s

Algorithm
intervals
Results
2.0s8072×body80valid
224.0ms167×body640valid
111.0ms123×body1280valid
52.0ms100×body320valid
14.0ms42×body160valid
9.0msbody2560valid