AFTD Auto-Formalizing Theoretical Domains

standard_core_two_one_card

theoremverified

The cardinality of standard_core_two_one is equal to 12.

Statement

theorem standard_core_two_one_card : standard_core_two_one.card = 12
Source
arXiv:2611.18633 Theorem 4.3
Verified
23 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
  • standard_core_two_oneThe canonical 12-point set standard_core_two_one is the Finset (ℤ × ℤ) defined as ((Finset.Icc (0 : ℤ) 3) ×ˢ (Finset.Icc (0 : ℤ) 3)) \…

Read back from the Lean

The cardinality of the finite set standard_core_two_one is equal to 12.

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

The proof, explained

The claim that `standard_core_two_one` has cardinality 12 is verified by direct definitional computation. The set consists of the 16 points in the discrete square $\{0, 1, 2, 3\} \times \{0, 1, 2, 3\}$ with the 4 corner points removed. Lean evaluates this finite set difference and its cardinality definitionally, reducing the equation to $12 = 12$ by reflexivity (`rfl`).

  1. The finite set standard_core_two_one has cardinality 12.

    The set `standard_core_two_one` is explicitly defined as the Cartesian product $\{0, 1, 2, 3\} \times \{0, 1, 2, 3\}$ (containing 16 points) minus the 4 corner points $\{(0, 0), (0, 3), (3, 0), (3, 3)\}$. Since all sets and coordinates are concrete finite objects, Lean's kernel directly computes the cardinality to be 12, closing the goal by reflexivity (`rfl`).

    line 2

    theorem standard_core_two_one_card : standard_core_two_one.card = 12 := rfl

Written by a model (gemini-3.8-flash) from the Lean source alone (no goal states were available). Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- The canonical 4 × 4 square with corners removed has 12 points. -/theorem standard_core_two_one_card : standard_core_two_one.card = 12 := rfl
See it in the graphDiscuss this resultChallenge it