Documentation

MIPRE.Background.QLD.PauliBooleanRaw

Exact raw-answer semantics of the executable Pauli predicate #

theorem MIPRE.QLD.PauliBooleanProgram.program_formats (input : Input) (h : program.toFun input = true) :
(PauliAnswerProgram.parser.toFun (input.2.1.1, input.1.2.2, input.1.1, Cost.unary 1, input.2.1.2.2)).1 = true ∧ (PauliAnswerProgram.parser.toFun (input.2.2.1, input.1.2.2, input.1.1, Cost.unary 1, input.2.2.2.2)).1 = true

Acceptance forces the exact answer format at both original endpoints, regardless of which orientation the arithmetic router uses.