Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8525827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:05:43+00:00 2026-06-11T08:05:43+00:00

Require Import ProofWeb. Variables x y z a : D. Variables p: D *

  • 0
Require Import ProofWeb.

Variables x y z a : D.
Variables p: D * D * D -> Prop.

Theorem letra_a : (all x, p(a,x,x) /\  (all x, ( all y, ( all z, p(x,y,z))) -> p(f(x),y,f(z)))) -> p(f(a),a,f(a)).
Proof.
intros.
imp_e (p(a,a,a)).
destruct H. 

Now here’s where the problem is, I need
p (a, a, a) -> p (f a, a, f a)
Which is pretty obvious from
all x, all y, all z, p (x, y, z) -> p (f x, y, f z)
Just need to instantiate x,y and z = a, but I can’t. Nothing I do is accepted here.

f_all_e H0.

Gives me Error: Tactic failure:
(argument is not a universally quantified formula or does not fit the goal).

If I try
all_e (all x, all y, all z, p (x, y, z) -> p (f x, y, f z)).
Error: Tactic failure: (the argument is not a universal quantification).

Can you please help? I’ve mined Coq information all over, printed PDF’s, been trying but still can’t get a hang of Coq’s syntax and logic flow, I’m still pretty much lost in it.

Thanks in advance for any pointers!

Solution found:

Theorem letra_c : (all y, q b y) /\ (all x, (all y, (q x y -> q (s x) (s y))) ) -> ( exi z, (q b z /\ q z (s (s b))) ).
Proof.
intros.
destruct H.
exi_i (s b).
con_i.
apply H.
imp_e (q b (s b)). 
all_e (all y, (q b y -> q (s b) (s y))).
all_e (all x, (all y0, (q x y0 -> q (s x) (s y0)))).
apply H0.
apply H.
Qed.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T08:05:44+00:00Added an answer on June 11, 2026 at 8:05 am
    H : all x, p (a, x, x)
    H0 : all x, all y, all z, p (x, y, z) -> p (f x, y, f z)
    H1 : p (a, a, a)
    ============================
     p (f a, a, f a)
    

    In regular Coq, you could either:

    • apply H0, which would yield the goal p (a, a, a), easily solved ;

    • specialize (H0 a a a), which would give you H0: p (a, a, a) -> p (f a, a, f a) ;

    • or just go exact (H0 _ _ _ H1) and finish that already.

    Now, I tried using http://prover.cs.ru.nl/index.html to finish your goal, but I can’t quite find the command either.

    I would have thought about some sort of forward forall elimination, or backward modus ponens, but I cannot make it work either. Do you have a documentation for this?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Require a huge help here, since this is affecting our production instance. One of
edit: I should probably say how I am currently worked around the problem here.
In Ruby, instead of repeating the "require" (the "import" in Python) word lots of
Using a code snippet like: sp = getSpotifyApi(1); var models = sp.require(sp://import/scripts/api/models); var tpl
I have a particular situation where my client require to import (periodically) an ms-access
for part of my application I require a list of all contacts (with phone
require('fortunes') fortune('106') Personally I have never regretted trying not to underestimate my own future
require installed gems are not visible. Test with hpricot which I installed several times:
require 'coderay' puts CodeRay.scan('puts Hello, world!', :ruby).page This code will print full HTML page
require 'sinatra/base' class Foo < Sinatra::Base get('/foo') { 'foo' } end class Bar <

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.