Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions blueprint/src/python/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,15 @@ def beta_bound_examples2():
hs.add_hypotheses(compute_exp_pairs(hs, search_depth=1, prune=True))
hs.add_hypotheses(exponent_pairs_to_beta_bounds(hs))
hs.add_hypotheses(compute_best_beta_bounds(hs))
hs.add_hypotheses(beta_bounds_to_exponent_pairs(hs))
exp_pairs = beta_bounds_to_exponent_pairs(hs)
hs.add_hypotheses(exp_pairs)
old_bounds = compute_best_beta_bounds(hs)

# Apply Lemma 4.6
newBounds = apply_van_der_corput_process_for_beta(old_bounds)
add_beta_bound(hs, newBounds, Reference.make("ANTEDB Lemma 4.6", 2025))

hs.add_hypotheses(compute_best_beta_bounds(hs))
new_exp_pairs = beta_bounds_to_exponent_pairs(hs)
new_exp_pairs = [newPair for newPair in beta_bounds_to_exponent_pairs(hs) if not(newPair in exp_pairs)]

if len(new_exp_pairs) > 0:
Expand All @@ -239,6 +239,7 @@ def beta_bound_examples2():
for P in Ps:
print(P)

bounds = compute_best_beta_bounds(hs)
#display_beta_bounds(bounds)
display_two_sets_of_beta_bounds(old_bounds, bounds)

Expand Down Expand Up @@ -618,4 +619,3 @@ def all_examples():
# prove_exponent_pair(frac(89,3478), frac(15327,17390))

#all_examples()
beta_bound_examples2()