File: .lake/packages/lean4/src/lean/Lean/Util/LeanOptions.lean

full_name: Lean.instReprLeanOptionValue
code: /-- Restriction of `DataValue` that covers exactly those cases that Lean is able to handle when passed via the `-D` flag. -/
inductive LeanOptionValue where
  | ofString (s : String)
  | ofBool   (b : Bool)
  | ofNat    (n : Nat)
  deriving Inhabited, Repr
goal: Repr Lean.LeanOptionValue

full_name: Lean.LeanOptionValue.ofString
code: /-- Restriction of `DataValue` that covers exactly those cases that Lean is able to handle when passed via the `-D` flag. -/
inductive LeanOptionValue where
  | ofString (s : String)
  | ofBool   (b : Bool)
  | ofNat    (n : Nat)
  deriving Inhabited, Repr
goal: Lean.LeanOptionValue

full_name: Lean.LeanOptionValue.ofBool
code: /-- Restriction of `DataValue` that covers exactly those cases that Lean is able to handle when passed via the `-D` flag. -/
inductive LeanOptionValue where
  | ofString (s : String)
  | ofBool   (b : Bool)
  | ofNat    (n : Nat)
  deriving Inhabited, Repr
goal: Lean.LeanOptionValue

full_name: Lean.instInhabitedLeanOptionValue
code: /-- Restriction of `DataValue` that covers exactly those cases that Lean is able to handle when passed via the `-D` flag. -/
inductive LeanOptionValue where
  | ofString (s : String)
  | ofBool   (b : Bool)
  | ofNat    (n : Nat)
  deriving Inhabited, Repr
goal: Inhabited Lean.LeanOptionValue

full_name: Lean.LeanOptionValue.ofNat
code: /-- Restriction of `DataValue` that covers exactly those cases that Lean is able to handle when passed via the `-D` flag. -/
inductive LeanOptionValue where
  | ofString (s : String)
  | ofBool   (b : Bool)
  | ofNat    (n : Nat)
  deriving Inhabited, Repr
goal: Lean.LeanOptionValue

full_name: Lean.LeanOptionValue
code: /-- Restriction of `DataValue` that covers exactly those cases that Lean is able to handle when passed via the `-D` flag. -/
inductive LeanOptionValue where
  | ofString (s : String)
  | ofBool   (b : Bool)
  | ofNat    (n : Nat)
  deriving Inhabited, Repr
goal: Type

full_name: Lean.LeanOptionValue.ofDataValue?
code: def LeanOptionValue.ofDataValue? : DataValue → Option LeanOptionValue
  
goal: Lean.DataValue → Option Lean.LeanOptionValue

full_name: Lean.LeanOptionValue.toDataValue
code: def LeanOptionValue.toDataValue : LeanOptionValue → DataValue
  
goal: Lean.LeanOptionValue → Lean.DataValue

full_name: Lean.instValueLeanOptionValue
code: instance : KVMap.Value LeanOptionValue 
goal: Lean.KVMap.Value Lean.LeanOptionValue

full_name: Lean.instCoeStringLeanOptionValue
code: instance : Coe String LeanOptionValue 
goal: Coe String Lean.LeanOptionValue

full_name: Lean.instCoeBoolLeanOptionValue
code: instance : Coe Bool LeanOptionValue 
goal: Coe Bool Lean.LeanOptionValue

full_name: Lean.instCoeNatLeanOptionValue
code: instance : Coe Nat LeanOptionValue 
goal: Coe Nat Lean.LeanOptionValue

full_name: Lean.instFromJsonLeanOptionValue
code: instance : FromJson LeanOptionValue 
goal: Lean.FromJson Lean.LeanOptionValue

full_name: Lean.instToJsonLeanOptionValue
code: instance : ToJson LeanOptionValue 
goal: Lean.ToJson Lean.LeanOptionValue

full_name: Lean.LeanOptionValue.asCliFlagValue
code: /-- Formats the lean option value as a CLI flag argument. -/
def LeanOptionValue.asCliFlagValue : (v : LeanOptionValue) → String
  
goal: String

full_name: Lean.instReprLeanOptions
code: /-- Options that are used by Lean as if they were passed using `-D`. -/
structure LeanOptions where
  values : RBMap Name LeanOptionValue Name.cmp
  deriving Inhabited, Repr
goal: Repr Lean.LeanOptions

full_name: Lean.instInhabitedLeanOptions
code: /-- Options that are used by Lean as if they were passed using `-D`. -/
structure LeanOptions where
  values : RBMap Name LeanOptionValue Name.cmp
  deriving Inhabited, Repr
goal: Inhabited Lean.LeanOptions

full_name: Lean.LeanOptions.values
code: /-- Options that are used by Lean as if they were passed using `-D`. -/
structure LeanOptions where
  values : RBMap Name LeanOptionValue Name.cmp
  deriving Inhabited, Repr
goal: Lean.RBMap Lean.Name Lean.LeanOptionValue Lean.Name.cmp

full_name: Lean.LeanOptions
code: /-- Options that are used by Lean as if they were passed using `-D`. -/
structure LeanOptions where
  values : RBMap Name LeanOptionValue Name.cmp
  deriving Inhabited, Repr
goal: Type

full_name: Lean.LeanOptions.toOptions
code: def LeanOptions.toOptions (leanOptions : LeanOptions) : Options 
goal: Lean.Options

full_name: Lean.LeanOptions.fromOptions?
code: def LeanOptions.fromOptions? (options : Options) : Option LeanOptions 
goal: Option Lean.LeanOptions

full_name: Lean.instFromJsonLeanOptions
code: instance : FromJson LeanOptions 
goal: Lean.FromJson Lean.LeanOptions

full_name: Lean.instToJsonLeanOptions
code: instance : ToJson LeanOptions 
goal: Lean.ToJson Lean.LeanOptions