import Tablet.DecimalGoalVocabularyDefault import Tablet.SourceValidByteSlice import Tablet.F64_Insts_Dec2flt_modelNumImpDec2fltLemireU64 import Tablet.F64_Insts_CoreOpsArithDivF64F64 import Tablet.F64_Insts_CoreOpsArithMulF64F64 import Tablet.F64_Insts_CoreOpsArithNegF64 import Tablet.F64_Insts_Dec2flt_modelNumImpTraitsFloatExtU64 import Tablet.num_imp_dec2flt_dec2flt import Tablet.num_imp_dec2flt_dec2flt_with_trace import Tablet.num_imp_dec2flt_parse_parse_number import Tablet.num_imp_dec2flt_parse_parse_inf_nan import Tablet.num_imp_dec2flt_decimal_Decimal_try_fast_path import Tablet.num_imp_dec2flt_lemire_compute_float import Tablet.num_imp_dec2flt_slow_parse_long_mantissa import Tablet.num_imp_dec2flt_biased_fp_to_float import Tablet.InvalidOverflowBoundaryWitness import Tablet.NumberHelperRejectionSafeLength open Aeneas Aeneas.Std Result ControlFlow Error set_option autoImplicit false namespace dec2flt_model -- [TABLET NODE: TrellisConditional_c0b964755dfba82a] theorem TrellisConditional_c0b964755dfba82a : ∀ (s : Aeneas.Std.Slice.{0} Aeneas.Std.U8), @LE.le.{0} Nat instLENat (@List.length.{0} Aeneas.Std.U8 (@Subtype.val.{1} (List.{0} Aeneas.Std.U8) (fun (l : List.{0} Aeneas.Std.U8) => @LE.le.{0} Nat instLENat (@List.length.{0} Aeneas.Std.U8 l) Aeneas.Std.Usize.max) s)) (@OfNat.ofNat.{0} Nat (nat_lit 9223372036854120459) (instOfNatNat (nat_lit 9223372036854120459))) → dec2flt_model.SourceValidByteSlice s → @Ne.{1} (List.{0} Aeneas.Std.U8) (@Subtype.val.{1} (List.{0} Aeneas.Std.U8) (fun (l : List.{0} Aeneas.Std.U8) => @LE.le.{0} Nat instLENat (@List.length.{0} Aeneas.Std.U8 l) Aeneas.Std.Usize.max) s) (@List.nil.{0} Aeneas.Std.U8) → Not (@Exists.{1} dec2flt_model.DecimalLexeme fun (x : dec2flt_model.DecimalLexeme) => And (@Eq.{1} (Option.{0} Bool) (dec2flt_model.DecimalLexeme.leadingSign x) (@Option.none.{0} Bool)) (And (dec2flt_model.DecimalGoalVocabulary.validNumeric dec2flt_model.DecimalGoalVocabularyDefault x) (@Eq.{1} (List.{0} Nat) (dec2flt_model.DecimalGoalVocabulary.bytes dec2flt_model.DecimalGoalVocabularyDefault s) (dec2flt_model.DecimalGoalVocabulary.renderNumeric dec2flt_model.DecimalGoalVocabularyDefault x)))) → @Eq.{1} (Aeneas.Std.Result.{0} (Option.{0} dec2flt_model.num.imp.dec2flt.decimal.Decimal)) (dec2flt_model.num.imp.dec2flt.parse.parse_number s) (@Aeneas.Std.Result.ok.{0} (Option.{0} dec2flt_model.num.imp.dec2flt.decimal.Decimal) (@Option.none.{0} dec2flt_model.num.imp.dec2flt.decimal.Decimal)) := by -- BODY intro s hlen hvalid hnonempty hinvalid have hnonempty' : s.val != [] := by simpa using hnonempty exact NumberHelperRejectionSafeLength s hvalid hnonempty' hlen hinvalid