DecimalLeftShiftLoopLex

Lean checked

Statement

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

Lemma · Extracted left-shift loop is a padded lexicographic comparison

Let d be an extracted decimal sequence with logical length at most its physical length 768. Let s be a byte slice, let \ell\le |s|, and let m>0 be a machine-size natural number. Form the extracted iterator that enumerates the first \ell entries of s. Put
x=\operatorname{map}(\mathrm{val},\operatorname{take}_{d.n}(d.\mathrm{digits})), \qquad y=\operatorname{map}(\mathrm{val},\operatorname{take}_{\ell}(s)).
Then the extracted decimal-left-shift loop returns normally. Its returned value is m-1 exactly when \operatorname{take}_{\ell}(x) is strictly lexicographically smaller than y, and is m otherwise.

Lean statement

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

import Tablet.num_imp_dec2flt_decimal_seq_number_of_digits_decimal_left_shift

open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false

namespace dec2flt_model

-- [TABLET NODE: DecimalLeftShiftLoopLex]
theorem DecimalLeftShiftLoopLex
    (d : num.imp.dec2flt.decimal_seq.DecimalSeq)
    (s : Slice Std.U8) (ell numNew : Std.Usize)
    (hell : ell.val <= s.val.length)
    (hnumNew : 0 < numNew.val)
    (hnumDigits : d.num_digits.val <= 768) :
    let iter0 : core.iter.adapters.take.Take
        (core.iter.adapters.enumerate.Enumerate (core.slice.iter.Iter Std.U8)) :=
      { iter := { iter := { slice := s, i := 0 }, count := 0#usize }, n := ell }
    let xs := (d.digits.val.take d.num_digits.val).map (fun z => z.val)
    let ys := (s.val.take ell.val).map (fun z => z.val)
    exists out : Std.Usize,
      num.imp.dec2flt.decimal_seq.number_of_digits_decimal_left_shift_loop
          iter0 d numNew = ok out /\
      out.val = if List.Lex (fun a b : Nat => a < b) (xs.take ell.val) ys
        then numNew.val - 1 else numNew.val := 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

Use the remaining iterator count as a decreasing natural measure. At a loop state with enumeration count i, maintain the following invariant: the underlying slice is s; its iterator position and enumeration count both equal i; the remaining count plus i equals \ell; i\le\ell; and the original lexicographic relation is equivalent to the relation between the two lists after dropping their first i entries.
If the remaining count is zero, the invariant gives i=\ell. The right list has length exactly \ell because \ell\le|s|, while the taken left list has length at most \ell. Dropping \ell entries therefore leaves two empty lists, whose strict lexicographic relation is false. The loop returns m, which is the required non-strict-branch result.
Otherwise checked subtraction of one from the remaining machine integer succeeds. Since i<\ell\le|s|, the slice iterator reads entry s_i in bounds; checked increment of the enumeration count succeeds because i<\ell and every slice length is representable by usize. If i\ge d.n, the logical decimal list has no entry at position i, whereas the right list does. Thus the dropped left list is empty and the dropped right list begins with s_i, so the strict lexicographic relation holds. The hypothesis m>0 makes the loop's checked subtraction m-1 succeed.
Suppose instead i<d.n. The hypothesis d.n\le768, together with the declared physical array length of DecimalSeq, makes the array read of digit d_i in bounds. If d_i=s_i, the standard cons-list lexicographic equivalence removes those equal heads; advancing both lists and decrementing the iterator count preserves every invariant clause. If d_i<s_i, the lexicographic relation holds at these first unequal heads, and the loop returns the checked value m-1. Finally, if the digits are unequal and d_i\not<s_i, their natural values satisfy s_i<d_i. The reverse lexicographic relation then holds at the heads, so asymmetry rules out the target relation, and the loop returns m. These branches are exactly the extracted loop body, cover every comparison and iterator result, and establish both normal return and the stated conditional value.

Lean proof


  dsimp only
  let iter0 : core.iter.adapters.take.Take
      (core.iter.adapters.enumerate.Enumerate (core.slice.iter.Iter Std.U8)) :=
    { iter := { iter := { slice := s, i := 0 }, count := 0#usize }, n := ell }
  let xs := (d.digits.val.take d.num_digits.val).map (fun z => z.val)
  let ys := (s.val.take ell.val).map (fun z => z.val)
  let target := List.Lex (fun a b : Nat => a < b) (xs.take ell.val) ys
  let Inv := fun p : core.iter.adapters.take.Take
      (core.iter.adapters.enumerate.Enumerate (core.slice.iter.Iter Std.U8)) =>
    p.iter.iter.slice = s /\
    p.iter.iter.i = p.iter.count.val /\
    p.n.val + p.iter.count.val = ell.val /\
    p.iter.count.val <= ell.val /\
    (target ↔ List.Lex (fun a b : Nat => a < b)
      ((xs.take ell.val).drop p.iter.count.val)
      (ys.drop p.iter.count.val))
  let Post := fun out : Std.Usize =>
    out.val = if target then numNew.val - 1 else numNew.val
  have hloop :
      num.imp.dec2flt.decimal_seq.number_of_digits_decimal_left_shift_loop
        iter0 d numNew ⦃ out => Post out ⦄ := by
    unfold num.imp.dec2flt.decimal_seq.number_of_digits_decimal_left_shift_loop
    apply Aeneas.Std.loop.spec_decr_nat
      (fun p : core.iter.adapters.take.Take
        (core.iter.adapters.enumerate.Enumerate (core.slice.iter.Iter Std.U8)) =>
          p.n.val)
      Inv Post
      (fun p =>
        num.imp.dec2flt.decimal_seq.number_of_digits_decimal_left_shift_loop.body
          d numNew p)
      iter0
    · intro p hp
      rcases p with ⟨⟨⟨slice, pos⟩, count⟩, rem⟩
      simp only [Inv] at hp
      rcases hp with ⟨hslice, hpos, hsum, hcount, hrel⟩
      unfold num.imp.dec2flt.decimal_seq.number_of_digits_decimal_left_shift_loop.body
      unfold core.iter.adapters.take.IteratorTake.next
      by_cases hrem : rem.val = 0
      · simp [hrem, WP.spec_ok, Post]
        have hceq : count.val = ell.val := by omega
        have hxlen : (xs.take ell.val).length <= ell.val := by simp
        have hylen : ys.length = ell.val := by
          simp [ys, hell]
        have hnlex : ¬ List.Lex (fun a b : Nat => a < b)
            ((xs.take ell.val).drop count.val) (ys.drop count.val) := by
          rw [hceq]
          simp [List.drop_eq_nil_of_le hxlen, hylen]
        have hntarget : ¬ target := by
          exact fun ht => hnlex (hrel.mp ht)
        simp [hntarget]
      · have hrempos : 0 < rem.val := by omega
        obtain ⟨rem1, hrem1, hrem1val⟩ := Aeneas.Std.WP.spec_imp_exists
          (UScalar.sub_spec (x := rem) (y := 1#usize) (by simpa using hrempos))
        norm_num at hrem1val
        rw [hrem1]
        simp only [core.iter.traits.iterator.IteratorEnumerate]
        unfold core.iter.adapters.enumerate.IteratorEnumerate.next
        simp only [core.iter.traits.iterator.IteratorSliceIter]
        unfold core.slice.iter.IteratorSliceIter.next
        have hcountlt : count.val < ell.val := by omega
        have hsliceBound : pos < slice.val.length := by
          rw [hpos, hslice]
          omega
        have hsbound : count.val < s.val.length := by omega
        have hcountAdd : count.val + 1 <= UScalar.max .Usize := by
          scalar_tac
        obtain ⟨count1, hcount1, hcount1val⟩ := Aeneas.Std.WP.spec_imp_exists
          (UScalar.add_spec (x := count) (y := 1#usize) (by simpa using hcountAdd))
        norm_num at hcount1val
        rw [hcount1]
        simp [hrem, hsbound, hpos, hslice]
        by_cases hend : count.val >= d.num_digits.val
        · simp [hend, WP.spec_ok, Post]
          have ht : target := by
            apply hrel.mpr
            have hxnil : (xs.take ell.val).drop count.val = [] := by
              apply List.drop_eq_nil_of_le
              simp [xs]
              omega
            have hylen : ys.length = ell.val := by simp [ys, hell]
            have hydrop := List.drop_eq_getElem_cons
              (l := ys) (i := count.val) (by omega)
            rw [hxnil, hydrop]
            exact List.Lex.nil
          obtain ⟨out, hout, houtval⟩ := Aeneas.Std.WP.spec_imp_exists
            (UScalar.sub_spec (x := numNew) (y := 1#usize)
              (by simpa using hnumNew))
          rw [hout]
          simp [ht, houtval]
        · have hdBound : count.val < d.digits.val.length := by
            have hdlen : d.digits.val.length = 768 := d.digits.property
            omega
          obtain ⟨digit, hdigit, hdigitval⟩ := Aeneas.Std.WP.spec_imp_exists
            (Array.index_usize_spec d.digits count (by simpa [Array.length] using hdBound))
          rw [hdigit]
          have hxslen : xs.length = d.num_digits.val := by
            simp [xs]
            omega
          have hxcount : count.val < (xs.take ell.val).length := by
            simp [hxslen]
            omega
          have hylen : ys.length = ell.val := by simp [ys, hell]
          have hxdrop := List.drop_eq_getElem_cons
            (l := xs.take ell.val) (i := count.val) hxcount
          have hydrop := List.drop_eq_getElem_cons
            (l := ys) (i := count.val) (by omega)
          have hxget : (xs.take ell.val)[count.val] = digit.val := by
            simp [xs, hdigitval]
          have hyget : ys[count.val] = (s.val[count.val]).val := by
            simp [ys]
          rw [hxget] at hxdrop
          rw [hyget] at hydrop
          by_cases heq : digit = s.val[count.val]
          · simp [hend, heq, WP.spec_ok]
            constructor
            · simp only [Inv]
              refine ⟨trivial, ?_, ?_, ?_, ?_⟩
              · omega
              · omega
              · omega
              · calc
                  target ↔ List.Lex (fun a b : Nat => a < b)
                      ((xs.take ell.val).drop count.val)
                      (ys.drop count.val) := hrel
                  _ ↔ List.Lex (fun a b : Nat => a < b)
                      ((xs.take ell.val).drop (count.val + 1))
                      (ys.drop (count.val + 1)) := by
                        rw [hxdrop, hydrop]
                        simpa [heq] using (List.lex_cons_iff
                          (r := fun a b : Nat => a < b))
                  _ ↔ List.Lex (fun a b : Nat => a < b)
                      ((xs.take ell.val).drop count1.val)
                      (ys.drop count1.val) := by rw [hcount1val]
            · omega
          · by_cases hlt : digit < s.val[count.val]
            · simp [hend, heq, hlt, WP.spec_ok, Post]
              obtain ⟨out, hout, houtval⟩ := Aeneas.Std.WP.spec_imp_exists
                (UScalar.sub_spec (x := numNew) (y := 1#usize)
                  (by simpa using hnumNew))
              rw [hout]
              simp [houtval]
              have hltVal : digit.val < (s.val[count.val]).val := by
                exact hlt
              have ht : target := by
                apply hrel.mpr
                rw [hxdrop, hydrop]
                exact List.Lex.rel hltVal
              simp [ht, hltVal, houtval]
            · simp [hend, heq, hlt, WP.spec_ok, Post]
              have hneVal : digit.val ≠ (s.val[count.val]).val := by
                intro hv
                exact heq (UScalar.eq_of_val_eq hv)
              have hgtVal : (s.val[count.val]).val < digit.val := by
                change ¬ digit.val < (s.val[count.val]).val at hlt
                omega
              have hnt : ¬ target := by
                intro ht
                have htail := hrel.mp ht
                have hrev : List.Lex (fun a b : Nat => a < b)
                    (ys.drop count.val) ((xs.take ell.val).drop count.val) := by
                  rw [hxdrop, hydrop]
                  exact List.Lex.rel hgtVal
                exact asymm htail hrev
              have hnat : ¬ digit.val < (s.val[count.val]).val := by omega
              simp [hnt, hnat, WP.spec_ok]
    · simp [Inv, iter0, target, xs, ys]
  obtain ⟨out, hout, houtval⟩ := Aeneas.Std.WP.spec_imp_exists hloop
  refine ⟨out, ?_, ?_⟩
  · simpa [iter0] using hout
  · simpa [Post, target, xs, ys] using houtval

end dec2flt_model

Download Lean source · Download TeX source

Complete Lean module
import Tablet.num_imp_dec2flt_decimal_seq_number_of_digits_decimal_left_shift

open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false

namespace dec2flt_model

-- [TABLET NODE: DecimalLeftShiftLoopLex]
theorem DecimalLeftShiftLoopLex
    (d : num.imp.dec2flt.decimal_seq.DecimalSeq)
    (s : Slice Std.U8) (ell numNew : Std.Usize)
    (hell : ell.val <= s.val.length)
    (hnumNew : 0 < numNew.val)
    (hnumDigits : d.num_digits.val <= 768) :
    let iter0 : core.iter.adapters.take.Take
        (core.iter.adapters.enumerate.Enumerate (core.slice.iter.Iter Std.U8)) :=
      { iter := { iter := { slice := s, i := 0 }, count := 0#usize }, n := ell }
    let xs := (d.digits.val.take d.num_digits.val).map (fun z => z.val)
    let ys := (s.val.take ell.val).map (fun z => z.val)
    exists out : Std.Usize,
      num.imp.dec2flt.decimal_seq.number_of_digits_decimal_left_shift_loop
          iter0 d numNew = ok out /\
      out.val = if List.Lex (fun a b : Nat => a < b) (xs.take ell.val) ys
        then numNew.val - 1 else numNew.val := by
-- BODY
  dsimp only
  let iter0 : core.iter.adapters.take.Take
      (core.iter.adapters.enumerate.Enumerate (core.slice.iter.Iter Std.U8)) :=
    { iter := { iter := { slice := s, i := 0 }, count := 0#usize }, n := ell }
  let xs := (d.digits.val.take d.num_digits.val).map (fun z => z.val)
  let ys := (s.val.take ell.val).map (fun z => z.val)
  let target := List.Lex (fun a b : Nat => a < b) (xs.take ell.val) ys
  let Inv := fun p : core.iter.adapters.take.Take
      (core.iter.adapters.enumerate.Enumerate (core.slice.iter.Iter Std.U8)) =>
    p.iter.iter.slice = s /\
    p.iter.iter.i = p.iter.count.val /\
    p.n.val + p.iter.count.val = ell.val /\
    p.iter.count.val <= ell.val /\
    (target ↔ List.Lex (fun a b : Nat => a < b)
      ((xs.take ell.val).drop p.iter.count.val)
      (ys.drop p.iter.count.val))
  let Post := fun out : Std.Usize =>
    out.val = if target then numNew.val - 1 else numNew.val
  have hloop :
      num.imp.dec2flt.decimal_seq.number_of_digits_decimal_left_shift_loop
        iter0 d numNew ⦃ out => Post out ⦄ := by
    unfold num.imp.dec2flt.decimal_seq.number_of_digits_decimal_left_shift_loop
    apply Aeneas.Std.loop.spec_decr_nat
      (fun p : core.iter.adapters.take.Take
        (core.iter.adapters.enumerate.Enumerate (core.slice.iter.Iter Std.U8)) =>
          p.n.val)
      Inv Post
      (fun p =>
        num.imp.dec2flt.decimal_seq.number_of_digits_decimal_left_shift_loop.body
          d numNew p)
      iter0
    · intro p hp
      rcases p with ⟨⟨⟨slice, pos⟩, count⟩, rem⟩
      simp only [Inv] at hp
      rcases hp with ⟨hslice, hpos, hsum, hcount, hrel⟩
      unfold num.imp.dec2flt.decimal_seq.number_of_digits_decimal_left_shift_loop.body
      unfold core.iter.adapters.take.IteratorTake.next
      by_cases hrem : rem.val = 0
      · simp [hrem, WP.spec_ok, Post]
        have hceq : count.val = ell.val := by omega
        have hxlen : (xs.take ell.val).length <= ell.val := by simp
        have hylen : ys.length = ell.val := by
          simp [ys, hell]
        have hnlex : ¬ List.Lex (fun a b : Nat => a < b)
            ((xs.take ell.val).drop count.val) (ys.drop count.val) := by
          rw [hceq]
          simp [List.drop_eq_nil_of_le hxlen, hylen]
        have hntarget : ¬ target := by
          exact fun ht => hnlex (hrel.mp ht)
        simp [hntarget]
      · have hrempos : 0 < rem.val := by omega
        obtain ⟨rem1, hrem1, hrem1val⟩ := Aeneas.Std.WP.spec_imp_exists
          (UScalar.sub_spec (x := rem) (y := 1#usize) (by simpa using hrempos))
        norm_num at hrem1val
        rw [hrem1]
        simp only [core.iter.traits.iterator.IteratorEnumerate]
        unfold core.iter.adapters.enumerate.IteratorEnumerate.next
        simp only [core.iter.traits.iterator.IteratorSliceIter]
        unfold core.slice.iter.IteratorSliceIter.next
        have hcountlt : count.val < ell.val := by omega
        have hsliceBound : pos < slice.val.length := by
          rw [hpos, hslice]
          omega
        have hsbound : count.val < s.val.length := by omega
        have hcountAdd : count.val + 1 <= UScalar.max .Usize := by
          scalar_tac
        obtain ⟨count1, hcount1, hcount1val⟩ := Aeneas.Std.WP.spec_imp_exists
          (UScalar.add_spec (x := count) (y := 1#usize) (by simpa using hcountAdd))
        norm_num at hcount1val
        rw [hcount1]
        simp [hrem, hsbound, hpos, hslice]
        by_cases hend : count.val >= d.num_digits.val
        · simp [hend, WP.spec_ok, Post]
          have ht : target := by
            apply hrel.mpr
            have hxnil : (xs.take ell.val).drop count.val = [] := by
              apply List.drop_eq_nil_of_le
              simp [xs]
              omega
            have hylen : ys.length = ell.val := by simp [ys, hell]
            have hydrop := List.drop_eq_getElem_cons
              (l := ys) (i := count.val) (by omega)
            rw [hxnil, hydrop]
            exact List.Lex.nil
          obtain ⟨out, hout, houtval⟩ := Aeneas.Std.WP.spec_imp_exists
            (UScalar.sub_spec (x := numNew) (y := 1#usize)
              (by simpa using hnumNew))
          rw [hout]
          simp [ht, houtval]
        · have hdBound : count.val < d.digits.val.length := by
            have hdlen : d.digits.val.length = 768 := d.digits.property
            omega
          obtain ⟨digit, hdigit, hdigitval⟩ := Aeneas.Std.WP.spec_imp_exists
            (Array.index_usize_spec d.digits count (by simpa [Array.length] using hdBound))
          rw [hdigit]
          have hxslen : xs.length = d.num_digits.val := by
            simp [xs]
            omega
          have hxcount : count.val < (xs.take ell.val).length := by
            simp [hxslen]
            omega
          have hylen : ys.length = ell.val := by simp [ys, hell]
          have hxdrop := List.drop_eq_getElem_cons
            (l := xs.take ell.val) (i := count.val) hxcount
          have hydrop := List.drop_eq_getElem_cons
            (l := ys) (i := count.val) (by omega)
          have hxget : (xs.take ell.val)[count.val] = digit.val := by
            simp [xs, hdigitval]
          have hyget : ys[count.val] = (s.val[count.val]).val := by
            simp [ys]
          rw [hxget] at hxdrop
          rw [hyget] at hydrop
          by_cases heq : digit = s.val[count.val]
          · simp [hend, heq, WP.spec_ok]
            constructor
            · simp only [Inv]
              refine ⟨trivial, ?_, ?_, ?_, ?_⟩
              · omega
              · omega
              · omega
              · calc
                  target ↔ List.Lex (fun a b : Nat => a < b)
                      ((xs.take ell.val).drop count.val)
                      (ys.drop count.val) := hrel
                  _ ↔ List.Lex (fun a b : Nat => a < b)
                      ((xs.take ell.val).drop (count.val + 1))
                      (ys.drop (count.val + 1)) := by
                        rw [hxdrop, hydrop]
                        simpa [heq] using (List.lex_cons_iff
                          (r := fun a b : Nat => a < b))
                  _ ↔ List.Lex (fun a b : Nat => a < b)
                      ((xs.take ell.val).drop count1.val)
                      (ys.drop count1.val) := by rw [hcount1val]
            · omega
          · by_cases hlt : digit < s.val[count.val]
            · simp [hend, heq, hlt, WP.spec_ok, Post]
              obtain ⟨out, hout, houtval⟩ := Aeneas.Std.WP.spec_imp_exists
                (UScalar.sub_spec (x := numNew) (y := 1#usize)
                  (by simpa using hnumNew))
              rw [hout]
              simp [houtval]
              have hltVal : digit.val < (s.val[count.val]).val := by
                exact hlt
              have ht : target := by
                apply hrel.mpr
                rw [hxdrop, hydrop]
                exact List.Lex.rel hltVal
              simp [ht, hltVal, houtval]
            · simp [hend, heq, hlt, WP.spec_ok, Post]
              have hneVal : digit.val ≠ (s.val[count.val]).val := by
                intro hv
                exact heq (UScalar.eq_of_val_eq hv)
              have hgtVal : (s.val[count.val]).val < digit.val := by
                change ¬ digit.val < (s.val[count.val]).val at hlt
                omega
              have hnt : ¬ target := by
                intro ht
                have htail := hrel.mp ht
                have hrev : List.Lex (fun a b : Nat => a < b)
                    (ys.drop count.val) ((xs.take ell.val).drop count.val) := by
                  rw [hxdrop, hydrop]
                  exact List.Lex.rel hgtVal
                exact asymm htail hrev
              have hnat : ¬ digit.val < (s.val[count.val]).val := by omega
              simp [hnt, hnat, WP.spec_ok]
    · simp [Inv, iter0, target, xs, ys]
  obtain ⟨out, hout, houtval⟩ := Aeneas.Std.WP.spec_imp_exists hloop
  refine ⟨out, ?_, ?_⟩
  · simpa [iter0] using hout
  · simpa [Post, target, xs, ys] using houtval

end dec2flt_model

Proof structure

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

Explore this dependency tree

Inspect related source (49)
More program dependencies (16)
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
Technical checking records
Local closure summary
{
  "node": "DecimalLeftShiftLoopLex",
  "closure_version": "patch_c_v1",
  "active_decl_hash": "cea7d343ea1afdaab33134a184c07302800b22c126efd76298b359b3d83d1036",
  "active_statement_hash": "22e17adb92bfc36618409979708c93f625b8392cc4b840133e7d71b89b7b8331",
  "kernel_axioms": [
    "Classical.choice",
    "Quot.sound",
    "propext"
  ],
  "toolchain_hash": "ce4c4e3d87434b9663f46de25ce34b48a0cf0d392e0a320a0787b4674a2d7b61",
  "lean_executable_hash": "3e0d0d3d801675359f2d4cf9815bfdb417b20b92fdd9d48b3b14c95bbae28bbf",
  "checker_script_hash": "c8e4a03273e23b9a8f2e141020652a4e0b7b0a8ab0883366ea9d031ca3f37aa1",
  "approved_axioms_hash": "ab64d13f256386ee0e494a5abcc6a5db49512cf3d90bbdfcabd6327793a31f95",
  "axcheck_status": "Agreed",
  "accepted_at_snapshot_id": "worker-result-local-closure-issuance-cycle-154",
  "boundary_theorems": {},
  "strict_theorem_deps": {
    "num_imp_dec2flt_decimal_seq_number_of_digits_decimal_left_shift": "faf0081b4c91301b"
  },
  "strict_definition_deps": {
    "num_imp_dec2flt_decimal_seq_DecimalSeq": "59bf1ff9fe88fa8d",
    "num_imp_dec2flt_decimal_seq_number_of_digits_decimal_left_shift": "af5f24aaf7441fc7"
  }
}
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:5b66763991827052a0cacff7940c72df1dbdd566902fae6147e918a3aa5335ee",
  "superseded_for_theorem_closure": false
}
Review verdicts
{
  "corr_status": "Pass",
  "substantiveness_status": "Pass"
}