Repository navigation
chore: attribute [induction_eliminator] - #12605
astrainfinita wants to merge 22 commits into
Conversation
| theorem map_id : map (MulHom.id α) = MonoidHom.id (WithOne α) := by | ||
| ext x | ||
| induction x using WithOne.cases_on <;> rfl | ||
| induction x <;> rfl |
There was a problem hiding this comment.
We have WithOne.recOneCoe and WithZero.recZeroCoe. Can we just remove WithOne.cases_on and WithZero.cases_on?
|
Does it make |
|
193 files is pretty large to review; can this be split? I've made #13096 for the really basic |
|
Another good split would be all the |
This is a smaller version of #12605. This allows `using` to be dropped from `induction`.
Split from #12605. Co-authored-by: negiizhao [email protected]
…ects (#14135) Namely, for * `FreeMagma` / `FreeAddMagma` * `FreeSemigroup` / `FreeAddSemigroup` * `FreeMonoid` / `FreeAddMonoid` * `FreeCommRing` * `FreeAlgebra` Split from #12605 Co-authored-by: negiizhao <[email protected]>
…on`} with `induction` and `cases` (#14132) Spit from #12605, which picked up some conflicts here. Co-authored-by: negiizhao [[email protected]](mailto:[email protected])
|
…le types (#14205) Namely: * `AList` * `Cycle` * `ConjAct` * `Projectivization` * `Lex` * `NatOrdinal` * `WithLawson` * `WithLower` * `WithUpper` * `WithScott` * `WithUpperSet` * `WithLowerSet` * `Speicalization` (which had an incorrectly-stated induction principle) These are just for the cases which have docstrings of the form "Use as `induction .* using .*`". Inspired by #12605.
Now down to 140 files! I think the |
Split from #12605. Co-authored-by: negiizhao [email protected]
…ects (#14135) Namely, for * `FreeMagma` / `FreeAddMagma` * `FreeSemigroup` / `FreeAddSemigroup` * `FreeMonoid` / `FreeAddMonoid` * `FreeCommRing` * `FreeAlgebra` Split from #12605 Co-authored-by: negiizhao <[email protected]>
…on`} with `induction` and `cases` (#14132) Spit from #12605, which picked up some conflicts here. Co-authored-by: negiizhao [[email protected]](mailto:[email protected])
…le types (#14205) Namely: * `AList` * `Cycle` * `ConjAct` * `Projectivization` * `Lex` * `NatOrdinal` * `WithLawson` * `WithLower` * `WithUpper` * `WithScott` * `WithUpperSet` * `WithLowerSet` * `Speicalization` (which had an incorrectly-stated induction principle) These are just for the cases which have docstrings of the form "Use as `induction .* using .*`". Inspired by #12605.
|
What's the status here? I think this is a useful PR |
|
@FR-vdash-bot What parts of this is not in |
|
Mathlib has moved to PRs from forks. This PR is still from a branch of the main repository and will soon be closed! Please migrate the content to a fork and reopen a PR from there if you wish to do so. See Zulip topic for more instructions. Thank you for contributing to mathlib! |
Add attribute [induction_eliminator] to
AdjoinRoot.induction_onENat.recTopCoeENNReal.recTopCoeFinset.inductionMagma.AssocQuotient.induction_onManyOneDegree.ind_onModule.Ray.ind(and addOrientation.indforOrientation, an abbrev of it. I wish that we do not need to add it in the future.)Multiset.inductionMvPolynomial.induction_onOnePoint.recOpposite.rec'Ordinal.limitRecOnPartENat.casesOnPolynomial.induction_on'QuotientAddGroup.induction_on'(and addAddCircle.induction_onforAddCircle, an abbrev of it. I wish that we do not need to add it in the future.)QuotientGroup.induction_on'(doesn't actually work)Real.Angle.induction_onSimplexCategory.recTrunc.induction_oninduction_eliminator, cases_eliminatortoWithTopetc #13264