Details

Time bar (total: 7.5s)

sample52.0ms

Algorithm
intervals
Results
25.0ms250×body80valid
3.0msbody640valid
2.0msbody1280valid
2.0msbody320valid
1.0msbody160valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune10.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: 16.9b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
18×add-sqr-sqrt
15×add-log-exp
add-cube-cbrt
exp-prod
pow1 add-exp-log distribute-lft-out--
unpow-prod-down diff-log add-cbrt-cube
rem-exp-log
exp-diff associate-*r*
sub-neg pow-unpow associate-*l* exp-sum difference-of-squares
+-commutative distribute-rgt-in cos-sum distribute-rgt-neg-in distribute-lft-in associate-*r/ neg-log associate--r+
associate--l- neg-sub0 cos-diff pow-to-exp pow-pow flip3-+ times-frac pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out associate--r- unswap-sqr sqr-pow
Counts
4 → 82
Calls
4 calls:
6.0ms
(* K (+ m n))
23.0ms
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
13.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
23.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series510.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* K (+ m n))
133.0ms
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
283.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
61.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify50.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0443648
11486602
25001597

prune327.0ms

Filtered
94 candidates to 65 candidates (69.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New85994
Fresh000
Picked101
Done000
Total86995

Merged error: 2.8b

Counts
95 → 9

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite57.0ms

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

series598.0ms

Counts
3 → 9
Calls
3 calls:
200.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
125.0ms
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
273.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify42.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0358751
11116706
25002701

prune227.0ms

Filtered
80 candidates to 53 candidates (66.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New79180
Fresh178
Picked011
Done000
Total80989

Merged error: 2.8b

Counts
89 → 9

localize27.0ms

Local error

Found 4 expressions with local error:

14.5b
(cbrt (* K (+ m n)))
14.5b
(cbrt (* K (+ m n)))
14.5b
(cbrt (* K (+ m n)))
33.3b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

rewrite201.0ms

Algorithm
rewrite-expression-head
Rules
39×cbrt-prod
19×add-sqr-sqrt *-un-lft-identity
13×add-cube-cbrt
12×associate-*r*
associate-*l*
cbrt-div associate-*r/
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-+ pow1/3 *-commutative flip-+ distribute-lft-out unswap-sqr
cos-sum
cos-diff sub-neg
Counts
4 → 79
Calls
4 calls:
6.0ms
(cbrt (* K (+ m n)))
6.0ms
(cbrt (* K (+ m n)))
6.0ms
(cbrt (* K (+ m n)))
180.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

series401.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(cbrt (* K (+ m n)))
110.0ms
(cbrt (* K (+ m n)))
111.0ms
(cbrt (* K (+ m n)))
65.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

simplify98.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 4 (89.0ms)

IterNodesCost
0228730
1532680
21345656
33543647
45001641

prune439.0ms

Filtered
91 candidates to 73 candidates (80.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New84791
Fresh527
Picked101
Done011
Total9010100

Merged error: 2.7b

Counts
100 → 10

localize32.0ms

Local error

Found 4 expressions with local error:

14.5b
(cbrt (* K (+ m n)))
14.5b
(cbrt (* K (+ m n)))
14.5b
(cbrt (* K (+ m n)))
33.3b
(cos (- (/ (* (* (* (* (cbrt (cbrt (* K (+ m n)))) (cbrt (cbrt (* K (+ m n))))) (cbrt (cbrt (* K (+ m n))))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

rewrite1.8s

Algorithm
rewrite-expression-head
Rules
39×cbrt-prod
19×add-sqr-sqrt *-un-lft-identity
13×add-cube-cbrt
12×associate-*r*
associate-*l*
cbrt-div associate-*r/
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-+ pow1/3 *-commutative flip-+ distribute-lft-out unswap-sqr
cos-sum
cos-diff sub-neg
Counts
4 → 79
Calls
4 calls:
6.0ms
(cbrt (* K (+ m n)))
11.0ms
(cbrt (* K (+ m n)))
6.0ms
(cbrt (* K (+ m n)))
1.8s
(cos (- (/ (* (* (* (* (cbrt (cbrt (* K (+ m n)))) (cbrt (cbrt (* K (+ m n))))) (cbrt (cbrt (* K (+ m n))))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

series377.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(cbrt (* K (+ m n)))
106.0ms
(cbrt (* K (+ m n)))
109.0ms
(cbrt (* K (+ m n)))
56.0ms
(cos (- (/ (* (* (* (* (cbrt (cbrt (* K (+ m n)))) (cbrt (cbrt (* K (+ m n))))) (cbrt (cbrt (* K (+ m n))))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

simplify108.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 4 (98.0ms)

IterNodesCost
0237906
1565834
21463810
34086801
45002795

prune436.0ms

Filtered
91 candidates to 73 candidates (80.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New85691
Fresh358
Picked101
Done011
Total8912101

Merged error: 2.7b

Counts
101 → 12

regimes429.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.1s

Algorithm
intervals
Results
684.0ms8068×body80valid
61.0ms119×body1280valid
56.0ms158×body640valid
25.0ms97×body320valid
11.0ms43×body160valid
2.0msbody2560valid