def mul_inv_rs.s01011

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

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

4771def mul_inv_rs.s01011(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, False{}, True{}, True{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, False{}, True{}, True{}, b5, b6, b7})))) == 1 : U32}:
4772  match b5:
4773    case True{}:
4774      match b6:
4775        case True{}:
4776          match b7:
4777            case True{}:
4778              {==}
4779            case False{}:
4780              {==}
4781        case False{}:
4782          match b7:
4783            case True{}:
4784              {==}
4785            case False{}:
4786              {==}
4787    case False{}:
4788      match b6:
4789        case True{}:
4790          match b7:
4791            case True{}:
4792              {==}
4793            case False{}:
4794              {==}
4795        case False{}:
4796          match b7:
4797            case True{}:
4798              {==}
4799            case False{}:
4800              {==}

Uses (8)

Used by (1)