Let |
βββ . |
Objective: Computation of the projective dimension of a module. |
Input: A finitely generated -module and |
a positive integer . |
Output: A projective dimension of and a list of matrices |
with , where , such that |
βββ |
is a free resolution of . If , then is projective. The |
algorithm returns . |
START: |
initialize ; |
if ( does not split) |
β and |
β; |
else |
βLet be the split of . Then and |
β; |
end if |
if () |
βreturn ; |
else |
while () do |
β; |
β; |
end loop |
end if |
if ( does not split) |
β; |
else |
βLet be the split of . Then ; |
end if |
βreturn ; |
STOP. |