Metamath Proof Explorer


Theorem finxpreclem1

Description: Lemma for ^^ recursion theorems. (Contributed by ML, 17-Oct-2020)

Ref Expression
Assertion finxpreclem1 ( 𝑋𝑈 → ∅ = ( ( 𝑛 ∈ ω , 𝑥 ∈ V ↦ if ( ( 𝑛 = 1o𝑥𝑈 ) , ∅ , if ( 𝑥 ∈ ( V × 𝑈 ) , ⟨ 𝑛 , ( 1st𝑥 ) ⟩ , ⟨ 𝑛 , 𝑥 ⟩ ) ) ) ‘ ⟨ 1o , 𝑋 ⟩ ) )

Proof

Step Hyp Ref Expression
1 eqidd ( 𝑋𝑈 → ( 𝑛 ∈ ω , 𝑥 ∈ V ↦ if ( ( 𝑛 = 1o𝑥𝑈 ) , ∅ , if ( 𝑥 ∈ ( V × 𝑈 ) , ⟨ 𝑛 , ( 1st𝑥 ) ⟩ , ⟨ 𝑛 , 𝑥 ⟩ ) ) ) = ( 𝑛 ∈ ω , 𝑥 ∈ V ↦ if ( ( 𝑛 = 1o𝑥𝑈 ) , ∅ , if ( 𝑥 ∈ ( V × 𝑈 ) , ⟨ 𝑛 , ( 1st𝑥 ) ⟩ , ⟨ 𝑛 , 𝑥 ⟩ ) ) ) )
2 eleq1a ( 𝑋𝑈 → ( 𝑥 = 𝑋𝑥𝑈 ) )
3 2 anim2d ( 𝑋𝑈 → ( ( 𝑛 = 1o𝑥 = 𝑋 ) → ( 𝑛 = 1o𝑥𝑈 ) ) )
4 iftrue ( ( 𝑛 = 1o𝑥𝑈 ) → if ( ( 𝑛 = 1o𝑥𝑈 ) , ∅ , if ( 𝑥 ∈ ( V × 𝑈 ) , ⟨ 𝑛 , ( 1st𝑥 ) ⟩ , ⟨ 𝑛 , 𝑥 ⟩ ) ) = ∅ )
5 3 4 syl6 ( 𝑋𝑈 → ( ( 𝑛 = 1o𝑥 = 𝑋 ) → if ( ( 𝑛 = 1o𝑥𝑈 ) , ∅ , if ( 𝑥 ∈ ( V × 𝑈 ) , ⟨ 𝑛 , ( 1st𝑥 ) ⟩ , ⟨ 𝑛 , 𝑥 ⟩ ) ) = ∅ ) )
6 5 imp ( ( 𝑋𝑈 ∧ ( 𝑛 = 1o𝑥 = 𝑋 ) ) → if ( ( 𝑛 = 1o𝑥𝑈 ) , ∅ , if ( 𝑥 ∈ ( V × 𝑈 ) , ⟨ 𝑛 , ( 1st𝑥 ) ⟩ , ⟨ 𝑛 , 𝑥 ⟩ ) ) = ∅ )
7 1onn 1o ∈ ω
8 7 a1i ( 𝑋𝑈 → 1o ∈ ω )
9 elex ( 𝑋𝑈𝑋 ∈ V )
10 0ex ∅ ∈ V
11 10 a1i ( 𝑋𝑈 → ∅ ∈ V )
12 1 6 8 9 11 ovmpod ( 𝑋𝑈 → ( 1o ( 𝑛 ∈ ω , 𝑥 ∈ V ↦ if ( ( 𝑛 = 1o𝑥𝑈 ) , ∅ , if ( 𝑥 ∈ ( V × 𝑈 ) , ⟨ 𝑛 , ( 1st𝑥 ) ⟩ , ⟨ 𝑛 , 𝑥 ⟩ ) ) ) 𝑋 ) = ∅ )
13 df-ov ( 1o ( 𝑛 ∈ ω , 𝑥 ∈ V ↦ if ( ( 𝑛 = 1o𝑥𝑈 ) , ∅ , if ( 𝑥 ∈ ( V × 𝑈 ) , ⟨ 𝑛 , ( 1st𝑥 ) ⟩ , ⟨ 𝑛 , 𝑥 ⟩ ) ) ) 𝑋 ) = ( ( 𝑛 ∈ ω , 𝑥 ∈ V ↦ if ( ( 𝑛 = 1o𝑥𝑈 ) , ∅ , if ( 𝑥 ∈ ( V × 𝑈 ) , ⟨ 𝑛 , ( 1st𝑥 ) ⟩ , ⟨ 𝑛 , 𝑥 ⟩ ) ) ) ‘ ⟨ 1o , 𝑋 ⟩ )
14 12 13 eqtr3di ( 𝑋𝑈 → ∅ = ( ( 𝑛 ∈ ω , 𝑥 ∈ V ↦ if ( ( 𝑛 = 1o𝑥𝑈 ) , ∅ , if ( 𝑥 ∈ ( V × 𝑈 ) , ⟨ 𝑛 , ( 1st𝑥 ) ⟩ , ⟨ 𝑛 , 𝑥 ⟩ ) ) ) ‘ ⟨ 1o , 𝑋 ⟩ ) )