Details

Time bar (total: 5.7s)

sample42.0ms

Algorithm
intervals
Results
21.0ms255×body80valid
2.0msbody1280valid
1.0msbody640valid
1.0msbody160valid
0.0msbody320valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 12.5b

Counts
2 → 1

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
14×*-un-lft-identity
12×add-exp-log
11×add-cbrt-cube
10×add-cube-cbrt
pow1
unpow-prod-down
times-frac associate-*r/ associate-*r* add-log-exp
pow-unpow associate-*l* associate-/r*
cbrt-undiv cos-sum flip3-+ div-exp prod-exp cbrt-unprod flip-+ associate-/l/ difference-of-squares
distribute-rgt-in cos-diff pow-to-exp sub-neg pow-pow frac-2neg distribute-lft-in pow-prod-down pow-exp clear-num *-commutative div-inv distribute-lft-out associate-/l* distribute-lft-out-- unswap-sqr sqr-pow
Counts
4 → 76
Calls
4 calls:
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
6.0ms
(* K (+ m n))
7.0ms
(/ (* K (+ m n)) 2.0)
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series376.0ms

Counts
4 → 12
Calls
4 calls:
255.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
25.0ms
(* K (+ m n))
40.0ms
(/ (* K (+ m n)) 2.0)
56.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify54.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0411487
11722437
25001437

prune322.0ms

Filtered
88 candidates to 63 candidates (71.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New84488
Fresh000
Picked101
Done000
Total85489

Merged error: 0.6b

Counts
89 → 4

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

rewrite33.0ms

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

series433.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
0277469
1798444
23368435
35001432

prune151.0ms

Filtered
50 candidates to 34 candidates (68.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New50050
Fresh033
Picked011
Done000
Total50454

Merged error: 0.6b

Counts
54 → 4

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)))
0.4b
(/ (+ m n) (sqrt 2.0))
0.5b
(/ K (sqrt 2.0))
31.9b
(cos (- (* (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0))) M))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
96×times-frac
94×add-sqr-sqrt
90×*-un-lft-identity
64×add-cube-cbrt
54×sqrt-prod
28×associate-*r*
22×associate-*l*
20×add-exp-log add-cbrt-cube
13×distribute-lft-out
12×associate-/r*
unswap-sqr
associate-/l*
pow1 cbrt-undiv div-exp
prod-exp cbrt-unprod div-inv add-log-exp
cos-sum frac-2neg clear-num associate-/l/
cos-diff frac-times sub-neg flip3-+ associate-*r/ pow-prod-down associate-*l/ *-commutative flip-+
Counts
4 → 176
Calls
4 calls:
21.0ms
(* (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)))
6.0ms
(/ (+ m n) (sqrt 2.0))
4.0ms
(/ K (sqrt 2.0))
12.0ms
(cos (- (* (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0))) M))

series625.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(* (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)))
86.0ms
(/ (+ m n) (sqrt 2.0))
55.0ms
(/ K (sqrt 2.0))
310.0ms
(cos (- (* (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0))) M))

simplify63.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05291443
124671336
250021280

prune622.0ms

Filtered
188 candidates to 114 candidates (60.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1853188
Fresh202
Picked101
Done011
Total1884192

Merged error: 0.6b

Counts
192 → 4

localize30.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(/ 1 (* (fabs (cbrt 2.0)) 1))
32.0b
(cos (- (* (* (/ 1 (* (fabs (cbrt 2.0)) 1)) (/ K (sqrt (cbrt 2.0)))) (/ (+ m n) (sqrt 2.0))) M))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log
add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1
cbrt-prod 1-exp div-exp prod-exp
add-log-exp
rec-exp times-frac associate-/l*
cbrt-undiv cos-sum pow-flip pow1/3
cos-diff sub-neg frac-2neg pow-prod-down clear-num associate-/r* cbrt-unprod div-inv inv-pow
Counts
4 → 63
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
5.0ms
(/ 1 (* (fabs (cbrt 2.0)) 1))
17.0ms
(cos (- (* (* (/ 1 (* (fabs (cbrt 2.0)) 1)) (/ K (sqrt (cbrt 2.0)))) (/ (+ m n) (sqrt 2.0))) M))

series962.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(/ 1 (* (fabs (cbrt 2.0)) 1))
961.0ms
(cos (- (* (* (/ 1 (* (fabs (cbrt 2.0)) 1)) (/ K (sqrt (cbrt 2.0)))) (/ (+ m n) (sqrt 2.0))) M))

simplify55.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0243567
1692510
21955498
35001497

prune288.0ms

Filtered
69 candidates to 44 candidates (63.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New68169
Fresh022
Picked101
Done011
Total69473

Merged error: 0.6b

Counts
73 → 4

regimes170.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.2s

Algorithm
intervals
Results
713.0ms8109×body80valid
50.0ms96×body1280valid
47.0ms127×body640valid
26.0ms101×body320valid
8.0ms46×body160valid