-- -*- M2-comint -*- hash: 15171279212257808734

i1 : M = matroid({a,b,c,d},{{a,b},{a,c}})

o1 = a "matroid" of rank 2 on 4 elements

o1 : Matroid

i2 : circuits M

o2 = {set {1, 2}, set {3}}

o2 : List

i3 : ideal M

o3 = monomialIdeal (x x , x )
                     1 2   3

o3 : MonomialIdeal of QQ[x ..x ]
                          0   3

i4 : J = dual ideal M

o4 = monomialIdeal (x x , x x )
                     1 3   2 3

o4 : MonomialIdeal of QQ[x ..x ]
                          0   3

i5 : J_*/indices

o5 = {{1, 3}, {2, 3}}

o5 : List

i6 : bases M

o6 = {set {0, 1}, set {0, 2}}

o6 : List

i7 : betti res ideal matroid completeGraph 4

            0 1  2 3
o7 = total: 1 7 12 6
         0: 1 .  . .
         1: . .  . .
         2: . 4  . .
         3: . 3 12 6

o7 : BettiTally

i8 : 
