-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from isahers1/Maxine_branch
Maxine branch
- Loading branch information
Showing
13 changed files
with
173 additions
and
70 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
from enum import unique | ||
from telnetlib import GA | ||
from proof import * | ||
from element import * | ||
from group import * | ||
from integer import * | ||
from logicObjects import * | ||
|
||
G = group('G','*') | ||
ab_inverse = forall(['a','b'], G, Eq(Mult([inverse('b',G),inverse('a',G)]),Mult([inverse(Mult(['a','b']),G)]),G)) | ||
p = Proof('Inverse of ab Proof', assumption = None, goal = ab_inverse) | ||
p.introGroup(G) | ||
p.introElement(G,'a') | ||
p.introElement(G,'b') | ||
p.closure(G,'a','b') | ||
p.introInverse(G, Mult(['a','b'])) | ||
p.rightMultInverse('b',4) | ||
p.inverseElimLHS(5) | ||
p.identleft(6) | ||
p.identright(7) | ||
p.rightMultInverse('a',8) | ||
p.inverseElimLHS(9) | ||
p.identleft(10) | ||
p.switchSidesOfEqual(11) | ||
p.forAllIntroduction(12,["a","b"],[1,2]) | ||
p.qed(13) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.