Metamath Proof Explorer


Theorem cdleme17d3

Description: TODO: FIX COMMENT. (Contributed by NM, 5-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 cdleme17d3 ( ( ( ( 𝐾 ∈ 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 simpl1 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ) → ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) )
12 simpl2 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ) → ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) )
13 simpl3 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ) → ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) )
14 simpr ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ) → 𝑃𝑄 )
15 2 3 5 6 cdlemb2 ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ) → ∃ 𝑒𝐴 ( ¬ 𝑒 𝑊 ∧ ¬ 𝑒 ( 𝑃 𝑄 ) ) )
16 11 12 13 14 15 syl121anc ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ) → ∃ 𝑒𝐴 ( ¬ 𝑒 𝑊 ∧ ¬ 𝑒 ( 𝑃 𝑄 ) ) )
17 simp1 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ∧ ( 𝑒𝐴 ∧ ( ¬ 𝑒 𝑊 ∧ ¬ 𝑒 ( 𝑃 𝑄 ) ) ) ) → ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) )
18 simp2 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ∧ ( 𝑒𝐴 ∧ ( ¬ 𝑒 𝑊 ∧ ¬ 𝑒 ( 𝑃 𝑄 ) ) ) ) → 𝑃𝑄 )
19 simp3l ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ∧ ( 𝑒𝐴 ∧ ( ¬ 𝑒 𝑊 ∧ ¬ 𝑒 ( 𝑃 𝑄 ) ) ) ) → 𝑒𝐴 )
20 simp3rl ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ∧ ( 𝑒𝐴 ∧ ( ¬ 𝑒 𝑊 ∧ ¬ 𝑒 ( 𝑃 𝑄 ) ) ) ) → ¬ 𝑒 𝑊 )
21 19 20 jca ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ∧ ( 𝑒𝐴 ∧ ( ¬ 𝑒 𝑊 ∧ ¬ 𝑒 ( 𝑃 𝑄 ) ) ) ) → ( 𝑒𝐴 ∧ ¬ 𝑒 𝑊 ) )
22 simp3rr ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ∧ ( 𝑒𝐴 ∧ ( ¬ 𝑒 𝑊 ∧ ¬ 𝑒 ( 𝑃 𝑄 ) ) ) ) → ¬ 𝑒 ( 𝑃 𝑄 ) )
23 1 2 3 4 5 6 7 8 9 10 cdleme17d2 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑒𝐴 ∧ ¬ 𝑒 𝑊 ) ) ∧ ¬ 𝑒 ( 𝑃 𝑄 ) ) → ( 𝐹𝑃 ) = 𝑄 )
24 17 18 21 22 23 syl121anc ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ∧ ( 𝑒𝐴 ∧ ( ¬ 𝑒 𝑊 ∧ ¬ 𝑒 ( 𝑃 𝑄 ) ) ) ) → ( 𝐹𝑃 ) = 𝑄 )
25 24 3expia ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ) → ( ( 𝑒𝐴 ∧ ( ¬ 𝑒 𝑊 ∧ ¬ 𝑒 ( 𝑃 𝑄 ) ) ) → ( 𝐹𝑃 ) = 𝑄 ) )
26 25 expd ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ) → ( 𝑒𝐴 → ( ( ¬ 𝑒 𝑊 ∧ ¬ 𝑒 ( 𝑃 𝑄 ) ) → ( 𝐹𝑃 ) = 𝑄 ) ) )
27 26 rexlimdv ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ) → ( ∃ 𝑒𝐴 ( ¬ 𝑒 𝑊 ∧ ¬ 𝑒 ( 𝑃 𝑄 ) ) → ( 𝐹𝑃 ) = 𝑄 ) )
28 16 27 mpd ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑃𝑄 ) → ( 𝐹𝑃 ) = 𝑄 )