def mul_inv_rs.s11010

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

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

4306def mul_inv_rs.s11010(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, True{}, False{}, True{}, False{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, True{}, False{}, True{}, False{}, b5, b6, b7})))) == 1 : U32}:
4307  match b5:
4308    case True{}:
4309      match b6:
4310        case True{}:
4311          match b7:
4312            case True{}:
4313              {==}
4314            case False{}:
4315              {==}
4316        case False{}:
4317          match b7:
4318            case True{}:
4319              {==}
4320            case False{}:
4321              {==}
4322    case False{}:
4323      match b6:
4324        case True{}:
4325          match b7:
4326            case True{}:
4327              {==}
4328            case False{}:
4329              {==}
4330        case False{}:
4331          match b7:
4332            case True{}:
4333              {==}
4334            case False{}:
4335              {==}

Uses (8)

Used by (1)