Open CoghettoR opened 1 year ago
I do not understand your question.
abbreviation
three (<3>) where
"3 โก succ(2)"
abbreviation
four (<4>) where
"4 โก succ(3)"
abbreviation
five (<5>) where
"5 โก succ(4)"
[...]
0โฉR
fixes rone ("๐ญโฉR")
defines rone_def[simp]: "๐ญโฉR โก TheNeutralElement(R,M)"
[...]
and
0
abbreviation
one (<1>) where
"1 โก succ(0)"
[...]
My apologies for not responding sooner, I forgot to update my e-mail on GitHub and I was not getting notifications for a couple of months.
Indeed, mathematicians like to think that the natural numbers 0, 1, 1+1, ... embedded in reals and the natural numbers of the set theory (i.e. 0, {0},{0,{0}}, ...) are kind of the same in the sense that if we prove something about the former we automatically get the analogue for the latter. I am guessing that in Mizar with its soft typing system it is probably possible. In Isabelle/ZF the best approximation (that I can think of) is through locales and the sublocale
command. The sublocale
command expresses the idea "the theorems proven in this context are valid in that context when applied to these objects with notation mapped like this". In case of natural numbers one would set up a locale called presburger
that assumes Presburger Arithmetic axioms and show some theorems there. Then one could prove a sublocale real0 < presburger ...
statement about the natural numbers embedded in reals. This set would be probably defined using the notion of InductiveSequence. All this has not been done yet in IsarMathLib.
Actually I have noticed that IsarMathLib does have a definition of natural numbers embedded in reals in the MMIsar0
locale (please ignore that error message on the page, I have to fix that). I will copy that definition to the real0
locale before the next release.
Can you help me find, in ZF or IzarMathLib the definition of the natural numbers "3,4,5,6,7,8,9,10" (using succ)?
I already found "1" and "2" in ZF.Bool.thy
I already found "2"..."9" in IsarMathLib.Complex_ZF.thy
Informally, I suspect that the definitions for 1 and 2 are equivalent but I can't show it formally. Any help is welcome. Thank you in advance.