# A continuous CDF with a flat interval

[← Guide index](https://ocme.evemisslab.com/en/derivations/) · [Original MKO](https://ocme.evemisslab.com/en/mko/mko-continuous-real-distribution-function/)

This is an owner-adopted natural-language teaching guide. Finite/arithmetic checks are not universal proofs; no Lean was run, and review scope is recorded per revision. Original source status labels are retained as historical data. Formulas retain exact TeX; no new semantic AST is invented.

derivation-mko-continuous-real-distribution-function-01 · ocme-new142-reader-adoption-20261021



## Goal and scope

Construct a complete knot-based CDF and audit atomlessness.

An exact piecewise-linear family; continuity alone will not imply general density existence.





## Givens and symbols


- work


- G1 — The knots are(0,0),(1,1/2),(2,1/2),(3,1); interpolate linearly, with left tail 0 and right tail 1.


- F — real CDF
- t — arbitrary real threshold





## Rules and sources

Some rule statements have reader clarifications in this revision: they are paraphrases, not verbatim quotations. Referenced original source bytes and hashes are unchanged.


- mko_definition · cited — A continuous CDF has no jumps, so every singleton has probability 0. This is not continuity of a random-variable map on the sample space and does not imply a density or absolute continuity. An affine Cantor distribution supplies a continuous, atomless, singular boundary. Flat CDF intervals are allowed; strict increase is not required. · mko-continuous-real-distribution-function
- work · prerequisite — Piecewise-linear functions are continuous on each piece; matching junctions ensure global continuity; CDF existence and the jump identity are prerequisites.





## Main derivation

S01 · impliesBefore

0<1<2<3,\quad0\le1/2\le1/2\le1

After

\text{strict knot order and nondecreasing levels}

Conditions: none

Rule: work · Uses: G1, work

Leaf basis: work

First audit strict knot order and legal nondecreasing CDF levels.



S02 · impliesBefore

t\le0\text{ or }t\ge3

After

F(t)=0\ (t\le0),\quad F(t)=1\ (t\ge3)

Conditions: none

Rule: work · Uses: G1, S01, work

Leaf basis: work

Specify both tails to cover the exterior real-line regions.



S03 · impliesBefore

0\le t\le1

After

F(t)=t/2

Conditions: none

Rule: work · Uses: G1, S02, work

Leaf basis: work

The first slope is(1/2-0)/(1-0)=1/2.



S04 · impliesBefore

1\le t\le2

After

F(t)=1/2

Conditions: none

Rule: work · Uses: G1, S03, work

Leaf basis: work

Equal endpoint levels produce a valid flat middle interval.



S05 · impliesBefore

2\le t\le3

After

F(t)=1/2+(t-2)/2=(t-1)/2

Conditions: none

Rule: work · Uses: G1, S04, work

Leaf basis: work

The last slope is also1/2 and reaches level1.



S06 · impliesBefore

t\in\{0,1,2,3\}

After

F(t^-)=F(t)=F(t^+)

Conditions: none

Rule: work · Uses: G1, S05, work

Leaf basis: work

All pieces and tails agree at four knots; their interiors are continuous.



S07 · impliesBefore

F\text{ nondecreasing and continuous, with tails }0,1

After

\exists X:\ F(t)=P(X\le t);\quad P(X=t)=F(t)-F(t^-)=0\quad(t\in\mathbb R)

Conditions: none

Rule: work · Uses: G1, S06, work

Leaf basis: work

Nonnegative piece slopes, tails identically0 and 1, and proved continuity first invoke the explicitly assumed CDF-existence theorem to obtain a law X; then the jump identity gives zero singleton mass for every t.



S08 · impliesBefore

\lim_{t\to-\infty}F(t)=0,\quad\lim_{t\to\infty}F(t)=1

After

F\text{ is a continuous CDF, not strictly increasing}

Conditions: none

Rule: work · Uses: G1, S07, work

Leaf basis: work

Monotonicity, continuity and tail limits qualify a continuous CDF, retaining its flat interval.







## Substeps and lemmas

No substeps in this guide.





## Reverse audits


- S08 · premise_audit · G1, S07, work — General continuous CDFs may be singular, as with a Cantor law; this example cannot imply densities generally.
- S07 · premise_audit · G1, S06, work — Obtain the law before writing P(X=t); atomless does not mean zero interval mass, since P(0<X≤1)=1/2.
- S06 · premise_audit · G1, S05, work — Auditing every junction proves global continuity, not sampling.
- S05 · premise_audit · G1, S04, work — At t=2 it must give 1/2, not the incorrect continuation t/2.
- S04 · premise_audit · G1, S03, work — A CDF need not be strictly increasing.
- S03 · premise_audit · G1, S02, work — Substitution at 0 and 1 recovers both knots.
- S02 · premise_audit · G1, S01, work — The values at endpoints t=0 and t=3 must agree with the interpolated pieces.
- S01 · premise_audit · G1, work — Equal levels are allowed; only x-coordinates must be strictly ordered.





## Error controls and negative controls

JunctionsCheck both sides at 0,1,2,3.

Query orderingQueries1/2,3/2,5/2 are strictly ordered and yield1/4,1/2,3/4.


- Every continuous CDF is strictly increasing. → reject — This example is constant 1/2 on[1,2].
- A continuous CDF must have a density. → reject — A singular Cantor-type law is a counterexample.
- P(X=1)=F(1)=1/2. → reject — Singleton mass is the jump, which is zero here.





## Result and limitations

This is a continuous atomless CDF with flat interval[1,2].







## Verification and source binding

2 declared checks for this guide; only the listed expressions are covered.


- source commit: b1b2f1dcf8c50d67a93fe52d95f8eef7b3abba9f
- adopted source SHA-256: 79d7922fc70bd68789e0c257bdf10bf05aae23f17410f0343d79c5d7cb7756de
- original source SHA-256: 5f3d06982951d8148e60031cd501f7fc189242eca7f7a442857ec8ad6f770380
- Lean: NOT_RUN · independent AI: SCOPED_LEAD_AND_BILINGUAL_CONTEXT_REVIEW

[Same-source full JSON (formulas, ASTs, controls and revision log)](https://ocme.evemisslab.com/data/derivations/coverage-20261021/guides/derivation-mko-continuous-real-distribution-function-01.json)




