Details

Time bar (total: 5.2s)

sample49.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (10.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
New011
Fresh101
Picked000
Done000
Total112

Merged error: 15.1b

Counts
2 → 1

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

rewrite47.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:
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)
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series526.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0411566
11369528
25001523

prune291.0ms

Filtered
82 candidates to 58 candidates (70.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New78482
Fresh000
Picked101
Done000
Total79483

Merged error: 1.7b

Counts
83 → 4

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)

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-sqr-sqrt
add-log-exp
unpow-prod-down
add-cube-cbrt
pow1 add-exp-log pow-unpow
associate-+r+ sum-log add-cbrt-cube distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative pow-to-exp associate-+r- sub-neg pow-pow flip3-+ times-frac diff-log pow-exp flip-+ sqr-pow
Counts
2 → 37
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)

series447.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0253368
1720351
22937346
35002343

prune130.0ms

Filtered
43 candidates to 31 candidates (72.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New43043
Fresh033
Picked011
Done000
Total43447

Merged error: 1.7b

Counts
47 → 4

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-+ pow1/3 flip-+ distribute-lft-out
cos-sum
cos-diff sub-neg
Counts
4 → 52
Calls
4 calls:
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
17.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series492.0ms

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

simplify155.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 4 (148.0ms)

IterNodesCost
0186485
1416445
21213439
34532439
45001433

prune330.0ms

Filtered
64 candidates to 52 candidates (81.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New60464
Fresh022
Picked011
Done011
Total60868

Merged error: 1.6b

Counts
68 → 8

localize33.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
cbrt-prod add-sqr-sqrt add-cube-cbrt
pow1
add-exp-log cbrt-div cos-sum log-prod log-pow add-cbrt-cube add-log-exp
exp-prod
cos-diff sub-neg log-div flip3-+ exp-diff pow1/3 flip-+ distribute-lft-out
rem-log-exp exp-sum
Counts
4 → 56
Calls
4 calls:
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
17.0ms
(log (exp (cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))))
17.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series480.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(cbrt (+ m n))
136.0ms
(cbrt (+ m n))
104.0ms
(log (exp (cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))))
104.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify48.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0226762
1488687
21374683
35001683

prune337.0ms

Filtered
68 candidates to 56 candidates (82.4%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New66268
Fresh145
Picked011
Done112
Total68876

Merged error: 1.6b

Counts
76 → 8

regimes302.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.2s

Algorithm
intervals
Results
744.0ms8086×body80valid
74.0ms136×body1280valid
70.0ms180×body640valid
27.0ms99×body320valid
7.0ms40×body160valid

Profiling

Loading profile data...