User Tools

Site Tools


reference:attribute_examples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
reference:attribute_examples [2011/07/06 12:41]
131.246.161.187 [of]
reference:attribute_examples [2011/07/25 12:32] (current)
131.246.41.159 [rotated]
Line 9: Line 9:
  
 Using Using
-    ​ 
     mp [of _ "C ∨ D"]     mp [of _ "C ∨ D"]
-    ​ 
 yields the more specific theorem yields the more specific theorem
  
Line 18: Line 16:
 Note that $C, D$ are no longer schematic variables but specific terms. Note that $C, D$ are no longer schematic variables but specific terms.
 ==== where ==== ==== where ====
 +
 +Consider rule/​theorem ''​mp'':​
 +
 +$\quad [|\ ?P \longrightarrow ?Q; ?P\ |] \Longrightarrow ?Q$.
 +
 +Using
 +    mp [where Q="C ∨ D"]
 +yields the more specific theorem
 +
 +$\quad [|\ ?P \longrightarrow C \vee D; ?P\ |] \Longrightarrow C \vee D$.
 +
 +Note that $C, D$ are no longer schematic variables but specific terms.
 ==== THEN ==== ==== THEN ====
 +
 +Consider the "​composite"​ theorem
 +
 +$\quad t :  (?A \vee \neg ?A) \wedge (\text{False} \longrightarrow ?A)$
 +
 +Then,
 +
 +    t [THEN conjunct1]
 +
 +yields the new theorem
 +
 +$\quad ?A \vee \neg ?A$
 ==== OF ==== ==== OF ====
 Consider rule ''​subst'':​ Consider rule ''​subst'':​
Line 34: Line 56:
 which allows substitutions from right to left. which allows substitutions from right to left.
 ==== simplified ==== ==== simplified ====
 +Consider theorem ''​Nat.le_square'':​
 +
 +$\quad ?m \leq\ ?m\ \cdot\ ?m$
 +
 +Using
 +
 +     ​Nat.le_square [simplified]
 +you get
 +
 +$\quad 0 <\ ?m \longrightarrow Suc\ 0 \leq\ ?m$
 +
 +Wether or not this is actually "​simpler"​ is certainly open to discussion, especially because the original form does say something about $?m=0$ while the ''​simplified''​ version does not.
 ==== rotated ==== ==== rotated ====
 +Consider rule ''​disjE'':​
 +
 +$\quad [|\ ?P\;\vee\; ?Q; ?P \Longrightarrow ?R; ?Q \Longrightarrow ?R\ |] \Longrightarrow ?R$.
 +
 +Then, 
 +
 +    disjE [rotated 2]
 +yields
 +
 +$\quad [|\ ?Q \Longrightarrow ?R; ?P\;\vee\; ?Q; ?P \Longrightarrow ?R\ |] \Longrightarrow ?R$.
 ==== symmetric ===== ==== symmetric =====
 +Consider the definition of set membership ''​Set.mem_def'',​
 +
 +$\quad (?x \in ?A) = ?A ?x$.
 +
 +Then,
 +
 +     test [symmetric] ​  
 +yields
 +
 +$\quad ?X ?x = (?x \in ?X)$.
reference/attribute_examples.1309948902.txt.gz · Last modified: 2011/07/06 12:41 by 131.246.161.187