What do you mean by "the standard (ZF) reals"? — Mephist
Ok, here's my detailed response to your post. But I fear we're diverging, since right now I'm 100% focused on understanding the completeness axiom from the Italian paper. The reason being that it's written in standard mathematical style so I can work with it.
The standard (ZF) reals are the real numbers as understood in mainstream math, say at the level of an undergrad math major. Either axiomatically, as a Cauchy complete ordered field; or by construction as equivalence classes of Cauchy sequences or Dedekind cuts. There are other equivalent constructions as well.
Maybe I am saying obvious things, but at risk of being pedantic, I prefer to make everything clear about some basic facts. (That's one of the reasons why I like computer-based formal systems: everything has to be declared. No implicit assumptions!) — Mephist
There are no implicit assumptions in ZFC. I don't understand why you think there are.
Fakt N.1. ZFC is NOT an axiomatic theory of real numbers. ZFC is an axiomatic theory of SETS. — Mephist
You're right. You're stating the obvious. But ok.
In fact, in first order logic all functions and relations can be applied to all variables, and there cannot be some functions (like addition and multiplication) applied only to numbers and other functions (like union and interception) applied only to sets. In ZFC, all variables are interpreted as SETS. — Mephist
Yes ok. Why are you spelling fact as fakt?
Fakt N.2. The standard representation of real numbers in ZFC is the following: (https://www.quora.com/How-is-the-set-of-real-numbers-constructed-by-using-the-axiomatic-set-theory-ZFC-set-theory)
- Natural numbers are sets
- Integers are pairs of natural numbers (a pair is a function with two arguments)
- Rational numbers are pairs of integers
- Real numbers are sets of rational numbers — Mephist
Perfectly familiar to undergrad math majors. It's a nice theory in fact, served the 20th century well.
Not sure what is the point of this link.
Fakt N.3. There is a more "usable" definition of real numbers given by Tarski (usable in the sense that the demonstrations are simpler): https://en.wikipedia.org/wiki/Tarski%27s_axiomatization_of_the_reals — Mephist
All of modern math as well as physics and all other physical sciences find the standard definition perfectly serviceable, to the extent they care about it at all. Not following your point.
- Tarski's real numbers are defined axiomatically, — Mephist
As are the standard reals, as a complete ordered field.
and make use of set relations (similar to the ones of ZFC). But they are not based on first order logic. — Mephist
Nor are the standard reals, as the least upper bound property is second order.
The difference is that it is allowed the quantification on all subsets of a given set (and not only on all elements of the universe), but the meaning of the subset relations is encoded in the rules of logic, and not given axiomatically.
The use of a second-order logic is essential to be able to express the property of being Dedekind-complete (Axiom 3) — Mephist
We're in perfect agreement on all this. Except for my puzzlement as why you're mentioning it.
So, going back to what you wrote:
The constructivists agree! They are trying to develop a context in which they can say that the constructive reals are complete. — Mephist
Yes. This was my great recent revelation. I always thought the constructive reals were the computable reals, but as this is only vaguely true (very murky area here), apparently the constructive reals are claimed to be complete in some sense.
[From now on complete means Cauchy complete and not any other mathematical meaning of complete].
— fishfry
OK, let's check the definition of being "Cauchy complete": — Mephist
I only mentioned that since I don't want to keep writing Cauchy complete.
"Cauchy completeness is the statement that every Cauchy sequence of real numbers converges." (https://en.wikipedia.org/wiki/Completeness_of_the_real_numbers) — Mephist
Perfectly well agreed.
What's a Cauchy sequence? "a Cauchy sequence (French pronunciation: [koʃi]; English: /ˈkoʊʃiː/ KOH-shee), named after Augustin-Louis Cauchy, is a sequence whose elements become arbitrarily close to each other as the sequence progresses." (https://en.wikipedia.org/wiki/Cauchy_sequence) — Mephist
That's a vague handwavy statement. The precise statement is that the sequence of real numbers
is Cauchy if:
If you want to be pedantic that's the official definition. It says (informally) that A sequence is Cauchy if the tails get arbitrary close together. The intuitive idea is this. Suppose that we live in the open unit interval (0,1). We know about the sequence 1/2. 1/3, 1/4, 1/5, 1/6, ... But we can't say it "converges" because zero is not in our universe. Nevertheless there is SOMETHING about this sequence that "morally" converges, even if the point of convergence doesn't exist. That something is the property of being Cauchy. It defines a sequence that "should" converge if only there were something in our universe that it could converge to. That's why the standard reals are the Cauchy completion of the rationals. The reals contain the limits of sequences of rationals like 3, 3.1, 3.14, ... that "should" converge but don't, because pi isn't rational.
As you said, in the Coq formalization of real numbers there is this axiom:
completeness ∀f : N → R. ∃x ∈ R.(∀n ∈ N. near(f(n), f(n + 1), n + 1)) →(∀m ∈ N. near(f(m), x, m)) — Mephist
Here is where your post totally went off the rails. As I said?
I said nothing of the sort! I quoted the definition in the Italian paper. I have no idea what your formulation means since I have no idea what near() means. The entire point of the Italian formulation is that it's written in standard math language and makes perfect sense in the context of standard math.
When you say, "As you said ..." and then quote something I NEVER SAID, I despair. Why did you do that?
In the logic of Coq, "completeness" IS A FUNCTION, at the same way as "near" is a function and "+" is a function. — Mephist
Yes but I'm not talking about Coq.
The function "completeness" takes as input a sequence of real numbers "f" and returns two things:
1. a real number "x" -- let's call it "first_part"
2. a proof that IF "f" is a Cauchy sequence, THEN "x" is the limit of "f" -- let's call it "second_part" — Mephist
Yes but I didn't ask about Coq.
So, for every sequence of real numbers "f", the term "(completeness f).first_part" is a real number. If I have a proof that "f" is a Cauchy sequence, then I can use "(completeness f).second_part" (that is a proof) to obtain a proof that the Cauchy sequence "f" converges to the real number "completeness f". — Mephist
Yes but I didn't ask about Coq, nor does what you wrote help me because it's written in a nonstandard language.
That's all I need to get a COMPLETE field of real numbers: for all sequences "f", if you have a proof that "f" is a Cauchy sequence, you can produce a proof that "f" is convergent to the real number "(completeness f).first_part". — Mephist
I'll take your word for it, but I didn't ask about Coq and this verbiage doesn't help me understand the constructive reals.
However, you can't explicitly compute it, because axioms are functions that cannot be reduced (https://stackoverflow.com/questions/34140819/lambda-calculus-reduction-steps) — Mephist
All well and good, but nothing I asked about or talked about.
Then, IF you ASSUME that you can get a real number for every Cauchy sequence, THEN you can prove that there is a real number for every Cauchy sequence. Magic! :-) — Mephist
Doesn't help me understand anything, doesn't respond to any of the questions and points I raised earlier.
* How can the constructive reals be complete? If they are complete they must contain many noncomputable reals. How can that be regarded as constructive?
— fishfry
Yes, that's the same old question that I thought I just answered many times... :-) — Mephist
No you haven't.
Here's the "computation" of pi:
Definition my_sequence := func n -> sum of 1/n bla bla...
Definition pi := "(completeness my_sequence).first_part"
Here's the proof that my_sequence converges to pi:
1. proof that my_sequence is a Cauchy sequence (let's call this proof my_proof)
2. from "(completeness my_sequence).second_part" (the proof that IF "f" is a Cauchy sequence, THEN "x" is the limit of "f") and "my_proof" (the proof that my_sequence is a Cauchy sequence) I get a proof that "x" is the limit of "f"
(by applying the rule of cut)
I "computed" the noncomputable real number pi, and the result is "(completeness "func n -> sum of 1/n bla bla...").first_part — Mephist
Pi is computable, so this is all completely beside the point. It's computed by the
famous Leibniz formula, for example, which can be coded up by a beginning student of programming.
If "completeness" were a theorem instead of an axiom, I should have provided the implementation of the program that computes the function "completeness". But an axiom is treated as an "external function" of a programming language: — Mephist
You completely misunderstand the relation between axiomatic definitions and constructions. Completeness is a theorem about Dedekind cuts and an axiom of the axiomatic definition of the reals as a complete ordered field.
I ASSUME to have some external machine that is able to compute the function "completeness", but I don't have to show how that machine works. That's cheating! :-) — Mephist
I have no idea what you're talking about. Is an external machine like an oracle? What do you mean? Why is this relevant?
In any event all of this has NOTHING AT ALL to do with the specific points I raised about
the completeness axiom in the Italian paper that you asked me to read.
However, remember that this is an AXIOMATIC DEFINITION of what real numbers are, NOT A MODEL of real numbers. — Mephist
Ok whatever. Same remarks as all along. Even if true, it's seriously off course relative to the concerns I raised.
Axiomatic definitions, in whatever logic (intuitionistic or not), are not guaranteed to be consistent: you have to be careful on what axioms you assume to be true.
So, in principle it's not guaranteed that the real numbers that you defined make sense in some concrete model. — Mephist
As Gödel pointed, out, if there's a model then the axioms are consistent. That's the purpose of the Dedekind and Cauchy models: To show that the real number axioms are not vacuous.
And that is true even for Tarski's real numbers, that are described using classical (non intuitionistic) logic. — Mephist
Ok fine, but it would be far better if you'd try to respond to the specific points I made.
Instead, this is not true for the description of real numbers in ZFC. In that case, real numbers are a model built from sets, and completeness is PROVED as a theorem, and not assumed as an axiom. Real numbers are concrete objects made of sets! — Mephist
Not news to me but if it seems worth an exclamation point to you, ok.
The problem is that sets are defined axiomatically in ZFC. — Mephist
This is a problem?
So, IF sets make sense (are not contradictory), then real numbers make sense. But IT'S NOT GUARANTEED THAT THE SETS DEFINED IN ZFC MAKE SENSE IN SOME CONCRETE MODEL. — Mephist
As I pointed out earlier, if there's a model of the reals then the axioms for the reals are consistent.
I perfectly well agree that nobody can prove within ZFC that ZFC is consistent. What of it?
That's an 88 year old result and everyone's made their peace with it long ago.
So, again, to be sure about the sets of ZFC you should define them as a model in some other axiomatic theory that you trust more than ZFC. Or you could use a FINITE MODEL: in a finite model you can verify a proposition "by hand" (as one of my favourite professors of analysis used to say) simply inspecting the model! — Mephist
You're just complaining about incompleteness. Like I said, 88 years and counting. You'll just have to get over it. I honestly don't know what to say.
But, obviously, there is no finite model that verifies all the axioms of ZFC. — Mephist
Ok, for a moment there I thought you had one in your back pocket that you were going to throw at me. But no, there isn't any such thing.
The best that you can do is to verify ZFC axioms on a model built from natural numbers. But natural numbers are NOT a finite model (you cannot check theorems on natural numbers "by hand"). And, as Godel proved, there is no axiomatic definition of natural numbers, in any formal logic, that is guaranteed to make sense. — Mephist
Right.
OK, I'll stop it here because it's just become too long and I am only at the first question. — Mephist
You haven't answered any of my questions. You've gone backward by changing the subject. I am ONLY interested at the moment in the completeness axiom in the Italian paper, because it is written in the language of standard math and I can work with it technically.
I've already convinced myself that their axiom implies standard Cauchy completeness, but not yet the converse.
* Does their formulation actually imply standard Cauchy completeness?
— fishfry
Let me rephrase this question: "if a given Cauchy sequence has a limit in intuitionistic logic, does it have a limit even in ZFC?"
The answer is YES, because the axioms of intuitionistic logic correspond to theorems in ZFC, and the rules of intuitionistic logic are just a subset of the rules of classical logic. So, if you can prove that a given sequence is convergent in intuitionistic logic, you can use EXACTLY THE SAME PROOF in classical logic. — Mephist
Yes that's the one direction. But it's the other direction that's harder. If a sequence is Cauchy in standard math, is it Cauchy in intuitionist math? That's a good question and I'm sure the constructivists have an answer, I just don't happen to know what it is.
You can map any proposition of one logic to a corresponding proposition of the other logic and every rule of one logic to a corresponding rule of the other logic. — Mephist
We agree on one direction but I haven't seen a proof of the other direction.
Intutionistic convergense implies standard convergence, but is the converse true?
It doesn't matter what's the interpretation of the rules: if the rules are the same (or a subset of them), whatever you can prove in intuitionistic logic you can prove even in classical logic: just apply the same rules! — Mephist
My understanding is that intuitiionist logic doesn't have enough rules to do standard math. That's my question.
* In what sense is their formulation constructive? I gather this may have something to do with the rate of convergence, in which case perhaps the theory of computational complexity may come into play. Big-O, P = NP and all that. I'm a big fan of Scott Aaronson's site.
— fishfry
Nothing to do with the rate of convergence! — Mephist
Tell it to the authors of the Italian paper, which
specifically references the rate of convergence. Their axiom is explicitly phrased as a claim about the rate of convergence.
Didn't you even read my post that you claim to be replying to? I"m really baffled here. Please go back and read what I wrote.
They explicitly talk about the rate of convergence as being significant. That's one of my questions.
Constructive, in the particular interpretation of Coq, means that every object (every real number in this case) can be built using recursive functions ( except axioms... :-) ) — Mephist
Surely this is patently false; the noncomputable numbers serving as witnesses.
* And if the constructive reals are Cauchy complete, they must contain a lot of noncomputable real numbers. How can that be called constructive?
— fishfry
This sentence has a hidden presupposition: that real numbers are a concrete set of objects and you can check if a given noncomputable real number is present or not. — Mephist
They're implied by Cauchy completeness. I can check. I have checked. I could check here in public. There are only countably many Turing machines and uncountably many reals. That's the proof of the existence of noncomputable reals.
This is not true: any model of real numbers is ultimately based on an axiomatic theory that cannot be checked "by hand". — Mephist
I don't know what that means. I can prove there are infinitely many primes and I don't have to check them all by hand. I can prove that every even number is divisible by 2 without checking them all by hand. Wiles can prove Fermat's last theorem without checking every quadruple (a,b,c,n) of positive integers by hand. So what?
[ I know, I wanted to use formulas to be more precise and at the end I didn't do it (mostly for lack of time). — Mephist
Completely separate topic, but math markup is the best thing ever and anyone studying math should take the time to learn it. The basics are very simple.
On some websites you can Quote that and see how it's done; but this particular website quotes the marked up form and not the original markup, unfortunately.
The markup for the above is: e^{i \pi} + 1 = 0, enclosed in "math"begin and end tags enclosed in brackets.
And probably I still wasn't able to be clear enough on what I meant. — Mephist
I know you're passionate about your point of view, but I don't know what your point of view is. I've asked you repeatedly to state a clear and concise thesis so that I can understand where you're coming from.
I gather that your point is that ZF is not constructive and that Coq is. That's fine. But my understanding is that the constructive reals can't contain all of the standard reals and that therefore they can't be Cauchy complete. That's the point I'm trying to understand. You're claiming the constructive reals are Cauchy complete and I most certainly have not seen a proof of that fact nor do I believe any proof could exist. I'm happy to be shown the error of my thinking.
So, please repeat the questions that I wasn't able to be clear about, or where you thing that I am wrong. Maybe in that way will be easier to arrive at some conclusion — Mephist
Ok. Question: How can any model of the reals built on constructive principles be Cauchy complete?
I have made progress on the Italian completeness axiom and that's the focus of my efforts at the moment.
ps -- I found a paper of interest:
https://arxiv.org/abs/1510.00639
On the Cauchy Completeness of the Constructive Cauchy Reals
Abstract: "It is consistent with constructive set theory (without Countable Choice, clearly) that the Cauchy reals (equivalence classes of Cauchy sequences of rationals) are not Cauchy complete. Related results are also shown, such as that a Cauchy sequence of rationals may not have a modulus of convergence, and that a Cauchy sequence of Cauchy sequences may not converge to a Cauchy sequence, among others."
I think I may find some clues here.