Use correct symbols

The unicode symbols are some strange script, they look similar but are not the actual symbols for
math operations. They are leftovers from version 1. The actual values were fixed but not the comments.
master
Salvo 'LtWorf' Tomaselli 2020-06-09 12:32:09 +07:00
parent 72c4746578
commit 6208333f48
No known key found for this signature in database
GPG Key ID: B3A7CF0C801886CF
1 changed files with 8 additions and 8 deletions

@ -126,14 +126,14 @@ def duplicated_select(n: parser.Node) -> Tuple[parser.Node, int]:
def futile_union_intersection_subtraction(n: parser.Node) -> Tuple[parser.Node, int]:
'''This function locates things like r r, and replaces them with r.
R R --> R
R R --> R
'''This function locates things like r r, and replaces them with r.
R R --> R
R R --> R
R - R --> σ False (R)
σ k (R) - R --> σ False (R)
R - σ k (R) --> σ not k (R)
σ k (R) R --> R
σ k (R) R --> σ k (R)
σ k (R) R --> R
σ k (R) R --> σ k (R)
'''
changes = 0
@ -176,9 +176,9 @@ def futile_union_intersection_subtraction(n: parser.Node) -> Tuple[parser.Node,
def down_to_unions_subtractions_intersections(n: parser.Node) -> Tuple[parser.Node, int]:
'''This funcion locates things like σ i==2 (c d), where the union
'''This funcion locates things like σ i==2 (c d), where the union
can be a subtraction and an intersection and replaces them with
σ i==2 (c) σ i==2(d).
σ i==2 (c) σ i==2(d).
'''
changes = 0
_o = (UNION, DIFFERENCE, INTERSECTION)
@ -440,7 +440,7 @@ def swap_rename_select(n: parser.Node) -> int:
def select_union_intersect_subtract(n: parser.Node) -> int:
'''This function locates things like σ i(a) σ q(a)
'''This function locates things like σ i(a) σ q(a)
and replaces them with σ (i OR q) (a)
Removing a O() operation like the union'''
changes = 0