Details

Time bar (total: 5.8s)

analyze2.3s

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
12.5%87.3%0.2%9
12.5%87.3%0.2%10
18.7%81.1%0.2%11
18.7%81.1%0.2%12
18.7%81.1%0.2%13
20.5%79.3%0.2%14

sample49.0ms

Algorithm
intervals
Results
26.0ms250×body80valid
2.0msbody640valid
2.0msbody640invalid
1.0msbody80invalid
1.0msbody320invalid
1.0msbody1280invalid
0.0msbody320valid

simplify43.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
0498628
1498628

prune16.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: 15.4b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
23×*-un-lft-identity
16×associate-*r*
15×add-cube-cbrt
14×times-frac
10×add-exp-log
add-cbrt-cube
pow1
unpow-prod-down add-log-exp
pow-unpow associate-*l* distribute-lft-out
sub-neg prod-exp cbrt-unprod difference-of-squares unswap-sqr
cbrt-undiv cos-diff pow-to-exp cos-sum flip3-- pow-pow diff-log associate-*r/ div-exp pow-prod-down pow-exp *-commutative flip-- div-inv distribute-lft-out-- sqr-pow
Counts
4 → 75
Calls
4 calls:
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
7.0ms
(- (* K (/ (+ m n) 2.0)) M)
9.0ms
(* K (/ (+ m n) 2.0))
8.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

series82.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
12.0ms
(- (* K (/ (+ m n) 2.0)) M)
10.0ms
(* K (/ (+ m n) 2.0))
21.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

simplify85.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
04925951
14925951

prune183.0ms

Filtered
62 candidates to 87 candidates (-40.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New82587
Fresh000
Picked101
Done000
Total83588

Merged error: 1.2b

Counts
88 → 5

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.0ms

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

series79.0ms

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

simplify25.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
05087706

prune91.0ms

Filtered
31 candidates to 42 candidates (-35.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New42042
Fresh044
Picked011
Done000
Total42547

Merged error: 1.2b

Counts
47 → 5

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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-diff sub-neg cos-sum
Counts
4 → 51
Calls
4 calls:
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
23.0ms
(cos (- (* (* K (* (cbrt (+ m n)) (/ (cbrt (+ m n)) (sqrt 2.0)))) (/ (cbrt (+ m n)) (sqrt 2.0))) M))

series139.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(cbrt (+ m n))
31.0ms
(cbrt (+ m n))
29.0ms
(cbrt (+ m n))
50.0ms
(cos (- (* (* K (* (cbrt (+ m n)) (/ (cbrt (+ m n)) (sqrt 2.0)))) (/ (cbrt (+ m n)) (sqrt 2.0))) M))

simplify63.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
05150546

prune159.0ms

Filtered
51 candidates to 63 candidates (-23.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New61263
Fresh123
Picked011
Done011
Total62668

Merged error: 1.1b

Counts
68 → 6

localize28.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ m n))
0.6b
(cbrt m)
1.9b
(* (* K (* (cbrt (+ m n)) (/ (cbrt (+ m n)) (sqrt 2.0)))) (/ (cbrt m) (sqrt 2.0)))
30.3b
(cos (- (* (* K (* (cbrt (+ m n)) (/ (cbrt (+ m n)) (sqrt 2.0)))) (/ (cbrt m) (sqrt 2.0))) M))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
40×associate-*r*
36×add-exp-log times-frac
33×*-un-lft-identity
31×add-sqr-sqrt add-cube-cbrt
26×add-cbrt-cube
25×cbrt-prod
18×prod-exp sqrt-prod cbrt-unprod
13×pow1 associate-*r/
10×cbrt-div
frac-times associate-*l/
cbrt-undiv div-exp pow-prod-down
flip3-+ flip-+
add-log-exp
pow1/3
cos-diff sub-neg cos-sum associate-*l* *-commutative div-inv distribute-lft-out
Counts
4 → 113
Calls
4 calls:
3.0ms
(cbrt (+ m n))
1.0ms
(cbrt m)
23.0ms
(* (* K (* (cbrt (+ m n)) (/ (cbrt (+ m n)) (sqrt 2.0)))) (/ (cbrt m) (sqrt 2.0)))
24.0ms
(cos (- (* (* K (* (cbrt (+ m n)) (/ (cbrt (+ m n)) (sqrt 2.0)))) (/ (cbrt m) (sqrt 2.0))) M))

series189.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(cbrt (+ m n))
21.0ms
(cbrt m)
54.0ms
(* (* K (* (cbrt (+ m n)) (/ (cbrt (+ m n)) (sqrt 2.0)))) (/ (cbrt m) (sqrt 2.0)))
81.0ms
(cos (- (* (* K (* (cbrt (+ m n)) (/ (cbrt (+ m n)) (sqrt 2.0)))) (/ (cbrt m) (sqrt 2.0))) M))

simplify62.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049312237
149312237

prune236.0ms

Filtered
80 candidates to 125 candidates (-56.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1232125
Fresh123
Picked101
Done112
Total1265131

Merged error: 1.1b

Counts
131 → 5

regimes385.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06117
16117

end0.0ms

sample1.4s

Algorithm
intervals
Results
842.0ms7840×body80valid
44.0ms73×body1280invalid
33.0ms282×body80invalid
32.0ms77×body640invalid
25.0ms33×body1280valid
25.0ms58×body640valid
25.0ms80×body320invalid
15.0ms49×body320valid
10.0ms49×body160invalid
4.0ms20×body160valid
2.0msbody2560invalid

Profiling

Loading profile data...