def mul_inv_rs.s01111

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

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

4647def mul_inv_rs.s01111(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, True{}, True{}, True{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, True{}, True{}, True{}, b5, b6, b7})))) == 1 : U32}:
4648  match b5:
4649    case True{}:
4650      match b6:
4651        case True{}:
4652          match b7:
4653            case True{}:
4654              {==}
4655            case False{}:
4656              {==}
4657        case False{}:
4658          match b7:
4659            case True{}:
4660              {==}
4661            case False{}:
4662              {==}
4663    case False{}:
4664      match b6:
4665        case True{}:
4666          match b7:
4667            case True{}:
4668              {==}
4669            case False{}:
4670              {==}
4671        case False{}:
4672          match b7:
4673            case True{}:
4674              {==}
4675            case False{}:
4676              {==}

Uses (8)

Used by (1)