Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The polygon E2 of page 51

Definition
LL_DensitySlope517_lowerTwoDiscarded

by sthubbar · Nov 17, 2026 · Mathlib 0df444a (Lean v4.33.1)

For reals ε,a,b\varepsilon,a,bε,a,b, with θ=2(1/16−10−5)\theta=2(1/16-10^{-5})θ=2(1/16−10−5) and c1=(1+7θ)/15−εc_1=(1+7\theta)/15-\varepsilonc1​=(1+7θ)/15−ε, the proposition that c1≤bc_1\le bc1​≤b, b≤ab\le ab≤a, a≤1/2a\le1/2a≤1/2 and a+2b≤1a+2b\le1a+2b≤1, and that none of the following holds: a+2b≤1/2+(1+22θ)/60−2εa+2b\le 1/2+(1+22\theta)/60-2\varepsilona+2b≤1/2+(1+22θ)/60−2ε; or 4a+7b≤2+θ−ε4a+7b\le 2+\theta-\varepsilon4a+7b≤2+θ−ε together with 1/2−(θ+3c1)/4+ε≤a+b1/2-(\theta+3c_1)/4+\varepsilon\le a+b1/2−(θ+3c1​)/4+ε≤a+b; or b≤(36θ−2)/11−εb\le(36\theta-2)/11-\varepsilonb≤(36θ−2)/11−ε together with 4a+5b≤2+θ−ε4a+5b\le2+\theta-\varepsilon4a+5b≤2+θ−ε and 1/2−(θ+c1)/4+ε≤a+b1/2-(\theta+c_1)/4+\varepsilon\le a+b1/2−(θ+c1​)/4+ε≤a+b; or the pair (ε,a,b)(\varepsilon,a,b)(ε,a,b) satisfies the region P1∪P2∪RP_1\cup P_2\cup RP1​∪P2​∪R defined above with m=am=am=a, n=bn=bn=b. This is the polygon E2E_2E2​ of page 51.

Definition code
import Mathlib
import Definitions.Def_LL_DensitySlope517_upperPairRegion

namespace LL_DensitySlope517

def lowerTwoDiscarded (ε a b : ℝ) : Prop :=
  (1+7*(2*(1/16-1/10^5)))/15-ε ≤ b ∧ b ≤ a ∧ a ≤ 1/2 ∧ a+2*b ≤ 1 ∧
    ¬(a+2*b ≤ 1/2+(1+22*(2*(1/16-1/10^5)))/60-2*ε ∨
      (4*a+7*b ≤ 2+2*(1/16-1/10^5)-ε ∧
        1/2-((2*(1/16-1/10^5))+3*((1+7*(2*(1/16-1/10^5)))/15-ε))/4+ε ≤ a+b) ∨
      (b ≤ (36*(2*(1/16-1/10^5))-2)/11-ε ∧ 4*a+5*b ≤ 2+2*(1/16-1/10^5)-ε ∧
        1/2-((2*(1/16-1/10^5))+((1+7*(2*(1/16-1/10^5)))/15-ε))/4+ε ≤ a+b) ∨
      upperPairRegion ε a b)

end LL_DensitySlope517
Read-back

What the Lean code literally says, in plain math · claude-haiku

Read-back: LL_DensitySlope517.lowerTwoDiscarded

Source file: /home/claude/p2m/work/items/LL_DensitySlope517_lowerTwoDiscarded.lean (imports Mathlib and Definitions.Def_LL_DensitySlope517_upperPairRegion; the second import was not opened for this read-back).

Declaration. This is a def, named lowerTwoDiscarded, inside the namespace LL_DensitySlope517. It takes three real numbers ε,a,b∈R\varepsilon, a, b \in \mathbb{R}ε,a,b∈R (all literals are real, since the arguments are real) and returns a proposition, meaning a statement that is either true or false for each triple. It is a predicate on (ε,a,b)(\varepsilon, a, b)(ε,a,b), not a theorem.

Abbreviations used below. Let

δ=2(116−10−5)=0.12498(exactly 6249/50000),\delta = 2\left(\tfrac{1}{16} - 10^{-5}\right) = 0.12498 \quad (\text{exactly } 6249/50000),δ=2(161​−10−5)=0.12498(exactly 6249/50000), L=1+7δ15−ε≈0.1249907−ε,L = \frac{1+7\delta}{15} - \varepsilon \approx 0.1249907 - \varepsilon,L=151+7δ​−ε≈0.1249907−ε, P:a+2b≤12+1+22δ60−2ε≈0.5624927−2ε,P:\quad a + 2b \le \tfrac{1}{2} + \frac{1+22\delta}{60} - 2\varepsilon \approx 0.5624927 - 2\varepsilon,P:a+2b≤21​+601+22δ​−2ε≈0.5624927−2ε, Q:(4a+7b≤2+δ−ε)∧(12−δ+3L4+ε≤a+b),Q:\quad \big(4a + 7b \le 2 + \delta - \varepsilon\big) \wedge \big(\tfrac{1}{2} - \frac{\delta + 3L}{4} + \varepsilon \le a + b\big),Q:(4a+7b≤2+δ−ε)∧(21​−4δ+3L​+ε≤a+b), R:(b≤36δ−211−ε)∧(4a+5b≤2+δ−ε)∧(12−δ+L4+ε≤a+b),R:\quad \big(b \le \frac{36\delta - 2}{11} - \varepsilon\big) \wedge \big(4a + 5b \le 2 + \delta - \varepsilon\big) \wedge \big(\tfrac{1}{2} - \frac{\delta + L}{4} + \varepsilon \le a + b\big),R:(b≤1136δ−2​−ε)∧(4a+5b≤2+δ−ε)∧(21​−4δ+L​+ε≤a+b), S:upperPairRegion ε a b,not expanded here, see the caveat below.S:\quad \texttt{upperPairRegion}\ \varepsilon\ a\ b, \quad \text{not expanded here, see the caveat below.}S:upperPairRegion ε a b,not expanded here, see the caveat below.

Here 36δ−211≈0.2272073\frac{36\delta-2}{11} \approx 0.22720731136δ−2​≈0.2272073. The literals 116\tfrac{1}{16}161​ and 10−510^{-5}10−5 are real-number constants. Every division is by a fixed numeric constant (15, 60, 11, 4), so there are no division-by-variable or "junk value" edge cases.

Statement. lowerTwoDiscarded ε a b holds exactly when all of the following hold:

  1. L≤bL \le bL≤b, that is, b≥1+7δ15−εb \ge \frac{1+7\delta}{15} - \varepsilonb≥151+7δ​−ε;
  2. b≤ab \le ab≤a;
  3. a≤12a \le \tfrac{1}{2}a≤21​;
  4. a+2b≤1a + 2b \le 1a+2b≤1;
  5. not (PPP or QQQ or RRR or SSS).

By De Morgan's laws, item 5 is equivalent to ¬P∧¬Q∧¬R∧¬S\neg P \wedge \neg Q \wedge \neg R \wedge \neg S¬P∧¬Q∧¬R∧¬S. Since QQQ and RRR are conjunctions, ¬Q\neg Q¬Q means at least one of its two inequalities fails, and ¬R\neg R¬R means at least one of its three inequalities fails. The condition is stated with strict negations of non-strict inequalities, so the boundary cases a+2b=0.5624927−2εa+2b = 0.5624927 - 2\varepsilona+2b=0.5624927−2ε, and so on, are excluded from the discarded set but included in the kept set.

Quantifiers and hypotheses. There are no quantifiers, no typeclass assumptions beyond the real-number type, and no hypothesis on ε\varepsilonε: ε\varepsilonε is an arbitrary real, and it shifts every bound. The predicate is a pure conjunction of linear inequalities in (a,b)(a, b)(a,b), apart from the unexpanded set SSS.

Vacuity and expectations. Nothing in the displayed text is trivially true or trivially false. As a sanity check, take ε=0\varepsilon = 0ε=0, a=0.3a = 0.3a=0.3, b=0.2b = 0.2b=0.2. Then L≈0.12499≤0.2L \approx 0.12499 \le 0.2L≈0.12499≤0.2, b≤ab \le ab≤a, a≤1/2a \le 1/2a≤1/2, a+2b=0.7≤1a + 2b = 0.7 \le 1a+2b=0.7≤1, and 0.7>0.56250.7 > 0.56250.7>0.5625 so ¬P\neg P¬P holds. Also 4a+7b=2.6>2.124984a + 7b = 2.6 > 2.124984a+7b=2.6>2.12498 so ¬Q\neg Q¬Q holds, and 4a+5b=2.2>2.124984a + 5b = 2.2 > 2.124984a+5b=2.2>2.12498 so ¬R\neg R¬R holds. Whether this point is in the set therefore depends only on whether SSS fails at (0,0.3,0.2)(0, 0.3, 0.2)(0,0.3,0.2). The set appears nonempty for ε=0\varepsilon = 0ε=0, provided SSS does not hold there. The constants 116−10−5\tfrac{1}{16} - 10^{-5}161​−10−5 and the odd-looking offset 10−510^{-5}10−5 suggest a slightly perturbed rational boundary, and a reader should confirm that this slack is intended. This read-back does not judge that.

Caveat. The meaning of SSS is entirely determined by upperPairRegion in the imported file Definitions.Def_LL_DensitySlope517_upperPairRegion. That file was not read, as instructed, so the set ¬S\neg S¬S is described only by name. The conclusion above is therefore conditional on SSS.

Human review
  • Endorsed by Shuze Chen · Nov 17, 2026

    Confirmed by the moderator at approval.

  • Endorsed by sthubbar · Nov 17, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me