Metamath Proof Explorer


Theorem cdlemeg46fvcl

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

Ref Expression
Hypotheses cdlemef47.b 𝐵 = ( Base ‘ 𝐾 )
cdlemef47.l = ( le ‘ 𝐾 )
cdlemef47.j = ( join ‘ 𝐾 )
cdlemef47.m = ( meet ‘ 𝐾 )
cdlemef47.a 𝐴 = ( Atoms ‘ 𝐾 )
cdlemef47.h 𝐻 = ( LHyp ‘ 𝐾 )
cdlemef47.v 𝑉 = ( ( 𝑄 𝑃 ) 𝑊 )
cdlemef47.n 𝑁 = ( ( 𝑣 𝑉 ) ( 𝑃 ( ( 𝑄 𝑣 ) 𝑊 ) ) )
cdlemefs47.o 𝑂 = ( ( 𝑄 𝑃 ) ( 𝑁 ( ( 𝑢 𝑣 ) 𝑊 ) ) )
cdlemef47.g 𝐺 = ( 𝑎𝐵 ↦ if ( ( 𝑄𝑃 ∧ ¬ 𝑎 𝑊 ) , ( 𝑐𝐵𝑢𝐴 ( ( ¬ 𝑢 𝑊 ∧ ( 𝑢 ( 𝑎 𝑊 ) ) = 𝑎 ) → 𝑐 = ( if ( 𝑢 ( 𝑄 𝑃 ) , ( 𝑏𝐵𝑣𝐴 ( ( ¬ 𝑣 𝑊 ∧ ¬ 𝑣 ( 𝑄 𝑃 ) ) → 𝑏 = 𝑂 ) ) , 𝑢 / 𝑣 𝑁 ) ( 𝑎 𝑊 ) ) ) ) , 𝑎 ) )
Assertion cdlemeg46fvcl ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑋𝐵 ) → ( 𝐺𝑋 ) ∈ 𝐵 )

Proof

Step Hyp Ref Expression
1 cdlemef47.b 𝐵 = ( Base ‘ 𝐾 )
2 cdlemef47.l = ( le ‘ 𝐾 )
3 cdlemef47.j = ( join ‘ 𝐾 )
4 cdlemef47.m = ( meet ‘ 𝐾 )
5 cdlemef47.a 𝐴 = ( Atoms ‘ 𝐾 )
6 cdlemef47.h 𝐻 = ( LHyp ‘ 𝐾 )
7 cdlemef47.v 𝑉 = ( ( 𝑄 𝑃 ) 𝑊 )
8 cdlemef47.n 𝑁 = ( ( 𝑣 𝑉 ) ( 𝑃 ( ( 𝑄 𝑣 ) 𝑊 ) ) )
9 cdlemefs47.o 𝑂 = ( ( 𝑄 𝑃 ) ( 𝑁 ( ( 𝑢 𝑣 ) 𝑊 ) ) )
10 cdlemef47.g 𝐺 = ( 𝑎𝐵 ↦ if ( ( 𝑄𝑃 ∧ ¬ 𝑎 𝑊 ) , ( 𝑐𝐵𝑢𝐴 ( ( ¬ 𝑢 𝑊 ∧ ( 𝑢 ( 𝑎 𝑊 ) ) = 𝑎 ) → 𝑐 = ( if ( 𝑢 ( 𝑄 𝑃 ) , ( 𝑏𝐵𝑣𝐴 ( ( ¬ 𝑣 𝑊 ∧ ¬ 𝑣 ( 𝑄 𝑃 ) ) → 𝑏 = 𝑂 ) ) , 𝑢 / 𝑣 𝑁 ) ( 𝑎 𝑊 ) ) ) ) , 𝑎 ) )
11 simpl1 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑋𝐵 ) → ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) )
12 simpl3 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑋𝐵 ) → ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) )
13 simpl2 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑋𝐵 ) → ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) )
14 simpr ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑋𝐵 ) → 𝑋𝐵 )
15 vex 𝑢 ∈ V
16 eqid ( ( 𝑢 𝑉 ) ( 𝑃 ( ( 𝑄 𝑢 ) 𝑊 ) ) ) = ( ( 𝑢 𝑉 ) ( 𝑃 ( ( 𝑄 𝑢 ) 𝑊 ) ) )
17 8 16 cdleme31sc ( 𝑢 ∈ V → 𝑢 / 𝑣 𝑁 = ( ( 𝑢 𝑉 ) ( 𝑃 ( ( 𝑄 𝑢 ) 𝑊 ) ) ) )
18 15 17 ax-mp 𝑢 / 𝑣 𝑁 = ( ( 𝑢 𝑉 ) ( 𝑃 ( ( 𝑄 𝑢 ) 𝑊 ) ) )
19 eqid ( 𝑏𝐵𝑣𝐴 ( ( ¬ 𝑣 𝑊 ∧ ¬ 𝑣 ( 𝑄 𝑃 ) ) → 𝑏 = 𝑂 ) ) = ( 𝑏𝐵𝑣𝐴 ( ( ¬ 𝑣 𝑊 ∧ ¬ 𝑣 ( 𝑄 𝑃 ) ) → 𝑏 = 𝑂 ) )
20 eqid if ( 𝑢 ( 𝑄 𝑃 ) , ( 𝑏𝐵𝑣𝐴 ( ( ¬ 𝑣 𝑊 ∧ ¬ 𝑣 ( 𝑄 𝑃 ) ) → 𝑏 = 𝑂 ) ) , 𝑢 / 𝑣 𝑁 ) = if ( 𝑢 ( 𝑄 𝑃 ) , ( 𝑏𝐵𝑣𝐴 ( ( ¬ 𝑣 𝑊 ∧ ¬ 𝑣 ( 𝑄 𝑃 ) ) → 𝑏 = 𝑂 ) ) , 𝑢 / 𝑣 𝑁 )
21 eqid ( 𝑐𝐵𝑢𝐴 ( ( ¬ 𝑢 𝑊 ∧ ( 𝑢 ( 𝑎 𝑊 ) ) = 𝑎 ) → 𝑐 = ( if ( 𝑢 ( 𝑄 𝑃 ) , ( 𝑏𝐵𝑣𝐴 ( ( ¬ 𝑣 𝑊 ∧ ¬ 𝑣 ( 𝑄 𝑃 ) ) → 𝑏 = 𝑂 ) ) , 𝑢 / 𝑣 𝑁 ) ( 𝑎 𝑊 ) ) ) ) = ( 𝑐𝐵𝑢𝐴 ( ( ¬ 𝑢 𝑊 ∧ ( 𝑢 ( 𝑎 𝑊 ) ) = 𝑎 ) → 𝑐 = ( if ( 𝑢 ( 𝑄 𝑃 ) , ( 𝑏𝐵𝑣𝐴 ( ( ¬ 𝑣 𝑊 ∧ ¬ 𝑣 ( 𝑄 𝑃 ) ) → 𝑏 = 𝑂 ) ) , 𝑢 / 𝑣 𝑁 ) ( 𝑎 𝑊 ) ) ) )
22 1 2 3 4 5 6 7 18 8 9 19 20 21 10 cdleme32fvcl ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ) ∧ 𝑋𝐵 ) → ( 𝐺𝑋 ) ∈ 𝐵 )
23 11 12 13 14 22 syl31anc ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ 𝑋𝐵 ) → ( 𝐺𝑋 ) ∈ 𝐵 )