Bingran You
Mirror SkillsBench v1.1 as a benchmark task-tree dataset
d03762b
Raw
History Blame Contribute Delete
481 Bytes
/- Copyright (c) Heather Macbeth, 2023. All rights reserved. -/
/-! # `inductive_type` tactic
A tactic which proves equality and disequality statements in a finite type.
-/
syntax (name := FiniteInductiveType) "inductive_type" : tactic
macro_rules
| `(tactic| inductive_type) =>
`(tactic
| first
| exact fun h => nomatch h
| exact rfl
| fail "out of scope: inductive_type proves (correct) equalities and disequalities in a finite inductive type")