Implement the functionality to generate distinct anti-Fibonacci permutations of a specified length. The provided function signature and implementation outline the basic structure, but a clear expansion on functionality is required.
Functionality Requirements:
Generate Anti-Fibonacci Permutations: Create a function that generates n distinct permutations of integers from n to 1 (inclusive) which do not satisfy the Fibonacci condition.
Anti-Fibonacci Condition: Ensure that no three consecutive numbers in the permutation form a Fibonacci sequence. A Fibonacci sequence starting from integers can be defined as F(n) = F(n-1) + F(n-2). The permutations should be such that at no point is there a triplet of the form (a, b, c) where a + b = c.
Input Requirements:
n (int): An integer representing the length of the permutation.
The value of n should be greater than 0.
Output Requirements:
Return a list of lists: The output should be a list containing n distinct anti-Fibonacci permutations. Each permutation should also be a list of integers.
Implementation Instructions:
Implement the function generate_anti_fibonacci_permutations.
Ensure the output matches the requirements stated above.
File Structure:
The solution must be implemented in a file called /app/solution.py.
Example:
For an input of n = 3, a possible output could be:
python
[[3, 2, 1], # Example permutation
[2, 3, 1], # Another permutation ensuring anti-Fibonacci condition
[1, 3, 2]] # Another permutation ensuring anti-Fibonacci condition
Make sure to test the solution with various input values to ensure correctness and adherence to the anti-Fibonacci condition.