Details

Time bar (total: 6.6s)

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
26.0ms247×body80valid
2.0msbody640valid
2.0msbody640invalid
1.0msbody1280invalid
1.0msbody80invalid
1.0msbody1280valid
1.0msbody320invalid
0.0msbody160valid
0.0msbody320valid
0.0msbody160invalid

simplify43.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
0498628
1498628

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: 16.1b

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
(* (cos (- (* K (/ (+ m n) 2.0)) M)) (exp (- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))))
0.0b
(* K (/ (+ m n) 2.0))
31.2b
(cos (- (* K (/ (+ m n) 2.0)) M))

rewrite50.0ms

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

series234.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
167.0ms
(* (cos (- (* K (/ (+ m n) 2.0)) M)) (exp (- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))))
8.0ms
(* K (/ (+ m n) 2.0))
20.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

simplify43.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
052741471

prune236.0ms

Filtered
69 candidates to 96 candidates (-39.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New88896
Fresh000
Picked101
Done000
Total89897

Merged error: 1.6b

Counts
97 → 8

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(* K (/ (+ m n) 2.0))
0.0b
(log (pow (exp (cos (- (* K (/ (+ m n) 2.0)) M))) (exp (- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)))))
0.1b
(exp (cos (- (* K (/ (+ m n) 2.0)) M)))
31.2b
(cos (- (* K (/ (+ m n) 2.0)) M))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
21×add-sqr-sqrt
16×add-cube-cbrt associate-*r*
13×times-frac
10×add-exp-log
add-cbrt-cube
log-prod
pow1
add-log-exp
unpow-prod-down
cos-diff exp-prod rem-log-exp associate-*l* distribute-lft-out
sub-neg cos-sum exp-sum prod-exp cbrt-unprod unswap-sqr
cbrt-undiv pow-to-exp exp-diff associate-*r/ div-exp pow-prod-down pow-exp log-pow *-commutative div-inv rem-exp-log sqr-pow
Counts
4 → 76
Calls
4 calls:
10.0ms
(* K (/ (+ m n) 2.0))
9.0ms
(log (pow (exp (cos (- (* K (/ (+ m n) 2.0)) M))) (exp (- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)))))
9.0ms
(exp (cos (- (* K (/ (+ m n) 2.0)) M)))
8.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

series305.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* K (/ (+ m n) 2.0))
242.0ms
(log (pow (exp (cos (- (* K (/ (+ m n) 2.0)) M))) (exp (- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)))))
32.0ms
(exp (cos (- (* K (/ (+ m n) 2.0)) M)))
21.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

simplify39.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
049961459
149961459

prune237.0ms

Filtered
64 candidates to 88 candidates (-37.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New87188
Fresh077
Picked011
Done000
Total87996

Merged error: 1.6b

Counts
96 → 9

localize28.0ms

Local error

Found 4 expressions with local error:

0.1b
(exp (cos (- (* K (/ (+ m n) 2.0)) M)))
0.1b
(exp (cos (- (* K (/ (+ m n) 2.0)) M)))
31.2b
(cos (- (* K (/ (+ m n) 2.0)) M))
31.2b
(cos (- (* K (/ (+ m n) 2.0)) M))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt exp-prod *-un-lft-identity add-log-exp
pow1 add-exp-log cos-diff sub-neg cos-sum add-cbrt-cube
exp-diff exp-sum rem-exp-log
Counts
4 → 44
Calls
4 calls:
11.0ms
(exp (cos (- (* K (/ (+ m n) 2.0)) M)))
9.0ms
(exp (cos (- (* K (/ (+ m n) 2.0)) M)))
8.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))
8.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

series105.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(exp (cos (- (* K (/ (+ m n) 2.0)) M)))
32.0ms
(exp (cos (- (* K (/ (+ m n) 2.0)) M)))
20.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))
20.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

simplify52.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04854722
14854722

prune288.0ms

Filtered
46 candidates to 56 candidates (-21.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New56056
Fresh077
Picked011
Done011
Total56965

Merged error: 1.6b

Counts
65 → 9

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)

series80.0ms

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

simplify25.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
05087706

prune277.0ms

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

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New42042
Fresh066
Picked011
Done022
Total42951

Merged error: 1.6b

Counts
51 → 9

regimes539.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06830
16830

end0.0ms

sample1.4s

Algorithm
intervals
Results
845.0ms7818×body80valid
54.0ms83×body1280invalid
38.0ms89×body640invalid
38.0ms51×body1280valid
34.0ms66×body640valid
29.0ms274×body80invalid
21.0ms67×body320invalid
13.0ms40×body320valid
7.0ms33×body160invalid
5.0ms25×body160valid
4.0msbody2560invalid

Profiling

Loading profile data...