---
cases:
  - note: arithmetic/multiply
    query: data.generated.p = x
    modules:
      - |
        package generated

        p contains y if {
        	data.a[i] = x
        	__local0__ = i * x
        	y = __local0__
        }
    data:
      a:
        - 1
        - 2
        - 3
        - 4
    want_result:
      - x:
          - 0
          - 2
          - 6
          - 12
    sort_bindings: true
