Details

Time bar (total: 3.6s)

sample55.0ms

Algorithm
intervals
Results
25.0ms256×body80valid
4.0msbody1280valid
3.0msbody640valid
1.0msbody320valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune12.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 14.5b

Counts
2 → 1

localize213.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

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

series112.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
6.0ms
(* K (+ m n))
43.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
21.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0442576
11444538
25002530

prune177.0ms

Filtered
82 candidates to 58 candidates (29.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New76682
Fresh000
Picked101
Done000
Total77683

Merged error: 1.6b

Counts
83 → 6

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(- l (fabs (- 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)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt
10×add-log-exp
unpow-prod-down
add-cube-cbrt
pow1 add-exp-log
pow-unpow add-cbrt-cube distribute-lft-out-- difference-of-squares
sub-neg associate-+r+ diff-log sum-log distribute-lft-out
+-commutative pow-to-exp associate-+r- flip3-- pow-pow flip3-+ times-frac pow-exp flip-- flip-+ sqr-pow
Counts
3 → 51
Calls
3 calls:
3.0ms
(- l (fabs (- m n)))
17.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series86.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(- l (fabs (- m n)))
40.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
42.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify86.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0325466
1873449
23345441
35001438

prune114.0ms

Filtered
60 candidates to 42 candidates (30.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New60060
Fresh055
Picked011
Done000
Total60666

Merged error: 1.6b

Counts
66 → 6

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.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)
15.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series94.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt K)
23.0ms
(cbrt K)
22.0ms
(cbrt K)
27.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

simplify44.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (39.0ms)

IterNodesCost
0130345
1254312
2456282
31079279
45001267

prune134.0ms

Filtered
55 candidates to 43 candidates (21.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New50555
Fresh314
Picked101
Done011
Total54761

Merged error: 1.5b

Counts
61 → 7

localize33.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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 → 41
Calls
4 calls:
1.0ms
(cbrt K)
1.0ms
(cbrt K)
4.0ms
(cbrt (* (cbrt K) (cbrt K)))
16.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (* (cbrt (* (cbrt K) (cbrt K))) (cbrt (cbrt K))) (+ m n))) 2.0) M))

series108.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt K)
21.0ms
(cbrt K)
37.0ms
(cbrt (* (cbrt K) (cbrt K)))
28.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (* (cbrt (* (cbrt K) (cbrt K))) (cbrt (cbrt K))) (+ m n))) 2.0) M))

simplify47.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0190468
1430417
21277385
35001375

prune102.0ms

Filtered
53 candidates to 42 candidates (20.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh145
Picked101
Done011
Total53760

Merged error: 1.5b

Counts
60 → 7

regimes459.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.5s

Algorithm
intervals
Results
809.0ms8091×body80valid
76.0ms128×body1280valid
71.0ms166×body640valid
30.0ms96×body320valid
12.0ms58×body160valid
1.0msbody2560valid

Profiling

Loading profile data...