Download lean/OAI/ModelTheory/Choiceless/Separation.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 879 Bytes
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/ModelTheory/Choiceless/Separation.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/ModelTheory/Choiceless/Separation.lean
-
curl -L -o Separation.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/ModelTheory/Choiceless/Separation.lean
879 Bytes
| import OAI.ModelTheory.Choiceless.QueryMachine | |
| namespace OAI | |
| namespace CPTSeparation | |
| theorem main : | |
| (∀ (A B : Type) [Fintype A] [Fintype B] (S : Input A) (T : Input B), | |
| S.Iso T → (S.query ↔ T.query)) ∧ | |
| OrdinaryPolynomialTime ∧ | |
| ¬ FullCPT.EvaluationDefinable (fun {_} [_] I => I.query) := by | |
| refine ⟨?_, ?_, FullCPT.query_not_evaluationDefinable⟩ | |
| · intro A B _ _ S T e | |
| exact Input.query_invariant e | |
| · refine ⟨QueryMachine.answer, QueryMachine.polynomialAlgorithm, ?_, ?_⟩ | |
| · intro k | |
| change Finite QueryMachine.Letter | |
| infer_instance | |
| · intro A _ N e S | |
| let iso : S.Iso (S.ordered e) := | |
| { toEquiv := e | |
| rel_eq := by intro r x y; simp [Input.ordered] } | |
| exact (QueryMachine.answer_correct ⟨N,S.ordered e⟩).trans | |
| (Input.query_invariant iso).symm | |
| end CPTSeparation | |
| end OAI | |