Details

Time bar (total: 6.2s)

analyze2.4s

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.0ms252×body80valid
2.0msbody1280invalid
1.0msbody640invalid
1.0ms11×body80invalid
1.0msbody320valid
1.0msbody160invalid
1.0msbody320invalid
0.0msbody640valid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
0498628
1498628

prune14.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: 12.0b

Counts
2 → 1

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

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

series118.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
048881044
148881044

prune155.0ms

Filtered
52 candidates to 68 candidates (-30.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New65368
Fresh000
Picked101
Done000
Total66369

Merged error: 0.9b

Counts
69 → 3

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite42.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
diff-log sum-log distribute-lft-out
+-commutative pow-to-exp sub-neg flip3-- pow-pow flip3-+ times-frac pow-exp flip-- flip-+ associate--r+ sqr-pow
Counts
3 → 48
Calls
3 calls:
13.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)
15.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
12.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series121.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)
43.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
41.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify46.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04929925
14929925

prune106.0ms

Filtered
43 candidates to 57 candidates (-32.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New57057
Fresh022
Picked011
Done000
Total57360

Merged error: 0.9b

Counts
60 → 3

localize29.0ms

Local error

Found 4 expressions with local error:

5.4b
(- (* K (* K (* (+ m n) (/ (/ (+ m n) 2.0) 2.0)))) (* M M))
6.1b
(* K (* (+ m n) (/ (/ (+ m n) 2.0) 2.0)))
31.2b
(cos (/ (- (* K (* K (* (+ m n) (/ (/ (+ m n) 2.0) 2.0)))) (* M M)) (+ (* K (/ (+ m n) 2.0)) M)))
36.1b
(/ (- (* K (* K (* (+ m n) (/ (/ (+ m n) 2.0) 2.0)))) (* M M)) (+ (* K (/ (+ m n) 2.0)) M))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 times-frac
prod-exp cbrt-unprod
associate-*r/ add-log-exp
cbrt-undiv div-exp
flip3-+ associate-*l* pow-prod-down associate-/r* flip-+ associate-/l*
frac-times flip3-- div-sub associate-*l/ associate-/r/ flip-- associate-/l/
cos-diff sub-neg frac-2neg diff-log associate-*r* clear-num *-commutative div-inv
Counts
4 → 78
Calls
4 calls:
18.0ms
(- (* K (* K (* (+ m n) (/ (/ (+ m n) 2.0) 2.0)))) (* M M))
16.0ms
(* K (* (+ m n) (/ (/ (+ m n) 2.0) 2.0)))
22.0ms
(cos (/ (- (* K (* K (* (+ m n) (/ (/ (+ m n) 2.0) 2.0)))) (* M M)) (+ (* K (/ (+ m n) 2.0)) M)))
29.0ms
(/ (- (* K (* K (* (+ m n) (/ (/ (+ m n) 2.0) 2.0)))) (* M M)) (+ (* K (/ (+ m n) 2.0)) M))

series201.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (* K (* K (* (+ m n) (/ (/ (+ m n) 2.0) 2.0)))) (* M M))
10.0ms
(* K (* (+ m n) (/ (/ (+ m n) 2.0) 2.0)))
71.0ms
(cos (/ (- (* K (* K (* (+ m n) (/ (/ (+ m n) 2.0) 2.0)))) (* M M)) (+ (* K (/ (+ m n) 2.0)) M)))
81.0ms
(/ (- (* K (* K (* (+ m n) (/ (/ (+ m n) 2.0) 2.0)))) (* M M)) (+ (* K (/ (+ m n) 2.0)) M))

simplify34.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
055232085

prune234.0ms

Filtered
72 candidates to 90 candidates (-25.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New86490
Fresh101
Picked101
Done011
Total88593

Merged error: 0.8b

Counts
93 → 5

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.2b
(/ 1 (/ 1 (- (* K (/ (+ m n) 2.0)) M)))
0.6b
(/ 1 (- (* K (/ (+ m n) 2.0)) M))
33.5b
(cos (/ 1 (/ 1 (- (* K (/ (+ m n) 2.0)) M))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
91×times-frac
63×add-sqr-sqrt
60×*-un-lft-identity
58×add-cube-cbrt
28×add-exp-log
18×associate-/r*
16×div-exp
11×associate-/r/ add-cbrt-cube
pow1 rec-exp 1-exp
unpow-prod-down div-inv associate-/l*
flip3-- pow-flip flip--
cbrt-undiv add-log-exp
pow-unpow inv-pow
frac-2neg clear-num difference-of-squares
pow-to-exp pow-pow pow-exp remove-double-div distribute-lft-out-- sqr-pow
Counts
4 → 153
Calls
4 calls:
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
15.0ms
(/ 1 (/ 1 (- (* K (/ (+ m n) 2.0)) M)))
10.0ms
(/ 1 (- (* K (/ (+ m n) 2.0)) M))
11.0ms
(cos (/ 1 (/ 1 (- (* K (/ (+ m n) 2.0)) M))))

series97.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
13.0ms
(/ 1 (/ 1 (- (* K (/ (+ m n) 2.0)) M)))
20.0ms
(/ 1 (- (* K (/ (+ m n) 2.0)) M))
21.0ms
(cos (/ 1 (/ 1 (- (* K (/ (+ m n) 2.0)) M))))

simplify95.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
049012522
149012522

prune235.0ms

Filtered
85 candidates to 165 candidates (-94.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1650165
Fresh033
Picked011
Done011
Total1655170

Merged error: 0.8b

Counts
170 → 5

regimes413.0ms

Accuracy

0% (0.2b remaining)

Error of 1.2b against oracle of 0.9b and baseline of 1.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06117
16117

end0.0ms

sample1.4s

Algorithm
intervals
Results
860.0ms7850×body80valid
42.0ms65×body1280invalid
38.0ms86×body640invalid
35.0ms303×body80invalid
26.0ms57×body640valid
25.0ms67×body320invalid
25.0ms39×body1280valid
13.0ms38×body320valid
7.0ms33×body160invalid
4.0msbody2560invalid
3.0ms16×body160valid

Profiling

Loading profile data...