Metamath Proof Explorer


Theorem axi12

Description: Axiom of Quantifier Introduction (intuitionistic logic axiom ax-i12). In classical logic, this is mostly a restatement of axc9 (with one additional quantifier). But in intuitionistic logic, changing the negations and implications to disjunctions makes it stronger. Usage of this theorem is discouraged because it depends on ax-13 . (Contributed by Jim Kingdon, 31-Dec-2017) Avoid ax-11 . (Revised by Wolf Lammen, 24-Apr-2023) (New usage is discouraged.)

Ref Expression
Assertion axi12
|- ( A. z z = x \/ ( A. z z = y \/ A. z ( x = y -> A. z x = y ) ) )

Proof

Step Hyp Ref Expression
1 nfa1
 |-  F/ z A. z z = x
2 nfa1
 |-  F/ z A. z z = y
3 1 2 nfor
 |-  F/ z ( A. z z = x \/ A. z z = y )
4 3 19.32
 |-  ( A. z ( ( A. z z = x \/ A. z z = y ) \/ ( x = y -> A. z x = y ) ) <-> ( ( A. z z = x \/ A. z z = y ) \/ A. z ( x = y -> A. z x = y ) ) )
5 axc9
 |-  ( -. A. z z = x -> ( -. A. z z = y -> ( x = y -> A. z x = y ) ) )
6 5 orrd
 |-  ( -. A. z z = x -> ( A. z z = y \/ ( x = y -> A. z x = y ) ) )
7 6 orri
 |-  ( A. z z = x \/ ( A. z z = y \/ ( x = y -> A. z x = y ) ) )
8 orass
 |-  ( ( ( A. z z = x \/ A. z z = y ) \/ ( x = y -> A. z x = y ) ) <-> ( A. z z = x \/ ( A. z z = y \/ ( x = y -> A. z x = y ) ) ) )
9 7 8 mpbir
 |-  ( ( A. z z = x \/ A. z z = y ) \/ ( x = y -> A. z x = y ) )
10 4 9 mpgbi
 |-  ( ( A. z z = x \/ A. z z = y ) \/ A. z ( x = y -> A. z x = y ) )
11 orass
 |-  ( ( ( A. z z = x \/ A. z z = y ) \/ A. z ( x = y -> A. z x = y ) ) <-> ( A. z z = x \/ ( A. z z = y \/ A. z ( x = y -> A. z x = y ) ) ) )
12 10 11 mpbi
 |-  ( A. z z = x \/ ( A. z z = y \/ A. z ( x = y -> A. z x = y ) ) )