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

Theorem frr3g 31904
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 3557 . . . . . . . . . . 11 (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑤) = (𝐺𝑤)) → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)))
2 r19.26 3093 . . . . . . . . . . . . . 14 (∀𝑦𝐴 ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦)))))
32anbi2i 730 . . . . . . . . . . . . 13 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ ∀𝑦𝐴 ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) ↔ ((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))))
4 fveq2 6229 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = 𝑧 → (𝐹𝑦) = (𝐹𝑧))
5 id 22 . . . . . . . . . . . . . . . . . . . . 21 (𝑦 = 𝑧𝑦 = 𝑧)
6 predeq3 5722 . . . . . . . . . . . . . . . . . . . . . 22 (𝑦 = 𝑧 → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑅, 𝐴, 𝑧))
76reseq2d 5428 . . . . . . . . . . . . . . . . . . . . 21 (𝑦 = 𝑧 → (𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))
85, 7oveq12d 6708 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = 𝑧 → (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))))
94, 8eqeq12d 2666 . . . . . . . . . . . . . . . . . . 19 (𝑦 = 𝑧 → ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))))
10 fveq2 6229 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = 𝑧 → (𝐺𝑦) = (𝐺𝑧))
116reseq2d 5428 . . . . . . . . . . . . . . . . . . . . 21 (𝑦 = 𝑧 → (𝐺 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))
125, 11oveq12d 6708 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = 𝑧 → (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))))
1310, 12eqeq12d 2666 . . . . . . . . . . . . . . . . . . 19 (𝑦 = 𝑧 → ((𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))))
149, 13anbi12d 747 . . . . . . . . . . . . . . . . . 18 (𝑦 = 𝑧 → (((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ ((𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))))))
1514rspcva 3338 . . . . . . . . . . . . . . . . 17 ((𝑧𝐴 ∧ ∀𝑦𝐴 ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → ((𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))))
16 eqtr3 2672 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))) → (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝐹𝑧))
1716eqcomd 2657 . . . . . . . . . . . . . . . . . . . . 21 (((𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))) → (𝐹𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))))
18 eqtr3 2672 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐹𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))) → (𝐹𝑧) = (𝐺𝑧))
1918ex 449 . . . . . . . . . . . . . . . . . . . . 21 ((𝐹𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) → ((𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) → (𝐹𝑧) = (𝐺𝑧)))
2017, 19syl 17 . . . . . . . . . . . . . . . . . . . 20 (((𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))) → ((𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) → (𝐹𝑧) = (𝐺𝑧)))
2120expimpd 628 . . . . . . . . . . . . . . . . . . 19 ((𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) → (((𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))) → (𝐹𝑧) = (𝐺𝑧)))
22 predss 5725 . . . . . . . . . . . . . . . . . . . . . . 23 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝐴
23 fvreseq 6359 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ Pred(𝑅, 𝐴, 𝑧) ⊆ 𝐴) → ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) = (𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)) ↔ ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)))
2422, 23mpan2 707 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) = (𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)) ↔ ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)))
2524biimpar 501 . . . . . . . . . . . . . . . . . . . . 21 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)) → (𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) = (𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))
2625oveq2d 6706 . . . . . . . . . . . . . . . . . . . 20 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)) → (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))))
2726eqcomd 2657 . . . . . . . . . . . . . . . . . . 19 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)) → (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))))
2821, 27syl11 33 . . . . . . . . . . . . . . . . . 18 (((𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))) → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)) → (𝐹𝑧) = (𝐺𝑧)))
2928expd 451 . . . . . . . . . . . . . . . . 17 (((𝐹𝑧) = (𝑧𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))) ∧ (𝐺𝑧) = (𝑧𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑧)))) → ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤) → (𝐹𝑧) = (𝐺𝑧))))
3015, 29syl 17 . . . . . . . . . . . . . . . 16 ((𝑧𝐴 ∧ ∀𝑦𝐴 ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤) → (𝐹𝑧) = (𝐺𝑧))))
3130ex 449 . . . . . . . . . . . . . . 15 (𝑧𝐴 → (∀𝑦𝐴 ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦)))) → ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤) → (𝐹𝑧) = (𝐺𝑧)))))
3231com23 86 . . . . . . . . . . . . . 14 (𝑧𝐴 → ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (∀𝑦𝐴 ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦)))) → (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤) → (𝐹𝑧) = (𝐺𝑧)))))
3332impd 446 . . . . . . . . . . . . 13 (𝑧𝐴 → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ ∀𝑦𝐴 ((𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤) → (𝐹𝑧) = (𝐺𝑧))))
343, 33syl5bir 233 . . . . . . . . . . . 12 (𝑧𝐴 → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤) → (𝐹𝑧) = (𝐺𝑧))))
3534a2d 29 . . . . . . . . . . 11 (𝑧𝐴 → ((((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → ∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(𝐹𝑤) = (𝐺𝑤)) → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑧) = (𝐺𝑧))))
361, 35syl5 34 . . . . . . . . . 10 (𝑧𝐴 → (∀𝑤 ∈ Pred (𝑅, 𝐴, 𝑧)(((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑤) = (𝐺𝑤)) → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑧) = (𝐺𝑧))))
37 fveq2 6229 . . . . . . . . . . . 12 (𝑧 = 𝑤 → (𝐹𝑧) = (𝐹𝑤))
38 fveq2 6229 . . . . . . . . . . . 12 (𝑧 = 𝑤 → (𝐺𝑧) = (𝐺𝑤))
3937, 38eqeq12d 2666 . . . . . . . . . . 11 (𝑧 = 𝑤 → ((𝐹𝑧) = (𝐺𝑧) ↔ (𝐹𝑤) = (𝐺𝑤)))
4039imbi2d 329 . . . . . . . . . 10 (𝑧 = 𝑤 → ((((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑧) = (𝐺𝑧)) ↔ (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑤) = (𝐺𝑤))))
4136, 40frins2g 31874 . . . . . . . . 9 ((𝑅 Fr 𝐴𝑅 Se 𝐴) → ∀𝑧𝐴 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑧) = (𝐺𝑧)))
42 rsp 2958 . . . . . . . . 9 (∀𝑧𝐴 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑧) = (𝐺𝑧)) → (𝑧𝐴 → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑧) = (𝐺𝑧))))
4341, 42syl 17 . . . . . . . 8 ((𝑅 Fr 𝐴𝑅 Se 𝐴) → (𝑧𝐴 → (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹𝑧) = (𝐺𝑧))))
4443com3r 87 . . . . . . 7 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → ((𝑅 Fr 𝐴𝑅 Se 𝐴) → (𝑧𝐴 → (𝐹𝑧) = (𝐺𝑧))))
4544an4s 886 . . . . . 6 (((𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → ((𝑅 Fr 𝐴𝑅 Se 𝐴) → (𝑧𝐴 → (𝐹𝑧) = (𝐺𝑧))))
4645com12 32 . . . . 5 ((𝑅 Fr 𝐴𝑅 Se 𝐴) → (((𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝑧𝐴 → (𝐹𝑧) = (𝐺𝑧))))
47463impib 1281 . . . 4 (((𝑅 Fr 𝐴𝑅 Se 𝐴) ∧ (𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝑧𝐴 → (𝐹𝑧) = (𝐺𝑧)))
4847ralrimiv 2994 . . 3 (((𝑅 Fr 𝐴𝑅 Se 𝐴) ∧ (𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → ∀𝑧𝐴 (𝐹𝑧) = (𝐺𝑧))
49 eqid 2651 . . 3 𝐴 = 𝐴
5048, 49jctil 559 . 2 (((𝑅 Fr 𝐴𝑅 Se 𝐴) ∧ (𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐴 = 𝐴 ∧ ∀𝑧𝐴 (𝐹𝑧) = (𝐺𝑧)))
51 eqfnfv2 6352 . . . 4 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (𝐹 = 𝐺 ↔ (𝐴 = 𝐴 ∧ ∀𝑧𝐴 (𝐹𝑧) = (𝐺𝑧))))
5251ad2ant2r 798 . . 3 (((𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹 = 𝐺 ↔ (𝐴 = 𝐴 ∧ ∀𝑧𝐴 (𝐹𝑧) = (𝐺𝑧))))
53523adant1 1099 . 2 (((𝑅 Fr 𝐴𝑅 Se 𝐴) ∧ (𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → (𝐹 = 𝐺 ↔ (𝐴 = 𝐴 ∧ ∀𝑧𝐴 (𝐹𝑧) = (𝐺𝑧))))
5450, 53mpbird 247 1 (((𝑅 Fr 𝐴𝑅 Se 𝐴) ∧ (𝐹 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐹𝑦) = (𝑦𝐻(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ∧ (𝐺 Fn 𝐴 ∧ ∀𝑦𝐴 (𝐺𝑦) = (𝑦𝐻(𝐺 ↾ Pred(𝑅, 𝐴, 𝑦))))) → 𝐹 = 𝐺)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  w3a 1054   = wceq 1523  wcel 2030  wral 2941  wss 3607   Fr wfr 5099   Se wse 5100  cres 5145  Predcpred 5717   Fn wfn 5921  cfv 5926  (class class class)co 6690
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-rep 4804  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-inf2 8576
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-reu 2948  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-se 5103  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-ov 6693  df-om 7108  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-trpred 31842
This theorem is referenced by:  frrlem5  31909
  Copyright terms: Public domain W3C validator