Metamath Proof Explorer


Theorem prstcleval

Description: Value of the less-than-or-equal-to relation is unchanged. (Contributed by Zhi Wang, 20-Sep-2024)

Ref Expression
Hypotheses prstcnid.c No typesetting found for |- ( ph -> C = ( ProsetToCat ` K ) ) with typecode |-
prstcnid.k φ K Proset
prstcle.l φ ˙ = K
Assertion prstcleval φ ˙ = C

Proof

Step Hyp Ref Expression
1 prstcnid.c Could not format ( ph -> C = ( ProsetToCat ` K ) ) : No typesetting found for |- ( ph -> C = ( ProsetToCat ` K ) ) with typecode |-
2 prstcnid.k φ K Proset
3 prstcle.l φ ˙ = K
4 pleid le = Slot ndx
5 10re 10
6 1nn0 1 0
7 0nn0 0 0
8 5nn 5
9 8 nngt0i 0 < 5
10 6 7 8 9 declt 10 < 15
11 5 10 ltneii 10 15
12 plendx ndx = 10
13 ccondx comp ndx = 15
14 12 13 neeq12i ndx comp ndx 10 15
15 11 14 mpbir ndx comp ndx
16 4nn 4
17 16 nngt0i 0 < 4
18 6 7 16 17 declt 10 < 14
19 5 18 ltneii 10 14
20 homndx Hom ndx = 14
21 12 20 neeq12i ndx Hom ndx 10 14
22 19 21 mpbir ndx Hom ndx
23 1 2 4 15 22 prstcnid φ K = C
24 3 23 eqtrd φ ˙ = C