winding
本頁內容尚未翻譯。
intPosPart
Section titled “intPosPart”def intPosPart (z : Int) : NatThe non-negative part of an integer: k for pos k and zero for any negative integer.
intNegPart
Section titled “intNegPart”def intNegPart (z : Int) : NatThe negative part of an integer: k for negsucc k and zero for any non-negative integer.
intIsPos
Section titled “intIsPos”def intIsPos (z : Int) : TypeType family that is inhabited (Unit) exactly on non-negative integers and empty on negative ones.
posInj
Section titled “posInj”def posInj (m : Nat) (n : Nat) (p : pos m ≡ pos n) : m ≡ nInjectivity of pos: a path between pos m and pos n gives a path between m and n.
negsuccInj
Section titled “negsuccInj”def negsuccInj (m : Nat) (n : Nat) (p : negsucc m ≡ negsucc n) : m ≡ nInjectivity of negsucc: a path between negsucc m and negsucc n gives a path between m and n.
posNeqNegsucc
Section titled “posNeqNegsucc”def posNeqNegsucc (m : Nat) (n : Nat) (p : pos m ≡ negsucc n) : EmptyA non-negative integer is never path-equal to a negative one.
negsuccNeqPos
Section titled “negsuccNeqPos”def negsuccNeqPos (m : Nat) (n : Nat) (p : negsucc m ≡ pos n) : EmptyA negative integer is never path-equal to a non-negative one.
isDiscreteInt
Section titled “isDiscreteInt”def isDiscreteInt (x : Int) (y : Int) : Dec (x ≡ y)Path equality on Int is decidable.
isSetInt
Section titled “isSetInt”def isSetInt : isSet IntInt is a set (all its path types are propositions), by Hedberg’s theorem.
sucFiberPath
Section titled “sucFiberPath”def sucFiberPath (b : Int) (fib : fiber Int Int Int.succ b) : Int.pred b ≡ fst fibIn any fiber of Int.succ over b, the point is path-equal to Int.pred b.
sucEquiv
Section titled “sucEquiv”def sucEquiv : Equiv Int IntThe successor on Int as an equivalence, with each fiber contractible around Int.pred b.
def Code (x : S1) : TypeThe universal cover (helix) of the circle: Int over base, with loop sent to the univalence path of sucEquiv.
winding
Section titled “winding”def winding (p : base ≡ base) : IntWinding number of a loop at base, computed by transporting 0 along the helix.
windingRefl
Section titled “windingRefl”theorem windingRefl : winding refl ≡ pos zeroThe winding number of the constant loop is 0.
windingLoop
Section titled “windingLoop”theorem windingLoop : winding loop ≡ pos (succ zero)The winding number of loop is 1.
windingSymLoop
Section titled “windingSymLoop”theorem windingSymLoop : winding (sym loop) ≡ negsucc zeroThe winding number of the inverse loop is -1.
windingLoopLoop
Section titled “windingLoopLoop”theorem windingLoopLoop : winding (trans loop loop) ≡ pos (succ (succ zero))The winding number of loop composed with itself is 2.