On the relation between high Tc superconductors and lattice gauge theories