NumberHelperDigitScanSourceLength

Lean checked

Statement

This explanation was written alongside the formalization to describe the statement and its reasoning.

Lemma · Safe and exact digit scanning

Let a byte slice of length at most 9223372036854775807 be the concatenation of a list of ASCII decimal digits and a tail whose first byte, if any, is not an ASCII decimal digit. For every initial unsigned accumulator, the extracted try_parse_digits returns normally, and its returned slice is exactly that tail.

Lean statement

Trellis authored these statements and proofs. Lean checks the formal proofs; the assumptions used by each proof are listed below.

import Tablet.Assumptions
import Tablet.NumberHelperEightDigitWord
import Tablet.NumberHelperEightDigitWordAccepted
import Tablet.NumberHelperParseEightDigitsSafe
import Tablet.NumberHelperReadEightBytes
import Tablet.SliceU8_Insts_Dec2flt_modelNumImpDec2fltCommonByteSlice_read_u64
import Tablet.num_imp_dec2flt_common_is_8digits
import Tablet.num_imp_dec2flt_parse_parse_8digits
import Tablet.num_imp_dec2flt_parse_try_parse_digits

open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false

namespace dec2flt_model

-- [TABLET NODE: NumberHelperDigitScanSourceLength]
theorem NumberHelperDigitScanSourceLength :
    forall (s : Slice Std.U8) (initial : Std.U64)
      (digits tail : List Std.U8),
      s.val = digits ++ tail ->
      (forall b, List.Mem b digits -> 48 <= b.val /\ b.val <= 57) ->
      (forall b rest, tail = b :: rest ->
        Not (48 <= b.val /\ b.val <= 57)) ->
      s.val.length <= 9223372036854775807 ->
      exists (value : Std.U64) (rest : Slice Std.U8),
        num.imp.dec2flt.parse.try_parse_digits s initial = ok (rest, value) /\
        rest.val = tail := by
Proof

Natural-language proof

The status above describes the Lean proof. Its explanatory prose may remain a sketch after that proof closes.

Explanatory prose status

Prose retained as authored. The explanatory prose is preserved as it stood when captured.

Proof

Put C=9223372036854775807 and let L be the input length. By Assumptions, the target has 64-bit usize and isize; in particular L\leq C<2^{63}<2^{64}. We audit the two loops in num imp dec2flt parse try parse digits.
In the first loop, a read is made only when at least eight bytes remain. Thus SliceU8 Insts Dec2flt modelNumImpDec2fltCommonByteSlice read u64 copies an in-bounds eight-byte prefix and returns its little-endian word. We first show that the predicate in num imp dec2flt common is 8digits accepts exactly when all eight bytes are digits. Soundness in the forward direction is the only subtle part. Write the bytes as b_0,\ldots,b_7. In the wrapping subtraction by eight copies of 0x30, induct from the least significant byte. The incoming borrow is initially zero. If b_i<48, the result byte is in [208,255], contradicting the accepted word's zero 0x80 bit. Consequently b_i\geq48, no borrow leaves that byte, and the result-byte high bit further gives b_i\leq175. In the wrapping addition by eight copies of 0x46, the incoming carry is likewise initially zero. Under the preceding bound, b_i\geq58 would produce a byte in [128,245], again contradicting the zero high bit. Hence b_i\leq57 and no carry leaves the byte. Both inductions cross all seven byte boundaries, so there is no false positive. Conversely, bytes in [48,57] plainly create neither a borrow nor a high bit in either operation, so the test accepts them.
On an accepted word, the checked subtraction in num imp dec2flt parse parse 8digits produces a word v'<2^{60}. Its checked multiplication by ten is below 10\cdot2^{60}<2^{64}; the checked shift by eight is defined and below 2^{52}, and the checked sum is below 10\cdot2^{60}+2^{52}<2^{64}. The later shifts by 16 and 32 are also in range. The intervening masked multiplications and addition are wrapping, and the word after the final shift is at most 2^{32}-1, so its checked cast to u32 succeeds. The outer accumulator update is wrapping. The continuing branch then drops exactly the eight bytes just read. Each continuation strictly reduces the remaining length, so the first loop terminates after consuming whole eight-byte blocks contained in the stated digit prefix. It cannot cross into the tail, because a block containing its nondigit first byte fails the exact test.
The scalar loop starts on the resulting suffix. At count j its guard j< the suffix length justifies the byte access. For a digit, wrapping subtraction by 48 gives a value below ten, the byte-to-u64 cast is exact, the accumulator multiplication and addition are wrapping, and the checked increment gives j+1 no larger than the suffix length and hence no larger than L<2^{64}. It therefore consumes all remaining bytes of the given digit prefix. At the first tail byte the digit test fails, or at an empty tail the length guard fails. The final slice begins at this bounded count, so it succeeds and equals the unconsumed tail. This proves both the normal return and the asserted exact remainder for every initial accumulator.

Lean proof


  intro s initial digits tail hs hdigits htail hlen
  have fast : forall (t : Slice Std.U8) (a : Std.U64) (ds : List Std.U8),
      t.val = ds ++ tail ->
      (forall b, List.Mem b ds -> 48 <= b.val /\ b.val <= 57) ->
      t.val.length <= 9223372036854775807 ->
      num.imp.dec2flt.parse.try_parse_digits_loop0 t a
        ⦃ p => exists rem : List Std.U8,
          p.1.val = rem ++ tail /\
          (forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) /\
          p.1.val.length <= 9223372036854775807 ⦄ := by
    intro t a ds htds hds htlen
    unfold num.imp.dec2flt.parse.try_parse_digits_loop0
    apply Aeneas.Std.loop.spec_decr_nat
      (fun p : Slice Std.U8 × Std.U64 => p.1.length)
      (fun p => exists rem : List Std.U8,
        p.1.val = rem ++ tail /\
        (forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) /\
        p.1.val.length <= 9223372036854775807)
      (fun p => exists rem : List Std.U8,
        p.1.val = rem ++ tail /\
        (forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) /\
        p.1.val.length <= 9223372036854775807)
      (fun p => num.imp.dec2flt.parse.try_parse_digits_loop0.body p.1 p.2)
      (t, a)
    · intro p hp
      rcases p with ⟨u, x⟩
      rcases hp with ⟨rem, hurem, hrem, hulen⟩
      change u.val = rem ++ tail at hurem
      change u.val.length <= 9223372036854775807 at hulen
      simp [num.imp.dec2flt.parse.try_parse_digits_loop0.body, WP.spec_ok,
        Slice.length]
      split
      · rename_i h8
        obtain ⟨chunk, hread, hbyte⟩ := NumberHelperReadEightBytes u h8
        rw [hread]
        simp [num.imp.dec2flt.common.is_8digits, Aeneas.Std.lift]
        split
        · rename_i haccepted
          have haccepted :
              num.imp.dec2flt.common.is_8digits chunk = ok true := by
            simp [num.imp.dec2flt.common.is_8digits, Aeneas.Std.lift,
              haccepted]
          have hrem8 : 8 <= rem.length := by
            by_contra hn
            have hrem_lt : rem.length < 8 := by omega
            have htail_pos : 0 < tail.length := by
              by_contra hzero
              have ht0 : tail = [] := List.eq_nil_of_length_eq_zero (by omega)
              have heq := congrArg List.length hurem
              simp [ht0] at heq
              omega
            obtain ⟨b, rest, htail_eq⟩ :=
              List.exists_cons_of_length_pos htail_pos
            have hindex : rem.length < u.val.length := by omega
            have hbyte_eq := hbyte rem.length hrem_lt
            have hword_digit :=
              NumberHelperEightDigitWord chunk haccepted rem.length hrem_lt
            have hu_digit :
                48 <= (u.val[rem.length]'hindex).val /\
                  (u.val[rem.length]'hindex).val <= 57 := by
              omega
            have hu_eq : (u.val[rem.length]'hindex) = b := by
              simp [hurem, htail_eq]
            rw [hu_eq] at hu_digit
            exact (htail b rest htail_eq) hu_digit
          obtain ⟨z, hparse⟩ :=
            NumberHelperParseEightDigitsSafe chunk haccepted
          rw [hparse]
          simp [core.slice.index.SliceIndexRangeFromUsizeSlice.index,
            Slice.drop, Slice.length, WP.spec_ok, h8]
          constructor
          · refine ⟨rem.drop 8, ?_, ?_, ?_⟩
            · rw [hurem, List.drop_append_of_le_length hrem8]
            · intro b hb
              exact hrem b (List.mem_of_mem_drop hb)
            · omega
          · omega
        · simp [WP.spec_ok]
          exact ⟨rem, hurem, hrem, hulen⟩
      · exact ⟨rem, hurem, hrem, hulen⟩
    · exact ⟨ds, htds, hds, htlen⟩
  have scalar : forall (t : Slice Std.U8) (a : Std.U64) (rem : List Std.U8),
      t.val = rem ++ tail ->
      (forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) ->
      t.val.length <= 9223372036854775807 ->
      num.imp.dec2flt.parse.try_parse_digits_loop1 t a 0#usize
        ⦃ p => p.2.val = rem.length ⦄ := by
    intro t a rem htrem hrem htlen
    unfold num.imp.dec2flt.parse.try_parse_digits_loop1
    apply Aeneas.Std.loop.spec_decr_nat
      (fun p : Std.U64 × Std.Usize => rem.length - p.2.val)
      (fun p => p.2.val <= rem.length)
      (fun p => p.2.val = rem.length)
      (fun p =>
        num.imp.dec2flt.parse.try_parse_digits_loop1.body t p.1 p.2)
      (a, 0#usize)
    · intro p hp
      rcases p with ⟨x, count⟩
      change count.val <= rem.length at hp
      simp [num.imp.dec2flt.parse.try_parse_digits_loop1.body, WP.spec_ok,
        Slice.length]
      split
      · rename_i hcount_t
        step
        by_cases hinside : count.val < rem.length
        · have hi_mem : List.Mem i1 rem := by
            have hi_eq : i1 = rem[count.val]'hinside := by
              rw [i1_post]
              simp [htrem, hinside]
            rw [hi_eq]
            exact List.getElem_mem _
          have hi_digit := hrem i1 hi_mem
          step
          have hi2_val : i2.val = i1.val - 48 := by
            rw [i2_post]
            rw [core.num.U8.wrapping_sub_val_eq]
            simp only [UScalar.size_UScalarTyU8, U8.size_eq]
            norm_num
            omega
          have hi2_lt : i2.val < 10 := by omega
          simp [hi2_lt]
          step
          step
          step
          step
          step
          omega
        · have hcount_eq : count.val = rem.length := by omega
          have htail_pos : 0 < tail.length := by
            have hlen_eq := congrArg List.length htrem
            simp at hlen_eq
            omega
          obtain ⟨b, rest, htail_eq⟩ :=
            List.exists_cons_of_length_pos htail_pos
          have hi_eq : i1 = b := by
            rw [i1_post]
            simp [htrem, htail_eq, hcount_eq]
          have hb_not := htail b rest htail_eq
          step
          have hi2_not : Not (i2.val < 10) := by
            rw [i2_post, hi_eq]
            rw [core.num.U8.wrapping_sub_val_eq]
            simp only [UScalar.size_UScalarTyU8, U8.size_eq]
            norm_num
            scalar_tac
          simp [hi2_not, WP.spec_ok, hcount_eq]
      · rename_i hcount_not
        simp [WP.spec_ok]
        have hlen_eq := congrArg List.length htrem
        simp at hlen_eq
        omega
    · simp
  unfold num.imp.dec2flt.parse.try_parse_digits
  have hf := fast s initial digits hs hdigits hlen
  obtain ⟨p, hfast, hfp⟩ := Aeneas.Std.WP.spec_imp_exists hf
  rcases p with ⟨s1, x1⟩
  rcases hfp with ⟨rem, hs1, hrem, hs1len⟩
  change s1.val = rem ++ tail at hs1
  change s1.val.length <= 9223372036854775807 at hs1len
  have hsc := scalar s1 x1 rem hs1 hrem hs1len
  obtain ⟨q, hscalar, hcount⟩ := Aeneas.Std.WP.spec_imp_exists hsc
  rcases q with ⟨x2, count⟩
  change count.val = rem.length at hcount
  have hcount_le : count.val <= s1.val.length := by
    rw [hcount, hs1]
    simp
  simp [hfast, hscalar]
  simp [core.slice.index.SliceIndexRangeFromUsizeSlice.index,
    Slice.drop, Slice.length, hcount_le]
  rw [hcount, hs1, List.drop_append_of_le_length (Nat.le_refl _)]
  simp

end dec2flt_model

Download Lean source · Download TeX source

Complete Lean module
import Tablet.Assumptions
import Tablet.NumberHelperEightDigitWord
import Tablet.NumberHelperEightDigitWordAccepted
import Tablet.NumberHelperParseEightDigitsSafe
import Tablet.NumberHelperReadEightBytes
import Tablet.SliceU8_Insts_Dec2flt_modelNumImpDec2fltCommonByteSlice_read_u64
import Tablet.num_imp_dec2flt_common_is_8digits
import Tablet.num_imp_dec2flt_parse_parse_8digits
import Tablet.num_imp_dec2flt_parse_try_parse_digits

open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false

namespace dec2flt_model

-- [TABLET NODE: NumberHelperDigitScanSourceLength]
theorem NumberHelperDigitScanSourceLength :
    forall (s : Slice Std.U8) (initial : Std.U64)
      (digits tail : List Std.U8),
      s.val = digits ++ tail ->
      (forall b, List.Mem b digits -> 48 <= b.val /\ b.val <= 57) ->
      (forall b rest, tail = b :: rest ->
        Not (48 <= b.val /\ b.val <= 57)) ->
      s.val.length <= 9223372036854775807 ->
      exists (value : Std.U64) (rest : Slice Std.U8),
        num.imp.dec2flt.parse.try_parse_digits s initial = ok (rest, value) /\
        rest.val = tail := by
-- BODY
  intro s initial digits tail hs hdigits htail hlen
  have fast : forall (t : Slice Std.U8) (a : Std.U64) (ds : List Std.U8),
      t.val = ds ++ tail ->
      (forall b, List.Mem b ds -> 48 <= b.val /\ b.val <= 57) ->
      t.val.length <= 9223372036854775807 ->
      num.imp.dec2flt.parse.try_parse_digits_loop0 t a
        ⦃ p => exists rem : List Std.U8,
          p.1.val = rem ++ tail /\
          (forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) /\
          p.1.val.length <= 9223372036854775807 ⦄ := by
    intro t a ds htds hds htlen
    unfold num.imp.dec2flt.parse.try_parse_digits_loop0
    apply Aeneas.Std.loop.spec_decr_nat
      (fun p : Slice Std.U8 × Std.U64 => p.1.length)
      (fun p => exists rem : List Std.U8,
        p.1.val = rem ++ tail /\
        (forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) /\
        p.1.val.length <= 9223372036854775807)
      (fun p => exists rem : List Std.U8,
        p.1.val = rem ++ tail /\
        (forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) /\
        p.1.val.length <= 9223372036854775807)
      (fun p => num.imp.dec2flt.parse.try_parse_digits_loop0.body p.1 p.2)
      (t, a)
    · intro p hp
      rcases p with ⟨u, x⟩
      rcases hp with ⟨rem, hurem, hrem, hulen⟩
      change u.val = rem ++ tail at hurem
      change u.val.length <= 9223372036854775807 at hulen
      simp [num.imp.dec2flt.parse.try_parse_digits_loop0.body, WP.spec_ok,
        Slice.length]
      split
      · rename_i h8
        obtain ⟨chunk, hread, hbyte⟩ := NumberHelperReadEightBytes u h8
        rw [hread]
        simp [num.imp.dec2flt.common.is_8digits, Aeneas.Std.lift]
        split
        · rename_i haccepted
          have haccepted :
              num.imp.dec2flt.common.is_8digits chunk = ok true := by
            simp [num.imp.dec2flt.common.is_8digits, Aeneas.Std.lift,
              haccepted]
          have hrem8 : 8 <= rem.length := by
            by_contra hn
            have hrem_lt : rem.length < 8 := by omega
            have htail_pos : 0 < tail.length := by
              by_contra hzero
              have ht0 : tail = [] := List.eq_nil_of_length_eq_zero (by omega)
              have heq := congrArg List.length hurem
              simp [ht0] at heq
              omega
            obtain ⟨b, rest, htail_eq⟩ :=
              List.exists_cons_of_length_pos htail_pos
            have hindex : rem.length < u.val.length := by omega
            have hbyte_eq := hbyte rem.length hrem_lt
            have hword_digit :=
              NumberHelperEightDigitWord chunk haccepted rem.length hrem_lt
            have hu_digit :
                48 <= (u.val[rem.length]'hindex).val /\
                  (u.val[rem.length]'hindex).val <= 57 := by
              omega
            have hu_eq : (u.val[rem.length]'hindex) = b := by
              simp [hurem, htail_eq]
            rw [hu_eq] at hu_digit
            exact (htail b rest htail_eq) hu_digit
          obtain ⟨z, hparse⟩ :=
            NumberHelperParseEightDigitsSafe chunk haccepted
          rw [hparse]
          simp [core.slice.index.SliceIndexRangeFromUsizeSlice.index,
            Slice.drop, Slice.length, WP.spec_ok, h8]
          constructor
          · refine ⟨rem.drop 8, ?_, ?_, ?_⟩
            · rw [hurem, List.drop_append_of_le_length hrem8]
            · intro b hb
              exact hrem b (List.mem_of_mem_drop hb)
            · omega
          · omega
        · simp [WP.spec_ok]
          exact ⟨rem, hurem, hrem, hulen⟩
      · exact ⟨rem, hurem, hrem, hulen⟩
    · exact ⟨ds, htds, hds, htlen⟩
  have scalar : forall (t : Slice Std.U8) (a : Std.U64) (rem : List Std.U8),
      t.val = rem ++ tail ->
      (forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) ->
      t.val.length <= 9223372036854775807 ->
      num.imp.dec2flt.parse.try_parse_digits_loop1 t a 0#usize
        ⦃ p => p.2.val = rem.length ⦄ := by
    intro t a rem htrem hrem htlen
    unfold num.imp.dec2flt.parse.try_parse_digits_loop1
    apply Aeneas.Std.loop.spec_decr_nat
      (fun p : Std.U64 × Std.Usize => rem.length - p.2.val)
      (fun p => p.2.val <= rem.length)
      (fun p => p.2.val = rem.length)
      (fun p =>
        num.imp.dec2flt.parse.try_parse_digits_loop1.body t p.1 p.2)
      (a, 0#usize)
    · intro p hp
      rcases p with ⟨x, count⟩
      change count.val <= rem.length at hp
      simp [num.imp.dec2flt.parse.try_parse_digits_loop1.body, WP.spec_ok,
        Slice.length]
      split
      · rename_i hcount_t
        step
        by_cases hinside : count.val < rem.length
        · have hi_mem : List.Mem i1 rem := by
            have hi_eq : i1 = rem[count.val]'hinside := by
              rw [i1_post]
              simp [htrem, hinside]
            rw [hi_eq]
            exact List.getElem_mem _
          have hi_digit := hrem i1 hi_mem
          step
          have hi2_val : i2.val = i1.val - 48 := by
            rw [i2_post]
            rw [core.num.U8.wrapping_sub_val_eq]
            simp only [UScalar.size_UScalarTyU8, U8.size_eq]
            norm_num
            omega
          have hi2_lt : i2.val < 10 := by omega
          simp [hi2_lt]
          step
          step
          step
          step
          step
          omega
        · have hcount_eq : count.val = rem.length := by omega
          have htail_pos : 0 < tail.length := by
            have hlen_eq := congrArg List.length htrem
            simp at hlen_eq
            omega
          obtain ⟨b, rest, htail_eq⟩ :=
            List.exists_cons_of_length_pos htail_pos
          have hi_eq : i1 = b := by
            rw [i1_post]
            simp [htrem, htail_eq, hcount_eq]
          have hb_not := htail b rest htail_eq
          step
          have hi2_not : Not (i2.val < 10) := by
            rw [i2_post, hi_eq]
            rw [core.num.U8.wrapping_sub_val_eq]
            simp only [UScalar.size_UScalarTyU8, U8.size_eq]
            norm_num
            scalar_tac
          simp [hi2_not, WP.spec_ok, hcount_eq]
      · rename_i hcount_not
        simp [WP.spec_ok]
        have hlen_eq := congrArg List.length htrem
        simp at hlen_eq
        omega
    · simp
  unfold num.imp.dec2flt.parse.try_parse_digits
  have hf := fast s initial digits hs hdigits hlen
  obtain ⟨p, hfast, hfp⟩ := Aeneas.Std.WP.spec_imp_exists hf
  rcases p with ⟨s1, x1⟩
  rcases hfp with ⟨rem, hs1, hrem, hs1len⟩
  change s1.val = rem ++ tail at hs1
  change s1.val.length <= 9223372036854775807 at hs1len
  have hsc := scalar s1 x1 rem hs1 hrem hs1len
  obtain ⟨q, hscalar, hcount⟩ := Aeneas.Std.WP.spec_imp_exists hsc
  rcases q with ⟨x2, count⟩
  change count.val = rem.length at hcount
  have hcount_le : count.val <= s1.val.length := by
    rw [hcount, hs1]
    simp
  simp [hfast, hscalar]
  simp [core.slice.index.SliceIndexRangeFromUsizeSlice.index,
    Slice.drop, Slice.length, hcount_le]
  rw [hcount, hs1, List.drop_append_of_le_length (Nat.le_refl _)]
  simp

end dec2flt_model

Proof structure

Follow the declared dependencies to read the supporting statements and proofs.

Explore this dependency tree

Inspect related source (55)
More program dependencies (22)
Standard-library dependencies (30)

Related source and models come from the extraction records and declared dependencies.

Proof assumptions and review

Lean checks the formal proof. Trellis also reviews how the statement corresponds to the intended requirement.

Transitive assumptions

This list combines the assumptions recorded for this declaration and its dependencies. It may include assumptions used by auxiliary declarations in those modules.

Helper theorems included
All 11 entries
Technical checking records
Local closure summary
{
  "node": "NumberHelperDigitScanSourceLength",
  "closure_version": "patch_c_v1",
  "active_decl_hash": "81911ed86867bd5a61f582e8edc83178166b550957097d34dd71bc18c797e687",
  "active_statement_hash": "f31c34144c2a5fd9f9f9c71927a264ad71a59f2caae1563e80e73cf0643db163",
  "kernel_axioms": [
    "Classical.choice",
    "Quot.sound",
    "propext"
  ],
  "toolchain_hash": "ce4c4e3d87434b9663f46de25ce34b48a0cf0d392e0a320a0787b4674a2d7b61",
  "lean_executable_hash": "3e0d0d3d801675359f2d4cf9815bfdb417b20b92fdd9d48b3b14c95bbae28bbf",
  "checker_script_hash": "c8e4a03273e23b9a8f2e141020652a4e0b7b0a8ab0883366ea9d031ca3f37aa1",
  "approved_axioms_hash": "d5c04ffa333d9b33b238a527f5beaa2be82e021d3e9c0bbe01b1310280f7f55a",
  "axcheck_status": "Agreed",
  "accepted_at_snapshot_id": "worker-result-local-closure-issuance-cycle-68",
  "boundary_theorems": {},
  "strict_theorem_deps": {
    "NumberHelperEightDigitWord": "a61cba9606484373",
    "NumberHelperParseEightDigitsSafe": "9fe8ed9fecf3320d",
    "NumberHelperReadEightBytes": "8738e3b807b9b2d9",
    "num_imp_dec2flt_common_is_8digits": "effb8a26907859a5",
    "num_imp_dec2flt_parse_try_parse_digits": "bcad6df678c024ae"
  },
  "strict_definition_deps": {
    "SliceU8_Insts_Dec2flt_modelNumImpDec2fltCommonByteSlice_read_u64": "279b0c1cd8ec9e39",
    "num_imp_dec2flt_common_is_8digits": "53e9de5212d69bf5",
    "num_imp_dec2flt_parse_parse_8digits": "ae610d45d88851c6",
    "num_imp_dec2flt_parse_try_parse_digits": "2b12615e16e91640"
  }
}
Prose assessment
{
  "label": "Lean proof closed; predictive prose review no longer required",
  "assessment_status": null,
  "fingerprint_relation": "unknown",
  "assessment_fingerprint": null,
  "current_fingerprint": "sound-v2:d707619b67fdf9744f01288bd9e5afbbe7cec177a804230c5ed44268199ebc34",
  "superseded_for_theorem_closure": false
}
Review verdicts
{
  "corr_status": "Pass",
  "substantiveness_status": "Pass"
}