If some of the details of Jewish law may have been lost over the millennia, they were reconstructed in accordance with internally consistent rules; see The 13 rules by which Jewish law was derived