Metamath Proof Explorer


Theorem aiotaexim

Description: Representation of "the unique element such that ph " with a class expression A which is a set (that means that "the unique element such that ph " exists). Analog to iotan0 which requires A to be nonempty instead of being a set. That gives a more natural statement, closer to statements like spcgv . (Proposed by BJ, 18-Oct-2026.) (Contributed by AV, 18-Oct-2026)

Ref Expression
Hypothesis aiotaexim.1 ⊢ x = A → φ ↔ ψ
Assertion aiotaexim ⊢ A ∈ V ∧ A = ι → ψ

Proof

Step Hyp Ref Expression
1 aiotaexim.1 ⊢ x = A → φ ↔ ψ
2 dfaiota3 ⊢ ι = if ∃! x φ ⋂ x | φ V
3 2 eqeq2i ⊢ A = ι ↔ A = if ∃! x φ ⋂ x | φ V
4 iftrue ⊢ ∃! x φ → if ∃! x φ ⋂ x | φ V = ⋂ x | φ
5 4 eqeq2d ⊢ ∃! x φ → A = if ∃! x φ ⋂ x | φ V ↔ A = ⋂ x | φ
6 iotain ⊢ ∃! x φ → ⋂ x | φ = ι x | φ
7 6 eqeq2d ⊢ ∃! x φ → A = ⋂ x | φ ↔ A = ι x | φ
8 eqcom ⊢ A = ι x | φ ↔ ι x | φ = A
9 1 iota2 ⊢ A ∈ V ∧ ∃! x φ → ψ ↔ ι x | φ = A
10 9 biimprd ⊢ A ∈ V ∧ ∃! x φ → ι x | φ = A → ψ
11 10 expcom ⊢ ∃! x φ → A ∈ V → ι x | φ = A → ψ
12 11 com23 ⊢ ∃! x φ → ι x | φ = A → A ∈ V → ψ
13 8 12 biimtrid ⊢ ∃! x φ → A = ι x | φ → A ∈ V → ψ
14 7 13 sylbid ⊢ ∃! x φ → A = ⋂ x | φ → A ∈ V → ψ
15 5 14 sylbid ⊢ ∃! x φ → A = if ∃! x φ ⋂ x | φ V → A ∈ V → ψ
16 iffalse ⊢ ¬ ∃! x φ → if ∃! x φ ⋂ x | φ V = V
17 16 eqeq2d ⊢ ¬ ∃! x φ → A = if ∃! x φ ⋂ x | φ V ↔ A = V
18 nvelim ⊢ A = V → ¬ A ∈ V
19 18 pm2.21d ⊢ A = V → A ∈ V → ψ
20 17 19 biimtrdi ⊢ ¬ ∃! x φ → A = if ∃! x φ ⋂ x | φ V → A ∈ V → ψ
21 15 20 pm2.61i ⊢ A = if ∃! x φ ⋂ x | φ V → A ∈ V → ψ
22 3 21 sylbi ⊢ A = ι → A ∈ V → ψ
23 22 impcom ⊢ A ∈ V ∧ A = ι → ψ