def mul_inv_rs.s00000

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

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

5112def mul_inv_rs.s00000(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, False{}, False{}, False{}, False{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, False{}, False{}, False{}, False{}, b5, b6, b7})))) == 1 : U32}:
5113  match b5:
5114    case True{}:
5115      match b6:
5116        case True{}:
5117          match b7:
5118            case True{}:
5119              {==}
5120            case False{}:
5121              {==}
5122        case False{}:
5123          match b7:
5124            case True{}:
5125              {==}
5126            case False{}:
5127              {==}
5128    case False{}:
5129      match b6:
5130        case True{}:
5131          match b7:
5132            case True{}:
5133              {==}
5134            case False{}:
5135              {==}
5136        case False{}:
5137          match b7:
5138            case True{}:
5139              {==}
5140            case False{}:
5141              {==}

Uses (8)

Used by (1)