- negotiated (version : Version) : HelloOutcome
- fallbackToResp2 : HelloOutcome
Instances For
Equations
- LeanRedis.Protocol.instBEqHelloOutcome.beq (LeanRedis.Protocol.HelloOutcome.negotiated a) (LeanRedis.Protocol.HelloOutcome.negotiated b) = (a == b)
- LeanRedis.Protocol.instBEqHelloOutcome.beq LeanRedis.Protocol.HelloOutcome.fallbackToResp2 LeanRedis.Protocol.HelloOutcome.fallbackToResp2 = true
- LeanRedis.Protocol.instBEqHelloOutcome.beq x✝¹ x✝ = false
Instances For
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
- auth (request : CommandRequest) : BootstrapStep
- hello (request : CommandRequest) : BootstrapStep
- select (request : CommandRequest) : BootstrapStep
Instances For
Equations
- LeanRedis.Protocol.instBEqBootstrapStep.beq (LeanRedis.Protocol.BootstrapStep.auth a) (LeanRedis.Protocol.BootstrapStep.auth b) = (a == b)
- LeanRedis.Protocol.instBEqBootstrapStep.beq (LeanRedis.Protocol.BootstrapStep.hello a) (LeanRedis.Protocol.BootstrapStep.hello b) = (a == b)
- LeanRedis.Protocol.instBEqBootstrapStep.beq (LeanRedis.Protocol.BootstrapStep.select a) (LeanRedis.Protocol.BootstrapStep.select b) = (a == b)
- LeanRedis.Protocol.instBEqBootstrapStep.beq x✝¹ x✝ = false
Instances For
@[implicit_reducible]
@[implicit_reducible]
Equations
- (LeanRedis.Protocol.BootstrapStep.auth request).request = request
- (LeanRedis.Protocol.BootstrapStep.hello request).request = request
- (LeanRedis.Protocol.BootstrapStep.select request).request = request
Instances For
Equations
- LeanRedis.Protocol.preferredVersion LeanRedis.ProtocolPreference.resp2 = LeanRedis.Protocol.Version.resp2
- LeanRedis.Protocol.preferredVersion LeanRedis.ProtocolPreference.resp3 = LeanRedis.Protocol.Version.resp3
- LeanRedis.Protocol.preferredVersion LeanRedis.ProtocolPreference.auto = LeanRedis.Protocol.Version.resp3
Instances For
Instances For
Equations
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
- LeanRedis.Protocol.decideHelloOutcome (LeanRedis.Protocol.Resp.Value.simpleError message) = some LeanRedis.Protocol.HelloOutcome.fallbackToResp2
- LeanRedis.Protocol.decideHelloOutcome (LeanRedis.Protocol.Resp.Value.simpleString "OK") = some (LeanRedis.Protocol.HelloOutcome.negotiated LeanRedis.Protocol.Version.resp2)
- LeanRedis.Protocol.decideHelloOutcome reply = none
Instances For
Equations
- One or more equations did not get rendered due to their size.
- LeanRedis.Protocol.protocolAfterHello LeanRedis.ProtocolPreference.resp2 reply = some LeanRedis.Protocol.Version.resp2
Instances For
Equations
- LeanRedis.Protocol.initialProtocol LeanRedis.ProtocolPreference.resp2 = LeanRedis.Protocol.Version.resp2
- LeanRedis.Protocol.initialProtocol LeanRedis.ProtocolPreference.resp3 = LeanRedis.Protocol.Version.resp2
- LeanRedis.Protocol.initialProtocol LeanRedis.ProtocolPreference.auto = LeanRedis.Protocol.Version.resp2
Instances For
def
LeanRedis.Protocol.applyHelloReply
(state : State)
(preference : ProtocolPreference)
(reply : Resp.Value)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
LeanRedis.Protocol.applyBootstrapReply
(state : State)
(preference : ProtocolPreference)
(step : BootstrapStep)
(reply : Resp.Value)
:
Equations
- One or more equations did not get rendered due to their size.
- LeanRedis.Protocol.applyBootstrapReply state preference (LeanRedis.Protocol.BootstrapStep.auth request) reply = none
- LeanRedis.Protocol.applyBootstrapReply state preference (LeanRedis.Protocol.BootstrapStep.hello request) reply = LeanRedis.Protocol.applyHelloReply state preference reply
- LeanRedis.Protocol.applyBootstrapReply state preference (LeanRedis.Protocol.BootstrapStep.select request) reply = none
Instances For
def
LeanRedis.Protocol.bootstrapStateAfterStep
(state : State)
(config : Config)
(step : BootstrapStep)
(reply : Resp.Value)
:
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
def
LeanRedis.Protocol.bootstrapSucceeded
(state : State)
(preference : ProtocolPreference)
(helloReply : Resp.Value)
(database? : Option UInt32)
:
Equations
- One or more equations did not get rendered due to their size.