Use gram_nsd in proofs.