mirror of
				https://github.com/Brandon-Rozek/matmod.git
				synced 2025-11-03 03:11:12 +00:00 
			
		
		
		
	Added ability to parse necessitation
This commit is contained in:
		
							parent
							
								
									b4b5a7d4e6
								
							
						
					
					
						commit
						46e570103f
					
				
					 4 changed files with 154 additions and 9 deletions
				
			
		
							
								
								
									
										1
									
								
								logic.py
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								logic.py
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -66,6 +66,7 @@ Negation = Operation("¬", 1)
 | 
			
		|||
Conjunction = Operation("∧", 2)
 | 
			
		||||
Disjunction = Operation("∨", 2)
 | 
			
		||||
Implication = Operation("→", 2)
 | 
			
		||||
Necessitation = Operation("!", 1)
 | 
			
		||||
 | 
			
		||||
class Inequation:
 | 
			
		||||
    def __init__(self, antecedant : Term, consequent: Term):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue