Equity is a certain perfect reasoning, which interprets and amends the written law not embraced in any writing but consisting simply in true reason.