Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/net/ipv6/   (Linux Kernel Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 58 kB image not shown  

SSL TAO_99_Paradox.thy   Sprache: unbekannt

 
theory TAO_99_Paradox
imports TAO_9_PLM TAO_98_ArtificialTheorems
begin

sectionParadox

(*<*)
locale Paradox = PLM
begin
(*>*)

text
 label{TAO_Paradox_paradox}
  the additional assumption that expressions of the form
 {term "(λx . (G,\ιy . φ y x))"} for arbitrary φ are
 emph{proper maps}, for which β-conversion holds,
  theory becomes inconsistent.
 


subsectionAuxiliary Lemmas

  lemma exe_impl_exists:
    "[((\<lambda>x . \<forall> p . p \<rightarrow> p), \<iota>y . φ y x) \<equiv> (\<exists>!y . \<A>φ y x) in v]"
    proof (rule "\<equiv>I"; rule CP)
      fix φ :: νo" and x :: ν and v :: i
      assume "[((\<lambda>x . \<forall> p . p \<rightarrow> p),\<iota>y . φ y x) in v]"
      hence "[\<exists>y. \<A>φ y x & (\<forall>z. \<A>φ z x \<rightarrow> z = y)
              & ((\<lambda>x . \<forall> p . p \<rightarrow> p), yP) in v]"
        using nec_russell_axiom[equiv_lr] SimpleExOrEnc.intros by auto
      then obtain y where
        "[\<A>φ y x & (\<forall>z. \<A>φ z x \<rightarrow> z = y)
          & ((\<lambda>x . \<forall> p . p \<rightarrow> p), yP) in v]"
        by (rule Instantiate)
      hence "[\<A>φ y x & (\<forall>z. \<A>φ z x \<rightarrow> z = y) in v]"
        using "&E" by blast
      hence "[\<exists>y . \<A>φ y x & (\<forall>z. \<A>φ z x \<rightarrow> z = y) in v]"
        by (rule existential)
      thus "[\<exists>!y. \<A>φ y x in v]"
        unfolding exists_unique_def by simp
    next
      fix φ :: νo" and x :: ν and v :: i
      assume "[\<exists>!y. \<A>φ y x in v]"
      hence "[\<exists>y. \<A>φ y x & (\<forall>z. \<A>φ z x \<rightarrow> z = y) in v]"
        unfolding exists_unique_def by simp
      then obtain y where
        "[\<A>φ y x & (\<forall>z. \<A>φ z x \<rightarrow> z = y) in v]"
        by (rule Instantiate)
      moreover have "[((\<lambda>x . \<forall> p . p \<rightarrow> p),yP) in v]"
        apply (rule beta_C_meta_1[equiv_rl])
          apply show_proper
        by PLM_solver
      ultimately have "[\<A>φ y x & (\<forall>z. \<A>φ z x \<rightarrow> z = y)
                        & ((\<lambda>x . \<forall> p . p \<rightarrow> p),yP) in v]"
        using "&I" by blast
      hence "[\<exists> y . \<A>φ y x & (\<forall>z. \<A>φ z x \<rightarrow> z = y)
              & ((\<lambda>x . \<forall> p . p \<rightarrow> p),yP) in v]"
        by (rule existential)
      thus "[((\<lambda>x . \<forall> p . p \<rightarrow> p), \<iota>y. φ y x) in v]"
        using nec_russell_axiom[equiv_rl]
          SimpleExOrEnc.intros by auto
    qed

  lemma exists_unique_actual_equiv:
    "[(\<exists>!y . \<A>(y = x & ψ (xP))) \<equiv> \<A>ψ (xP) in v]"
  proof (rule "\<equiv>I"; rule CP)
    fix x v
    let ?φ = "λ y x. y = x & ψ (xP)"
    assume "[\<exists>!y. \<A>?φ y x in v]"
    hence "[\<exists>α. \<A>?φ α x & (\<forall>β. \<A>?φ β x \<rightarrow> β = α) in v]"
      unfolding exists_unique_def by simp
    then obtain α where
      "[\<A>?φ α x & (\<forall>β. \<A>?φ β x \<rightarrow> β = α) in v]"
      by (rule Instantiate)
    hence "[\<A>(α = x & ψ (xP)) in v]"
      using "&E" by blast
    thus "[\<A>(ψ (xP)) in v]"
      using Act_Basic_2[equiv_lr] "&E" by blast
  next
    fix x v
    let ?φ = "λ y x. y = x & ψ (xP)"
    assume 1"[\<A>ψ (xP) in v]"
    have "[x = x in v]"
      using id_eq_1[where 'a=ν] by simp
    hence "[\<A>(x = x) in v]"
      using id_act_3[equiv_lr] by fast
    hence "[\<A>(x = x & ψ (xP)) in v]"
      using 1 Act_Basic_2[equiv_rl] "&I" by blast
    hence "[\<A>?φ x x in v]"
      by simp
    moreover have "[\<forall>β. \<A>?φ β x \<rightarrow> β = x in v]"
    proof (rule "\<forall>I"; rule CP)
      fix β
      assume "[\<A>?φ β x in v]"
      hence "[\<A>(β = x) in v]"
        using Act_Basic_2[equiv_lr] "&E" by fast
      thus "[β = x in v]" using id_act_3[equiv_rl] by fast
    qed      
    ultimately have "[\<A>?φ x x & (\<forall>β. \<A>?φ β x \<rightarrow> β = x) in v]"
      using "&I" by fast
    hence "[\<exists>α. \<A>?φ α x & (\<forall>β. \<A>?φ β x \<rightarrow> β = α) in v]"
      by (rule existential)
    thus "[\<exists>!y. \<A>?φ y x in v]"
      unfolding exists_unique_def by simp
  qed

subsectionFake $\beta$-Conversion using Description Backdoor
text
 \label{TAO_Paradox_description_backdoor}
 

    
  definition backdoor where
    "backdoor λ ψ . \<lambda>x . ((\<lambda>x . \<forall> p . p \<rightarrow> p), \<iota>y . y = x & ψ (xP))"
    
  lemma fake_beta:
    assumes " G φ. IsProperInX (λx . (G,\<iota>y . φ y x))"
    shows "[(backdoor (λ x . ψ x), xP) \<equiv> \<A>ψ (xP) in v]"
  proof (rule "\<equiv>I"; rule CP)
    assume "[(backdoor ψ,xP) in v]"
    hence "[(\<lambda>x. \<forall>p. p \<rightarrow> p,\<iota>y. y = x & ψ (xP)) in v]"
      using beta_C_meta_1[equiv_lr, OF assms]
      unfolding backdoor_def identity_ν_def by fast
    hence "[\<exists>!y. \<A> (y = x & ψ (xP)) in v]"
      using exe_impl_exists[equiv_lr] by fast
    thus "[\<A>ψ (xP) in v]"
      using exists_unique_actual_equiv[equiv_lr] by blast
  next
    assume "[\<A>ψ (xP) in v]"
    hence "[\<exists>!y. \<A> (y = x & ψ (xP)) in v]"
      using exists_unique_actual_equiv[equiv_rl] by blast
    hence "[(\<lambda>x. \<forall>p. p \<rightarrow> p,\<iota>y. y = x & ψ (xP)) in v]"
      using exe_impl_exists[equiv_rl] by fast
    thus "[(backdoor ψ,xP) in v]"
      using beta_C_meta_1[equiv_rl, OF assms]
      unfolding backdoor_def unfolding identity_ν_def by fast
  qed

  lemma fake_beta_act:
    assumes " G φ. IsProperInX (λx . (G,\<iota>y . φ y x))"
    shows "[(backdoor (λ x . ψ x), xP) \<equiv> ψ (xP) in dw]"
    using fake_beta[OF assms]
      logic_actual[necessitation_averse_axiom_instance]
      intro_elim_6_e by blast

subsectionResulting Paradox

text
 \label{TAO_Paradox_russell-paradox}
 

  
  lemma paradox:
    assumes " G φ. IsProperInX (λx . (G,\<iota>y . φ y x))"
    shows "False"
  proof -
    obtain K where K_def:
      "K = backdoor (λ x . \<exists> F . {x,F} & \<not>(F,x))" by auto
    have "[\<exists>x. (A!,xP) & (\<forall>F. {xP,F} \<equiv> (F = K)) in dw]"
      using A_objects[axiom_instance] by fast
    then obtain x where x_prop:
      "[(A!,xP) & (\<forall>F. {xP,F} \<equiv> (F = K)) in dw]"
      by (rule Instantiate)
    {
      assume "[(K,xP) in dw]"
      hence "[\<exists> F . {xP,F} & \<not>(F,xP) in dw]"
        unfolding K_def using fake_beta_act[OF assms, equiv_lr]
        by blast
      then obtain F where F_def:
        "[{xP,F} & \<not>(F,xP) in dw]" by (rule Instantiate)
      hence "[F = K in dw]"
        using x_prop[conj2, THEN "\<forall>E"[where β=F], equiv_lr]
          "&E" unfolding K_def by blast
      hence "[\<not>(K,xP) in dw]"
        using l_identity[axiom_instance,deduction,deduction]
             F_def[conj2] by fast
    }
    hence 1"[\<not>(K,xP) in dw]"
      using reductio_aa_1 by blast
    hence "[\<not>(\<exists> F . {xP,F} & \<not>(F,xP)) in dw]"
      using fake_beta_act[OF assms,
            THEN oth_class_taut_5_d[equiv_lr],
            equiv_lr]
      unfolding K_def by blast
    hence "[\<forall> F . {xP,F} \<rightarrow> (F,xP) in dw]"
      apply - unfolding exists_def by PLM_solver
    moreover have "[{xP,K} in dw]"
      using x_prop[conj2, THEN "\<forall>E"[where β=K], equiv_rl]
            id_eq_1 by blast
    ultimately have "[(K,xP) in dw]"
      using "\<forall>E" vdash_properties_10 by blast
    hence "φ. [φ in dw]"
      using raa_cor_2 1 by blast
    thus "False" using Semantics.T4 by auto
  qed

subsectionOriginal Version of the Paradox

text
 \label{TAO_Paradox_original-paradox}
 Originally the paradox was discovered using the following
 construction based on the comprehension theorem for relations
 without the explicit construction of the description backdoor
 and the resulting fake-β-conversion.
 

  
  lemma assumes " G φ. IsProperInX (λx . (G,\<iota>y . φ y x))"
  shows Fx_equiv_xH: "[\<forall> H . \<exists> F . \<box>(\<forall>x. (F,xP) \<equiv> {xP,H}) in v]"
  proof (rule "\<forall>I")
    fix H
    let ?G = "(\<lambda>x . \<forall> p . p \<rightarrow> p)"
    obtain φ where φ_def"φ = (λ y x . (yP) = x & {x,H})" by auto
    have "[\<exists>F. \<box>(\<forall>x. (F,xP) \<equiv> (?G,\<iota>y . φ y (xP))) in v]"
      using relations_1[OF assms] by simp
    hence 1"[\<exists>F. \<box>(\<forall>x. (F,xP) \<equiv> (\<exists>!y . \<A>φ y (xP))) in v]"
      apply - apply (PLM_subst_method
          "λ x . (?G,\<iota>y . φ y (xP))" "λ x . (\<exists>!y. \<A>φ y (xP))")
      using exe_impl_exists by auto
    then obtain F where F_def: "[\<box>(\<forall>x. (F,xP) \<equiv> (\<exists>!y . \<A>φ y (xP))) in v]"
      by (rule Instantiate)
    moreover have 2" v x . [(\<exists>!y . \<A>φ y (xP)) \<equiv> {xP,H} in v]"
    proof (rule "\<equiv>I"; rule CP)
      fix x v
      assume "[\<exists>!y. \<A>φ y (xP) in v]"
      hence "[\<exists>α. \<A>φ α (xP) & (\<forall>β. \<A>φ β (xP) \<rightarrow> β = α) in v]"
        unfolding exists_unique_def by simp
      then obtain α where "[\<A>φ α (xP) & (\<forall>β. \<A>φ β (xP) \<rightarrow> β = α) in v]"
        by (rule Instantiate)
      hence "[\<A>(αP = xP & {xP,H}) in v]"
        unfolding φ_def using "&E" by blast
      hence "[\<A>({xP,H}) in v]"
        using Act_Basic_2[equiv_lr] "&E" by blast
      thus "[{xP,H} in v]"
        using en_eq_10[equiv_lr] by simp
    next
      fix x v
      assume "[{xP,H} in v]"
      hence 1"[\<A>({xP,H}) in v]"
        using en_eq_10[equiv_rl] by blast
      have "[x = x in v]"
        using id_eq_1[where 'a=ν] by simp
      hence "[\<A>(x = x) in v]"
        using id_act_3[equiv_lr] by fast
      hence "[\<A>(xP = xP & {xP,H}) in v]"
        unfolding identity_ν_def using 1 Act_Basic_2[equiv_rl] "&I" by blast
      hence "[\<A>φ x (xP) in v]"
        unfolding φ_def by simp
      moreover have "[\<forall>β. \<A>φ β (xP) \<rightarrow> β = x in v]"
      proof (rule "\<forall>I"; rule CP)
        fix β
        assume "[\<A>φ β (xP) in v]"
        hence "[\<A>(β = x) in v]"
          unfolding φ_def identity_ν_def
          using Act_Basic_2[equiv_lr] "&E" by fast
        thus "[β = x in v]" using id_act_3[equiv_rl] by fast
      qed      
      ultimately have "[\<A>φ x (xP) & (\<forall>β. \<A>φ β (xP) \<rightarrow> β = x) in v]"
        using "&I" by fast
      hence "[\<exists>α. \<A>φ α (xP) & (\<forall>β. \<A>φ β (xP) \<rightarrow> β = α) in v]"
        by (rule existential)
      thus "[\<exists>!y. \<A>φ y (xP) in v]"
        unfolding exists_unique_def by simp
    qed
    have "[\<box>(\<forall>x. (F,xP) \<equiv> {xP,H}) in v]"
      apply (PLM_subst_goal_method
          "λφ . \<box>(\<forall>x. (F,xP) \<equiv> φ x)"
          "λ x . (\<exists>!y . \<A>φ y (xP))")
      using 2 F_def by auto
    thus "[\<exists> F . \<box>(\<forall>x. (F,xP) \<equiv> {xP,H}) in v]"
      by (rule existential)
  qed

            
  lemma
    assumes is_propositional: "(G φ. IsProperInX (λx. (G,\<iota>y. φ y x)))"
        and Abs_x: "[(A!,xP) in v]"
        and Abs_y: "[(A!,yP) in v]"
        and noteq: "[x \<noteq> y in v]"
  shows diffprop: "[\<exists> F . \<not>((F,xP) \<equiv> (F,yP)) in v]"
  proof -
    have "[\<exists> F . \<not>({xP, F} \<equiv> {yP, F}) in v]"
      using noteq unfolding exists_def
    proof (rule reductio_aa_2)
      assume 1"[\<forall>F. \<not>\<not>({xP,F} \<equiv> {yP,F}) in v]"
      {
        fix F
        have "[({xP,F} \<equiv> {yP,F}) in v]"
          using 1[THEN "\<forall>E"] useful_tautologies_1[deduction] by blast
      }
      hence "[\<forall>F. {xP,F} \<equiv> {yP,F} in v]" by (rule "\<forall>I")
      thus "[x = y in v]"
        unfolding identity_ν_def
        using ab_obey_1[deduction, deduction]
              Abs_x Abs_y "&I" by blast
    qed
    then obtain H where H_def: "[\<not>({xP, H} \<equiv> {yP, H}) in v]"
      by (rule Instantiate)
    hence 2"[({xP, H} & \<not>{yP, H}) \<or> (\<not>{xP, H} & {yP, H}) in v]"
      apply - by PLM_solver
    have "[\<exists>F. \<box>(\<forall>x. (F,xP) \<equiv> {xP,H}) in v]"
      using Fx_equiv_xH[OF is_propositional, THEN "\<forall>E"by simp
    then obtain F where "[\<box>(\<forall>x. (F,xP) \<equiv> {xP,H}) in v]"
      by (rule Instantiate)
    hence F_prop: "[\<forall>x. (F,xP) \<equiv> {xP,H} in v]"
      using qml_2[axiom_instance, deduction] by blast
    hence a: "[(F,xP) \<equiv> {xP,H} in v]"
      using "\<forall>E" by blast
    have b: "[(F,yP) \<equiv> {yP,H} in v]"
      using F_prop "\<forall>E" by blast
    {
      assume 1"[{xP, H} & \<not>{yP, H} in v]"
      hence "[(F,xP) in v]"
        using a[equiv_rl] "&E" by blast
      moreover have "[\<not>(F,yP) in v]"
        using b[THEN oth_class_taut_5_d[equiv_lr], equiv_rl] 1[conj2] by auto
      ultimately have "[(F,xP) & (\<not>(F,yP)) in v]"
        by (rule "&I")
      hence "[((F,xP) & \<not>(F,yP)) \<or> (\<not>(F,xP) & (F,yP)) in v]"
        using "\<or>I" by blast
      hence "[\<not>((F,xP) \<equiv> (F,yP)) in v]"
        using oth_class_taut_5_j[equiv_rl] by blast
    }
    moreover {
      assume 1"[\<not>{xP, H} & {yP, H} in v]"
      hence "[(F,yP) in v]"
        using b[equiv_rl] "&E" by blast
      moreover have "[\<not>(F,xP) in v]"
        using a[THEN oth_class_taut_5_d[equiv_lr], equiv_rl] 1[conj1] by auto
      ultimately have "[\<not>(F,xP) & (F,yP) in v]"
        using "&I" by blast
      hence "[((F,xP) & \<not>(F,yP)) \<or> (\<not>(F,xP) & (F,yP)) in v]"
        using "\<or>I" by blast
      hence "[\<not>((F,xP) \<equiv> (F,yP)) in v]"
        using oth_class_taut_5_j[equiv_rl] by blast
    }
    ultimately have "[\<not>((F,xP) \<equiv> (F,yP)) in v]"
      using 2 intro_elim_4_b reductio_aa_1 by blast
    thus "[\<exists> F . \<not>((F,xP) \<equiv> (F,yP)) in v]"
      by (rule existential)
  qed
      
  lemma original_paradox:
    assumes is_propositional: "(G φ. IsProperInX (λx. (G,\<iota>y. φ y x)))"
    shows "False"
  proof -
    fix v
    have "[\<exists>x y. (A!,xP) & (A!,yP) & x \<noteq> y & (\<forall>F. (F,xP) \<equiv> (F,yP)) in v]"
      using aclassical2 by auto
    then obtain x where
      "[\<exists> y. (A!,xP) & (A!,yP) & x \<noteq> y & (\<forall>F. (F,xP) \<equiv> (F,yP)) in v]"
      by (rule Instantiate)
    then obtain y where xy_def:
      "[(A!,xP) & (A!,yP) & x \<noteq> y & (\<forall>F. (F,xP) \<equiv> (F,yP)) in v]"
      by (rule Instantiate)
    have "[\<exists> F . \<not>((F,xP) \<equiv> (F,yP)) in v]"
      using diffprop[OF assms, OF xy_def[conj1,conj1,conj1],
                     OF xy_def[conj1,conj1,conj2],
                     OF xy_def[conj1,conj2]]
      by auto
    then obtain F where "[\<not>((F,xP) \<equiv> (F,yP)) in v]"
      by (rule Instantiate)
    moreover have "[(F,xP) \<equiv> (F,yP) in v]"
      using xy_def[conj2] by (rule "\<forall>E")
    ultimately have "φ.[φ in v]"
      using PLM.raa_cor_2 by blast
    thus "False"
      using Semantics.T4 by auto
  qed

(*<*)
end
(*>*)

end

Messung V0.5 in Prozent
C=92 H=100 G=95

[Verzeichnis aufwärts0.6unsichere VerbindungÜbersetzung europäischer Sprachen durch Browser2026-07-02]