AFTD Auto-Formalizing Theoretical Domains

q3_vertices

def

The finite set of 21 vectors in Fin 3 → ℤ containing precisely ![6, -6, 0], ![4, 0, -2], ![3, 1, -2], ![3, 0, 0], ![3, 0, -3], ![2, 1, -1], ![2, -2, 2], ![1, 1, -1], ![1, 0, 1], ![1, -1, 2], ![0, 0, -3], ![0, -1, 2], ![0, -3, 3], ![0, -6, 0], ![0, -6, -6], ![-1, 0, 0], ![-1, 0, -1], ![-1, -2, 2], ![-2, -1, -1], ![-2, -2, -2], and ![-3, -3, 0].

Statement

def q3_vertices : Finset (Fin 3 → ℤ)
Defined in
arXiv:2611.08819 Section 2
Verified
09 Nov 2026
Axioms
none listed
Used by 1
  • p8_verticesThe set of 44 vectors in Fin 8 → ℤ defined as the union of the image of q3_vertices under (fun v => ![v 0, v 1, v 2, 0, 0, 0, -1, -1]),…

Read back from the Lean

The definition q3_vertices is a finite set (Finset) of vectors in ℤ³ (Fin 3 → ℤ) explicitly defined as the set containing the following 21 elements: 1. (6, -6, 0) 2. (4, 0, -2) 3. (3, 1, -2) 4. (3, 0, 0) 5. (3, 0, -3) 6. (2, 1, -1) 7. (2, -2, 2) 8. (1, 1, -1) 9. (1, 0, 1) 10. (1, -1, 2) 11. (0, 0, -3) 12. (0, -1, 2) 13. (0, -3, 3) 14. (0, -6, 0) 15. (0, -6, -6) 16. (-1, 0, 0) 17. (-1, 0, -1) 18. (-1, -2, 2) 19. (-2, -1, -1) 20. (-2, -2, -2) 21. (-3, -3, 0)

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- The 21 lattice points in ℤ^3 generating the 3-dimensional polytope Q_3. -/
def q3_vertices : Finset (Fin 3 → ℤ) := { ![6, -6, 0],
    ![4, 0, -2],
    ![3, 1, -2],
    ![3, 0, 0],
    ![3, 0, -3],
    ![2, 1, -1],
    ![2, -2, 2],
    ![1, 1, -1],
    ![1, 0, 1],
    ![1, -1, 2],
    ![0, 0, -3],
    ![0, -1, 2],
    ![0, -3, 3],
    ![0, -6, 0],
    ![0, -6, -6],
    ![-1, 0, 0],
    ![-1, 0, -1],
    ![-1, -2, 2],
    ![-2, -1, -1],
    ![-2, -2, -2],
    ![-3, -3, 0] }
See it in the graphDiscuss this resultChallenge it