Skip to content

Commit

Permalink
Remove Path.inProp from prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
valis committed Feb 9, 2024
1 parent 97e2f4b commit 94506bb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion api/src/main/java/org/arend/ext/ArendPrelude.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public interface ArendPrelude {
CoreDataDefinition getPath();
CoreFunctionDefinition getEquality();
ArendRef getPathConRef();
CoreFunctionDefinition getInProp();
CoreFunctionDefinition getIdp();
ArendRef getAtRef();
CoreFunctionDefinition getIso();
Expand Down
12 changes: 0 additions & 12 deletions base/src/main/java/org/arend/prelude/Prelude.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ public class Prelude implements ArendPrelude {
public static FunctionDefinition PATH_INFIX;
public static Constructor PATH_CON;

public static FunctionDefinition IN_PROP;

public static DConstructor IDP;
public static FunctionDefinition AT;
public static FunctionDefinition ISO;
Expand Down Expand Up @@ -198,10 +196,6 @@ public static void update(Definition definition) {
FIN_FROM_NAT = (FunctionDefinition) definition;
FIN_FROM_NAT.setStatus(Definition.TypeCheckingStatus.NO_ERRORS);
}
case "inProp" -> {
IN_PROP = (FunctionDefinition) definition;
IN_PROP.setStatus(Definition.TypeCheckingStatus.NO_ERRORS);
}
case "divMod" -> {
DIV_MOD = (FunctionDefinition) definition;
DIV_MOD.setStatus(Definition.TypeCheckingStatus.NO_ERRORS);
Expand Down Expand Up @@ -269,7 +263,6 @@ public static void forEach(Consumer<Definition> consumer) {
consumer.accept(PATH);
consumer.accept(PATH_CON);
consumer.accept(PATH_INFIX);
consumer.accept(IN_PROP);
consumer.accept(IDP);
consumer.accept(AT);
consumer.accept(COERCE);
Expand Down Expand Up @@ -428,11 +421,6 @@ public ArendRef getPathConRef() {
return PATH_CON.getRef();
}

@Override
public FunctionDefinition getInProp() {
return IN_PROP;
}

@Override
public DConstructor getIdp() {
return IDP;
Expand Down
3 changes: 0 additions & 3 deletions lib/Prelude.ard
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@

\data Path (A : I -> \Type) (a : A left) (a' : A right)
| path (\Pi (i : I) -> A i)
\where {
\lemma inProp {A : \Prop} : \Pi (a a' : A) -> a = a'
}

\func \infix 1 = {A : \Type} (a a' : A) => Path (\lam _ => A) a a'

Expand Down

0 comments on commit 94506bb

Please sign in to comment.