Metamath Proof Explorer


Theorem cdlemeg46gfv

Description: TODO FIX COMMENT p. 115 penultimate line: g(f(r)) = (p v q) ^ (g(s) v v_1). (Contributed by NM, 4-Apr-2013)

Ref Expression
Hypotheses cdlemef46g.b 𝐵 = ( Base ‘ 𝐾 )
cdlemef46g.l = ( le ‘ 𝐾 )
cdlemef46g.j = ( join ‘ 𝐾 )
cdlemef46g.m = ( meet ‘ 𝐾 )
cdlemef46g.a 𝐴 = ( Atoms ‘ 𝐾 )
cdlemef46g.h 𝐻 = ( LHyp ‘ 𝐾 )
cdlemef46g.u 𝑈 = ( ( 𝑃 𝑄 ) 𝑊 )
cdlemef46g.d 𝐷 = ( ( 𝑡 𝑈 ) ( 𝑄 ( ( 𝑃 𝑡 ) 𝑊 ) ) )
cdlemefs46g.e 𝐸 = ( ( 𝑃 𝑄 ) ( 𝐷 ( ( 𝑠 𝑡 ) 𝑊 ) ) )
cdlemef46g.f 𝐹 = ( 𝑥𝐵 ↦ if ( ( 𝑃𝑄 ∧ ¬ 𝑥 𝑊 ) , ( 𝑧𝐵𝑠𝐴 ( ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑥 𝑊 ) ) = 𝑥 ) → 𝑧 = ( if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , 𝑠 / 𝑡 𝐷 ) ( 𝑥 𝑊 ) ) ) ) , 𝑥 ) )
cdlemef46.v 𝑉 = ( ( 𝑄 𝑃 ) 𝑊 )
cdlemef46.n 𝑁 = ( ( 𝑣 𝑉 ) ( 𝑃 ( ( 𝑄 𝑣 ) 𝑊 ) ) )
cdlemefs46.o 𝑂 = ( ( 𝑄 𝑃 ) ( 𝑁 ( ( 𝑢 𝑣 ) 𝑊 ) ) )
cdlemef46.g 𝐺 = ( 𝑎𝐵 ↦ if ( ( 𝑄𝑃 ∧ ¬ 𝑎 𝑊 ) , ( 𝑐𝐵𝑢𝐴 ( ( ¬ 𝑢 𝑊 ∧ ( 𝑢 ( 𝑎 𝑊 ) ) = 𝑎 ) → 𝑐 = ( if ( 𝑢 ( 𝑄 𝑃 ) , ( 𝑏𝐵𝑣𝐴 ( ( ¬ 𝑣 𝑊 ∧ ¬ 𝑣 ( 𝑄 𝑃 ) ) → 𝑏 = 𝑂 ) ) , 𝑢 / 𝑣 𝑁 ) ( 𝑎 𝑊 ) ) ) ) , 𝑎 ) )
cdlemeg46.y 𝑌 = ( ( 𝑅 ( 𝐺𝑆 ) ) 𝑊 )
cdlemeg46.x 𝑋 = ( ( ( 𝐹𝑅 ) 𝑆 ) 𝑊 )
Assertion cdlemeg46gfv ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → ( 𝐺 ‘ ( 𝐹𝑅 ) ) = ( ( 𝑃 𝑄 ) ( ( 𝐺𝑆 ) 𝑋 ) ) )

Proof

Step Hyp Ref Expression
1 cdlemef46g.b 𝐵 = ( Base ‘ 𝐾 )
2 cdlemef46g.l = ( le ‘ 𝐾 )
3 cdlemef46g.j = ( join ‘ 𝐾 )
4 cdlemef46g.m = ( meet ‘ 𝐾 )
5 cdlemef46g.a 𝐴 = ( Atoms ‘ 𝐾 )
6 cdlemef46g.h 𝐻 = ( LHyp ‘ 𝐾 )
7 cdlemef46g.u 𝑈 = ( ( 𝑃 𝑄 ) 𝑊 )
8 cdlemef46g.d 𝐷 = ( ( 𝑡 𝑈 ) ( 𝑄 ( ( 𝑃 𝑡 ) 𝑊 ) ) )
9 cdlemefs46g.e 𝐸 = ( ( 𝑃 𝑄 ) ( 𝐷 ( ( 𝑠 𝑡 ) 𝑊 ) ) )
10 cdlemef46g.f 𝐹 = ( 𝑥𝐵 ↦ if ( ( 𝑃𝑄 ∧ ¬ 𝑥 𝑊 ) , ( 𝑧𝐵𝑠𝐴 ( ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑥 𝑊 ) ) = 𝑥 ) → 𝑧 = ( if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , 𝑠 / 𝑡 𝐷 ) ( 𝑥 𝑊 ) ) ) ) , 𝑥 ) )
11 cdlemef46.v 𝑉 = ( ( 𝑄 𝑃 ) 𝑊 )
12 cdlemef46.n 𝑁 = ( ( 𝑣 𝑉 ) ( 𝑃 ( ( 𝑄 𝑣 ) 𝑊 ) ) )
13 cdlemefs46.o 𝑂 = ( ( 𝑄 𝑃 ) ( 𝑁 ( ( 𝑢 𝑣 ) 𝑊 ) ) )
14 cdlemef46.g 𝐺 = ( 𝑎𝐵 ↦ if ( ( 𝑄𝑃 ∧ ¬ 𝑎 𝑊 ) , ( 𝑐𝐵𝑢𝐴 ( ( ¬ 𝑢 𝑊 ∧ ( 𝑢 ( 𝑎 𝑊 ) ) = 𝑎 ) → 𝑐 = ( if ( 𝑢 ( 𝑄 𝑃 ) , ( 𝑏𝐵𝑣𝐴 ( ( ¬ 𝑣 𝑊 ∧ ¬ 𝑣 ( 𝑄 𝑃 ) ) → 𝑏 = 𝑂 ) ) , 𝑢 / 𝑣 𝑁 ) ( 𝑎 𝑊 ) ) ) ) , 𝑎 ) )
15 cdlemeg46.y 𝑌 = ( ( 𝑅 ( 𝐺𝑆 ) ) 𝑊 )
16 cdlemeg46.x 𝑋 = ( ( ( 𝐹𝑅 ) 𝑆 ) 𝑊 )
17 simp1 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) )
18 simp21 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → 𝑃𝑄 )
19 simp22 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) )
20 1 2 3 4 5 6 7 8 9 10 cdleme46fvaw ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ) → ( ( 𝐹𝑅 ) ∈ 𝐴 ∧ ¬ ( 𝐹𝑅 ) 𝑊 ) )
21 17 19 20 syl2anc ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → ( ( 𝐹𝑅 ) ∈ 𝐴 ∧ ¬ ( 𝐹𝑅 ) 𝑊 ) )
22 simp23 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) )
23 simp3l ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → 𝑅 ( 𝑃 𝑄 ) )
24 1 2 3 4 5 6 7 8 9 10 cdleme46fsvlpq ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ) ∧ 𝑅 ( 𝑃 𝑄 ) ) → ( 𝐹𝑅 ) ( 𝑃 𝑄 ) )
25 17 18 19 23 24 syl121anc ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → ( 𝐹𝑅 ) ( 𝑃 𝑄 ) )
26 simp3r ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → ¬ 𝑆 ( 𝑃 𝑄 ) )
27 1 2 3 4 5 6 11 12 13 14 cdlemeg47rv2 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( ( 𝐹𝑅 ) ∈ 𝐴 ∧ ¬ ( 𝐹𝑅 ) 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( ( 𝐹𝑅 ) ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → ( 𝐺 ‘ ( 𝐹𝑅 ) ) = ( ( 𝑄 𝑃 ) ( ( 𝐺𝑆 ) ( ( ( 𝐹𝑅 ) 𝑆 ) 𝑊 ) ) ) )
28 17 18 21 22 25 26 27 syl132anc ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → ( 𝐺 ‘ ( 𝐹𝑅 ) ) = ( ( 𝑄 𝑃 ) ( ( 𝐺𝑆 ) ( ( ( 𝐹𝑅 ) 𝑆 ) 𝑊 ) ) ) )
29 simp11l ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → 𝐾 ∈ HL )
30 simp12l ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → 𝑃𝐴 )
31 simp13l ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → 𝑄𝐴 )
32 3 5 hlatjcom ( ( 𝐾 ∈ HL ∧ 𝑃𝐴𝑄𝐴 ) → ( 𝑃 𝑄 ) = ( 𝑄 𝑃 ) )
33 29 30 31 32 syl3anc ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → ( 𝑃 𝑄 ) = ( 𝑄 𝑃 ) )
34 16 oveq2i ( ( 𝐺𝑆 ) 𝑋 ) = ( ( 𝐺𝑆 ) ( ( ( 𝐹𝑅 ) 𝑆 ) 𝑊 ) )
35 34 a1i ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → ( ( 𝐺𝑆 ) 𝑋 ) = ( ( 𝐺𝑆 ) ( ( ( 𝐹𝑅 ) 𝑆 ) 𝑊 ) ) )
36 33 35 oveq12d ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → ( ( 𝑃 𝑄 ) ( ( 𝐺𝑆 ) 𝑋 ) ) = ( ( 𝑄 𝑃 ) ( ( 𝐺𝑆 ) ( ( ( 𝐹𝑅 ) 𝑆 ) 𝑊 ) ) ) )
37 28 36 eqtr4d ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑅𝐴 ∧ ¬ 𝑅 𝑊 ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ) ∧ ( 𝑅 ( 𝑃 𝑄 ) ∧ ¬ 𝑆 ( 𝑃 𝑄 ) ) ) → ( 𝐺 ‘ ( 𝐹𝑅 ) ) = ( ( 𝑃 𝑄 ) ( ( 𝐺𝑆 ) 𝑋 ) ) )