Skip to content

Commit

Permalink
Merge branch 'main' of github.com:AntoineChambert-Loir/DividedPowers4
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineChambert-Loir committed Jun 5, 2024
2 parents 1fc3af2 + b986c62 commit 5ebd019
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DividedPowers/ForMathlib/CombinatoricsLemmas.lean
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import Mathlib.Data.Nat.Choose.Vandermonde
section Combinatorics

-- Because mathlib hasn't it yet!
@[eliminator]
theorem Nat.rec' {motive : Nat → Sort*}
@[induction_eliminator]
def Nat.rec' {motive : Nat → Sort*}
(zero : motive 0) (add_one : (n : Nat) → motive n → motive (n + 1)) (t : Nat) :
motive t :=
Nat.rec zero add_one t
Expand Down

0 comments on commit 5ebd019

Please sign in to comment.