NFE Home New Foundations Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  NFE Home  >  Th. List  >  dfbi1gb GIF version

Theorem dfbi1gb 185
Description: This proof of dfbi1 184, discovered by Gregory Bush on 8-Mar-2004, has several curious properties. First, it has only 17 steps directly from the axioms and df-bi 177, compared to over 800 steps were the proof of dfbi1 184 expanded into axioms. Second, step 2 demands only the property of "true"; any axiom (or theorem) could be used. It might be thought, therefore, that it is in some sense redundant, but in fact no proof is shorter than this (measured by number of steps). Third, it illustrates how intermediate steps can "blow up" in size even in short proofs. Fourth, the compressed proof is only 182 bytes (or 17 bytes in D-proof notation), but the generated web page is over 200kB with intermediate steps that are essentially incomprehensible to humans (other than Gregory Bush). If there were an obfuscated code contest for proofs, this would be a contender. This "blowing up" and incomprehensibility of the intermediate steps vividly demonstrate the advantages of using many layered intermediate theorems, since each theorem is easier to understand. (Contributed by Gregory Bush, 10-Mar-2004.) (New usage is discouraged.) (Proof modification is discouraged.)
Assertion
Ref Expression
dfbi1gb ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))

Proof of Theorem dfbi1gb
StepHypRef Expression
1 df-bi 177 . 2 ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))
2 ax-1 6 . . 3 (χ → (θχ))
3 ax-1 6 . . . . 5 (¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))) → ((((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))) → ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))) → ¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))))))
4 df-bi 177 . . . . . . . . 9 ¬ ((((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))) → ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))) → ¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))))
5 ax-1 6 . . . . . . . . 9 (¬ ((((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))) → ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))) → ¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))))) → (¬ ¬ (χ → (θχ)) → ¬ ((((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))) → ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))) → ¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))))))
64, 5ax-mp 5 . . . . . . . 8 (¬ ¬ (χ → (θχ)) → ¬ ((((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))) → ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))) → ¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))))))
7 ax-3 8 . . . . . . . 8 ((¬ ¬ (χ → (θχ)) → ¬ ((((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))) → ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))) → ¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))))) → (((((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))) → ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))) → ¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))))) → ¬ (χ → (θχ))))
86, 7ax-mp 5 . . . . . . 7 (((((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))) → ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))) → ¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))))) → ¬ (χ → (θχ)))
9 ax-1 6 . . . . . . 7 ((((((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))) → ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))) → ¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))))) → ¬ (χ → (θχ))) → (¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))) → (((((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))) → ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))) → ¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))))) → ¬ (χ → (θχ)))))
108, 9ax-mp 5 . . . . . 6 (¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))) → (((((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))) → ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))) → ¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))))) → ¬ (χ → (θχ))))
11 ax-2 7 . . . . . 6 ((¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))) → (((((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))) → ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))) → ¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))))) → ¬ (χ → (θχ)))) → ((¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))) → ((((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))) → ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))) → ¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))))) → (¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))) → ¬ (χ → (θχ)))))
1210, 11ax-mp 5 . . . . 5 ((¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))) → ((((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))) → ¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ)))) → ¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))))) → (¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))) → ¬ (χ → (θχ))))
133, 12ax-mp 5 . . . 4 (¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))) → ¬ (χ → (θχ)))
14 ax-3 8 . . . 4 ((¬ (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))) → ¬ (χ → (θχ))) → ((χ → (θχ)) → (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))))))
1513, 14ax-mp 5 . . 3 ((χ → (θχ)) → (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))))
162, 15ax-mp 5 . 2 (¬ (((φψ) → ¬ ((φψ) → ¬ (ψφ))) → ¬ (¬ ((φψ) → ¬ (ψφ)) → (φψ))) → ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ))))
171, 16ax-mp 5 1 ((φψ) ↔ ¬ ((φψ) → ¬ (ψφ)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 176
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This theorem depends on definitions:  df-bi 177
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator