def mul_inv_rs.s10101

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

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

4461def mul_inv_rs.s10101(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, False{}, True{}, False{}, True{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, False{}, True{}, False{}, True{}, b5, b6, b7})))) == 1 : U32}:
4462  match b5:
4463    case True{}:
4464      match b6:
4465        case True{}:
4466          match b7:
4467            case True{}:
4468              {==}
4469            case False{}:
4470              {==}
4471        case False{}:
4472          match b7:
4473            case True{}:
4474              {==}
4475            case False{}:
4476              {==}
4477    case False{}:
4478      match b6:
4479        case True{}:
4480          match b7:
4481            case True{}:
4482              {==}
4483            case False{}:
4484              {==}
4485        case False{}:
4486          match b7:
4487            case True{}:
4488              {==}
4489            case False{}:
4490              {==}

Uses (8)

Used by (1)