# LiE: Representation theory computations for G2
setdefault G2;

# Dimensions of fundamental representations of G2
d1 = dim([1,0]);   # First fundamental (7-dimensional)
d2 = dim([0,1]);   # Second fundamental (14-dimensional, adjoint)

print(d1);   # 7
print(d2);   # 14

# Decompose tensor product of two copies of 7-dimensional rep
# 7 x 7 = 1 + 7 + 14 + 27
t = tensor([1,0],[1,0]);
print(t);
