If
etaPolyis true, we eta expand any global function application when the function takes local instances. The idea is that we do not generate code for this kind of application, and we want all of them to specialized or inlined.etaPoly : BoolIf
inlinePartialistrue, we inline partial function applications tagged with[inline]. Note that this option is automatically disabled when processing declarations tagged with[inline], marked to be specialized, or instances.inlinePartial : BoolIf
implementedByistrue, we apply theimplementedByreplacements. Remark: we only applycasesOnreplacements at phase 2 becausecasesconstructor may not have enough information for reconstructing the originalcasesOnapplication at phase 1.implementedBy : Bool
Configuration options for Simp that are not controlled using set_option.
Recall that we have multiple Simp passes and they use different configurations.
Instances For
Equations
- Lean.Compiler.LCNF.Simp.instInhabitedConfig = { default := { etaPoly := default, inlinePartial := default, implementedBy := default } }