Metamath Proof Explorer


Theorem cdleme48b

Description: TODO: fix comment. (Contributed by NM, 8-Apr-2013)

Ref Expression
Hypotheses cdlemef46.b 𝐵 = ( Base ‘ 𝐾 )
cdlemef46.l = ( le ‘ 𝐾 )
cdlemef46.j = ( join ‘ 𝐾 )
cdlemef46.m = ( meet ‘ 𝐾 )
cdlemef46.a 𝐴 = ( Atoms ‘ 𝐾 )
cdlemef46.h 𝐻 = ( LHyp ‘ 𝐾 )
cdlemef46.u 𝑈 = ( ( 𝑃 𝑄 ) 𝑊 )
cdlemef46.d 𝐷 = ( ( 𝑡 𝑈 ) ( 𝑄 ( ( 𝑃 𝑡 ) 𝑊 ) ) )
cdlemefs46.e 𝐸 = ( ( 𝑃 𝑄 ) ( 𝐷 ( ( 𝑠 𝑡 ) 𝑊 ) ) )
cdlemef46.f 𝐹 = ( 𝑥𝐵 ↦ if ( ( 𝑃𝑄 ∧ ¬ 𝑥 𝑊 ) , ( 𝑧𝐵𝑠𝐴 ( ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑥 𝑊 ) ) = 𝑥 ) → 𝑧 = ( if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , 𝑠 / 𝑡 𝐷 ) ( 𝑥 𝑊 ) ) ) ) , 𝑥 ) )
Assertion cdleme48b ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( ( 𝐹𝑋 ) 𝑊 ) = ( 𝑋 𝑊 ) )

Proof

Step Hyp Ref Expression
1 cdlemef46.b 𝐵 = ( Base ‘ 𝐾 )
2 cdlemef46.l = ( le ‘ 𝐾 )
3 cdlemef46.j = ( join ‘ 𝐾 )
4 cdlemef46.m = ( meet ‘ 𝐾 )
5 cdlemef46.a 𝐴 = ( Atoms ‘ 𝐾 )
6 cdlemef46.h 𝐻 = ( LHyp ‘ 𝐾 )
7 cdlemef46.u 𝑈 = ( ( 𝑃 𝑄 ) 𝑊 )
8 cdlemef46.d 𝐷 = ( ( 𝑡 𝑈 ) ( 𝑄 ( ( 𝑃 𝑡 ) 𝑊 ) ) )
9 cdlemefs46.e 𝐸 = ( ( 𝑃 𝑄 ) ( 𝐷 ( ( 𝑠 𝑡 ) 𝑊 ) ) )
10 cdlemef46.f 𝐹 = ( 𝑥𝐵 ↦ if ( ( 𝑃𝑄 ∧ ¬ 𝑥 𝑊 ) , ( 𝑧𝐵𝑠𝐴 ( ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑥 𝑊 ) ) = 𝑥 ) → 𝑧 = ( if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , 𝑠 / 𝑡 𝐷 ) ( 𝑥 𝑊 ) ) ) ) , 𝑥 ) )
11 1 2 3 4 5 6 7 8 9 10 cdleme48fv ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( 𝐹𝑋 ) = ( ( 𝐹𝑆 ) ( 𝑋 𝑊 ) ) )
12 11 oveq1d ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( ( 𝐹𝑋 ) 𝑊 ) = ( ( ( 𝐹𝑆 ) ( 𝑋 𝑊 ) ) 𝑊 ) )
13 simp11 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) )
14 simp1 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) )
15 simp3l ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) )
16 1 2 3 4 5 6 7 8 9 10 cdleme46fvaw ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) → ( ( 𝐹𝑆 ) ∈ 𝐴 ∧ ¬ ( 𝐹𝑆 ) 𝑊 ) )
17 14 15 16 syl2anc ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( ( 𝐹𝑆 ) ∈ 𝐴 ∧ ¬ ( 𝐹𝑆 ) 𝑊 ) )
18 simp2rl ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → 𝑋𝐵 )
19 1 2 3 4 5 6 lhpelim ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( ( 𝐹𝑆 ) ∈ 𝐴 ∧ ¬ ( 𝐹𝑆 ) 𝑊 ) ∧ 𝑋𝐵 ) → ( ( ( 𝐹𝑆 ) ( 𝑋 𝑊 ) ) 𝑊 ) = ( 𝑋 𝑊 ) )
20 13 17 18 19 syl3anc ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( ( ( 𝐹𝑆 ) ( 𝑋 𝑊 ) ) 𝑊 ) = ( 𝑋 𝑊 ) )
21 12 20 eqtrd ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( ( 𝐹𝑋 ) 𝑊 ) = ( 𝑋 𝑊 ) )