Details

Time bar (total: 6.0s)

sample47.0ms

Algorithm
intervals
Results
24.0ms259×body80valid
2.0msbody640valid
2.0msbody1280valid
1.0msbody320valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune13.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 15.1b

Counts
2 → 1

localize21.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)
35.3b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite51.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:
6.0ms
(* K (+ m n))
20.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
11.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series510.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
07091542
121391259
250011252

prune451.0ms

Filtered
130 candidates to 88 candidates (67.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1255130
Fresh000
Picked101
Done000
Total1265131

Merged error: 1.6b

Counts
131 → 5

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

rewrite29.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:
17.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series560.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0326528
1945464
24380448
35001448

prune208.0ms

Filtered
66 candidates to 50 candidates (75.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New66066
Fresh044
Picked011
Done000
Total66571

Merged error: 1.6b

Counts
71 → 5

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
23×cos-sum
21×prod-diff
20×add-sqr-sqrt add-cube-cbrt
12×cbrt-prod
times-frac
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-+ pow1/3 flip-+ div-inv distribute-lft-out
cos-diff sub-neg
Counts
4 → 81
Calls
4 calls:
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
18.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series469.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(cbrt (+ m n))
121.0ms
(cbrt (+ m n))
121.0ms
(cbrt (+ m n))
100.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify90.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
04271747
19061467
231541458
350011308

prune386.0ms

Filtered
93 candidates to 63 candidates (67.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New89493
Fresh123
Picked011
Done011
Total90898

Merged error: 1.6b

Counts
98 → 8

localize48.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
35.3b
(sin (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (* (cbrt 2.0) (cbrt 2.0))) (/ (cbrt (+ m n)) (cbrt 2.0)) (- (* M 1))))
35.6b
(cos (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (* (cbrt 2.0) (cbrt 2.0))) (/ (cbrt (+ m n)) (cbrt 2.0)) (- (* M 1))))

rewrite7.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 fma-udef
cos-sum sin-sum
Counts
4 → 46
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
2.0ms
(sin (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (* (cbrt 2.0) (cbrt 2.0))) (/ (cbrt (+ m n)) (cbrt 2.0)) (- (* M 1))))
2.0ms
(cos (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (* (cbrt 2.0) (cbrt 2.0))) (/ (cbrt (+ m n)) (cbrt 2.0)) (- (* M 1))))

series669.0ms

Counts
4 → 8
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
337.0ms
(sin (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (* (cbrt 2.0) (cbrt 2.0))) (/ (cbrt (+ m n)) (cbrt 2.0)) (- (* M 1))))
332.0ms
(cos (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (* (cbrt 2.0) (cbrt 2.0))) (/ (cbrt (+ m n)) (cbrt 2.0)) (- (* M 1))))

simplify60.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
0162742
1376660
2904656
32287654
45001654

prune419.0ms

Filtered
54 candidates to 46 candidates (85.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New52254
Fresh055
Picked011
Done112
Total53962

Merged error: 1.6b

Counts
62 → 9

regimes372.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.3s

Algorithm
intervals
Results
793.0ms8086×body80valid
77.0ms136×body1280valid
73.0ms180×body640valid
29.0ms99×body320valid
8.0ms40×body160valid