def mul_inv_rs.s10111

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

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

4399def mul_inv_rs.s10111(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, False{}, True{}, True{}, True{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, False{}, True{}, True{}, True{}, b5, b6, b7})))) == 1 : U32}:
4400  match b5:
4401    case True{}:
4402      match b6:
4403        case True{}:
4404          match b7:
4405            case True{}:
4406              {==}
4407            case False{}:
4408              {==}
4409        case False{}:
4410          match b7:
4411            case True{}:
4412              {==}
4413            case False{}:
4414              {==}
4415    case False{}:
4416      match b6:
4417        case True{}:
4418          match b7:
4419            case True{}:
4420              {==}
4421            case False{}:
4422              {==}
4423        case False{}:
4424          match b7:
4425            case True{}:
4426              {==}
4427            case False{}:
4428              {==}

Uses (8)

Used by (1)