Details

Time bar (total: 6.1s)

analyze2.5s

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

sample52.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
0498628
1498628

prune25.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

localize28.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)
8.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)
16.0ms
(- (* K (/ (+ m n) 2.0)) M)
8.0ms
(* K (/ (+ m n) 2.0))
20.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

simplify84.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
04925951
14925951

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

rewrite27.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:
15.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series82.0ms

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

simplify26.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

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

series140.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
05150546

prune163.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

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

rewrite57.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)
24.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))

series187.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049312237
149312237

prune241.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

regimes397.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06117
16117

end0.0ms

sample1.5s

Algorithm
intervals
Results
921.0ms7840×body80valid
49.0ms73×body1280invalid
36.0ms77×body640invalid
31.0ms80×body320invalid
31.0ms282×body80invalid
28.0ms58×body640valid
22.0ms33×body1280valid
16.0ms49×body320valid
11.0ms49×body160invalid
4.0ms20×body160valid
2.0msbody2560invalid

Profiling

Loading profile data...