Zulip Chat Archive
Stream: mathlib4
Topic: inductionOn vs induction_on
Yuyang Zhao (Feb 19 2023 at 17:10):
There are some lemmas named *.inductionOn
and some named *.induction_on
now, should they be unified? If so, which name should be used?
Eric Wieser (Feb 19 2023 at 17:11):
Can you give an example of each?
Ruben Van de Velde (Feb 19 2023 at 17:11):
I think it depends on whether they construct data or not
Ruben Van de Velde (Feb 19 2023 at 17:12):
Or should
Yuyang Zhao (Feb 19 2023 at 17:16):
docs4#Quot.inductionOn
docs4#Sym2.inductionOn
docs4#Nat.mod.inductionOn
docs4#Ordinal.inductionOn
These are all theorems (not defs, but there are some elsewhere). Searching in the docs page gives you a lot of examples.
Yuyang Zhao (Feb 19 2023 at 17:22):
For induction_on:
docs4#Quot.induction_on
docs4#Int.induction_on
docs4#Part.induction_on
docs4#Trunc.induction_on
Eric Wieser (Feb 19 2023 at 17:23):
Nice catch, especially since some of these are duplicates
Yuyang Zhao (Feb 19 2023 at 17:23):
inductionOn but defs:
docs4#Vector.inductionOn
docs4#Fin.inductionOn
docs4#Int.inductionOn'
Ruben Van de Velde (Feb 19 2023 at 17:25):
Should the defs be recOn, though?
Last updated: Dec 20 2023 at 11:08 UTC