Inert behavior when changing $s,t$ #
We prove a family of "inert" theorems. The w function, along with many underlying structures, demonstrate a behavior where for a fixed $n$, the function value doesn't change along $s/t$ line within a small interval Such interval is always between a pair of Farey neighbours.
To be specific, for positive integers $a$, $b$, $c$, and $d$ such that $ad - bc = 1$, and for all $s$ and $t$ usch that $c/d < s/t < a/b$, the $w$ function is a constant as long as $n$ isn't too large (we will find the bound for $n$ soon)
We will use such tuple $(a, b, c, d)$ a lot in the following theorems, which we call an inert tuple.
Intuitively, changing $s/t$ slightly is to rotate Λline
little bit.
When such rotation doesn't hit any lattice points, a lot of functions we have constructed stay constant.
Main statements #
wₘᵢₙ_inert
,wₘₐₓ_inert
, andwₗᵢ_inert
state that $w$ doesnt't change along with small change to $s,t$ as long as $n$ isn't too large.wₘᵢₙ_inert_edge
,wₘₐₓ_inert_edge
andwₗᵢ_inert_edge
explicitly calculates $w$ when $t$ is very large.wₘᵢₙ_inert_edge'
,wₘₐₓ_inert_edge'
andwₗᵢ_inert_edge'
explicitly calculates $w$ when $s$ is very large.
We start with a simple lemma: for rational $s/t$, the scanning line can pass multiple points,
but this can only happen after the s * t
threshold.
The property of Farey neighbors: a new fraction between a Farey neighbor must have a large denominator.
Some inert theorems on Λceiled
:
below the threshold, one can slightly rotate the ceiling without changing the set members.
We divide the proof into three parts:
Λceiled_inert_half
: only look at one side of the delta area.Λceiled_inert
: prove for the full set, but requires an ordering between two ceilings.Λceiled_inert'
: remove the requirement on the ordering.
The δₚ
evaluation is inert within the threshold,
as in the ordering doesn't change for changing $s/t$.
A variation of Λceiled_inert
, concering about a ceiling created by lattice point below ℕ
,
and with Λceiled_inert_t'
that removes the ordering requirement.
This will be used for w related theories.
The mediant of Farey neighbors is within the inert interval.
δₖ
sequence is inert within an inert interval.
This version is a bit primitive, where it requires a sequence of lattice points
that generates δₖ
to exist first, and we don't have an explicit bound yet.
Here we have series of little lemma to eventually prove the cardinality of all lattice points in an inert interval.
Equations
- Λrectangle s t = Finset.range (↑t + 1) ×ˢ Finset.range (↑s + 1)
Instances For
Equations
- Λrectangle_fintype s t = id (Finset.range (↑t + 1) ×ˢ Finset.range (↑s + 1)).fintypeCoeSort
Equations
- ΛtriangleFintype s t = Fintype.ofFinset (ΛtriangleFinset s t) ⋯
Equations
- ΛtriangleDecidable s t = Classical.decPred fun (x : ℕ × ℕ) => x ∈ Λtriangle s t
Equations
- ⋯ = ⋯
Instances For
Equations
- ΛtriangleUpperDecidable s t = Classical.decPred fun (x : ℕ × ℕ) => x ∈ ΛtriangleUpper s t
Equations
- ΛtriangleUpperFintype s t = (↑(Λrectangle s t)).fintypeSubset ⋯
Here we finally get the value of the cardinality, which we will use to character rise the bound of n
.
We define the the sequence of lattice points that will generate δₖ
Now we can prove a stronger version of δₖ_inert
, because we know the sequence of lattice points
always exists, and we have the explicit bound.
...and wₖ
is inert. This prove is longer because one need to consider
some wₖ
might corresponds to a ceiling generated by a lattice point below ℕ
.
We define the bound for n
The first definition allows explicit computation, but we also immediately prove a formula that's
more useful for theorem proving.
Instances For
kceiled
is inert within the bound of n
.
... so is kₙ
We start proving another family ot theorems: inert at edge
These are essentially saying w
functions are inert for $(a=1,b=N,c=0,d=1)$ and for $(a=1,b=0,c=N,d=1)$
But as we have been developing our theory for positive inters only, these need special treatment.
We will also prove stronger theorems where we find the value of w
explicity.
In fact, they are at the edge $1$ or $n - 1$, hence the name.