Details

Time bar (total: 5.2s)

analyze2.2s

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

sample50.0ms

Algorithm
intervals
Results
26.0ms253×body80valid
3.0msbody640invalid
1.0msbody80invalid
1.0msbody1280invalid
1.0msbody1280valid
0.0msbody640valid
0.0msbody320invalid
0.0msbody160valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
0505728

prune17.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.4b

Counts
2 → 1

localize20.0ms

Local error

Found 3 expressions with local error:

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

rewrite30.0ms

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

series72.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(* K (/ (+ m n) 2.0))
43.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
21.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

simplify75.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
04912768
14912768

prune160.0ms

Filtered
52 candidates to 73 candidates (-40.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New70373
Fresh000
Picked101
Done000
Total71374

Merged error: 0.5b

Counts
74 → 3

localize13.0ms

Local error

Found 1 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
unpow-prod-down
*-un-lft-identity
add-cube-cbrt pow-unpow
pow1 add-exp-log difference-of-squares
pow-to-exp pow-pow times-frac pow-exp add-cbrt-cube distribute-lft-out-- add-log-exp sqr-pow
Counts
1 → 20
Calls
1 calls:
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series41.0ms

Counts
1 → 3
Calls
1 calls:
41.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify33.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
04963294
14963294

prune54.0ms

Filtered
16 candidates to 23 candidates (-43.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New23023
Fresh022
Picked011
Done000
Total23326

Merged error: 0.5b

Counts
26 → 3

localize28.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
33.9b
(cos (- (* (* K (* (cbrt (+ m n)) (/ (cbrt (+ m n)) (* (cbrt 2.0) (cbrt 2.0))))) (/ (cbrt (+ m n)) (cbrt 2.0))) M))

rewrite30.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-diff sub-neg cos-sum
Counts
4 → 42
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
25.0ms
(cos (- (* (* K (* (cbrt (+ m n)) (/ (cbrt (+ m n)) (* (cbrt 2.0) (cbrt 2.0))))) (/ (cbrt (+ m n)) (cbrt 2.0))) M))

series41.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05060366

prune132.0ms

Filtered
40 candidates to 48 candidates (-20.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New48048
Fresh011
Picked011
Done011
Total48351

Merged error: 0.5b

Counts
51 → 3

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.5b
(cbrt (pow (cos (- (* K (/ (+ m n) 2.0)) M)) 3))
0.6b
(pow (cos (- (* K (/ (+ m n) 2.0)) M)) 3)
33.8b
(cos (- (* K (/ (+ m n) 2.0)) M))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
14×*-un-lft-identity
12×cbrt-prod add-cube-cbrt unpow-prod-down
pow1 add-exp-log pow-unpow cube-prod
add-cbrt-cube
add-log-exp
sqr-pow
cube-mult pow-to-exp pow-pow unpow3 pow-exp difference-of-squares
cos-diff sub-neg cos-sum times-frac pow1/3 rem-cbrt-cube distribute-lft-out-- rem-cube-cbrt
Counts
4 → 73
Calls
4 calls:
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
3.0ms
(cbrt (pow (cos (- (* K (/ (+ m n) 2.0)) M)) 3))
3.0ms
(pow (cos (- (* K (/ (+ m n) 2.0)) M)) 3)
8.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

series132.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
20.0ms
(cbrt (pow (cos (- (* K (/ (+ m n) 2.0)) M)) 3))
51.0ms
(pow (cos (- (* K (/ (+ m n) 2.0)) M)) 3)
21.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

simplify62.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
048511136
148511136

prune152.0ms

Filtered
53 candidates to 85 candidates (-60.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New85085
Fresh000
Picked011
Done022
Total85388

Merged error: 0.5b

Counts
88 → 3

regimes322.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 (1.0ms)

IterNodesCost
010517
110517

end0.0ms

sample1.4s

Algorithm
intervals
Results
847.0ms7849×body80valid
50.0ms79×body1280invalid
34.0ms81×body640invalid
29.0ms287×body80invalid
26.0ms60×body640valid
22.0ms36×body1280valid
16.0ms52×body320invalid
13.0ms40×body320valid
7.0ms32×body160invalid
3.0ms15×body160valid

Profiling

Loading profile data...