pub broadcast proof fn lemma_disjoint_choice<S1: SpecParser, S2: SpecParser, S3: SpecParser>(
choice: Choice<S1, S2>,
other: S3,
)Expand description
requires
disjoint_domains(other, choice.0),disjoint_domains(other, choice.1),ensures#[trigger] disjoint_domains(other, choice),A Choice parser is disjoint from another parser if both branches are.
ยงNOTE
The trigger disjoint_domains(other, choice) matches Choice(..., Choice(..., ...)) but not Choice(Choice(..., ...), ...).