- ActionSetConstraint : ConstraintType
- StateSetConstraint : ConstraintType
- KnowledgeConstraint : ConstraintType
Instances For
@[reducible, inline]
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
def
Validator.ConstraintType.throw_out_of_bounds
{α : outParam Type}
{p : α → Prop}
(T : ConstraintType)
(Eᵢ : ℕ)
:
Result α p
Equations
Instances For
def
Validator.ConstraintType.throw_not_eq
{α : outParam Type}
{p : α → Prop}
(T : ConstraintType)
(Eᵢ E'ᵢ : ℕ)
:
Result α p
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Validator.verify_bounds T limit Eᵢ = if h : Eᵢ < limit then pure ⟨(), h⟩ else T.throw_out_of_bounds Eᵢ
Instances For
Equations
Instances For
Equations
Instances For
Equations
- Validator.verify_and res1 res2 = do let __discr ← res1 match __discr with | ⟨PUnit.unit, h1⟩ => do let __discr ← res2 match __discr with | ⟨PUnit.unit, h2⟩ => pure ⟨(), ⋯⟩
Instances For
def
Validator.verifyActionsEnum
{n : ℕ}
(pt : STRIPS n)
(as : List ℕ)
:
Result' (∀ a ∈ as, a < List.length pt.actions')
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Validator.Certificate.validActionSetExpr
{n : ℕ}
{pt : STRIPS n}
(C : Certificate pt)
(Aᵢ : Fin C.actions.size)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Validator.Certificate.validStateSetExpr
{n : ℕ}
{pt : STRIPS n}
(C : Certificate pt)
(Sᵢ : Fin C.states.size)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Validator.Certificate.verifyActionSetExpr
{n : ℕ}
{pt : STRIPS n}
(C : Certificate pt)
(Aᵢ : Fin C.actions.size)
:
Result' (C.validActionSetExpr Aᵢ)
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Validator.Certificate.verifyStateSetExpr
{n : ℕ}
{pt : STRIPS n}
(C : Certificate pt)
(Sᵢ : Fin C.states.size)
:
Result' (C.validStateSetExpr Sᵢ)
Equations
- One or more equations did not get rendered due to their size.
Instances For
- validActions (Aᵢ : Fin C.actions.size) : C.validActionSetExpr Aᵢ
- validStates (Sᵢ : Fin C.states.size) : C.validStateSetExpr Sᵢ
Instances For
@[reducible, inline]
Equations
Instances For
@[irreducible]
def
Validator.Certificate.validSets.getActions'
{n : ℕ}
{pt : STRIPS n}
{C : Certificate pt}
(hC : C.validSets)
(Aᵢ : Fin C.actions.size)
:
ActionIds pt
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Validator.Certificate.validSets.getActions
{n : ℕ}
{pt : STRIPS n}
{C : Certificate pt}
(hC : C.validSets)
(Aᵢ : Fin C.actions.size)
:
Actions n
Equations
- hC.getActions Aᵢ = (hC.getActions' Aᵢ).toActions
Instances For
theorem
Validator.Certificate.validSets.getActionsAll
{n : ℕ}
{pt : STRIPS n}
{C : Certificate pt}
{hC : C.validSets}
(Aᵢ : Fin C.actions.size)
(h : C.actions[Aᵢ]? = some ActionSetExpr.all)
:
theorem
Validator.Certificate.validSets.getActionsUnion
{n : ℕ}
{pt : STRIPS n}
{C : Certificate pt}
{hC : C.validSets}
(Aᵢ A'ᵢ A''ᵢ : Fin C.actions.size)
(h : C.actions[Aᵢ]? = some (ActionSetExpr.union ↑A'ᵢ ↑A''ᵢ))
:
@[irreducible]
def
Validator.Certificate.validSets.getStates
{n : ℕ}
{pt : STRIPS n}
{C : Certificate pt}
(hC : C.validSets)
(Sᵢ : Fin C.states.size)
:
States n
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
Validator.Certificate.validSets.getStatesGoal
{n : ℕ}
{pt : STRIPS n}
{C : Certificate pt}
(hC : C.validSets)
(Sᵢ : Fin C.states.size)
(h : C.states[Sᵢ]? = some StateSetExpr.goal)
: