Metamath Proof Explorer


Theorem cdleme48fv

Description: Part of proof of Lemma D in Crawley p. 113. TODO: Can this replace uses of cdleme32a ? TODO: Can this be used to help prove the R or S case where X is an atom? (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 cdleme48fv ( ( ( ( 𝐾 ∈ 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 simp2rl ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → 𝑋𝐵 )
12 simp2l ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → 𝑃𝑄 )
13 simp2rr ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ¬ 𝑋 𝑊 )
14 11 12 13 jca32 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( 𝑋𝐵 ∧ ( 𝑃𝑄 ∧ ¬ 𝑋 𝑊 ) ) )
15 eqid ( ( 𝑠 𝑈 ) ( 𝑄 ( ( 𝑃 𝑠 ) 𝑊 ) ) ) = ( ( 𝑠 𝑈 ) ( 𝑄 ( ( 𝑃 𝑠 ) 𝑊 ) ) )
16 eqid ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) = ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) )
17 biid ( 𝑠 ( 𝑃 𝑄 ) ↔ 𝑠 ( 𝑃 𝑄 ) )
18 vex 𝑠 ∈ V
19 8 15 cdleme31sc ( 𝑠 ∈ V → 𝑠 / 𝑡 𝐷 = ( ( 𝑠 𝑈 ) ( 𝑄 ( ( 𝑃 𝑠 ) 𝑊 ) ) ) )
20 18 19 ax-mp 𝑠 / 𝑡 𝐷 = ( ( 𝑠 𝑈 ) ( 𝑄 ( ( 𝑃 𝑠 ) 𝑊 ) ) )
21 17 20 ifbieq2i if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , 𝑠 / 𝑡 𝐷 ) = if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , ( ( 𝑠 𝑈 ) ( 𝑄 ( ( 𝑃 𝑠 ) 𝑊 ) ) ) )
22 eqid ( 𝑧𝐵𝑠𝐴 ( ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑥 𝑊 ) ) = 𝑥 ) → 𝑧 = ( if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , 𝑠 / 𝑡 𝐷 ) ( 𝑥 𝑊 ) ) ) ) = ( 𝑧𝐵𝑠𝐴 ( ( ¬ 𝑠 𝑊 ∧ ( 𝑠 ( 𝑥 𝑊 ) ) = 𝑥 ) → 𝑧 = ( if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , 𝑠 / 𝑡 𝐷 ) ( 𝑥 𝑊 ) ) ) )
23 1 2 3 4 5 6 7 15 8 9 16 21 22 10 cdleme42b ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑋𝐵 ∧ ( 𝑃𝑄 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( 𝐹𝑋 ) = ( 𝑆 / 𝑠 if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , 𝑠 / 𝑡 𝐷 ) ( 𝑋 𝑊 ) ) )
24 14 23 syld3an2 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( 𝐹𝑋 ) = ( 𝑆 / 𝑠 if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , 𝑠 / 𝑡 𝐷 ) ( 𝑋 𝑊 ) ) )
25 simp1 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) )
26 simp3l ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) )
27 eqid if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , 𝑠 / 𝑡 𝐷 ) = if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , 𝑠 / 𝑡 𝐷 )
28 1 2 3 4 5 6 7 20 8 9 16 27 22 10 cdleme32fva1 ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ 𝑃𝑄 ) → ( 𝐹𝑆 ) = 𝑆 / 𝑠 if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , 𝑠 / 𝑡 𝐷 ) )
29 25 26 12 28 syl3anc ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( 𝐹𝑆 ) = 𝑆 / 𝑠 if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , 𝑠 / 𝑡 𝐷 ) )
30 29 oveq1d ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( ( 𝐹𝑆 ) ( 𝑋 𝑊 ) ) = ( 𝑆 / 𝑠 if ( 𝑠 ( 𝑃 𝑄 ) , ( 𝑦𝐵𝑡𝐴 ( ( ¬ 𝑡 𝑊 ∧ ¬ 𝑡 ( 𝑃 𝑄 ) ) → 𝑦 = 𝐸 ) ) , 𝑠 / 𝑡 𝐷 ) ( 𝑋 𝑊 ) ) )
31 24 30 eqtr4d ( ( ( ( 𝐾 ∈ HL ∧ 𝑊𝐻 ) ∧ ( 𝑃𝐴 ∧ ¬ 𝑃 𝑊 ) ∧ ( 𝑄𝐴 ∧ ¬ 𝑄 𝑊 ) ) ∧ ( 𝑃𝑄 ∧ ( 𝑋𝐵 ∧ ¬ 𝑋 𝑊 ) ) ∧ ( ( 𝑆𝐴 ∧ ¬ 𝑆 𝑊 ) ∧ ( 𝑆 ( 𝑋 𝑊 ) ) = 𝑋 ) ) → ( 𝐹𝑋 ) = ( ( 𝐹𝑆 ) ( 𝑋 𝑊 ) ) )