attempt to make inductive proofs reduce by transforming high-level
Circuit into record