Cauchy completion #
This file generalizes the Cauchy completion of (ℚ, abs)
to the completion of a ring
with absolute value.
The Cauchy completion of a ring with absolute value.
Equations
- CauSeq.Completion.Cauchy abv = Quotient CauSeq.equiv
Instances For
The map from Cauchy sequences into the Cauchy completion.
Equations
- CauSeq.Completion.mk = Quotient.mk''
Instances For
The map from the original ring into the Cauchy completion.
Equations
Instances For
Equations
- CauSeq.Completion.instZeroCauchy = { zero := CauSeq.Completion.ofRat 0 }
Equations
- CauSeq.Completion.instOneCauchy = { one := CauSeq.Completion.ofRat 1 }
Equations
- CauSeq.Completion.instInhabitedCauchy = { default := 0 }
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- CauSeq.Completion.instNatCastCauchy = { natCast := fun n => CauSeq.Completion.mk ↑n }
Equations
- CauSeq.Completion.instIntCastCauchy = { intCast := fun n => CauSeq.Completion.mk ↑n }
Equations
- One or more equations did not get rendered due to their size.
CauSeq.Completion.ofRat
as a RingHom
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- CauSeq.Completion.instRatCastCauchyToRing = { ratCast := fun q => CauSeq.Completion.ofRat ↑q }
Equations
- One or more equations did not get rendered due to their size.
The Cauchy completion forms a division ring.
Equations
- CauSeq.Completion.Cauchy.divisionRing = DivisionRing.mk zpowRec (_ : ∀ (x : CauSeq.Completion.Cauchy abv), x ≠ 0 → x * x⁻¹ = 1) (_ : 0⁻¹ = 0) (qsmulRec Rat.cast)
Show the first 10 items of a representative of this equivalence class of cauchy sequences.
The representative chosen is the one passed in the VM to Quot.mk
, so two cauchy sequences
converging to the same number may be printed differently.
Equations
- One or more equations did not get rendered due to their size.
The Cauchy completion forms a field.
Equations
- One or more equations did not get rendered due to their size.
- isComplete : ∀ (s : CauSeq β abv), ∃ b, s ≈ CauSeq.const abv b
Every Cauchy sequence has a limit.
A class stating that a ring with an absolute value is complete, i.e. every Cauchy sequence has a limit.
Instances
The limit of a Cauchy sequence in a complete ring. Chosen non-computably.
Equations
- CauSeq.lim s = Classical.choose (_ : ∃ b, s ≈ CauSeq.const abv b)