def mul_inv_rs.s01110

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

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

4678def mul_inv_rs.s01110(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, True{}, True{}, False{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, True{}, True{}, False{}, b5, b6, b7})))) == 1 : U32}:
4679  match b5:
4680    case True{}:
4681      match b6:
4682        case True{}:
4683          match b7:
4684            case True{}:
4685              {==}
4686            case False{}:
4687              {==}
4688        case False{}:
4689          match b7:
4690            case True{}:
4691              {==}
4692            case False{}:
4693              {==}
4694    case False{}:
4695      match b6:
4696        case True{}:
4697          match b7:
4698            case True{}:
4699              {==}
4700            case False{}:
4701              {==}
4702        case False{}:
4703          match b7:
4704            case True{}:
4705              {==}
4706            case False{}:
4707              {==}

Uses (8)

Used by (1)