def mul_inv_rs.s01101

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

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

4709def mul_inv_rs.s01101(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, True{}, False{}, True{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, True{}, False{}, True{}, b5, b6, b7})))) == 1 : U32}:
4710  match b5:
4711    case True{}:
4712      match b6:
4713        case True{}:
4714          match b7:
4715            case True{}:
4716              {==}
4717            case False{}:
4718              {==}
4719        case False{}:
4720          match b7:
4721            case True{}:
4722              {==}
4723            case False{}:
4724              {==}
4725    case False{}:
4726      match b6:
4727        case True{}:
4728          match b7:
4729            case True{}:
4730              {==}
4731            case False{}:
4732              {==}
4733        case False{}:
4734          match b7:
4735            case True{}:
4736              {==}
4737            case False{}:
4738              {==}

Uses (8)

Used by (1)