proof-by-refutation-2 (python sample)๏
See also
math concept | python declaration class | python inclusion class
This page shows how to infer new statements in a theory-derivation by applying the proof-by-refutation-2 inference-rule.
Usage๏
Call the infer_statement method from the inference-rule inclusion class listed in the i (unabridged inference_rules ) property of the theory-derivation :
u = pu.create_universe()
t = u.t()
...
# some theory derivation code
...
t.i.proof_by_refutation_2.infer_statement(...)
Sample code๏
Code output๏
๐ซ๐พ๐ โ๐ฐโโโ ๐ป๐พ ๐บ ๐ข๐๐๐ฃ๐๐๐ ๐-๐๐-๐๐๐ ๐๐๐ข๐๐ ๐.
๐ซ๐พ๐ โ๐ฏโโ ๐ป๐พ ๐บ ๐กโ๐๐๐๐ฆ-๐๐๐๐๐ฃ๐๐ก๐๐๐ ๐๐ ๐ฐโโ.
๐๐
๐ถ๐ผ๐บ (๐ฏโ.๐ดโ): ๐ซ๐พ๐ ๐๐ฅ๐๐๐ ๐โ โ๐๐ถ๐ฎ๐ฎ๐บ ๐ข๐น๐ช๐ฐ๐ฎ ๐ง๐ฐ๐ณ ๐ฅ๐ฆ๐ฎ๐ฐ๐ฏ๐ด๐ต๐ณ๐ข๐ต๐ช๐ฐ๐ฏ ๐ฑ๐ถ๐ณ๐ฑ๐ฐ๐ด๐ฆ๐ดโ ๐ป๐พ ๐๐๐ผ๐
๐๐ฝ๐พ๐ฝ (๐๐๐๐๐๐
๐บ๐๐พ๐ฝ) ๐๐ ๐ฏโ.
๐๐ป๐ณ๐ฒ๐ฟ๐ฒ๐ป๐ฐ๐ฒ ๐ฟ๐๐น๐ฒ (๐๐ฅ๐๐๐-๐๐๐ก๐๐๐๐๐๐ก๐๐ก๐๐๐): ๐ซ๐พ๐ ๐๐๐๐๐๐๐๐๐-๐๐ข๐๐ ๐๐ฅ๐๐๐-๐๐๐ก๐๐๐๐๐๐ก๐๐ก๐๐๐ ๐ฝ๐พ๐ฟ๐๐๐พ๐ฝ ๐บ๐ โ(๐, ๐ โข ๐)โ ๐ป๐พ ๐๐๐ผ๐
๐๐ฝ๐พ๐ฝ ๐บ๐๐ฝ ๐ผ๐๐๐๐๐ฝ๐พ๐๐พ๐ฝ ๐๐บ๐
๐๐ฝ ๐๐ ๐ฏโ.
๐ฃ๐ฟ๐ผ๐ฝ๐ผ๐๐ถ๐๐ถ๐ผ๐ป (๐ฏโ.๐โ): (๐โ(๐โ) = ๐โ(๐โ)). ๐ฃ๐ฟ๐ผ๐ผ๐ณ: โ๐๐ถ๐ฎ๐ฎ๐บ ๐ข๐น๐ช๐ฐ๐ฎ ๐ง๐ฐ๐ณ ๐ฅ๐ฆ๐ฎ๐ฐ๐ฏ๐ด๐ต๐ณ๐ข๐ต๐ช๐ฐ๐ฏ ๐ฑ๐ถ๐ณ๐ฑ๐ฐ๐ด๐ฆ๐ดโ ๐๐ ๐๐๐๐๐๐
๐บ๐๐พ๐ฝ ๐ป๐ ๐ฎ๐
๐ถ๐ผ๐บ (๐ดโ). (๐โ(๐โ) = ๐โ(๐โ)) ๐๐ ๐บ ๐๐๐๐๐๐๐๐๐๐๐๐บ๐
๐ฟ๐๐๐๐๐
๐บ ๐๐๐๐พ๐๐๐๐พ๐๐พ๐ฝ ๐ฟ๐๐๐ ๐๐๐บ๐ ๐บ๐๐๐๐. ๐ณ๐๐พ๐๐พ๐ฟ๐๐๐พ, ๐ป๐ ๐๐๐พ ๐๐ฅ๐๐๐-๐๐๐ก๐๐๐๐๐๐ก๐๐ก๐๐๐ ๐๐๐ฟ๐พ๐๐พ๐๐ผ๐พ ๐๐๐
๐พ: (๐, ๐ โข ๐), ๐๐ ๐ฟ๐๐
๐
๐๐๐ ๐๐๐บ๐ (๐โ(๐โ) = ๐โ(๐โ)). โ
๐ฃ๐ฟ๐ผ๐ฝ๐ผ๐๐ถ๐๐ถ๐ผ๐ป (๐ฏโ.๐โ): ((๐โ(๐ฑโ) = ๐โ(๐ฒโ)) โน (๐ฑโ โ ๐ฒโ)). ๐ฃ๐ฟ๐ผ๐ผ๐ณ: โ๐๐ถ๐ฎ๐ฎ๐บ ๐ข๐น๐ช๐ฐ๐ฎ ๐ง๐ฐ๐ณ ๐ฅ๐ฆ๐ฎ๐ฐ๐ฏ๐ด๐ต๐ณ๐ข๐ต๐ช๐ฐ๐ฏ ๐ฑ๐ถ๐ณ๐ฑ๐ฐ๐ด๐ฆ๐ดโ ๐๐ ๐๐๐๐๐๐
๐บ๐๐พ๐ฝ ๐ป๐ ๐ฎ๐
๐ถ๐ผ๐บ (๐ดโ). ((๐โ(๐ฑโ) = ๐โ(๐ฒโ)) โน (๐ฑโ โ ๐ฒโ)) ๐๐ ๐บ ๐๐๐๐๐๐๐๐๐๐๐๐บ๐
๐ฟ๐๐๐๐๐
๐บ ๐๐๐๐พ๐๐๐๐พ๐๐พ๐ฝ ๐ฟ๐๐๐ ๐๐๐บ๐ ๐บ๐๐๐๐. ๐ณ๐๐พ๐๐พ๐ฟ๐๐๐พ, ๐ป๐ ๐๐๐พ ๐๐ฅ๐๐๐-๐๐๐ก๐๐๐๐๐๐ก๐๐ก๐๐๐ ๐๐๐ฟ๐พ๐๐พ๐๐ผ๐พ ๐๐๐
๐พ: (๐, ๐ โข ๐), ๐๐ ๐ฟ๐๐
๐
๐๐๐ ๐๐๐บ๐ ((๐โ(๐ฑโ) = ๐โ(๐ฒโ)) โน (๐ฑโ โ ๐ฒโ)). โ
๐๐
๐ถ๐ผ๐บ (โโ.๐ดโ): ๐ซ๐พ๐ ๐๐ฅ๐๐๐ ๐โ โ๐๐บ ๐ฉ๐บ๐ฑ๐ฐ๐ต๐ฉ๐ฆ๐ด๐ช๐ด, ๐ข๐ด๐ด๐ถ๐ฎ๐ฆ (๐โ = ๐โ) ๐ช๐ด ๐ต๐ณ๐ถ๐ฆ.โ ๐ป๐พ ๐๐๐ผ๐
๐๐ฝ๐พ๐ฝ (๐๐๐๐๐๐
๐บ๐๐พ๐ฝ) ๐๐ โโ.
๐๐ป๐ณ๐ฒ๐ฟ๐ฒ๐ป๐ฐ๐ฒ ๐ฟ๐๐น๐ฒ (๐๐ฅ๐๐๐-๐๐๐ก๐๐๐๐๐๐ก๐๐ก๐๐๐): ๐ซ๐พ๐ ๐๐๐๐๐๐๐๐๐-๐๐ข๐๐ ๐๐ฅ๐๐๐-๐๐๐ก๐๐๐๐๐๐ก๐๐ก๐๐๐ ๐ฝ๐พ๐ฟ๐๐๐พ๐ฝ ๐บ๐ โ(๐, ๐ โข ๐)โ ๐ป๐พ ๐๐๐ผ๐
๐๐ฝ๐พ๐ฝ ๐บ๐๐ฝ ๐ผ๐๐๐๐๐ฝ๐พ๐๐พ๐ฝ ๐๐บ๐
๐๐ฝ ๐๐ โโ.
๐ฃ๐ฟ๐ผ๐ฝ๐ผ๐๐ถ๐๐ถ๐ผ๐ป (โโ.๐โ): (๐โ = ๐โ). ๐ฃ๐ฟ๐ผ๐ผ๐ณ: โ๐๐บ ๐ฉ๐บ๐ฑ๐ฐ๐ต๐ฉ๐ฆ๐ด๐ช๐ด, ๐ข๐ด๐ด๐ถ๐ฎ๐ฆ (๐โ = ๐โ) ๐ช๐ด ๐ต๐ณ๐ถ๐ฆ.โ ๐๐ ๐๐๐๐๐๐
๐บ๐๐พ๐ฝ ๐ป๐ ๐ฎ๐
๐ถ๐ผ๐บ (๐ดโ). (๐โ = ๐โ) ๐๐ ๐บ ๐๐๐๐๐๐๐๐๐๐๐๐บ๐
๐ฟ๐๐๐๐๐
๐บ ๐๐๐๐พ๐๐๐๐พ๐๐พ๐ฝ ๐ฟ๐๐๐ ๐๐๐บ๐ ๐บ๐๐๐๐. ๐ณ๐๐พ๐๐พ๐ฟ๐๐๐พ, ๐ป๐ ๐๐๐พ ๐๐ฅ๐๐๐-๐๐๐ก๐๐๐๐๐๐ก๐๐ก๐๐๐ ๐๐๐ฟ๐พ๐๐พ๐๐ผ๐พ ๐๐๐
๐พ: (๐, ๐ โข ๐), ๐๐ ๐ฟ๐๐
๐
๐๐๐ ๐๐๐บ๐ (๐โ = ๐โ). โ
๐๐๐ฝ๐ผ๐๐ต๐ฒ๐๐ถ๐ (๐ฏโ.๐ปโ) - We pose the positive hypothesis: (๐โ = ๐โ). ๐ณ๐๐๐ ๐๐๐๐๐๐๐พ๐๐๐ ๐๐ ๐พ๐
๐บ๐ป๐๐๐บ๐๐พ๐ฝ ๐๐ ๐๐๐พ๐๐๐ โโ.
๐๐ป๐ณ๐ฒ๐ฟ๐ฒ๐ป๐ฐ๐ฒ ๐ฟ๐๐น๐ฒ (๐ฃ๐๐๐๐๐๐๐-๐ ๐ข๐๐ ๐ก๐๐ก๐ข๐ก๐๐๐): ๐ซ๐พ๐ ๐๐๐๐๐๐๐๐๐-๐๐ข๐๐ ๐ฃ๐๐๐๐๐๐๐-๐ ๐ข๐๐ ๐ก๐๐ก๐ข๐ก๐๐๐ ๐ฝ๐พ๐ฟ๐๐๐พ๐ฝ ๐บ๐ โ(๐โ, ๐โ โข ๐โ)โ ๐ป๐พ ๐๐๐ผ๐
๐๐ฝ๐พ๐ฝ ๐บ๐๐ฝ ๐ผ๐๐๐๐๐ฝ๐พ๐๐พ๐ฝ ๐๐บ๐
๐๐ฝ ๐๐ โโ.
๐ฃ๐ฟ๐ผ๐ฝ๐ผ๐๐ถ๐๐ถ๐ผ๐ป (โโ.๐โ): ((๐โ(๐โ) = ๐โ(๐โ)) โน (๐โ โ ๐โ)). ๐ฃ๐ฟ๐ผ๐ผ๐ณ: ((๐โ(๐ฑโ) = ๐โ(๐ฒโ)) โน (๐ฑโ โ ๐ฒโ)) ๐ฟ๐๐
๐
๐๐๐ ๐ฟ๐๐๐ ๐ฝ๐ฟ๐ผ๐ฝ. (๐โ). ๐ซ๐พ๐ ๐ฑโ = ๐โ, ๐ฒโ = ๐โ. ๐ณ๐๐พ๐๐พ๐ฟ๐๐๐พ, ๐ป๐ ๐๐๐พ ๐ฃ๐๐๐๐๐๐๐-๐ ๐ข๐๐ ๐ก๐๐ก๐ข๐ก๐๐๐ ๐๐๐ฟ๐พ๐๐พ๐๐ผ๐พ ๐๐๐
๐พ: (๐โ, ๐โ โข ๐โ), ๐๐ ๐ฟ๐๐
๐
๐๐๐ ๐๐๐บ๐ ((๐โ(๐โ) = ๐โ(๐โ)) โน (๐โ โ ๐โ)). โ
๐๐ป๐ณ๐ฒ๐ฟ๐ฒ๐ป๐ฐ๐ฒ ๐ฟ๐๐น๐ฒ (๐๐๐๐ข๐ -๐๐๐๐๐๐ ): ๐ซ๐พ๐ ๐๐๐๐๐๐๐๐๐-๐๐ข๐๐ ๐๐๐๐ข๐ -๐๐๐๐๐๐ ๐ฝ๐พ๐ฟ๐๐๐พ๐ฝ ๐บ๐ โ((๐โ โน ๐โ), ๐โ โข ๐โ)โ ๐ป๐พ ๐๐๐ผ๐
๐๐ฝ๐พ๐ฝ ๐บ๐๐ฝ ๐ผ๐๐๐๐๐ฝ๐พ๐๐พ๐ฝ ๐๐บ๐
๐๐ฝ ๐๐ โโ.
๐ฃ๐ฟ๐ผ๐ฝ๐ผ๐๐ถ๐๐ถ๐ผ๐ป (โโ.๐โ
): (๐โ โ ๐โ). ๐ฃ๐ฟ๐ผ๐ผ๐ณ: ((๐โ(๐โ) = ๐โ(๐โ)) โน (๐โ โ ๐โ)) ๐ฟ๐๐
๐
๐๐๐ ๐ฟ๐๐๐ ๐ฝ๐ฟ๐ผ๐ฝ. (๐โ).(๐โ(๐โ) = ๐โ(๐โ)) ๐ฟ๐๐
๐
๐๐๐ ๐ฟ๐๐๐ ๐ฝ๐ฟ๐ผ๐ฝ. (๐โ). ๐ณ๐๐พ๐๐พ๐ฟ๐๐๐พ, ๐ป๐ ๐๐๐พ ๐๐๐๐ข๐ -๐๐๐๐๐๐ ๐๐๐ฟ๐พ๐๐พ๐๐ผ๐พ ๐๐๐
๐พ: ((๐โ โน ๐โ), ๐โ โข ๐โ), ๐๐ ๐ฟ๐๐
๐
๐๐๐ ๐๐๐บ๐ (๐โ โ ๐โ). โ
๐๐ป๐ณ๐ฒ๐ฟ๐ฒ๐ป๐ฐ๐ฒ ๐ฟ๐๐น๐ฒ (๐๐๐๐๐๐ ๐๐ ๐ก๐๐๐๐ฆ-๐๐๐ก๐๐๐๐ข๐๐ก๐๐๐-2): ๐ซ๐พ๐ ๐๐๐๐๐๐๐๐๐-๐๐ข๐๐ ๐๐๐๐๐๐ ๐๐ ๐ก๐๐๐๐ฆ-๐๐๐ก๐๐๐๐ข๐๐ก๐๐๐-2 ๐ฝ๐พ๐ฟ๐๐๐พ๐ฝ ๐บ๐ โ((๐โ = ๐โ), (๐โ โ ๐โ) โข ๐ผ๐๐(๐ฏโ))โ ๐ป๐พ ๐๐๐ผ๐
๐๐ฝ๐พ๐ฝ ๐บ๐๐ฝ ๐ผ๐๐๐๐๐ฝ๐พ๐๐พ๐ฝ ๐๐บ๐
๐๐ฝ ๐๐ ๐ฏโ.
๐ฃ๐ฟ๐ผ๐ฝ๐ผ๐๐ถ๐๐ถ๐ผ๐ป (๐ฏโ.๐โ) - The proposition of interest: ๐ผ๐๐(โโ). ๐ฃ๐ฟ๐ผ๐ผ๐ณ: ๐ซ๐พ๐ (๐ท = ๐ธ) := (๐โ = ๐โ) ๐ฟ๐๐
๐
๐๐๐ ๐ฟ๐๐๐ ๐ฝ๐ฟ๐ผ๐ฝ. (๐โ). ๐ซ๐พ๐ (๐ท โ ๐ธ) := (๐โ โ ๐โ) ๐ฟ๐๐
๐
๐๐๐ ๐ฟ๐๐๐ ๐ฝ๐ฟ๐ผ๐ฝ. (๐โ
). ๐ณ๐๐พ๐๐พ๐ฟ๐๐๐พ, ๐ป๐ ๐๐๐พ ๐๐๐๐๐๐ ๐๐ ๐ก๐๐๐๐ฆ-๐๐๐ก๐๐๐๐ข๐๐ก๐๐๐-2 ๐๐๐ฟ๐พ๐๐พ๐๐ผ๐พ ๐๐๐
๐พ: ((๐โ = ๐โ), (๐โ โ ๐โ) โข ๐ผ๐๐(๐ฏโ)), ๐๐ ๐ฟ๐๐
๐
๐๐๐ ๐๐๐บ๐ ๐ผ๐๐(โโ). โ
๐๐ป๐ณ๐ฒ๐ฟ๐ฒ๐ป๐ฐ๐ฒ ๐ฟ๐๐น๐ฒ (๐๐๐๐๐-๐๐ฆ-๐๐๐๐ข๐ก๐๐ก๐๐๐-2): ๐ซ๐พ๐ ๐๐๐๐๐๐๐๐๐-๐๐ข๐๐ ๐๐๐๐๐-๐๐ฆ-๐๐๐๐ข๐ก๐๐ก๐๐๐-2 ๐ฝ๐พ๐ฟ๐๐๐พ๐ฝ ๐บ๐ โ((๐โ ๐๐๐๐๐ข๐๐๐ก๐ (๐ฑโ = ๐ฒโ)), ๐ผ๐๐(๐โ) โข (๐ฑโ โ ๐ฒโ))โ ๐ป๐พ ๐๐๐ผ๐
๐๐ฝ๐พ๐ฝ ๐บ๐๐ฝ ๐ผ๐๐๐๐๐ฝ๐พ๐๐พ๐ฝ ๐๐บ๐
๐๐ฝ ๐๐ ๐ฏโ.
๐ฃ๐ฟ๐ผ๐ฝ๐ผ๐๐ถ๐๐ถ๐ผ๐ป (๐ฏโ.๐โ) - The proposition of interest: (๐โ โ ๐โ). ๐ฃ๐ฟ๐ผ๐ผ๐ณ: ๐ซ๐พ๐ ๐ต๐๐ฝ. (๐ปโ) ๐ป๐พ ๐๐๐พ ๐๐๐๐๐๐๐พ๐๐๐ (๐โ = ๐โ). ๐ผ๐๐(โโ) ๐ฟ๐๐
๐
๐๐๐ ๐ฟ๐๐๐ ๐ฝ๐ฟ๐ผ๐ฝ. (๐โ). ๐ณ๐๐พ๐๐พ๐ฟ๐๐๐พ, ๐ป๐ ๐๐๐พ ๐๐๐๐๐-๐๐ฆ-๐๐๐๐ข๐ก๐๐ก๐๐๐-2 ๐๐๐ฟ๐พ๐๐พ๐๐ผ๐พ ๐๐๐
๐พ: ((๐โ ๐๐๐๐๐ข๐๐๐ก๐ (๐ฑโ = ๐ฒโ)), ๐ผ๐๐(๐โ) โข (๐ฑโ โ ๐ฒโ)), ๐๐ ๐ฟ๐๐
๐
๐๐๐ ๐๐๐บ๐ (๐โ โ ๐โ). โ
import punctilious as pu
# Create a universe-of-discourse with basic objects for the sake of this example.
u = pu.UniverseOfDiscourse(echo=True)
o1 = u.o.declare()
o2 = u.o.declare()
f = u.r.declare(arity=1, symbol='f')
t1 = u.t(echo=True)
axiom = u.a.declare(natural_language='Dummy axiom for demonstration purposes')
# Elaborate a dummy theory with inconsistent propositions
theory_axiom = t1.include_axiom(axiom)
f_o1_eq_f_02 = t1.i.axiom_interpretation.infer_formula_statement(a=theory_axiom,
p=(f(o1) | u.r.eq | f(o2)), lock=False)
with u.with_variable('x') as x, u.with_variable('y') as y:
implication = t1.i.axiom_interpretation.infer_formula_statement(a=theory_axiom,
p=(f(x) | u.r.eq | f(y)) | u.r.implies | (x | u.r.neq | y), lock=True)
t1.stabilize()
# Pose the inequality hypothesis
h = t1.pose_hypothesis(hypothesis_formula=o1 | u.r.eq | o2,
subtitle='We pose the positive hypothesis')
substitution = h.child_theory.i.variable_substitution.infer_formula_statement(p=implication,
phi=u.r.tupl(o1, o2))
inequality = h.child_theory.i.modus_ponens.infer_formula_statement(p_implies_q=substitution,
p=f_o1_eq_f_02)
# Prove hypothesis inconsistency
h_inconsistency = t1.i.inconsistency_introduction_2.infer_formula_statement(
x_equal_y=h.child_statement, x_unequal_y=inequality, t=h.child_theory,
subtitle='The proposition of interest')
# And finally, use the proof-by-contradiction-2 inference-rule:
proposition_of_interest = t1.i.proof_by_refutation_2.infer_formula_statement(h=h,
inc_h=h_inconsistency, subtitle='The proposition of interest')
Let "U71" be a universe-of-discourse.
Let "T1" be a theory-derivation in U71.
Axiom (T1.A1): Let axiom A1 "Dummy axiom for demonstration purposes" be included (postulated) in T1.
Inference rule (axiom-interpretation): Let inference-rule axiom-interpretation defined as "(A, P |- P)" be included and considered valid in T1.
Proposition (T1.P1): (f1(o1) = f1(o2)). Proof: "Dummy axiom for demonstration purposes" is postulated by axiom (A1). (f1(o1) = f1(o2)) is a propositional formula interpreted from that axiom. Therefore, by the axiom-interpretation inference rule: (A, P |- P), it follows that (f1(o1) = f1(o2)). QED
Proposition (T1.P2): ((f1(x1) = f1(y1)) ==> (x1 neq y1)). Proof: "Dummy axiom for demonstration purposes" is postulated by axiom (A1). ((f1(x1) = f1(y1)) ==> (x1 neq y1)) is a propositional formula interpreted from that axiom. Therefore, by the axiom-interpretation inference rule: (A, P |- P), it follows that ((f1(x1) = f1(y1)) ==> (x1 neq y1)). QED
Axiom (H1.A2): Let axiom A2 "By hypothesis, assume (o1 = o2) is true." be included (postulated) in H1.
Inference rule (axiom-interpretation): Let inference-rule axiom-interpretation defined as "(A, P |- P)" be included and considered valid in H1.
Proposition (H1.P3): (o1 = o2). Proof: "By hypothesis, assume (o1 = o2) is true." is postulated by axiom (A2). (o1 = o2) is a propositional formula interpreted from that axiom. Therefore, by the axiom-interpretation inference rule: (A, P |- P), it follows that (o1 = o2). QED
Hypothesis (T1.H1) - We pose the positive hypothesis: (o1 = o2). This hypothesis is elaborated in theory H1.
Inference rule (variable-substitution): Let inference-rule variable-substitution defined as "(P1, O1 |- Q1)" be included and considered valid in H1.
Proposition (H1.P4): ((f1(o1) = f1(o2)) ==> (o1 neq o2)). Proof: ((f1(x1) = f1(y1)) ==> (x1 neq y1)) follows from prop. (P2). Let x1 = o1, y1 = o2. Therefore, by the variable-substitution inference rule: (P1, O1 |- Q1), it follows that ((f1(o1) = f1(o2)) ==> (o1 neq o2)). QED
Inference rule (modus-ponens): Let inference-rule modus-ponens defined as "((P3 ==> Q2), P3 |- Q2)" be included and considered valid in H1.
Proposition (H1.P5): (o1 neq o2). Proof: ((f1(o1) = f1(o2)) ==> (o1 neq o2)) follows from prop. (P4).(f1(o1) = f1(o2)) follows from prop. (P1). Therefore, by the modus-ponens inference rule: ((P3 ==> Q2), P3 |- Q2), it follows that (o1 neq o2). QED
Inference rule (inconsistency-introduction-2): Let inference-rule inconsistency-introduction-2 defined as "((P6 = Q4), (P6 neq Q4) |- Inc(T1))" be included and considered valid in T1.
Proposition (T1.P6) - The proposition of interest: Inc(H1). Proof: Let (P = Q) := (o1 = o2) follows from prop. (P3). Let (P neq Q)) := (o1 neq o2) follows from prop. (P5). Therefore, by the inconsistency-introduction-2 inference rule: ((P6 = Q4), (P6 neq Q4) |- Inc(T1)), it follows that Inc(H1). QED
Inference rule (proof-by-refutation-2): Let inference-rule proof-by-refutation-2 defined as "((H1 formulate (x4 = y4)), Inc(H1) |- (x4 neq y4))" be included and considered valid in T1.
Proposition (T1.P7) - The proposition of interest: (o1 neq o2). Proof: Let hyp. (H1) be the hypothesis (o1 = o2). Inc(H1) follows from prop. (P6). Therefore, by the proof-by-refutation-2 inference rule: ((H1 formulate (x4 = y4)), Inc(H1) |- (x4 neq y4)), it follows that (o1 neq o2). QED
Will be provided in a future version.
Will be provided in a future version.