def mul_inv_rs.s01100

bend-osdev-gf@0.1.1.0 · PROOF.bend:4740

import bend-osdev-gf@0.1.1.0/PROOF.bend as PROOF
import Base
import bend-osdev-gf@0.1.1.0/gf.bend as G

4740def mul_inv_rs.s01100(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, True{}, False{}, False{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, True{}, False{}, False{}, b5, b6, b7})))) == 1 : U32}:
4741  match b5:
4742    case True{}:
4743      match b6:
4744        case True{}:
4745          match b7:
4746            case True{}:
4747              {==}
4748            case False{}:
4749              {==}
4750        case False{}:
4751          match b7:
4752            case True{}:
4753              {==}
4754            case False{}:
4755              {==}
4756    case False{}:
4757      match b6:
4758        case True{}:
4759          match b7:
4760            case True{}:
4761              {==}
4762            case False{}:
4763              {==}
4764        case False{}:
4765          match b7:
4766            case True{}:
4767              {==}
4768            case False{}:
4769              {==}

Uses (8)

Used by (1)