Equations
- Hex.RCF.instDecidableEqCell.decEq (Hex.RCF.Cell.open a) (Hex.RCF.Cell.open b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
- Hex.RCF.instDecidableEqCell.decEq (Hex.RCF.Cell.open cut) (Hex.RCF.Cell.root i) = isFalse ⋯
- Hex.RCF.instDecidableEqCell.decEq (Hex.RCF.Cell.root i) (Hex.RCF.Cell.open cut) = isFalse ⋯
- Hex.RCF.instDecidableEqCell.decEq (Hex.RCF.Cell.root a) (Hex.RCF.Cell.root b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
Instances For
@[instance_reducible]
@[instance_reducible]
Equations
- Hex.RCF.instReprCell = { reprPrec := Hex.RCF.instReprCell.repr }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Alternating position of a cell in the left-to-right decomposition.
Equations
- (Hex.RCF.Cell.open cut).rank = 2 * ↑cut
- (Hex.RCF.Cell.root i).rank = 2 * ↑i + 1
Instances For
Deterministic left-to-right enumeration of all 2 * n + 1 cells.
Equations
- Hex.RCF.Cell.all n = (List.flatMap (fun (i : Fin n) => [Hex.RCF.Cell.open i.castSucc, Hex.RCF.Cell.root i]) (List.finRange n) ++ [Hex.RCF.Cell.open (Fin.last n)]).toArray
Instances For
Exact dyadic sample for an open cut.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Claimed carrier-root comparisons against the lower and upper endpoints of a bounded domain.
- lower : Vector Separation.RootCmp n
Each root's order relative to the excluded lower endpoint.
- upper : Vector Separation.RootCmp n
Each root's order relative to the included upper endpoint.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
- Hex.RCF.instReprIocCmps = { reprPrec := Hex.RCF.instReprIocCmps.repr }
def
Hex.RCF.IocCmps.check
(f : ZPoly)
(replay : SturmReplay)
(cert : IsolationCert)
(a b : Dyadic)
(cmps : IocCmps cert.intervals.size)
:
Recompute every claimed endpoint comparison. This validates comparison
data only. The bounded-domain layer separately checks a < b.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Executable bounded-domain relevance test for a cell. The surrounding
certificate first checks a < b. This definition assumes that the domain is
nonempty.
Equations
- One or more equations did not get rendered due to their size.
- Hex.RCF.Cell.meetsIoc cmps (Hex.RCF.Cell.root i) = (cmps.lower[i] == Hex.RCF.Separation.RootCmp.gt && cmps.upper[i] != Hex.RCF.Separation.RootCmp.gt)
Instances For
Guard the nonempty-domain relevance table against equal or reversed endpoints.
Equations
- Hex.RCF.Cell.meetsIocOn a b cmps c = (decide (a < b) && Hex.RCF.Cell.meetsIoc cmps c)