Metamath Proof Explorer


Theorem leagne2

Description: Deduce inequality from the less-than angle relation. (Contributed by Thierry Arnoux, 25-Feb-2023)

Ref Expression
Hypotheses isleag.p 𝑃 = ( Base ‘ 𝐺 )
isleag.g ( 𝜑𝐺 ∈ TarskiG )
isleag.a ( 𝜑𝐴𝑃 )
isleag.b ( 𝜑𝐵𝑃 )
isleag.c ( 𝜑𝐶𝑃 )
isleag.d ( 𝜑𝐷𝑃 )
isleag.e ( 𝜑𝐸𝑃 )
isleag.f ( 𝜑𝐹𝑃 )
leagne.1 ( 𝜑 → ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( ≤𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ )
Assertion leagne2 ( 𝜑𝐶𝐵 )

Proof

Step Hyp Ref Expression
1 isleag.p 𝑃 = ( Base ‘ 𝐺 )
2 isleag.g ( 𝜑𝐺 ∈ TarskiG )
3 isleag.a ( 𝜑𝐴𝑃 )
4 isleag.b ( 𝜑𝐵𝑃 )
5 isleag.c ( 𝜑𝐶𝑃 )
6 isleag.d ( 𝜑𝐷𝑃 )
7 isleag.e ( 𝜑𝐸𝑃 )
8 isleag.f ( 𝜑𝐹𝑃 )
9 leagne.1 ( 𝜑 → ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( ≤𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ )
10 eqid ( Itv ‘ 𝐺 ) = ( Itv ‘ 𝐺 )
11 eqid ( hlG ‘ 𝐺 ) = ( hlG ‘ 𝐺 )
12 2 ad2antrr ( ( ( 𝜑𝑥𝑃 ) ∧ ( 𝑥 ( inA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ ∧ ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( cgrA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝑥 ”⟩ ) ) → 𝐺 ∈ TarskiG )
13 3 ad2antrr ( ( ( 𝜑𝑥𝑃 ) ∧ ( 𝑥 ( inA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ ∧ ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( cgrA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝑥 ”⟩ ) ) → 𝐴𝑃 )
14 4 ad2antrr ( ( ( 𝜑𝑥𝑃 ) ∧ ( 𝑥 ( inA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ ∧ ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( cgrA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝑥 ”⟩ ) ) → 𝐵𝑃 )
15 5 ad2antrr ( ( ( 𝜑𝑥𝑃 ) ∧ ( 𝑥 ( inA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ ∧ ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( cgrA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝑥 ”⟩ ) ) → 𝐶𝑃 )
16 6 ad2antrr ( ( ( 𝜑𝑥𝑃 ) ∧ ( 𝑥 ( inA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ ∧ ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( cgrA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝑥 ”⟩ ) ) → 𝐷𝑃 )
17 7 ad2antrr ( ( ( 𝜑𝑥𝑃 ) ∧ ( 𝑥 ( inA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ ∧ ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( cgrA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝑥 ”⟩ ) ) → 𝐸𝑃 )
18 simplr ( ( ( 𝜑𝑥𝑃 ) ∧ ( 𝑥 ( inA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ ∧ ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( cgrA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝑥 ”⟩ ) ) → 𝑥𝑃 )
19 simprr ( ( ( 𝜑𝑥𝑃 ) ∧ ( 𝑥 ( inA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ ∧ ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( cgrA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝑥 ”⟩ ) ) → ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( cgrA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝑥 ”⟩ )
20 1 10 11 12 13 14 15 16 17 18 19 cgrane2 ( ( ( 𝜑𝑥𝑃 ) ∧ ( 𝑥 ( inA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ ∧ ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( cgrA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝑥 ”⟩ ) ) → 𝐵𝐶 )
21 20 necomd ( ( ( 𝜑𝑥𝑃 ) ∧ ( 𝑥 ( inA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ ∧ ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( cgrA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝑥 ”⟩ ) ) → 𝐶𝐵 )
22 1 2 3 4 5 6 7 8 isleag ( 𝜑 → ( ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( ≤𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ ↔ ∃ 𝑥𝑃 ( 𝑥 ( inA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ ∧ ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( cgrA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝑥 ”⟩ ) ) )
23 9 22 mpbid ( 𝜑 → ∃ 𝑥𝑃 ( 𝑥 ( inA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝐹 ”⟩ ∧ ⟨“ 𝐴 𝐵 𝐶 ”⟩ ( cgrA ‘ 𝐺 ) ⟨“ 𝐷 𝐸 𝑥 ”⟩ ) )
24 21 23 r19.29a ( 𝜑𝐶𝐵 )