Details

Time bar (total: 28.3s)

sample52.0ms

Algorithm
intervals
Results
26.0ms255×body80valid
3.0msbody640valid
2.0msbody1280valid
1.0msbody320valid

simplify4.7s

Counts
1 → 1
Iterations

Useful iterations: 4 (154.0ms)

IterNodesCost
02129
15029
29529
320729
449928
5120928
6480728
done500028

prune19.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.3b

localize41.0ms

Local error

Found 4 expressions with local error:

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

rewrite891.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
40×*-un-lft-identity
30×prod-diff
29×add-cube-cbrt
23×cos-sum
12×unpow-prod-down
11×associate-+r+ times-frac
10×fma-def
add-log-exp
pow1 add-exp-log
add-cbrt-cube
expm1-log1p-u associate-*r* log1p-expm1-u difference-of-squares
pow-unpow associate-*l* div-inv distribute-lft-out distribute-lft-out--
sub-neg flip3-+ associate-*r/ sum-log flip-+ sqr-pow
+-commutative distribute-rgt-in cos-diff pow-to-exp associate-+r- pow-pow distribute-lft-in diff-log pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 118
Calls
4 calls:
35.0ms
(* K (+ m n))
666.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
113.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
71.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series805.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* K (+ m n))
286.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
367.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
109.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify3.2s

Counts
130 → 130
Iterations

Useful iterations: 3 (1.6s)

IterNodesCost
03482962
16912434
214602132
345321966
done50001966

prune795.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.0b

localize35.0ms

Local error

Found 2 expressions with local error:

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

rewrite708.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
21×*-un-lft-identity
12×add-cube-cbrt unpow-prod-down
11×associate-+r+
10×fma-def
prod-diff
add-log-exp
difference-of-squares
pow1 add-exp-log pow-unpow distribute-lft-out--
expm1-log1p-u times-frac sum-log add-cbrt-cube log1p-expm1-u distribute-lft-out sqr-pow
+-commutative pow-to-exp associate-+r- sub-neg pow-pow flip3-+ diff-log pow-exp flip-+
Counts
2 → 60
Calls
2 calls:
581.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
124.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series650.0ms

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

simplify2.7s

Counts
66 → 66
Iterations

Useful iterations: done (2.7s)

IterNodesCost
01441073
1323956
2726889
32545876
done5001858

prune318.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 1.0b

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

rewrite159.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:
1.0ms
(cbrt K)
1.0ms
(cbrt K)
1.0ms
(cbrt K)
154.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series1.0s

Counts
4 → 12
Calls
4 calls:
304.0ms
(cbrt K)
287.0ms
(cbrt K)
293.0ms
(cbrt K)
151.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

simplify2.3s

Counts
84 → 84
Iterations

Useful iterations: done (2.3s)

IterNodesCost
02022442
13422034
26331482
319011089
done5000987

prune463.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 1.0b

localize33.0ms

Local error

Found 4 expressions with local error:

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

rewrite155.0ms

Algorithm
rewrite-expression-head
Rules
69×cos-sum
63×prod-diff
44×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
27×times-frac
div-inv
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod cos-diff sub-neg
pow1/3
Counts
4 → 112
Calls
4 calls:
2.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
41.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
50.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
55.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series550.0ms

Counts
4 → 12
Calls
4 calls:
243.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
105.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
111.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
91.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify4.9s

Counts
124 → 124
Iterations

Useful iterations: done (4.9s)

IterNodesCost
01905299
13004088
24133412
37112959
411592527
518371537
635191510
done50011470

prune584.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 1.0b

regimes383.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01619
12019
done2019

end0.0ms

sample2.8s

Algorithm
intervals
Results
2.1s8072×body80valid
112.0ms123×body1280valid
104.0ms167×body640valid
47.0ms100×body320valid
13.0ms42×body160valid
9.0msbody2560valid