If(A)you had come(B) to the party last night, you have known(C) the(D) fact.
C
应改为 would have known, 因为根据前半句的意思得知这是对过去事情的虚拟, 所以后半句的形式应改为 would have known.