import Tablet.DecimalLexeme import Tablet.F64 import Tablet.num_imp_dec2flt_common_BiasedFp import Tablet.num_imp_dec2flt_decimal_Decimal import Mathlib.Data.Real.Basic open Aeneas Aeneas.Std Result ControlFlow Error set_option autoImplicit false namespace dec2flt_model -- [TABLET NODE: DecimalGoalVocabulary] structure DecimalGoalVocabulary where -- BODY bytes : Slice Std.U8 -> List Nat sourceString : Str -> Prop validNumeric : DecimalLexeme -> Prop renderNumeric : DecimalLexeme -> List Nat lexicalNegative : DecimalLexeme -> Bool specialLiteral : List Nat -> Option Bool -> Bool -> Prop classifies : List Nat -> Option (Sum DecimalLexeme (Option Bool × Bool)) -> Prop mathExplicitExponent : DecimalLexeme -> Int accumulatedExplicitExponent : DecimalLexeme -> Int exactMagnitude : DecimalLexeme -> Real accumulatedMagnitude : DecimalLexeme -> Real decimalMagnitude : num.imp.dec2flt.decimal.Decimal -> Real roundsMagnitude : Real -> F64 -> Prop isNan : F64 -> Prop isInfinity : Bool -> F64 -> Prop isNegative : F64 -> Prop signedMagnitude : Bool -> F64 -> F64 -> Prop assembledWord : num.imp.dec2flt.common.BiasedFp -> F64 -> Prop end dec2flt_model