Compare commits

...

25 Commits

Author SHA1 Message Date
Paul Reichert
37e00a1cc6 minimize further 2025-07-01 13:35:50 +02:00
Paul Reichert
c4e57186b7 revert more 2025-07-01 13:34:46 +02:00
Paul Reichert
33012ad4e5 further minimize 2025-07-01 13:32:20 +02:00
Paul Reichert
4d211a5e29 localize error 2025-07-01 13:07:16 +02:00
Paul Reichert
5babf2f6d0 revert Lean 2025-07-01 12:46:55 +02:00
Paul Reichert
dc8a81454e cleanup 2025-07-01 12:45:47 +02:00
Paul Reichert
60fcb1262b fix Vector.Lex 2025-07-01 12:33:55 +02:00
Paul Reichert
117529b927 getting panic 2025-07-01 12:21:49 +02:00
Paul Reichert
00789c1538 migrate stream-dependent range usages 2025-07-01 12:03:37 +02:00
Paul Reichert
aa29f10ce3 do not replace the occurrence bothering the compiler test 2025-07-01 12:03:37 +02:00
Paul Reichert
f9f6aac1e9 empty 2025-07-01 12:03:37 +02:00
Paul Reichert
75324cbc7c replace all old ranges 2025-07-01 12:03:35 +02:00
Paul Reichert
4a3ba5a382 make helper congr lemma private 2025-07-01 12:00:44 +02:00
Paul Reichert
e4ad0f7d45 fixes after rebasing 2025-07-01 12:00:44 +02:00
Paul Reichert
61a106e50c implement more efficient IteratorLoop instance for RangeIteator 2025-07-01 12:00:42 +02:00
Paul Reichert
edecd960ef update after rebase 2025-07-01 11:58:14 +02:00
Paul Reichert
f7e39cdfbe fix 2025-07-01 11:58:14 +02:00
Paul Reichert
696470c261 update notation 2025-07-01 11:58:14 +02:00
Paul Reichert
b8bda9139e fixes 2025-07-01 11:58:14 +02:00
Paul Reichert
6da60f6f9c update migrations 2025-07-01 11:58:12 +02:00
Paul Reichert
dc82ad6107 Std occurrences 2025-07-01 11:57:10 +02:00
Paul Reichert
42754af535 migrate more 2025-07-01 11:57:10 +02:00
Paul Reichert
623fa4acbd successfully migrated the lex functions 2025-07-01 11:57:10 +02:00
Paul Reichert
b59b42e4b1 still stuck 2025-07-01 11:57:09 +02:00
Paul Reichert
5c6cf3e5bd import issues: should only need to import Init.Data.Iterators.Consumers 2025-07-01 11:55:24 +02:00
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
/-
Copyright (c) 2025 Lean FRO, LLC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Paul Reichert
-/
module
prelude
public import Init.Data.Iterators.Internal.Termination
public section
open Std.Iterators
structure RangeIterator where
instance : Iterator RangeIterator Id Nat := sorry
private def RangeIterator.instFinitenessRelation : FinitenessRelation RangeIterator Id where
rel :=
open Classical in
InvImage WellFoundedRelation.rel (fun it => 0)
wf := sorry
subrelation {it it'} h := by
simp_wf
sorry

View File

@@ -15,6 +15,7 @@ public import Init.Data.Array.Range
public import Init.Data.Range
import Init.Data.Slice.Array.Basic
public import Init.Data.Stream
import Init.Data.Range.Polymorphic.RangeIteratorTest
public section