Metamath Proof Explorer


Theorem cdleme29c

Description: Transform cdleme28b . (Compare cdleme25c .) TODO: FIX COMMENT. (Contributed by NM, 8-Feb-2013)

Ref Expression
Hypotheses cdleme26.b 𝐵 = ( Base ‘ 𝐾 )
cdleme26.l = ( le ‘ 𝐾 )
cdleme26.j = ( join ‘ 𝐾 )
cdleme26.m = ( meet ‘ 𝐾 )
cdleme26.a 𝐴 = ( Atoms ‘ 𝐾 )
cdleme26.h 𝐻 = ( LHyp ‘ 𝐾 )
cdleme27.u 𝑈 = ( ( 𝑃 𝑄 ) 𝑊 )
cdleme27.f 𝐹 = ( ( 𝑠 𝑈 ) ( 𝑄 ( ( 𝑃 𝑠 ) 𝑊 ) ) )
cdleme27.z 𝑍 = ( ( 𝑧 𝑈 ) ( 𝑄 ( ( 𝑃 𝑧 ) 𝑊 ) ) )
cdleme27.n 𝑁 = ( ( 𝑃 𝑄 ) ( 𝑍 ( ( 𝑠 𝑧 ) 𝑊 ) ) )
cdleme27.d 𝐷 = ( 𝑢𝐵𝑧𝐴 ( ( ¬ 𝑧 𝑊 ∧ ¬ 𝑧 ( 𝑃 𝑄 ) ) → 𝑢 = 𝑁 ) )
cdleme27.c 𝐶 = if ( 𝑠 ( 𝑃 𝑄 ) , 𝐷 , 𝐹 )
Assertion cdleme29c ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) → ∃! 𝑣𝐵𝑠𝐴 ( ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑋 𝑊 ) ) = 𝑋 ) → 𝑣 = ( 𝐶 ( 𝑋 𝑊 ) ) ) )

Proof

Step Hyp Ref Expression
1 cdleme26.b 𝐵 = ( Base ‘ 𝐾 )
2 cdleme26.l = ( le ‘ 𝐾 )
3 cdleme26.j = ( join ‘ 𝐾 )
4 cdleme26.m = ( meet ‘ 𝐾 )
5 cdleme26.a 𝐴 = ( Atoms ‘ 𝐾 )
6 cdleme26.h 𝐻 = ( LHyp ‘ 𝐾 )
7 cdleme27.u 𝑈 = ( ( 𝑃 𝑄 ) 𝑊 )
8 cdleme27.f 𝐹 = ( ( 𝑠 𝑈 ) ( 𝑄 ( ( 𝑃 𝑠 ) 𝑊 ) ) )
9 cdleme27.z 𝑍 = ( ( 𝑧 𝑈 ) ( 𝑄 ( ( 𝑃 𝑧 ) 𝑊 ) ) )
10 cdleme27.n 𝑁 = ( ( 𝑃 𝑄 ) ( 𝑍 ( ( 𝑠 𝑧 ) 𝑊 ) ) )
11 cdleme27.d 𝐷 = ( 𝑢𝐵𝑧𝐴 ( ( ¬ 𝑧 𝑊 ∧ ¬ 𝑧 ( 𝑃 𝑄 ) ) → 𝑢 = 𝑁 ) )
12 cdleme27.c 𝐶 = if ( 𝑠 ( 𝑃 𝑄 ) , 𝐷 , 𝐹 )
13 1 2 3 4 5 6 7 8 9 10 11 12 cdleme29b ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) → ∃ 𝑣𝐵𝑠𝐴 ( ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑋 𝑊 ) ) = 𝑋 ) → 𝑣 = ( 𝐶 ( 𝑋 𝑊 ) ) ) )
14 simp11 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) → ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) )
15 simp3 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) → ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) )
16 1 2 3 4 5 6 lhpmcvr2 ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) → ∃ 𝑠𝐴 ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑋 𝑊 ) ) = 𝑋 ) )
17 14 15 16 syl2anc ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) → ∃ 𝑠𝐴 ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑋 𝑊 ) ) = 𝑋 ) )
18 reusv1 ( ∃ 𝑠𝐴 ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑋 𝑊 ) ) = 𝑋 ) → ( ∃! 𝑣𝐵𝑠𝐴 ( ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑋 𝑊 ) ) = 𝑋 ) → 𝑣 = ( 𝐶 ( 𝑋 𝑊 ) ) ) ↔ ∃ 𝑣𝐵𝑠𝐴 ( ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑋 𝑊 ) ) = 𝑋 ) → 𝑣 = ( 𝐶 ( 𝑋 𝑊 ) ) ) ) )
19 17 18 syl ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) → ( ∃! 𝑣𝐵𝑠𝐴 ( ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑋 𝑊 ) ) = 𝑋 ) → 𝑣 = ( 𝐶 ( 𝑋 𝑊 ) ) ) ↔ ∃ 𝑣𝐵𝑠𝐴 ( ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑋 𝑊 ) ) = 𝑋 ) → 𝑣 = ( 𝐶 ( 𝑋 𝑊 ) ) ) ) )
20 13 19 mpbird ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) → ∃! 𝑣𝐵𝑠𝐴 ( ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑋 𝑊 ) ) = 𝑋 ) → 𝑣 = ( 𝐶 ( 𝑋 𝑊 ) ) ) )