def mul_inv_rs.s11111

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

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

4151def mul_inv_rs.s11111(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, True{}, True{}, True{}, True{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, True{}, True{}, True{}, True{}, b5, b6, b7})))) == 1 : U32}:
4152  match b5:
4153    case True{}:
4154      match b6:
4155        case True{}:
4156          match b7:
4157            case True{}:
4158              {==}
4159            case False{}:
4160              {==}
4161        case False{}:
4162          match b7:
4163            case True{}:
4164              {==}
4165            case False{}:
4166              {==}
4167    case False{}:
4168      match b6:
4169        case True{}:
4170          match b7:
4171            case True{}:
4172              {==}
4173            case False{}:
4174              {==}
4175        case False{}:
4176          match b7:
4177            case True{}:
4178              {==}
4179            case False{}:
4180              {==}

Uses (8)

Used by (1)