Equations
- LeanRedis.Protocol.instBEqPhase.beq LeanRedis.Protocol.Phase.disconnected LeanRedis.Protocol.Phase.disconnected = true
- LeanRedis.Protocol.instBEqPhase.beq (LeanRedis.Protocol.Phase.connecting a) (LeanRedis.Protocol.Phase.connecting b) = (a == b)
- LeanRedis.Protocol.instBEqPhase.beq (LeanRedis.Protocol.Phase.bootstrapping a) (LeanRedis.Protocol.Phase.bootstrapping b) = (a == b)
- LeanRedis.Protocol.instBEqPhase.beq (LeanRedis.Protocol.Phase.ready a a_1) (LeanRedis.Protocol.Phase.ready b b_1) = (a == b && a_1 == b_1)
- LeanRedis.Protocol.instBEqPhase.beq (LeanRedis.Protocol.Phase.reconnecting a) (LeanRedis.Protocol.Phase.reconnecting b) = (a == b)
- LeanRedis.Protocol.instBEqPhase.beq LeanRedis.Protocol.Phase.closing LeanRedis.Protocol.Phase.closing = true
- LeanRedis.Protocol.instBEqPhase.beq (LeanRedis.Protocol.Phase.failed a) (LeanRedis.Protocol.Phase.failed b) = (a == b)
- LeanRedis.Protocol.instBEqPhase.beq x✝¹ x✝ = false
Instances For
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- phase : Phase
- lastReply? : Option Resp.Value
Instances For
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
Equations
Instances For
- requestConnect : Action
- transportOpened : Action
- transportFailed (error : String) : Action
- bootstrapComplete (replies : Array Resp.Value) : Action
- replyReceived (request? : Option CommandRequest) (reply : Resp.Value) : Action
- remoteDisconnect : Action
- reconnectTick : Action
- reconnectExhausted : Action
- requestDisconnect : Action
- closeComplete : Action
Instances For
@[implicit_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
Equations
- LeanRedis.Protocol.instBEqEventTag.beq x✝ y✝ = (x✝.ctorIdx == y✝.ctorIdx)
Instances For
@[implicit_reducible]
Equations
Equations
- LeanRedis.Protocol.instBEqEffect.beq LeanRedis.Protocol.Effect.sendBootstrapRequests LeanRedis.Protocol.Effect.sendBootstrapRequests = true
- LeanRedis.Protocol.instBEqEffect.beq LeanRedis.Protocol.Effect.closeTransport LeanRedis.Protocol.Effect.closeTransport = true
- LeanRedis.Protocol.instBEqEffect.beq (LeanRedis.Protocol.Effect.emit a) (LeanRedis.Protocol.Effect.emit b) = (a == b)
- LeanRedis.Protocol.instBEqEffect.beq x✝¹ x✝ = false
Instances For
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
Equations
Instances For
Equations
- session.isDisconnected = match session.phase with | LeanRedis.Protocol.Phase.disconnected => true | x => false
Instances For
Equations
- session.selectedDb? = match session.phase with | LeanRedis.Protocol.Phase.ready version db => db | x => none
Instances For
Equations
- One or more equations did not get rendered due to their size.
- session.step LeanRedis.Protocol.Action.requestConnect config = ({ phase := LeanRedis.Protocol.Phase.connecting 0, lastReply? := session.lastReply? }, #[])
- session.step (LeanRedis.Protocol.Action.replyReceived none reply) config = ({ phase := LeanRedis.Protocol.Phase.ready v (none.orElse fun (x : Unit) => db), lastReply? := some reply }, #[])
- session.step LeanRedis.Protocol.Action.reconnectExhausted config = ({ lastReply? := session.lastReply? }, #[LeanRedis.Protocol.Effect.emit LeanRedis.Protocol.EventTag.reconnectStopped])
- session.step LeanRedis.Protocol.Action.closeComplete config = ({ lastReply? := session.lastReply? }, #[])
- session.step action✝ config = (session, #[])