4.4.1. Functional dependency invariants involving two constraints
Proof 165 Since a single value leads to a plateau.
Proof 166 Beside a first sequence with a small value, we alternate between large and small values in order to maximise the number of peaks.
Proof 167 Beside a first sequence with a large value, we alternate between small and large values in order to maximise the number of valleys.
Proof 168 Beside a last sequence with a small value, we alternate between large and small values in order to maximise the number of peaks.
Proof 169 Beside a last sequence with a large value, we alternate between small and large values in order to maximise the number of valleys.
Proof 177 Cumulated minimum width of the different peaks cannot exceed size of sequence.
Proposition 180 Given the constraints
The automaton depicted by FigureΒ 4.4.1 provides a necessary condition.
Figure 4.4.1. Automaton for a redundant constraint between the and the constraints when and , where is the condition , and where , and respectively stand for the index of the current pairs (), the number of start of potential peaks already encountered, the position of the start of the last potential peak encountered; the quantity denotes the number of peaks already encountered, while the quantity denotes the minimum number of peaks that remain to done from position .
Proof 178 The condition associated with each transition of the automaton checks that there is enough space between the current position and the end of the sequence to place the remaining minimum number of required peaks.
Proof 179 Cumulated minimum width of the different valleys cannot exceed size of sequence.
Proposition 182 Given the constraints
The automaton depicted by FigureΒ 4.4.2 provides a necessary condition.
Figure 4.4.2. Automaton for a redundant constraint between the and the constraints when and , where is the condition , and where , and respectively stand for the index of the current pairs (), the number of start of potential valleys already encountered, the position of the start of the last potential valley encountered; the quantity denotes the number of valleys already encountered, while the quantity denotes the minimum number of valleys that remain to done from position .
Proof 180 The condition associated with each transition of the automaton checks that there is enough space between the current position and the end of the sequence to place the remaining minimum number of required valleys.
Proof 181 Since stairs visible from the end are located at different altitudes.
Proof 182 Since stairs visible from the start are located at different altitudes.
Proof 183 Since peaks and valleys can only alternate.
Proposition 186 Given the constraints
with , the automaton depicted by FigureΒ 4.4.3 provides a necessary condition.
Figure 4.4.3. Automaton for a redundant constraint for the conjunction (we have both to start with a peak and to finish with a peak)
Proof 184 Since peaks and valleys can only alternate and since having more peaks than valleys enforces to start and end on a peak.
Proposition 187 Given the constraints
with the automaton depicted by FigureΒ 4.4.4 provides a necessary condition.
Figure 4.4.4. Automaton for a redundant constraint for the conjunction (we have both to start with a valley and to finish with a valley)
Proof 185 Since valleys and peaks can only alternate and since having more valleys than peaks enforces to start and end on a valley.