Documentation
Lean
.
PrettyPrinter
.
Delaborator
.
Options
Search
return to top
source
Imports
Lean.Data.Options
Imported by
Lean
.
pp
.
maxSteps
Lean
.
pp
.
all
Lean
.
pp
.
notation
Lean
.
pp
.
parens
Lean
.
pp
.
unicode
.
fun
Lean
.
pp
.
match
Lean
.
pp
.
sorrySource
Lean
.
pp
.
coercions
Lean
.
pp
.
coercions
.
types
Lean
.
pp
.
universes
Lean
.
pp
.
fullNames
Lean
.
pp
.
privateNames
Lean
.
pp
.
funBinderTypes
Lean
.
pp
.
piBinderTypes
Lean
.
pp
.
letVarTypes
Lean
.
pp
.
natLit
Lean
.
pp
.
numericTypes
Lean
.
pp
.
instantiateMVars
Lean
.
pp
.
mvars
Lean
.
pp
.
mvars
.
levels
Lean
.
pp
.
mvars
.
anonymous
Lean
.
pp
.
mvars
.
withType
Lean
.
pp
.
mvars
.
delayed
Lean
.
pp
.
beta
Lean
.
pp
.
structureInstances
Lean
.
pp
.
structureInstances
.
flatten
Lean
.
pp
.
fieldNotation
Lean
.
pp
.
fieldNotation
.
generalized
Lean
.
pp
.
explicit
Lean
.
pp
.
structureInstanceTypes
Lean
.
pp
.
safeShadowing
Lean
.
pp
.
tagAppFns
Lean
.
pp
.
proofs
Lean
.
pp
.
proofs
.
withType
Lean
.
pp
.
proofs
.
threshold
Lean
.
pp
.
instances
Lean
.
pp
.
instanceTypes
Lean
.
pp
.
deepTerms
Lean
.
pp
.
deepTerms
.
threshold
Lean
.
pp
.
motives
.
pi
Lean
.
pp
.
motives
.
nonConst
Lean
.
pp
.
motives
.
all
Lean
.
getPPMaxSteps
Lean
.
getPPAll
Lean
.
getPPFunBinderTypes
Lean
.
getPPPiBinderTypes
Lean
.
getPPLetVarTypes
Lean
.
getPPNumericTypes
Lean
.
getPPNatLit
Lean
.
getPPCoercions
Lean
.
getPPCoercionsTypes
Lean
.
getPPExplicit
Lean
.
getPPNotation
Lean
.
getPPParens
Lean
.
getPPUnicodeFun
Lean
.
getPPMatch
Lean
.
getPPSorrySource
Lean
.
getPPFieldNotation
Lean
.
getPPFieldNotationGeneralized
Lean
.
getPPStructureInstances
Lean
.
getPPStructureInstancesFlatten
Lean
.
getPPStructureInstanceType
Lean
.
getPPTagAppFns
Lean
.
getPPUniverses
Lean
.
getPPFullNames
Lean
.
getPPPrivateNames
Lean
.
getPPInstantiateMVars
Lean
.
getPPMVars
Lean
.
getPPMVarsAnonymous
Lean
.
getPPMVarsLevels
Lean
.
getPPMVarsWithType
Lean
.
getPPMVarsDelayed
Lean
.
getPPBeta
Lean
.
getPPSafeShadowing
Lean
.
getPPProofs
Lean
.
getPPProofsWithType
Lean
.
getPPProofsThreshold
Lean
.
getPPMotivesPi
Lean
.
getPPMotivesNonConst
Lean
.
getPPMotivesAll
Lean
.
getPPInstances
Lean
.
getPPInstanceTypes
Lean
.
getPPDeepTerms
Lean
.
getPPDeepTermsThreshold
source
opaque
Lean
.
pp
.
maxSteps
:
Lean.Option
Nat
source
opaque
Lean
.
pp
.
all
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
notation
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
parens
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
unicode
.
fun
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
match
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
sorrySource
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
coercions
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
coercions
.
types
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
universes
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
fullNames
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
privateNames
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
funBinderTypes
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
piBinderTypes
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
letVarTypes
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
natLit
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
numericTypes
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
instantiateMVars
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
mvars
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
mvars
.
levels
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
mvars
.
anonymous
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
mvars
.
withType
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
mvars
.
delayed
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
beta
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
structureInstances
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
structureInstances
.
flatten
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
fieldNotation
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
fieldNotation
.
generalized
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
explicit
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
structureInstanceTypes
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
safeShadowing
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
tagAppFns
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
proofs
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
proofs
.
withType
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
proofs
.
threshold
:
Lean.Option
Nat
source
opaque
Lean
.
pp
.
instances
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
instanceTypes
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
deepTerms
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
deepTerms
.
threshold
:
Lean.Option
Nat
source
opaque
Lean
.
pp
.
motives
.
pi
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
motives
.
nonConst
:
Lean.Option
Bool
source
opaque
Lean
.
pp
.
motives
.
all
:
Lean.Option
Bool
source
def
Lean
.
getPPMaxSteps
(o :
Options
)
:
Nat
Equations
Lean.getPPMaxSteps
o
=
Lean.KVMap.get
o
Lean.pp.maxSteps
.
name
Lean.pp.maxSteps
.
defValue
Instances For
source
def
Lean
.
getPPAll
(o :
Options
)
:
Bool
Equations
Lean.getPPAll
o
=
Lean.KVMap.get
o
Lean.pp.all
.
name
false
Instances For
source
def
Lean
.
getPPFunBinderTypes
(o :
Options
)
:
Bool
Equations
Lean.getPPFunBinderTypes
o
=
Lean.KVMap.get
o
Lean.pp.funBinderTypes
.
name
(
Lean.getPPAll
o
)
Instances For
source
def
Lean
.
getPPPiBinderTypes
(o :
Options
)
:
Bool
Equations
Lean.getPPPiBinderTypes
o
=
Lean.KVMap.get
o
Lean.pp.piBinderTypes
.
name
Lean.pp.piBinderTypes
.
defValue
Instances For
source
def
Lean
.
getPPLetVarTypes
(o :
Options
)
:
Bool
Equations
Lean.getPPLetVarTypes
o
=
Lean.KVMap.get
o
Lean.pp.letVarTypes
.
name
(
Lean.getPPAll
o
)
Instances For
source
def
Lean
.
getPPNumericTypes
(o :
Options
)
:
Bool
Equations
Lean.getPPNumericTypes
o
=
Lean.KVMap.get
o
Lean.pp.numericTypes
.
name
Lean.pp.numericTypes
.
defValue
Instances For
source
def
Lean
.
getPPNatLit
(o :
Options
)
:
Bool
Equations
Lean.getPPNatLit
o
=
Lean.KVMap.get
o
Lean.pp.natLit
.
name
(
Lean.getPPNumericTypes
o
&&
!
Lean.getPPAll
o
)
Instances For
source
def
Lean
.
getPPCoercions
(o :
Options
)
:
Bool
Equations
Lean.getPPCoercions
o
=
Lean.KVMap.get
o
Lean.pp.coercions
.
name
!
Lean.getPPAll
o
Instances For
source
def
Lean
.
getPPCoercionsTypes
(o :
Options
)
:
Bool
Equations
Lean.getPPCoercionsTypes
o
=
Lean.KVMap.get
o
Lean.pp.coercions.types
.
name
Lean.pp.coercions.types
.
defValue
Instances For
source
def
Lean
.
getPPExplicit
(o :
Options
)
:
Bool
Equations
Lean.getPPExplicit
o
=
Lean.KVMap.get
o
Lean.pp.explicit
.
name
(
Lean.getPPAll
o
)
Instances For
source
def
Lean
.
getPPNotation
(o :
Options
)
:
Bool
Equations
Lean.getPPNotation
o
=
Lean.KVMap.get
o
Lean.pp.notation
.
name
!
Lean.getPPAll
o
Instances For
source
def
Lean
.
getPPParens
(o :
Options
)
:
Bool
Equations
Lean.getPPParens
o
=
Lean.KVMap.get
o
Lean.pp.parens
.
name
Lean.pp.parens
.
defValue
Instances For
source
def
Lean
.
getPPUnicodeFun
(o :
Options
)
:
Bool
Equations
Lean.getPPUnicodeFun
o
=
Lean.KVMap.get
o
Lean.pp.unicode.fun
.
name
false
Instances For
source
def
Lean
.
getPPMatch
(o :
Options
)
:
Bool
Equations
Lean.getPPMatch
o
=
Lean.KVMap.get
o
Lean.pp.match
.
name
!
Lean.getPPAll
o
Instances For
source
def
Lean
.
getPPSorrySource
(o :
Options
)
:
Bool
Equations
Lean.getPPSorrySource
o
=
Lean.KVMap.get
o
Lean.pp.sorrySource
.
name
Lean.pp.sorrySource
.
defValue
Instances For
source
def
Lean
.
getPPFieldNotation
(o :
Options
)
:
Bool
Equations
Lean.getPPFieldNotation
o
=
Lean.KVMap.get
o
Lean.pp.fieldNotation
.
name
!
Lean.getPPAll
o
Instances For
source
def
Lean
.
getPPFieldNotationGeneralized
(o :
Options
)
:
Bool
Equations
Lean.getPPFieldNotationGeneralized
o
=
Lean.KVMap.get
o
Lean.pp.fieldNotation.generalized
.
name
Lean.pp.fieldNotation.generalized
.
defValue
Instances For
source
def
Lean
.
getPPStructureInstances
(o :
Options
)
:
Bool
Equations
Lean.getPPStructureInstances
o
=
Lean.KVMap.get
o
Lean.pp.structureInstances
.
name
!
Lean.getPPAll
o
Instances For
source
def
Lean
.
getPPStructureInstancesFlatten
(o :
Options
)
:
Bool
Equations
Lean.getPPStructureInstancesFlatten
o
=
Lean.KVMap.get
o
Lean.pp.structureInstances.flatten
.
name
Lean.pp.structureInstances.flatten
.
defValue
Instances For
source
def
Lean
.
getPPStructureInstanceType
(o :
Options
)
:
Bool
Equations
Lean.getPPStructureInstanceType
o
=
Lean.KVMap.get
o
Lean.pp.structureInstanceTypes
.
name
(
Lean.getPPAll
o
)
Instances For
source
def
Lean
.
getPPTagAppFns
(o :
Options
)
:
Bool
Equations
Lean.getPPTagAppFns
o
=
Lean.KVMap.get
o
Lean.pp.tagAppFns
.
name
(
Lean.getPPAll
o
)
Instances For
source
def
Lean
.
getPPUniverses
(o :
Options
)
:
Bool
Equations
Lean.getPPUniverses
o
=
Lean.KVMap.get
o
Lean.pp.universes
.
name
(
Lean.getPPAll
o
)
Instances For
source
def
Lean
.
getPPFullNames
(o :
Options
)
:
Bool
Equations
Lean.getPPFullNames
o
=
Lean.KVMap.get
o
Lean.pp.fullNames
.
name
(
Lean.getPPAll
o
)
Instances For
source
def
Lean
.
getPPPrivateNames
(o :
Options
)
:
Bool
Equations
Lean.getPPPrivateNames
o
=
Lean.KVMap.get
o
Lean.pp.privateNames
.
name
(
Lean.getPPAll
o
)
Instances For
source
def
Lean
.
getPPInstantiateMVars
(o :
Options
)
:
Bool
Equations
Lean.getPPInstantiateMVars
o
=
Lean.KVMap.get
o
Lean.pp.instantiateMVars
.
name
Lean.pp.instantiateMVars
.
defValue
Instances For
source
def
Lean
.
getPPMVars
(o :
Options
)
:
Bool
Equations
Lean.getPPMVars
o
=
Lean.KVMap.get
o
Lean.pp.mvars
.
name
Lean.pp.mvars
.
defValue
Instances For
source
def
Lean
.
getPPMVarsAnonymous
(o :
Options
)
:
Bool
Equations
Lean.getPPMVarsAnonymous
o
=
Lean.KVMap.get
o
Lean.pp.mvars.anonymous
.
name
(
Lean.pp.mvars.anonymous
.
defValue
&&
Lean.getPPMVars
o
)
Instances For
source
def
Lean
.
getPPMVarsLevels
(o :
Options
)
:
Bool
Equations
Lean.getPPMVarsLevels
o
=
Lean.KVMap.get
o
Lean.pp.mvars.levels
.
name
(
Lean.pp.mvars.levels
.
defValue
&&
Lean.getPPMVarsAnonymous
o
)
Instances For
source
def
Lean
.
getPPMVarsWithType
(o :
Options
)
:
Bool
Equations
Lean.getPPMVarsWithType
o
=
Lean.KVMap.get
o
Lean.pp.mvars.withType
.
name
Lean.pp.mvars.withType
.
defValue
Instances For
source
def
Lean
.
getPPMVarsDelayed
(o :
Options
)
:
Bool
Equations
Lean.getPPMVarsDelayed
o
=
Lean.KVMap.get
o
Lean.pp.mvars.delayed
.
name
(
Lean.pp.mvars.delayed
.
defValue
||
Lean.getPPAll
o
)
Instances For
source
def
Lean
.
getPPBeta
(o :
Options
)
:
Bool
Equations
Lean.getPPBeta
o
=
Lean.KVMap.get
o
Lean.pp.beta
.
name
Lean.pp.beta
.
defValue
Instances For
source
def
Lean
.
getPPSafeShadowing
(o :
Options
)
:
Bool
Equations
Lean.getPPSafeShadowing
o
=
Lean.KVMap.get
o
Lean.pp.safeShadowing
.
name
Lean.pp.safeShadowing
.
defValue
Instances For
source
def
Lean
.
getPPProofs
(o :
Options
)
:
Bool
Equations
Lean.getPPProofs
o
=
Lean.KVMap.get
o
Lean.pp.proofs
.
name
(
Lean.pp.proofs
.
defValue
||
Lean.getPPAll
o
)
Instances For
source
def
Lean
.
getPPProofsWithType
(o :
Options
)
:
Bool
Equations
Lean.getPPProofsWithType
o
=
Lean.KVMap.get
o
Lean.pp.proofs.withType
.
name
Lean.pp.proofs.withType
.
defValue
Instances For
source
def
Lean
.
getPPProofsThreshold
(o :
Options
)
:
Nat
Equations
Lean.getPPProofsThreshold
o
=
Lean.KVMap.get
o
Lean.pp.proofs.threshold
.
name
Lean.pp.proofs.threshold
.
defValue
Instances For
source
def
Lean
.
getPPMotivesPi
(o :
Options
)
:
Bool
Equations
Lean.getPPMotivesPi
o
=
Lean.KVMap.get
o
Lean.pp.motives.pi
.
name
Lean.pp.motives.pi
.
defValue
Instances For
source
def
Lean
.
getPPMotivesNonConst
(o :
Options
)
:
Bool
Equations
Lean.getPPMotivesNonConst
o
=
Lean.KVMap.get
o
Lean.pp.motives.nonConst
.
name
Lean.pp.motives.nonConst
.
defValue
Instances For
source
def
Lean
.
getPPMotivesAll
(o :
Options
)
:
Bool
Equations
Lean.getPPMotivesAll
o
=
Lean.KVMap.get
o
Lean.pp.motives.all
.
name
Lean.pp.motives.all
.
defValue
Instances For
source
def
Lean
.
getPPInstances
(o :
Options
)
:
Bool
Equations
Lean.getPPInstances
o
=
Lean.KVMap.get
o
Lean.pp.instances
.
name
Lean.pp.instances
.
defValue
Instances For
source
def
Lean
.
getPPInstanceTypes
(o :
Options
)
:
Bool
Equations
Lean.getPPInstanceTypes
o
=
Lean.KVMap.get
o
Lean.pp.instanceTypes
.
name
Lean.pp.instanceTypes
.
defValue
Instances For
source
def
Lean
.
getPPDeepTerms
(o :
Options
)
:
Bool
Equations
Lean.getPPDeepTerms
o
=
Lean.KVMap.get
o
Lean.pp.deepTerms
.
name
(
Lean.pp.deepTerms
.
defValue
||
Lean.getPPAll
o
)
Instances For
source
def
Lean
.
getPPDeepTermsThreshold
(o :
Options
)
:
Nat
Equations
Lean.getPPDeepTermsThreshold
o
=
Lean.KVMap.get
o
Lean.pp.deepTerms.threshold
.
name
Lean.pp.deepTerms.threshold
.
defValue
Instances For