-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further fixes to duplicate variable names. (#131)
- Loading branch information
Showing
13 changed files
with
94 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1 @@ | ||
goal: ¬b n → | ||
te n o r v → (∃ q, nm q ∧ ∀ (s : a), nmm s q → tb s n o r v) ∨ ∃ q, ngt q ∧ ∀ (s : a), nmm s q → tc s n o r v | ||
|
||
query: | ||
(declare-sort n 0) | ||
(declare-fun ngt (n) Bool) | ||
(declare-fun ne (n) Bool) | ||
(assert (forall ((s n)) (=> (ngt s) (not (ne s))))) | ||
(declare-fun nm (n) Bool) | ||
(assert (forall ((s n)) (=> (nm s) (ngt s)))) | ||
(declare-sort a 0) | ||
(declare-fun nmm (a n) Bool) | ||
(declare-fun b (a) Bool) | ||
(assert (forall ((s n)) (=> (ngt s) (exists ((a a)) (and (nmm a s) (not (b a))))))) | ||
(assert (forall ((s1 n)) (forall ((s2 n)) (exists ((a a)) (and (nmm a s1) (and (nmm a s2) (not (b a)))))))) | ||
(declare-sort v 0) | ||
(declare-sort r 0) | ||
(declare-fun ta (a a r v) Bool) | ||
(declare-fun tf (a a r v) Bool) | ||
(declare-fun sd (a a r v) Bool) | ||
(declare-fun sb (a a a r v) Bool) | ||
(declare-fun sc (a a a r v) Bool) | ||
(declare-fun tc (a a a r v) Bool) | ||
(declare-fun se (a a r v) Bool) | ||
(declare-fun sg (a r) Bool) | ||
(declare-fun sa (a a r v) Bool) | ||
(declare-fun td (a a r v) Bool) | ||
(declare-fun tb (a a a r v) Bool) | ||
(declare-fun te (a a r v) Bool) | ||
(declare-fun tg (a r) Bool) | ||
(declare-fun sf (a a r v) Bool) | ||
(assert (and (forall ((s a)) (forall ((d a)) (forall ((r r)) (forall ((v v)) (or (and (not (b s)) (= (sa s d r v) (ta s d r v))) (and (b s) (=> (sa s d r v) (ta s d r v)))))))) (and (forall ((s a)) (forall ((d a)) (forall ((o a)) (forall ((r r)) (forall ((v v)) (or (and (not (b s)) (= (sb s d o r v) (tb s d o r v))) (and (b s) (=> (sb s d o r v) (tb s d o r v))))))))) (and (forall ((s a)) (forall ((d a)) (forall ((o a)) (forall ((r r)) (forall ((v v)) (or (and (not (b s)) (= (sc s d o r v) (tc s d o r v))) (and (b s) (=> (sc s d o r v) (tc s d o r v))))))))) (and (forall ((a_2 a)) (forall ((a_3 r)) (= (sg a_2 a_3) (tg a_2 a_3)))) (and (forall ((a_2 a)) (forall ((a_3 a)) (forall ((a_4 r)) (forall ((a_5 v)) (= (sd a_2 a_3 a_4 a_5) (td a_2 a_3 a_4 a_5)))))) (and (forall ((a_2 a)) (forall ((a_3 a)) (forall ((a_4 r)) (forall ((a_5 v)) (= (se a_2 a_3 a_4 a_5) (te a_2 a_3 a_4 a_5)))))) (forall ((a_2 a)) (forall ((a_3 a)) (forall ((a_4 r)) (forall ((a_5 v)) (= (sf a_2 a_3 a_4 a_5) (tf a_2 a_3 a_4 a_5))))))))))))) | ||
(assert (and (forall ((s a)) (forall ((|d₁| a)) (forall ((|d₂| a)) (forall ((r r)) (forall ((|v₁| v)) (forall ((|v₂| v)) (=> (and (not (b |d₁|)) (and (not (b |d₂|)) (and (sf |d₁| s r |v₁|) (sf |d₂| s r |v₂|)))) (= |v₁| |v₂|)))))))) (and (forall ((s a)) (forall ((d a)) (forall ((r r)) (forall ((v v)) (=> (and (not (b s)) (and (not (b d)) (sf d s r v))) (and (sg s r) (forall ((d a)) (sa s d r v)))))))) (and (forall ((s a)) (forall ((d a)) (forall ((r r)) (forall ((v v)) (=> (and (not (b s)) (and (not (b d)) (se d s r v))) (and (sg s r) (forall ((d a)) (sa s d r v)))))))) (and (forall ((s a)) (forall ((o a)) (forall ((|d₁| a)) (forall ((|d₂| a)) (forall ((r r)) (forall ((|v₁| v)) (forall ((|v₂| v)) (=> (not (b s)) (=> (and (sc s |d₁| o r |v₁|) (sc s |d₂| o r |v₂|)) (= |v₁| |v₂|)))))))))) (and (forall ((s a)) (forall ((o a)) (forall ((|d₁| a)) (forall ((|d₂| a)) (forall ((r r)) (forall ((|v₁| v)) (forall ((|v₂| v)) (=> (not (b s)) (=> (and (sb s |d₁| o r |v₁|) (sb s |d₂| o r |v₂|)) (= |v₁| |v₂|)))))))))) (and (forall ((s a)) (forall ((|d₁| a)) (forall ((|d₂| a)) (forall ((r r)) (forall ((|v₁| v)) (forall ((|v₂| v)) (=> (not (b s)) (=> (and (sa s |d₁| r |v₁|) (sa s |d₂| r |v₂|)) (= |v₁| |v₂|))))))))) (and (forall ((s a)) (forall ((d a)) (forall ((r r)) (forall ((v v)) (=> (not (b s)) (= (forall ((d a)) (sa s d r v)) (sa s d r v))))))) (and (forall ((n_1 a)) (forall ((o a)) (forall ((r r)) (forall ((v v)) (=> (not (b n_1)) (=> (sf n_1 o r v) (exists ((q n)) (and (nm q) (forall ((s a)) (=> (nmm s q) (sc s n_1 o r v))))))))))) (and (forall ((n_1 a)) (forall ((o a)) (forall ((r r)) (forall ((v v)) (=> (not (b n_1)) (=> (se n_1 o r v) (or (exists ((q n)) (and (nm q) (forall ((s a)) (=> (nmm s q) (sb s n_1 o r v))))) (exists ((q n)) (and (ngt q) (forall ((s a)) (=> (nmm s q) (sc s n_1 o r v)))))))))))) (and (forall ((n a)) (forall ((d a)) (forall ((o a)) (forall ((r r)) (forall ((v v)) (=> (not (b n)) (= (se n o r v) (sc n d o r v)))))))) (and (forall ((n a)) (forall ((o a)) (forall ((r r)) (forall ((v v)) (=> (not (b n)) (=> (sd n o r v) (sa o n r v))))))) (and (forall ((n a)) (forall ((d a)) (forall ((o a)) (forall ((r r)) (forall ((v v)) (=> (not (b n)) (= (sd n o r v) (sb n d o r v)))))))) (forall ((s a)) (forall ((r r)) (=> (not (b s)) (= (sg s r) (exists ((v v)) (forall ((d a)) (sa s d r v)))))))))))))))))))) | ||
(declare-const v v) | ||
(declare-const o a) | ||
(declare-const n a) | ||
(declare-const r r) | ||
(assert (not (=> (not (b n)) (=> (te n o r v) (or (exists ((q n)) (and (nm q) (forall ((s a)) (=> (nmm s q) (tb s n o r v))))) (exists ((q n)) (and (ngt q) (forall ((s a)) (=> (nmm s q) (tc s n o r v)))))))))) | ||
(check-sat) | ||
Test/EUF/Issue126.lean:77:55: error: unsolved goals | ||
n✝ a r✝ v✝ : Type | ||
b : a → Prop | ||
nmm : a → n✝ → Prop | ||
ne ngt nm : n✝ → Prop | ||
nsih : ∀ (s1 s2 : n✝), ∃ a, nmm a s1 ∧ nmm a s2 ∧ ¬b a | ||
noh : ∀ (s : n✝), ngt s → ∃ a, nmm a s ∧ ¬b a | ||
nsg : ∀ (s : n✝), nm s → ngt s | ||
nne : ∀ (s : n✝), ngt s → ¬ne s | ||
sa : a → a → r✝ → v✝ → Prop | ||
sb sc : a → a → a → r✝ → v✝ → Prop | ||
sg : a → r✝ → Prop | ||
sd se sf : a → a → r✝ → v✝ → Prop | ||
ha : | ||
(∀ (s d₁ d₂ : a) (r : r✝) (v₁ v₂ : v✝), ¬b d₁ ∧ ¬b d₂ ∧ sf d₁ s r v₁ ∧ sf d₂ s r v₂ → v₁ = v₂) ∧ | ||
(∀ (s d : a) (r : r✝) (v : v✝), ¬b s ∧ ¬b d ∧ sf d s r v → sg s r ∧ ∀ (d : a), sa s d r v) ∧ | ||
(∀ (s d : a) (r : r✝) (v : v✝), ¬b s ∧ ¬b d ∧ se d s r v → sg s r ∧ ∀ (d : a), sa s d r v) ∧ | ||
(∀ (s o d₁ d₂ : a) (r : r✝) (v₁ v₂ : v✝), ¬b s → sc s d₁ o r v₁ ∧ sc s d₂ o r v₂ → v₁ = v₂) ∧ | ||
(∀ (s o d₁ d₂ : a) (r : r✝) (v₁ v₂ : v✝), ¬b s → sb s d₁ o r v₁ ∧ sb s d₂ o r v₂ → v₁ = v₂) ∧ | ||
(∀ (s d₁ d₂ : a) (r : r✝) (v₁ v₂ : v✝), ¬b s → sa s d₁ r v₁ ∧ sa s d₂ r v₂ → v₁ = v₂) ∧ | ||
(∀ (s d : a) (r : r✝) (v : v✝), ¬b s → ((∀ (d : a), sa s d r v) ↔ sa s d r v)) ∧ | ||
(∀ (n o : a) (r : r✝) (v : v✝), ¬b n → sf n o r v → ∃ q, nm q ∧ ∀ (s : a), nmm s q → sc s n o r v) ∧ | ||
(∀ (n o : a) (r : r✝) (v : v✝), | ||
¬b n → | ||
se n o r v → | ||
(∃ q, nm q ∧ ∀ (s : a), nmm s q → sb s n o r v) ∨ | ||
∃ q, ngt q ∧ ∀ (s : a), nmm s q → sc s n o r v) ∧ | ||
(∀ (n d o : a) (r : r✝) (v : v✝), ¬b n → (se n o r v ↔ sc n d o r v)) ∧ | ||
(∀ (n o : a) (r : r✝) (v : v✝), ¬b n → sd n o r v → sa o n r v) ∧ | ||
(∀ (n d o : a) (r : r✝) (v : v✝), ¬b n → (sd n o r v ↔ sb n d o r v)) ∧ | ||
∀ (s : a) (r : r✝), ¬b s → (sg s r ↔ ∃ v, ∀ (d : a), sa s d r v) | ||
ta : a → a → r✝ → v✝ → Prop | ||
tb tc : a → a → a → r✝ → v✝ → Prop | ||
tg : a → r✝ → Prop | ||
td te tf : a → a → r✝ → v✝ → Prop | ||
hb : | ||
(∀ (s d : a) (r : r✝) (v : v✝), ¬b s ∧ (sa s d r v ↔ ta s d r v) ∨ b s ∧ (sa s d r v → ta s d r v)) ∧ | ||
(∀ (s d o : a) (r : r✝) (v : v✝), ¬b s ∧ (sb s d o r v ↔ tb s d o r v) ∨ b s ∧ (sb s d o r v → tb s d o r v)) ∧ | ||
(∀ (s d o : a) (r : r✝) (v : v✝), ¬b s ∧ (sc s d o r v ↔ tc s d o r v) ∨ b s ∧ (sc s d o r v → tc s d o r v)) ∧ | ||
(∀ (a_2 : a) (a_3 : r✝), sg a_2 a_3 = tg a_2 a_3) ∧ | ||
(∀ (a_2 a_3 : a) (a_4 : r✝) (a_5 : v✝), sd a_2 a_3 a_4 a_5 = td a_2 a_3 a_4 a_5) ∧ | ||
(∀ (a_2 a_3 : a) (a_4 : r✝) (a_5 : v✝), se a_2 a_3 a_4 a_5 = te a_2 a_3 a_4 a_5) ∧ | ||
∀ (a_2 a_3 : a) (a_4 : r✝) (a_5 : v✝), sf a_2 a_3 a_4 a_5 = tf a_2 a_3 a_4 a_5 | ||
n o : a | ||
r : r✝ | ||
v : v✝ | ||
⊢ ¬b n → te n o r v → (∃ q, nm q ∧ ∀ (s : a), nmm s q → tb s n o r v) ∨ ∃ q, ngt q ∧ ∀ (s : a), nmm s q → tc s n o r v | ||
Test/EUF/Issue126.lean:3:8: warning: declaration uses 'sorry' |
Oops, something went wrong.