This file contains the symbolic encoding (factory functions) for extension operators.
The extension functions are total. If given well-formed and type-correct arguments, an extension function will return a well-formed and type-correct output. Otherwise, the output is an arbitrary term.
This design lets us minimize the number of error paths in the overall specification of symbolic compilation, which makes for nicer code and proofs, and it more closely tracks the specification of the concrete evaluator.
See Compiler.lean to see how the symbolic compiler uses this API. See also
Factory.lean.
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
Instances For
Equations
- Cedar.SymCC.IPAddr.inRange range t₁ t₂ = Cedar.SymCC.Factory.and (Cedar.SymCC.Factory.bvule (range t₁).snd (range t₂).snd) (Cedar.SymCC.Factory.bvule (range t₂).fst (range t₁).fst)
Instances For
Equations
- Cedar.SymCC.IPAddr.inRangeV isIp range t₁ t₂ = Cedar.SymCC.Factory.and (Cedar.SymCC.Factory.and (isIp t₁) (isIp t₂)) (Cedar.SymCC.IPAddr.inRange range t₁ t₂)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
def
Cedar.SymCC.IPAddr.inRangeLit
(t : Term)
(cidr₄ : Spec.Ext.IPAddr.CIDR Spec.Ext.IPAddr.V4_WIDTH)
(cidr₆ : Spec.Ext.IPAddr.CIDR Spec.Ext.IPAddr.V6_WIDTH)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.