Metamath Proof Explorer


Theorem cutminmax

Description: If the left set of X has a maximum and the right set of X has a minimum, then X is equal to the cut of the maximum and the minimum. (Contributed by Scott Fenton, 23-Feb-2026)

Ref Expression
Hypotheses cutminmax.1 φ L L X
cutminmax.2 φ x L X x s L
cutminmax.3 φ R R X
cutminmax.4 φ y R X R s y
Assertion cutminmax φ X = L | s R

Proof

Step Hyp Ref Expression
1 cutminmax.1 φ L L X
2 cutminmax.2 φ x L X x s L
3 cutminmax.3 φ R R X
4 cutminmax.4 φ y R X R s y
5 lltropt L X s R X
6 5 a1i φ L X s R X
7 breq2 y = b R s y R s b
8 7 cbvralvw y R X R s y b R X R s b
9 4 8 sylib φ b R X R s b
10 6 3 9 cutmin φ L X | s R X = L X | s R
11 elfvdm L L X X dom L
12 1 11 syl φ X dom L
13 leftf L : No 𝒫 No
14 13 fdmi dom L = No
15 12 14 eleqtrdi φ X No
16 lrcut X No L X | s R X = X
17 15 16 syl φ L X | s R X = X
18 3 snssd φ R R X
19 sssslt2 L X s R X R R X L X s R
20 5 18 19 sylancr φ L X s R
21 breq1 x = a x s L a s L
22 21 cbvralvw x L X x s L a L X a s L
23 2 22 sylib φ a L X a s L
24 20 1 23 cutmax φ L X | s R = L | s R
25 10 17 24 3eqtr3d φ X = L | s R