Skip to content

Commit 98441a9

Browse files
Copilotphilzook58
andcommitted
Standardize import alias in theories/real/interval.py
Co-authored-by: philzook58 <[email protected]>
1 parent c5f332e commit 98441a9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/kdrag/theories/real/interval.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import kdrag as kd
2-
import kdrag.theories.real as R
2+
import kdrag.theories.real as real
33
import kdrag.smt as smt
44

55
"""
@@ -13,19 +13,19 @@
1313

1414
kd.notation.getitem.register(Interval, lambda a, idx: setof(a)[idx])
1515

16-
meet = kd.define("meet", [i, j], Interval.mk(R.max(i.lo, j.lo), R.min(i.hi, j.hi)))
16+
meet = kd.define("meet", [i, j], Interval.mk(real.max(i.lo, j.lo), real.min(i.hi, j.hi)))
1717
meet_intersect = kd.prove(
1818
smt.ForAll([i, j], smt.SetIntersect(setof(i), setof(j)) == setof(meet(i, j))),
19-
by=[setof.defn, meet.defn, R.min.defn, R.max.defn],
19+
by=[setof.defn, meet.defn, real.min.defn, real.max.defn],
2020
)
2121
kd.notation.and_.register(Interval, meet)
2222

23-
join = kd.define("join", [i, j], Interval.mk(R.min(i.lo, j.lo), R.max(i.hi, j.hi)))
23+
join = kd.define("join", [i, j], Interval.mk(real.min(i.lo, j.lo), real.max(i.hi, j.hi)))
2424
join_union = kd.prove(
2525
smt.ForAll(
2626
[i, j], smt.IsSubset(smt.SetUnion(setof(i), setof(j)), setof(join(i, j)))
2727
),
28-
by=[setof.defn, join.defn, R.min.defn, R.max.defn],
28+
by=[setof.defn, join.defn, real.min.defn, real.max.defn],
2929
)
3030
kd.notation.or_.register(Interval, join)
3131

0 commit comments

Comments
 (0)