loda-cpp icon indicating copy to clipboard operation
loda-cpp copied to clipboard

Support "nrt" operation in LEAN formula generation

Open ckrause opened this issue 2 months ago • 1 comments

The general FormulaGenerator maps nrt operations to sqrtint or sqrtnint functions. Extend the LEAN formula generator to also support such programs/functions. Figure out whether LEAN has native support for it, or if there are modules for this, or if we can add ad-hoc function definitions to the generated code.

ckrause avatar Oct 24 '25 19:10 ckrause

Use Nat.nthRoot in Mathlib.Data.Nat.NthRoot.Defs

loader3229 avatar Oct 31 '25 12:10 loader3229