Skip to content

Commit 3ca7c93

Browse files
committed
doc: Clarify the precondition of the conf'-lemma
1 parent 039fcac commit 3ca7c93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Translation/Lang/FST-to-VariantList.agda

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ and then evaluating the configuration at the index of `c` (which must be `c`),
186186
is the same as evaluating `c` directly.
187187
188188
The lemma talks about `conf'` instead of `conf` and inlines `fnoc` to avoid extracting the `name` all the time.
189-
Note that if a feature `f` is not in the list of features of the `SPL` expression,
190-
we just set the configuration in `configs` to `false`.
191-
Hence, it can be different to a given configuration `c`.
189+
Note that `f ∈ fs` is a necessary requirement
190+
because configurations generated by `configs` are always set to `false` if `f ∉ fs`
191+
whereas the given configuration `c` can have arbitrary values for any input.
192192
193193
The proof does an induction on the list of features
194194
and makes a case analysis,

0 commit comments

Comments
 (0)