Use Presburger arithmetic to enumerate naturals below three.
4 lines · Lean 4
Objectifs
- Use Presburger arithmetic to enumerate naturals below three.
Indices
Voir la solution
import Mathlib example (n : Nat) (h : n < 3) : n = 0 ∨ n = 1 ∨ n = 2 := by omega