Skip to content

Commit

Permalink
fix axioms for abstract figures
Browse files Browse the repository at this point in the history
  • Loading branch information
apease committed Apr 3, 2024
1 parent 8c4a6b2 commit c004704
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions Mid-level-ontology.kif
Original file line number Diff line number Diff line change
Expand Up @@ -4893,24 +4893,18 @@ exclusively of straight lines, i.e. &%OneDimensionalFigures.")
(subclass Triangle Polygon)
(documentation Triangle EnglishLanguage "Any three-sided &%Polygon.")

(=>
(instance ?TRIANGLE Triangle)
(equal
(CardinalityFn
(KappaFn ?SIDE
(sideOfFigure ?SIDE ?TRIANGLE))) 3))
(equal
(CardinalityFn
(KappaFn ?SIDE
(sideOfFigure ?SIDE Triangle))) 3))

(instance RightTriangle Triangle)
(documentation RightTriangle EnglishLanguage "Any &%Triangle that contains a &%RightAngle.")

(=>
(exists (?A)
(and
(equal ?T RightTriangle)
(instance ?T Triangle))
(exists (?A)
(and
(instance ?A RightAngle)
(angleOfFigure ?A ?T))))
(instance ?A RightAngle)
(angleOfFigure ?A Triangle)))

(subclass Quadrilateral Polygon)
(documentation Quadrilateral EnglishLanguage "Any four-sided &%Polygon.")
Expand Down

0 comments on commit c004704

Please sign in to comment.