def mul_inv_rs.s00011

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

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

5019def mul_inv_rs.s00011(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, False{}, False{}, True{}, True{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, False{}, False{}, True{}, True{}, b5, b6, b7})))) == 1 : U32}:
5020  match b5:
5021    case True{}:
5022      match b6:
5023        case True{}:
5024          match b7:
5025            case True{}:
5026              {==}
5027            case False{}:
5028              {==}
5029        case False{}:
5030          match b7:
5031            case True{}:
5032              {==}
5033            case False{}:
5034              {==}
5035    case False{}:
5036      match b6:
5037        case True{}:
5038          match b7:
5039            case True{}:
5040              {==}
5041            case False{}:
5042              {==}
5043        case False{}:
5044          match b7:
5045            case True{}:
5046              {==}
5047            case False{}:
5048              {==}

Uses (8)

Used by (1)