A multi-start heuristic for multiplicative depth minimization of boolean circuits

@inproceedings{carpov2017multi,
  title={A multi-start heuristic for multiplicative depth minimization of boolean circuits},
  author={Carpov, Sergiu and Aubry, Pascal and Sirdey, Renaud},
  booktitle={International Workshop on Combinatorial Algorithms},
  pages={275--286},
  year={2017},
  organization={Springer},
  url={https://eprint.iacr.org/2017/483.pdf}
}

multiplicative depth
最小化のアルゴリズム,
multi-start heuristicの提案論文

Multiplicative depth-2 path rewriting

(
Faster homomorphic encryption is not enough: improved heuristic for multiplicative depth minimization of Boolean circuits
より)

はANDゲート

から ANDゲート

までのパス
その中には multi-input XORゲート

が入力

を持っている.
(一般性を損なわないように,最初の回路の中間的な2入力XORゲートを,1つの多入力XORゲートにまとめました)

の入力

,



の入力, その他は

の入力(図1右, 太線は
critical path
)

を論理式にすると

これを

にしたい.

から

までの局所的な
mult-depth
は1減っている(まあそう)
→ critical path変わらないのか?

が成り立っているなら
mean:

は子孫がANDが1個より少ない=

がANDノードであればいい
multi-input XORゲートは書き換えた後ツリー状に並び替えることで2入力ゲートを得られる(順不同).
特殊な例について説明する.
もし, パス

が一つもXORノードを持っていないとき変形結果は

になる.
もし,

が2入力XORゲートなら消え, ANDゲート





を入力とする.

変形後のmult-depth


, (2)が成り立つなら

になる.
ノード

が変換前に
critical path
の上にあるなら
mult-depth
は保たれる

→減らせない



から

に減らすために 少なくとも1回別の

で終わる別の
Multiplicative depth-2 path rewriting
が必要(例えば図左側)



critical-path
上にあったらdepthは変わらず

->
critical-path
に属している

の各入力に対してpath-rewritingが必要になるから

A multi-start heuristic for multiplicative depth minimization of boolean circuits
の著者は,中間ノード


mult-depth
2のパスの特殊なケースのみを研究した.

このため,この演算子の適用範囲は狭く,また,パスの書き換え回数を減らすために必要な演算子の適用範囲が限定され,乗算深さを減らすために必要なパスの書き換え回数も限定される.