def mul_inv_rs.s10110

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

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

4430def mul_inv_rs.s10110(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, False{}, True{}, True{}, False{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.rs(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, False{}, True{}, True{}, False{}, b5, b6, b7})))) == 1 : U32}:
4431  match b5:
4432    case True{}:
4433      match b6:
4434        case True{}:
4435          match b7:
4436            case True{}:
4437              {==}
4438            case False{}:
4439              {==}
4440        case False{}:
4441          match b7:
4442            case True{}:
4443              {==}
4444            case False{}:
4445              {==}
4446    case False{}:
4447      match b6:
4448        case True{}:
4449          match b7:
4450            case True{}:
4451              {==}
4452            case False{}:
4453              {==}
4454        case False{}:
4455          match b7:
4456            case True{}:
4457              {==}
4458            case False{}:
4459              {==}

Uses (8)

Used by (1)