Library test
Require Import UniverseComparator.UniverseComparator.
Set Printing Universes.
Universes i j.
Monomorphic Definition X : Type@{i} := Type@{j}.
Set Printing Universes.
Universes i j.
Monomorphic Definition X : Type@{i} := Type@{j}.
Compare Universes "Top.3" ? "Top.4".
Compare Universes "Top.3" ? "Top.4" of PLX.
Compare Universes "x" ? "y" of W.
Commad | Result |
---|---|
Compare Universes "x" < "y" Of W. | Doesn't hold because: x > y |
Compare Universes "x" <= "y" Of W. | Doesn't hold because: x > y |
Compare Universes "x" = "y" Of W. | Doesn't hold because: x > y |
Compare Universes "x" > "y" Of W. | Holds: x > y |
Compare Universes "x" >= "y" Of W. | Holds because: x > y |
Fail Compare Universes "x" < "y" of W.
Fail Compare Universes "x" ≤ "y" of W.
Fail Compare Universes "x" = "y" of W.
Compare Universes "x" > "y" of W.
Compare Universes "x" ≥ "y" of W.
By default, Compare Unvierses command issues an error if the comparison result doesn't hold.
This feature can be dissibled by:
Unset Universe Comparison Error.
Compare Universes "x" < "y" of W.
And reenabled by:
Set Universe Comparison Error.
Fail Compare Universes "x" < "y" of W.