OAI/Computability/QuantumFactoring/AIGInputs.lean
8 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.ExactQuantumFactoring.AIGCompiler.inputsPrefixline 13Source documentation
One real AIG atom per input bit. The initial graph has one false node.
def inputsPrefix (n : ℕ) : (k : ℕ) → k ≤ n → (g : AIG (Fin n)) × (Fin k → AIG.Ref g) | 0, _ => ⟨AIG.empty, Fin.elim0⟩ | k+1, h => let old := inputsPrefix n k (by omega) … - lemma
OAI.ExactQuantumFactoring.AIGCompiler.inputsPrefix_sizeline 21 - lemma
OAI.ExactQuantumFactoring.AIGCompiler.inputsPrefix_correctline 26 - def
OAI.ExactQuantumFactoring.AIGCompiler.inputsline 41 - lemma
OAI.ExactQuantumFactoring.AIGCompiler.inputs_sizeline 43 - lemma
OAI.ExactQuantumFactoring.AIGCompiler.inputs_correctline 45 - def
OAI.ExactQuantumFactoring.AIGCompiler.refVectorline 49Source documentation
A vector of ordinary references; this constructor emits no graph nodes.
def refVector {α : Type} [Hashable α] [DecidableEq α] {g : AIG α} {w : ℕ} (f : Fin w → AIG.Ref g) : AIG.RefVec g w where … - lemma
OAI.ExactQuantumFactoring.AIGCompiler.refVector_getline 54