cfahlgren1/math / lean /ComparatorChallenges /DegreeRigidity.lean
cfahlgren1's picture
download
raw
1.22 kB
import Mathlib
namespace OAI
namespace TuringRigidity
abbrev Oracle := ℕ → Bool
def oracleFunction (A : Oracle) : ℕ →. ℕ := fun n => Part.some (if A n then 1 else 0)
def Reduces (A B : Oracle) : Prop := TuringReducible (oracleFunction A) (oracleFunction B)
instance : IsPreorder Oracle Reduces where
refl A := TuringReducible.refl (oracleFunction A)
trans _ _ _ h k := TuringReducible.trans h k
def Degree := Antisymmetrization Oracle Reduces
instance : PartialOrder Degree :=
@instPartialOrderAntisymmetrization Oracle
{ le := Reduces
lt A B := Reduces A B ∧ ¬ Reduces B A
lt_iff_le_not_ge _ _ := Iff.rfl
le_refl A := TuringReducible.refl (oracleFunction A)
le_trans _ _ _ h k := TuringReducible.trans h k }
private instance oraclePreorder : Preorder Oracle where
le := Reduces
lt A B := Reduces A B ∧ ¬ Reduces B A
lt_iff_le_not_ge _ _ := Iff.rfl
le_refl A := TuringReducible.refl (oracleFunction A)
le_trans _ _ _ h k := TuringReducible.trans h k
def MainTheorem : Prop := ∀ π : Degree ≃o Degree, ∀ a : Degree, π a = a
namespace ManuscriptMain
theorem rigidity : MainTheorem := by
sorry
end ManuscriptMain
end TuringRigidity
end OAI

Xet Storage Details

Size:
1.22 kB
·
Xet hash:
3452519e1160e41941cd459824fd3a23b54df5040ed1381da1e91bac00db0ee8

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.