File: .lake/packages/lean4/src/lean/lake/Lake/Toml/Data/DateTime.lean

full_name: Lake.Toml.lpad
code: def lpad (s : String) (c : Char) (len : Nat) : String 
goal: String

full_name: Lake.Toml.rpad
code: def rpad (s : String) (c : Char) (len : Nat) : String 
goal: String

full_name: Lake.Toml.zpad
code: def zpad (n : Nat) (len : Nat) : String 
goal: String

full_name: Lake.Toml.instOrdDate
code: /-- A TOML date (year-month-day). -/
structure Date where
  year : Nat
  month : Nat
  day : Nat
  deriving Inhabited, DecidableEq, Ord
goal: Ord Lake.Toml.Date

full_name: Lake.Toml.Date.year
code: /-- A TOML date (year-month-day). -/
structure Date where
  year : Nat
  month : Nat
  day : Nat
  deriving Inhabited, DecidableEq, Ord
goal: Nat

full_name: Lake.Toml.instInhabitedDate
code: /-- A TOML date (year-month-day). -/
structure Date where
  year : Nat
  month : Nat
  day : Nat
  deriving Inhabited, DecidableEq, Ord
goal: Inhabited Lake.Toml.Date

full_name: Lake.Toml.Date
code: /-- A TOML date (year-month-day). -/
structure Date where
  year : Nat
  month : Nat
  day : Nat
  deriving Inhabited, DecidableEq, Ord
goal: Type

full_name: Lake.Toml.Date.day
code: /-- A TOML date (year-month-day). -/
structure Date where
  year : Nat
  month : Nat
  day : Nat
  deriving Inhabited, DecidableEq, Ord
goal: Nat

full_name: Lake.Toml.Date.month
code: /-- A TOML date (year-month-day). -/
structure Date where
  year : Nat
  month : Nat
  day : Nat
  deriving Inhabited, DecidableEq, Ord
goal: Nat

full_name: Lake.Toml.Date.IsLeapYear
code: abbrev IsLeapYear (y : Nat) : Prop 
goal: Prop

full_name: Lake.Toml.Date.IsValidMonth
code: abbrev IsValidMonth (m : Nat) : Prop 
goal: Prop

full_name: Lake.Toml.Date.maxDay
code: def maxDay (y m : Nat) :  Nat 
goal: Nat

full_name: Lake.Toml.Date.IsValidDay
code: abbrev IsValidDay (y m d : Nat) : Prop 
goal: Prop

full_name: Lake.Toml.Date.ofValid?
code: def ofValid? (year month day : Nat) : Option Date 
goal: Option Lake.Toml.Date

full_name: Lake.Toml.Date.ofString?
code: def ofString? (t : String) : Option Date 
goal: Option Lake.Toml.Date

full_name: Lake.Toml.Date.toString
code: protected def toString (d : Date) : String 
goal: String

full_name: Lake.Toml.Date.instToString
code: instance : ToString Date 
goal: ToString Lake.Toml.Date

full_name: Lake.Toml.instInhabitedTime
code: /--
A TOML time (hour:minute:second.fraction).

We do not represent whole time as seconds to due to the possibility
of leap seconds in RFC 3339 times.
-/
structure Time where
  hour : Nat
  minute : Nat
  second : Nat
  fracExponent : Nat := 0
  fracMantissa : Nat := 0
  deriving Inhabited, DecidableEq
goal: Inhabited Lake.Toml.Time

full_name: Lake.Toml.Time
code: /--
A TOML time (hour:minute:second.fraction).

We do not represent whole time as seconds to due to the possibility
of leap seconds in RFC 3339 times.
-/
structure Time where
  hour : Nat
  minute : Nat
  second : Nat
  fracExponent : Nat := 0
  fracMantissa : Nat := 0
  deriving Inhabited, DecidableEq
goal: Type

full_name: Lake.Toml.Time.minute
code: /--
A TOML time (hour:minute:second.fraction).

We do not represent whole time as seconds to due to the possibility
of leap seconds in RFC 3339 times.
-/
structure Time where
  hour : Nat
  minute : Nat
  second : Nat
  fracExponent : Nat := 0
  fracMantissa : Nat := 0
  deriving Inhabited, DecidableEq
goal: Nat

full_name: Lake.Toml.Time.fracExponent
code: /--
A TOML time (hour:minute:second.fraction).

We do not represent whole time as seconds to due to the possibility
of leap seconds in RFC 3339 times.
-/
structure Time where
  hour : Nat
  minute : Nat
  second : Nat
  fracExponent : Nat := 0
  fracMantissa : Nat := 0
  deriving Inhabited, DecidableEq
goal: Nat

full_name: Lake.Toml.Time.fracMantissa
code: /--
A TOML time (hour:minute:second.fraction).

We do not represent whole time as seconds to due to the possibility
of leap seconds in RFC 3339 times.
-/
structure Time where
  hour : Nat
  minute : Nat
  second : Nat
  fracExponent : Nat := 0
  fracMantissa : Nat := 0
  deriving Inhabited, DecidableEq
goal: Nat

full_name: Lake.Toml.Time.second
code: /--
A TOML time (hour:minute:second.fraction).

We do not represent whole time as seconds to due to the possibility
of leap seconds in RFC 3339 times.
-/
structure Time where
  hour : Nat
  minute : Nat
  second : Nat
  fracExponent : Nat := 0
  fracMantissa : Nat := 0
  deriving Inhabited, DecidableEq
goal: Nat

full_name: Lake.Toml.Time.hour
code: /--
A TOML time (hour:minute:second.fraction).

We do not represent whole time as seconds to due to the possibility
of leap seconds in RFC 3339 times.
-/
structure Time where
  hour : Nat
  minute : Nat
  second : Nat
  fracExponent : Nat := 0
  fracMantissa : Nat := 0
  deriving Inhabited, DecidableEq
goal: Nat

full_name: Lake.Toml.Time.IsValidHour
code: abbrev IsValidHour (h : Nat) : Prop 
goal: Prop

full_name: Lake.Toml.Time.IsValidMinute
code: abbrev IsValidMinute (m : Nat) : Prop 
goal: Prop

full_name: Lake.Toml.Time.IsValidSecond
code: abbrev IsValidSecond (s : Nat) : Prop 
goal: Prop

full_name: Lake.Toml.Time.zero
code: def zero : Time 
goal: Lake.Toml.Time

full_name: Lake.Toml.Time.instOfNat
code: instance : OfNat Time (nat_lit 0) 
goal: OfNat Lake.Toml.Time 0

full_name: Lake.Toml.Time.ofValid?
code: def ofValid? (hour minute second : Nat) : Option Time 
goal: Option Lake.Toml.Time

full_name: Lake.Toml.Time.ofString?
code: def ofString? (t : String) : Option Time 
goal: Option Lake.Toml.Time

full_name: Lake.Toml.Time.toString
code: protected def toString (t : Time) : String 
goal: String

full_name: Lake.Toml.Time.instToString
code: instance : ToString Time 
goal: ToString Lake.Toml.Time

full_name: Lake.Toml.instInhabitedDateTime
code: /-- A TOML date-time. -/
inductive DateTime
| offsetDateTime (date : Date) (time : Time) (offset? : Option (Bool × Time) := none)
| localDateTime (date : Date) (time : Time)
| localDate (date : Date)
| localTime (time : Time)
deriving Inhabited, DecidableEq
goal: Inhabited Lake.Toml.DateTime

full_name: Lake.Toml.DateTime.localDateTime
code: /-- A TOML date-time. -/
inductive DateTime
| offsetDateTime (date : Date) (time : Time) (offset? : Option (Bool × Time) := none)
| localDateTime (date : Date) (time : Time)
| localDate (date : Date)
| localTime (time : Time)
deriving Inhabited, DecidableEq
goal: Lake.Toml.DateTime

full_name: Lake.Toml.DateTime.localDate
code: /-- A TOML date-time. -/
inductive DateTime
| offsetDateTime (date : Date) (time : Time) (offset? : Option (Bool × Time) := none)
| localDateTime (date : Date) (time : Time)
| localDate (date : Date)
| localTime (time : Time)
deriving Inhabited, DecidableEq
goal: Lake.Toml.DateTime

full_name: Lake.Toml.DateTime.localTime
code: /-- A TOML date-time. -/
inductive DateTime
| offsetDateTime (date : Date) (time : Time) (offset? : Option (Bool × Time) := none)
| localDateTime (date : Date) (time : Time)
| localDate (date : Date)
| localTime (time : Time)
deriving Inhabited, DecidableEq
goal: Lake.Toml.DateTime

full_name: Lake.Toml.DateTime.offsetDateTime
code: /-- A TOML date-time. -/
inductive DateTime
| offsetDateTime (date : Date) (time : Time) (offset? : Option (Bool × Time) := none)
| localDateTime (date : Date) (time : Time)
| localDate (date : Date)
| localTime (time : Time)
deriving Inhabited, DecidableEq
goal: Lake.Toml.DateTime

full_name: Lake.Toml.DateTime
code: /-- A TOML date-time. -/
inductive DateTime
| offsetDateTime (date : Date) (time : Time) (offset? : Option (Bool × Time) := none)
| localDateTime (date : Date) (time : Time)
| localDate (date : Date)
| localTime (time : Time)
deriving Inhabited, DecidableEq
goal: Type

full_name: Lake.Toml.instCoeDateDateTime
code: instance : Coe Date DateTime 
goal: Coe Lake.Toml.Date Lake.Toml.DateTime

full_name: Lake.Toml.instCoeTimeDateTime
code: instance : Coe Time DateTime 
goal: Coe Lake.Toml.Time Lake.Toml.DateTime

full_name: Lake.Toml.DateTime.ofString?
code: def ofString? (dt : String) : Option DateTime 
goal: Option Lake.Toml.DateTime

full_name: Lake.Toml.DateTime.toString
code: protected def toString (dt : DateTime) : String 
goal: String

full_name: Lake.Toml.DateTime.instToString
code: instance : ToString DateTime 
goal: ToString Lake.Toml.DateTime