Mathbox for Scott Fenton < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  frr3g Structured version   Visualization version   GIF version

Theorem frr3g 31023
 Description: Functions defined by founded recursion are identical up to relation, domain, and characteristic function. General version of frr3. (Contributed by Scott Fenton, 10-Feb-2011.) (Revised by Mario Carneiro, 26-Jun-2015.)
Assertion
Ref Expression
frr3g (((𝑅 Fr 𝐴𝑅 Se 𝐴) ∧ (𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → 𝐹 = 𝐺)
Distinct variable groups:   𝑦,𝐴   𝑦,𝐹   𝑦,𝐺   𝑦,𝐻   𝑦,𝑅

Proof of Theorem frr3g
Dummy variables 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ra4v 3490 . . . . . . . . . . 11 (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑤) = (𝐺𝑤)) → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)))
2 r19.26 3046 . . . . . . . . . . . . . 14 (∀𝑦𝐴 ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦)))))
32anbi2i 726 . . . . . . . . . . . . 13 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ ∀𝑦𝐴 ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) ↔ ((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))))
4 fveq2 6103 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = 𝑧 → (𝐹𝑦) = (𝐹𝑧))
5 id 22 . . . . . . . . . . . . . . . . . . . . 21 (𝑦 = 𝑧𝑦 = 𝑧)
6 predeq3 5601 . . . . . . . . . . . . . . . . . . . . . 22 (𝑦 = 𝑧 → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑅, 𝐴, 𝑧))
76reseq2d 5317 . . . . . . . . . . . . . . . . . . . . 21 (𝑦 = 𝑧 → (𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))
85, 7oveq12d 6567 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = 𝑧 → (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))))
94, 8eqeq12d 2625 . . . . . . . . . . . . . . . . . . 19 (𝑦 = 𝑧 → ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))))
10 fveq2 6103 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = 𝑧 → (𝐺𝑦) = (𝐺𝑧))
116reseq2d 5317 . . . . . . . . . . . . . . . . . . . . 21 (𝑦 = 𝑧 → (𝐺 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))
125, 11oveq12d 6567 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = 𝑧 → (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))))
1310, 12eqeq12d 2625 . . . . . . . . . . . . . . . . . . 19 (𝑦 = 𝑧 → ((𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))))
149, 13anbi12d 743 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝑧 → (((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ ((𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))))))
1514rspcva 3280 . . . . . . . . . . . . . . . . 17 ((𝑧𝐴 ∧ ∀𝑦𝐴 ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → ((𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))))
16 predss 5604 . . . . . . . . . . . . . . . . . . . . . . . 24 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝐴
17 fvreseq 6227 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ Pred(𝑅, 𝐴, 𝑧) ⊆ 𝐴) → ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) = (𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)) ↔ ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)))
1816, 17mpan2 703 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) = (𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)) ↔ ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)))
1918biimpar 501 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)) → (𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) = (𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))
2019oveq2d 6565 . . . . . . . . . . . . . . . . . . . . 21 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)) → (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))))
2120eqcomd 2616 . . . . . . . . . . . . . . . . . . . 20 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)) → (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))))
22 eqtr3 2631 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))) → (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝐹𝑧))
2322eqcomd 2616 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))) → (𝐹𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))))
24 eqtr3 2631 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝐹𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))) → (𝐹𝑧) = (𝐺𝑧))
2524ex 449 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐹𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) → ((𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) → (𝐹𝑧) = (𝐺𝑧)))
2623, 25syl 17 . . . . . . . . . . . . . . . . . . . . 21 (((𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))) → ((𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) → (𝐹𝑧) = (𝐺𝑧)))
2726expimpd 627 . . . . . . . . . . . . . . . . . . . 20 ((𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) → (((𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))) → (𝐹𝑧) = (𝐺𝑧)))
2821, 27syl 17 . . . . . . . . . . . . . . . . . . 19 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)) → (((𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))) → (𝐹𝑧) = (𝐺𝑧)))
2928com12 32 . . . . . . . . . . . . . . . . . 18 (((𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))) → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)) → (𝐹𝑧) = (𝐺𝑧)))
3029expd 451 . . . . . . . . . . . . . . . . 17 (((𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))) → ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤) → (𝐹𝑧) = (𝐺𝑧))))
3115, 30syl 17 . . . . . . . . . . . . . . . 16 ((𝑧𝐴 ∧ ∀𝑦𝐴 ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤) → (𝐹𝑧) = (𝐺𝑧))))
3231ex 449 . . . . . . . . . . . . . . 15 (𝑧𝐴 → (∀𝑦𝐴 ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦)))) → ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤) → (𝐹𝑧) = (𝐺𝑧)))))
3332com23 84 . . . . . . . . . . . . . 14 (𝑧𝐴 → ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (∀𝑦𝐴 ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦)))) → (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤) → (𝐹𝑧) = (𝐺𝑧)))))
3433impd 446 . . . . . . . . . . . . 13 (𝑧𝐴 → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ ∀𝑦𝐴 ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤) → (𝐹𝑧) = (𝐺𝑧))))
353, 34syl5bir 232 . . . . . . . . . . . 12 (𝑧𝐴 → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤) → (𝐹𝑧) = (𝐺𝑧))))
3635a2d 29 . . . . . . . . . . 11 (𝑧𝐴 → ((((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)) → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑧) = (𝐺𝑧))))
371, 36syl5 33 . . . . . . . . . 10 (𝑧𝐴 → (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑤) = (𝐺𝑤)) → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑧) = (𝐺𝑧))))
38 fveq2 6103 . . . . . . . . . . . 12 (𝑧 = 𝑤 → (𝐹𝑧) = (𝐹𝑤))
39 fveq2 6103 . . . . . . . . . . . 12 (𝑧 = 𝑤 → (𝐺𝑧) = (𝐺𝑤))
4038, 39eqeq12d 2625 . . . . . . . . . . 11 (𝑧 = 𝑤 → ((𝐹𝑧) = (𝐺𝑧) ↔ (𝐹𝑤) = (𝐺𝑤)))
4140imbi2d 329 . . . . . . . . . 10 (𝑧 = 𝑤 → ((((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑧) = (𝐺𝑧)) ↔ (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑤) = (𝐺𝑤))))
4237, 41frins2g 30990 . . . . . . . . 9 ((𝑅 Fr 𝐴𝑅 Se 𝐴) → ∀𝑧𝐴 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑧) = (𝐺𝑧)))
43 rsp 2913 . . . . . . . . 9 (∀𝑧𝐴 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑧) = (𝐺𝑧)) → (𝑧𝐴 → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑧) = (𝐺𝑧))))
4442, 43syl 17 . . . . . . . 8 ((𝑅 Fr 𝐴𝑅 Se 𝐴) → (𝑧𝐴 → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑧) = (𝐺𝑧))))
4544com3r 85 . . . . . . 7 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → ((𝑅 Fr 𝐴𝑅 Se 𝐴) → (𝑧𝐴 → (𝐹𝑧) = (𝐺𝑧))))
4645an4s 865 . . . . . 6 (((𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → ((𝑅 Fr 𝐴𝑅 Se 𝐴) → (𝑧𝐴 → (𝐹𝑧) = (𝐺𝑧))))
4746com12 32 . . . . 5 ((𝑅 Fr 𝐴𝑅 Se 𝐴) → (((𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝑧𝐴 → (𝐹𝑧) = (𝐺𝑧))))
48473impib 1254 . . . 4 (((𝑅 Fr 𝐴𝑅 Se 𝐴) ∧ (𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝑧𝐴 → (𝐹𝑧) = (𝐺𝑧)))
4948ralrimiv 2948 . . 3 (((𝑅 Fr 𝐴𝑅 Se 𝐴) ∧ (𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → ∀𝑧𝐴 (𝐹𝑧) = (𝐺𝑧))
50 eqid 2610 . . 3 𝐴 = 𝐴
5149, 50jctil 558 . 2 (((𝑅 Fr 𝐴𝑅 Se 𝐴) ∧ (𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐴 = 𝐴 ∧ ∀𝑧𝐴 (𝐹𝑧) = (𝐺𝑧)))
52 eqfnfv2 6220 . . . 4 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (𝐹 = 𝐺 ↔ (𝐴 = 𝐴 ∧ ∀𝑧𝐴 (𝐹𝑧) = (𝐺𝑧))))
5352ad2ant2r 779 . . 3 (((𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹 = 𝐺 ↔ (𝐴 = 𝐴 ∧ ∀𝑧𝐴 (𝐹𝑧) = (𝐺𝑧))))
54533adant1 1072 . 2 (((𝑅 Fr 𝐴𝑅 Se 𝐴) ∧ (𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹 = 𝐺 ↔ (𝐴 = 𝐴 ∧ ∀𝑧𝐴 (𝐹𝑧) = (𝐺𝑧))))
5551, 54mpbird 246 1 (((𝑅 Fr 𝐴𝑅 Se 𝐴) ∧ (𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → 𝐹 = 𝐺)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 195   ∧ wa 383   ∧ w3a 1031   = wceq 1475   ∈ wcel 1977  ∀wral 2896   ⊆ wss 3540   Fr wfr 4994   Se wse 4995   ↾ cres 5040  Predcpred 5596   Fn wfn 5799  ‘cfv 5804  (class class class)co 6549 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-rep 4699  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847  ax-inf2 8421 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-se 4998  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597  df-ord 5643  df-on 5644  df-lim 5645  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-ov 6552  df-om 6958  df-wrecs 7294  df-recs 7355  df-rdg 7393  df-trpred 30962 This theorem is referenced by:  frrlem5  31028
 Copyright terms: Public domain W3C validator