Numeric.SpecFunctions:invIncompleteGamma from math-functions-0.1.5.2, B

Time bar (total: 2.1s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze147.0ms (7%)

Memory
29.5MiB live, 303.9MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
0%0%99.9%0.1%0%0%0%4
0%0%99.9%0.1%0%0%0%5
3.2%3.1%93.7%0.1%0%3.1%0%6
15.8%14%74.9%0.1%0%10.9%0%7
22.1%19.5%68.7%0.1%0%11.7%0%8
31.8%26.9%57.8%0.1%0%15.2%0%9
36.3%30.6%53.9%0.1%0%15.4%0%10
42%34.8%48%0.1%0%17.1%0%11
44.6%36.9%45.9%0.1%0%17.1%0%12
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample1.5s (71.2%)

Memory
27.9MiB live, 2 024.3MiB allocated
Samples
422.0ms5 884×0valid
414.0ms2 372×1valid
175.0ms1 086×1invalid
112.0ms1 650×0invalid
Precisions
Click to see histograms. Total time spent on operations: 778.0ms
ival-sub: 326.0ms (41.9% of total)
ival-log: 210.0ms (27% of total)
ival-div: 126.0ms (16.2% of total)
adjust: 98.0ms (12.6% of total)
ival-true: 8.0ms (1% of total)
exact: 6.0ms (0.8% of total)
ival-assert: 4.0ms (0.5% of total)
Bogosity

explain160.0ms (7.6%)

Memory
0.2MiB live, 290.9MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1030-1(-1.3507300216176484e-272 0.01564241158614018)(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
770-0-(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
00-0-(-.f64 #s(literal 1 binary64) y)
00-0-#s(literal 1 binary64)
00-0-(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
00-0-(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
00-0-y
00-0-(-.f64 x y)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
log.f64(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))sensitivity1021
-.f64(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))cancellation770
Confusion
Predicted +Predicted -
+760
-10377
Precision
0.4245810055865922
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+7600
-103176
Precision?
0.4222222222222222
Recall?
1.0
Freqs
test
numberfreq
077
1179
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
61.0ms316×1valid
13.0ms172×0valid
8.0ms24×2valid
Compiler

Compiled 157 to 40 computations (74.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 60.0ms
ival-log: 24.0ms (40.1% of total)
ival-sub: 17.0ms (28.4% of total)
adjust: 10.0ms (16.7% of total)
ival-div: 7.0ms (11.7% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess3.0ms (0.1%)

Memory
4.7MiB live, 4.7MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
Outputs
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
Compiler

Compiled 12 to 9 computations (25% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
72.7%
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
Compiler

Compiled 12 to 9 computations (25% saved)

simplify0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
cost-diff0
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
cost-diff0
(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
cost-diff0
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
Calls
Call 1
Inputs
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
#s(literal 1 binary64)
(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
(-.f64 x y)
x
y
(-.f64 #s(literal 1 binary64) y)
Outputs
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
#s(literal 1 binary64)
(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
(-.f64 x y)
x
y
(-.f64 #s(literal 1 binary64) y)

localize56.0ms (2.7%)

Memory
-8.8MiB live, 65.3MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 #s(literal 1 binary64) y)
accuracy0.01953125
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
accuracy17.198712731935395
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
accuracy23.47686030933959
(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
Samples
32.0ms158×1valid
6.0ms86×0valid
4.0ms12×2valid
Compiler

Compiled 96 to 20 computations (79.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 32.0ms
ival-log: 15.0ms (47.5% of total)
ival-sub: 8.0ms (25.3% of total)
adjust: 5.0ms (15.8% of total)
ival-div: 3.0ms (9.5% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series15.0ms (0.7%)

Memory
25.9MiB live, 25.9MiB allocated
Counts
5 → 85
Calls
Call 1
Inputs
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
Outputs
(- 1 (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))) (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (* x (+ (* 1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (* x (+ (* x (+ (* 1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(log (+ 1 (/ y (- 1 y))))
(+ (log (+ 1 (/ y (- 1 y)))) (* -1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))))
(+ (log (+ 1 (/ y (- 1 y)))) (* x (- (* -1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y))))))
(+ (log (+ 1 (/ y (- 1 y)))) (* x (- (* x (- (* -1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y))))))
(+ 1 (/ y (- 1 y)))
(+ 1 (+ (* -1 (/ x (- 1 y))) (/ y (- 1 y))))
(* -1 (/ y (- 1 y)))
(+ (* -1 (/ y (- 1 y))) (/ x (- 1 y)))
(- 1 (+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x)))))
(- (+ 1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x)))))
(- (+ 1 (* 1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2)))) (+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)))))
(- (+ 1 (* 1/3 (/ (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)) (pow x 3)))) (+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2)))))))
(+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2))))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (+ (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2))) (* -1/3 (/ (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)) (pow x 3)))))))
(* -1 (/ x (- 1 y)))
(* x (- (+ (/ 1 x) (/ y (* x (- 1 y)))) (/ 1 (- 1 y))))
(/ x (- 1 y))
(* x (+ (* -1 (/ y (* x (- 1 y)))) (/ 1 (- 1 y))))
(- 1 (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (/ (* (- 1 y) (- 1 (* -1 (/ y (- 1 y))))) x)) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (* -1 (/ (- (* -1/2 (/ (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (* -1 (/ (- (* -1 (/ (- (* 1/3 (/ (* (pow (- 1 y) 3) (pow (- 1 (* -1 (/ y (- 1 y)))) 3)) x)) (* -1/2 (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)))) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (* (- 1 y) (- 1 (* -1 (/ y (- 1 y))))) x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (* 1/2 (/ (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (* -1 (/ (+ (* -1/2 (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2))) (* -1/3 (/ (* (pow (- 1 y) 3) (pow (- 1 (* -1 (/ y (- 1 y)))) 3)) x))) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))))
(* -1 (* x (+ (* -1 (/ (- 1 (* -1 (/ y (- 1 y)))) x)) (/ 1 (- 1 y)))))
(* -1 (* x (- (/ y (* x (- 1 y))) (/ 1 (- 1 y)))))
(- 1 (log (- 1 x)))
(- (+ 1 (* -1 (* y (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(- (+ 1 (* y (- (* -1/2 (* y (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(- (+ 1 (* y (- (* y (- (* -1/6 (* y (+ (* -6 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (+ 1 (* -1 x)) 3) (pow (- 1 x) 3))) (* 6 (/ (+ 1 (* -1 x)) (- 1 x))))))) (* 1/2 (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x))))))) (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(log (- 1 x))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (+ (* 1/2 (* y (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) (/ 1 (- 1 x))))))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (+ (* y (+ (* 1/6 (* y (+ (* -6 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (+ 1 (* -1 x)) 3) (pow (- 1 x) 3))) (* 6 (/ (+ 1 (* -1 x)) (- 1 x))))))) (* 1/2 (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x))))))) (/ 1 (- 1 x))))))
(- 1 x)
(- (+ 1 (* y (+ 1 (* -1 x)))) x)
(- (+ 1 (* y (+ 1 (+ (* -1 x) (* y (+ 1 (* -1 x))))))) x)
(- (+ 1 (* y (+ 1 (+ (* -1 x) (* y (+ 1 (+ (* -1 x) (* y (+ 1 (* -1 x)))))))))) x)
x
(+ x (* -1 (* y (+ 1 (* -1 x)))))
(+ x (* y (- (* -1 (* y (+ 1 (* -1 x)))) (+ 1 (* -1 x)))))
(+ x (* y (- (* y (- (* -1 (* y (+ 1 (* -1 x)))) (+ 1 (* -1 x)))) (+ 1 (* -1 x)))))
1
(+ 1 (* -1 y))
(- 1 (+ (log (neg (+ 1 (* -1 x)))) (log (/ 1 y))))
(- (+ 1 (/ x (* y (+ 1 (* -1 x))))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (/ 1 (* y (+ 1 (* -1 x)))))))
(- (+ 1 (* -1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))))))
(- (+ 1 (* -1/6 (/ (+ (* -6 (/ (- x 1) (+ 1 (* -1 x)))) (+ (* -6 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2))) (* -2 (/ (pow (- x 1) 3) (pow (+ 1 (* -1 x)) 3))))) (pow y 3)))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))))))
(+ (log (neg (+ 1 (* -1 x)))) (log (/ 1 y)))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (* -1 (/ (- x 1) (* y (+ 1 (* -1 x)))))))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2))))))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (+ (* 1/6 (/ (+ (* -6 (/ (- x 1) (+ 1 (* -1 x)))) (+ (* -6 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2))) (* -2 (/ (pow (- x 1) 3) (pow (+ 1 (* -1 x)) 3))))) (pow y 3))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))))))
(* -1 (/ (+ 1 (* -1 x)) y))
(/ (- (/ x y) (+ 1 (+ (* -1 x) (/ 1 y)))) y)
(/ (- (+ (/ x y) (/ x (pow y 2))) (+ 1 (+ (* -1 x) (+ (/ 1 y) (/ 1 (pow y 2)))))) y)
(/ (- (+ (/ x y) (+ (/ x (pow y 2)) (/ x (pow y 3)))) (+ 1 (+ (* -1 x) (+ (/ 1 y) (+ (/ 1 (pow y 2)) (/ 1 (pow y 3))))))) y)
(+ 1 (+ (* -1 (/ x y)) (/ 1 y)))
(+ 1 (+ (* -1 (/ x y)) (+ (* -1 (/ x (pow y 2))) (+ (/ 1 y) (/ 1 (pow y 2))))))
(- (+ 1 (+ (* -1 (/ x y)) (+ (* -1 (/ x (pow y 3))) (+ (/ 1 y) (/ 1 (pow y 3)))))) (* -1 (/ (+ 1 (* -1 x)) (pow y 2))))
(* -1 y)
(* y (- (/ 1 y) 1))
(- 1 (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (/ 1 (- 1 x)) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (+ (* 1/2 (/ (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))) y)) (/ 1 (- 1 x))) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* 1/6 (/ (+ (* -6 (/ (* (+ 1 (* -1 x)) (- x 1)) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (- x 1) 3) (pow (- 1 x) 3))) (* 6 (/ (- x 1) (- 1 x))))) y)) (* 1/2 (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) y)) (/ 1 (- 1 x))) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(+ (log (- 1 x)) (log (/ -1 y)))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (/ x (- 1 x)) (/ 1 (- 1 x))) y))))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (+ (* -1/2 (/ (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))) y)) (/ x (- 1 x))) (/ 1 (- 1 x))) y))))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (+ (* -1 (/ (+ (* -1/6 (/ (+ (* -6 (/ (* (+ 1 (* -1 x)) (- x 1)) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (- x 1) 3) (pow (- 1 x) 3))) (* 6 (/ (- x 1) (- 1 x))))) y)) (* 1/2 (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) y)) (/ x (- 1 x))) (/ 1 (- 1 x))) y))))
(* -1 (/ (- 1 x) y))
(* -1 (/ (- (+ 1 (* -1 (/ (- x 1) y))) x) y))
(* -1 (/ (- (+ 1 (* -1 (/ (- (+ x (* -1 (/ (+ 1 (* -1 x)) y))) 1) y))) x) y))
(* -1 (/ (- (+ 1 (* -1 (/ (- (+ x (* -1 (/ (+ 1 (+ (* -1 x) (* -1 (/ (- x 1) y)))) y))) 1) y))) x) y))
(+ 1 (* -1 (/ (- x 1) y)))
(+ 1 (* -1 (/ (- (+ x (* -1 (/ (- 1 x) y))) 1) y)))
(+ 1 (* -1 (/ (- (+ x (* -1 (/ (- (+ 1 (* -1 (/ (- x 1) y))) x) y))) 1) y)))
(* -1 (* y (- 1 (/ 1 y))))
Calls

6 calls:

TimeVariablePointExpression
3.0ms
y
@-inf
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (log (- 1 (/ (- x y) (- 1 y)))) (- 1 (/ (- x y) (- 1 y))) (/ (- x y) (- 1 y)) (- 1 y))
3.0ms
y
@inf
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (log (- 1 (/ (- x y) (- 1 y)))) (- 1 (/ (- x y) (- 1 y))) (/ (- x y) (- 1 y)) (- 1 y))
2.0ms
x
@inf
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (log (- 1 (/ (- x y) (- 1 y)))) (- 1 (/ (- x y) (- 1 y))) (/ (- x y) (- 1 y)) (- 1 y))
2.0ms
x
@-inf
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (log (- 1 (/ (- x y) (- 1 y)))) (- 1 (/ (- x y) (- 1 y))) (/ (- x y) (- 1 y)) (- 1 y))
2.0ms
x
@0
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (log (- 1 (/ (- x y) (- 1 y)))) (- 1 (/ (- x y) (- 1 y))) (/ (- x y) (- 1 y)) (- 1 y))

simplify5.0ms (0.2%)

Memory
-39.5MiB live, 4.0MiB allocated
Algorithm
egg-herbie
Counts
85 → 5
Calls
Call 1
Inputs
(- 1 (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))) (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (* x (+ (* 1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (* x (+ (* x (+ (* 1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(log (+ 1 (/ y (- 1 y))))
(+ (log (+ 1 (/ y (- 1 y)))) (* -1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))))
(+ (log (+ 1 (/ y (- 1 y)))) (* x (- (* -1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y))))))
(+ (log (+ 1 (/ y (- 1 y)))) (* x (- (* x (- (* -1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y))))))
(+ 1 (/ y (- 1 y)))
(+ 1 (+ (* -1 (/ x (- 1 y))) (/ y (- 1 y))))
(* -1 (/ y (- 1 y)))
(+ (* -1 (/ y (- 1 y))) (/ x (- 1 y)))
(- 1 (+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x)))))
(- (+ 1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x)))))
(- (+ 1 (* 1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2)))) (+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)))))
(- (+ 1 (* 1/3 (/ (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)) (pow x 3)))) (+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2)))))))
(+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2))))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (+ (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2))) (* -1/3 (/ (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)) (pow x 3)))))))
(* -1 (/ x (- 1 y)))
(* x (- (+ (/ 1 x) (/ y (* x (- 1 y)))) (/ 1 (- 1 y))))
(/ x (- 1 y))
(* x (+ (* -1 (/ y (* x (- 1 y)))) (/ 1 (- 1 y))))
(- 1 (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (/ (* (- 1 y) (- 1 (* -1 (/ y (- 1 y))))) x)) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (* -1 (/ (- (* -1/2 (/ (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (* -1 (/ (- (* -1 (/ (- (* 1/3 (/ (* (pow (- 1 y) 3) (pow (- 1 (* -1 (/ y (- 1 y)))) 3)) x)) (* -1/2 (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)))) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (* (- 1 y) (- 1 (* -1 (/ y (- 1 y))))) x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (* 1/2 (/ (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (* -1 (/ (+ (* -1/2 (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2))) (* -1/3 (/ (* (pow (- 1 y) 3) (pow (- 1 (* -1 (/ y (- 1 y)))) 3)) x))) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))))
(* -1 (* x (+ (* -1 (/ (- 1 (* -1 (/ y (- 1 y)))) x)) (/ 1 (- 1 y)))))
(* -1 (* x (- (/ y (* x (- 1 y))) (/ 1 (- 1 y)))))
(- 1 (log (- 1 x)))
(- (+ 1 (* -1 (* y (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(- (+ 1 (* y (- (* -1/2 (* y (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(- (+ 1 (* y (- (* y (- (* -1/6 (* y (+ (* -6 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (+ 1 (* -1 x)) 3) (pow (- 1 x) 3))) (* 6 (/ (+ 1 (* -1 x)) (- 1 x))))))) (* 1/2 (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x))))))) (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(log (- 1 x))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (+ (* 1/2 (* y (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) (/ 1 (- 1 x))))))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (+ (* y (+ (* 1/6 (* y (+ (* -6 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (+ 1 (* -1 x)) 3) (pow (- 1 x) 3))) (* 6 (/ (+ 1 (* -1 x)) (- 1 x))))))) (* 1/2 (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x))))))) (/ 1 (- 1 x))))))
(- 1 x)
(- (+ 1 (* y (+ 1 (* -1 x)))) x)
(- (+ 1 (* y (+ 1 (+ (* -1 x) (* y (+ 1 (* -1 x))))))) x)
(- (+ 1 (* y (+ 1 (+ (* -1 x) (* y (+ 1 (+ (* -1 x) (* y (+ 1 (* -1 x)))))))))) x)
x
(+ x (* -1 (* y (+ 1 (* -1 x)))))
(+ x (* y (- (* -1 (* y (+ 1 (* -1 x)))) (+ 1 (* -1 x)))))
(+ x (* y (- (* y (- (* -1 (* y (+ 1 (* -1 x)))) (+ 1 (* -1 x)))) (+ 1 (* -1 x)))))
1
(+ 1 (* -1 y))
(- 1 (+ (log (neg (+ 1 (* -1 x)))) (log (/ 1 y))))
(- (+ 1 (/ x (* y (+ 1 (* -1 x))))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (/ 1 (* y (+ 1 (* -1 x)))))))
(- (+ 1 (* -1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))))))
(- (+ 1 (* -1/6 (/ (+ (* -6 (/ (- x 1) (+ 1 (* -1 x)))) (+ (* -6 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2))) (* -2 (/ (pow (- x 1) 3) (pow (+ 1 (* -1 x)) 3))))) (pow y 3)))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))))))
(+ (log (neg (+ 1 (* -1 x)))) (log (/ 1 y)))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (* -1 (/ (- x 1) (* y (+ 1 (* -1 x)))))))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2))))))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (+ (* 1/6 (/ (+ (* -6 (/ (- x 1) (+ 1 (* -1 x)))) (+ (* -6 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2))) (* -2 (/ (pow (- x 1) 3) (pow (+ 1 (* -1 x)) 3))))) (pow y 3))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))))))
(* -1 (/ (+ 1 (* -1 x)) y))
(/ (- (/ x y) (+ 1 (+ (* -1 x) (/ 1 y)))) y)
(/ (- (+ (/ x y) (/ x (pow y 2))) (+ 1 (+ (* -1 x) (+ (/ 1 y) (/ 1 (pow y 2)))))) y)
(/ (- (+ (/ x y) (+ (/ x (pow y 2)) (/ x (pow y 3)))) (+ 1 (+ (* -1 x) (+ (/ 1 y) (+ (/ 1 (pow y 2)) (/ 1 (pow y 3))))))) y)
(+ 1 (+ (* -1 (/ x y)) (/ 1 y)))
(+ 1 (+ (* -1 (/ x y)) (+ (* -1 (/ x (pow y 2))) (+ (/ 1 y) (/ 1 (pow y 2))))))
(- (+ 1 (+ (* -1 (/ x y)) (+ (* -1 (/ x (pow y 3))) (+ (/ 1 y) (/ 1 (pow y 3)))))) (* -1 (/ (+ 1 (* -1 x)) (pow y 2))))
(* -1 y)
(* y (- (/ 1 y) 1))
(- 1 (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (/ 1 (- 1 x)) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (+ (* 1/2 (/ (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))) y)) (/ 1 (- 1 x))) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* 1/6 (/ (+ (* -6 (/ (* (+ 1 (* -1 x)) (- x 1)) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (- x 1) 3) (pow (- 1 x) 3))) (* 6 (/ (- x 1) (- 1 x))))) y)) (* 1/2 (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) y)) (/ 1 (- 1 x))) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(+ (log (- 1 x)) (log (/ -1 y)))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (/ x (- 1 x)) (/ 1 (- 1 x))) y))))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (+ (* -1/2 (/ (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))) y)) (/ x (- 1 x))) (/ 1 (- 1 x))) y))))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (+ (* -1 (/ (+ (* -1/6 (/ (+ (* -6 (/ (* (+ 1 (* -1 x)) (- x 1)) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (- x 1) 3) (pow (- 1 x) 3))) (* 6 (/ (- x 1) (- 1 x))))) y)) (* 1/2 (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) y)) (/ x (- 1 x))) (/ 1 (- 1 x))) y))))
(* -1 (/ (- 1 x) y))
(* -1 (/ (- (+ 1 (* -1 (/ (- x 1) y))) x) y))
(* -1 (/ (- (+ 1 (* -1 (/ (- (+ x (* -1 (/ (+ 1 (* -1 x)) y))) 1) y))) x) y))
(* -1 (/ (- (+ 1 (* -1 (/ (- (+ x (* -1 (/ (+ 1 (+ (* -1 x) (* -1 (/ (- x 1) y)))) y))) 1) y))) x) y))
(+ 1 (* -1 (/ (- x 1) y)))
(+ 1 (* -1 (/ (- (+ x (* -1 (/ (- 1 x) y))) 1) y)))
(+ 1 (* -1 (/ (- (+ x (* -1 (/ (- (+ 1 (* -1 (/ (- x 1) y))) x) y))) 1) y)))
(* -1 (* y (- 1 (/ 1 y))))
Outputs
(- 1 (log (+ 1 (/ y (- 1 y)))))
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
(- (+ 1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))) (log (+ 1 (/ y (- 1 y)))))
(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
(- (+ 1 (* x (+ (* 1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(- (+ 1 (* x (+ (* x (+ (* 1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
(log (+ 1 (/ y (- 1 y))))
(-.f64 #s(literal 1 binary64) y)

rewrite0.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated
Counts
5 → 5
Calls
Call 1
Inputs
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
Outputs
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)

eval1.0ms (0.1%)

Memory
3.1MiB live, 3.1MiB allocated
Compiler

Compiled 166 to 22 computations (86.7% saved)

prune2.0ms (0.1%)

Memory
4.9MiB live, 4.9MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New7310
Fresh000
Picked011
Done000
Total7411
Accuracy
75.6%
Counts
11 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
72.7%
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
2.9%
(-.f64 #s(literal 1 binary64) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
7.8%
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
40.6%
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
Compiler

Compiled 70 to 50 computations (28.6% saved)

simplify1.0ms (0%)

Memory
1.8MiB live, 1.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 #s(literal 1 binary64) y)
cost-diff0
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))
cost-diff0
(-.f64 #s(literal 1 binary64) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
cost-diff0
(-.f64 #s(literal 1 binary64) y)
cost-diff0
(-.f64 x y)
cost-diff0
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
cost-diff0
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
cost-diff0
(-.f64 x y)
cost-diff0
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
cost-diff0
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
cost-diff0
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
Calls
Call 1
Inputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
#s(literal 1 binary64)
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
(-.f64 x y)
x
y
(-.f64 #s(literal 1 binary64) y)
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
(-.f64 x y)
x
y
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
(-.f64 #s(literal 1 binary64) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
#s(literal 1 binary64)
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
y
Outputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
#s(literal 1 binary64)
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
(-.f64 x y)
x
y
(-.f64 #s(literal 1 binary64) y)
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
(-.f64 x y)
x
y
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
(-.f64 #s(literal 1 binary64) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
#s(literal 1 binary64)
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
y

localize54.0ms (2.6%)

Memory
-1.8MiB live, 115.0MiB allocated
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 #s(literal 1 binary64) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
accuracy0.0
(-.f64 #s(literal 1 binary64) y)
accuracy60.828894765507606
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))
accuracy0.0
(-.f64 x y)
accuracy0.0
(-.f64 #s(literal 1 binary64) y)
accuracy0.01953125
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
accuracy58.99168720878789
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
accuracy0.0
(-.f64 #s(literal 1 binary64) y)
accuracy0.01953125
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
accuracy17.198712731935395
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
accuracy37.71358075183686
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
Samples
31.0ms158×1valid
8.0ms86×0valid
4.0ms12×2valid
Compiler

Compiled 212 to 29 computations (86.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 29.0ms
ival-log: 10.0ms (34.7% of total)
ival-sub: 9.0ms (31.2% of total)
adjust: 6.0ms (20.8% of total)
ival-div: 3.0ms (10.4% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series6.0ms (0.3%)

Memory
10.1MiB live, 10.1MiB allocated
Counts
8 → 91
Calls
Call 1
Inputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
(-.f64 x y)
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(-.f64 #s(literal 1 binary64) y)
(-.f64 #s(literal 1 binary64) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))
Outputs
(- 1 (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))) (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (* x (+ (* 1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (* x (+ (* x (+ (* 1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(+ 1 (/ y (- 1 y)))
(+ 1 (+ (* -1 (/ x (- 1 y))) (/ y (- 1 y))))
(* -1 (/ y (- 1 y)))
(+ (* -1 (/ y (- 1 y))) (/ x (- 1 y)))
(* -1 y)
(- x y)
(log (+ 1 (/ y (- 1 y))))
(+ (log (+ 1 (/ y (- 1 y)))) (* -1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))))
(+ (log (+ 1 (/ y (- 1 y)))) (* x (- (* -1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y))))))
(+ (log (+ 1 (/ y (- 1 y)))) (* x (- (* x (- (* -1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y))))))
(- 1 (+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x)))))
(- (+ 1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x)))))
(- (+ 1 (* 1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2)))) (+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)))))
(- (+ 1 (* 1/3 (/ (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)) (pow x 3)))) (+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2)))))))
(* -1 (/ x (- 1 y)))
(* x (- (+ (/ 1 x) (/ y (* x (- 1 y)))) (/ 1 (- 1 y))))
(/ x (- 1 y))
(* x (+ (* -1 (/ y (* x (- 1 y)))) (/ 1 (- 1 y))))
x
(* x (+ 1 (* -1 (/ y x))))
(+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2))))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (+ (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2))) (* -1/3 (/ (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)) (pow x 3)))))))
(- 1 (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (/ (* (- 1 y) (- 1 (* -1 (/ y (- 1 y))))) x)) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (* -1 (/ (- (* -1/2 (/ (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (* -1 (/ (- (* -1 (/ (- (* 1/3 (/ (* (pow (- 1 y) 3) (pow (- 1 (* -1 (/ y (- 1 y)))) 3)) x)) (* -1/2 (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)))) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(* -1 (* x (+ (* -1 (/ (- 1 (* -1 (/ y (- 1 y)))) x)) (/ 1 (- 1 y)))))
(* -1 (* x (- (/ y (* x (- 1 y))) (/ 1 (- 1 y)))))
(* -1 (* x (- (/ y x) 1)))
(+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (* (- 1 y) (- 1 (* -1 (/ y (- 1 y))))) x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (* 1/2 (/ (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (* -1 (/ (+ (* -1/2 (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2))) (* -1/3 (/ (* (pow (- 1 y) 3) (pow (- 1 (* -1 (/ y (- 1 y)))) 3)) x))) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))))
(- 1 (log (- 1 x)))
(- (+ 1 (* -1 (* y (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(- (+ 1 (* y (- (* -1/2 (* y (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(- (+ 1 (* y (- (* y (- (* -1/6 (* y (+ (* -6 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (+ 1 (* -1 x)) 3) (pow (- 1 x) 3))) (* 6 (/ (+ 1 (* -1 x)) (- 1 x))))))) (* 1/2 (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x))))))) (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(- 1 x)
(- (+ 1 (* y (+ 1 (* -1 x)))) x)
(- (+ 1 (* y (+ 1 (+ (* -1 x) (* y (+ 1 (* -1 x))))))) x)
(- (+ 1 (* y (+ 1 (+ (* -1 x) (* y (+ 1 (+ (* -1 x) (* y (+ 1 (* -1 x)))))))))) x)
(+ x (* -1 (* y (+ 1 (* -1 x)))))
(+ x (* y (- (* -1 (* y (+ 1 (* -1 x)))) (+ 1 (* -1 x)))))
(+ x (* y (- (* y (- (* -1 (* y (+ 1 (* -1 x)))) (+ 1 (* -1 x)))) (+ 1 (* -1 x)))))
(+ x (* -1 y))
1
(+ 1 (* -1 y))
(log (- 1 x))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (+ (* 1/2 (* y (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) (/ 1 (- 1 x))))))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (+ (* y (+ (* 1/6 (* y (+ (* -6 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (+ 1 (* -1 x)) 3) (pow (- 1 x) 3))) (* 6 (/ (+ 1 (* -1 x)) (- 1 x))))))) (* 1/2 (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x))))))) (/ 1 (- 1 x))))))
(- 1 (+ (log (neg (+ 1 (* -1 x)))) (log (/ 1 y))))
(- (+ 1 (/ x (* y (+ 1 (* -1 x))))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (/ 1 (* y (+ 1 (* -1 x)))))))
(- (+ 1 (* -1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))))))
(- (+ 1 (* -1/6 (/ (+ (* -6 (/ (- x 1) (+ 1 (* -1 x)))) (+ (* -6 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2))) (* -2 (/ (pow (- x 1) 3) (pow (+ 1 (* -1 x)) 3))))) (pow y 3)))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))))))
(* -1 (/ (+ 1 (* -1 x)) y))
(/ (- (/ x y) (+ 1 (+ (* -1 x) (/ 1 y)))) y)
(/ (- (+ (/ x y) (/ x (pow y 2))) (+ 1 (+ (* -1 x) (+ (/ 1 y) (/ 1 (pow y 2)))))) y)
(/ (- (+ (/ x y) (+ (/ x (pow y 2)) (/ x (pow y 3)))) (+ 1 (+ (* -1 x) (+ (/ 1 y) (+ (/ 1 (pow y 2)) (/ 1 (pow y 3))))))) y)
(+ 1 (+ (* -1 (/ x y)) (/ 1 y)))
(+ 1 (+ (* -1 (/ x y)) (+ (* -1 (/ x (pow y 2))) (+ (/ 1 y) (/ 1 (pow y 2))))))
(- (+ 1 (+ (* -1 (/ x y)) (+ (* -1 (/ x (pow y 3))) (+ (/ 1 y) (/ 1 (pow y 3)))))) (* -1 (/ (+ 1 (* -1 x)) (pow y 2))))
(* y (- (/ x y) 1))
(* y (- (/ 1 y) 1))
(+ (log (neg (+ 1 (* -1 x)))) (log (/ 1 y)))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (* -1 (/ (- x 1) (* y (+ 1 (* -1 x)))))))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2))))))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (+ (* 1/6 (/ (+ (* -6 (/ (- x 1) (+ 1 (* -1 x)))) (+ (* -6 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2))) (* -2 (/ (pow (- x 1) 3) (pow (+ 1 (* -1 x)) 3))))) (pow y 3))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))))))
(- 1 (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (/ 1 (- 1 x)) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (+ (* 1/2 (/ (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))) y)) (/ 1 (- 1 x))) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* 1/6 (/ (+ (* -6 (/ (* (+ 1 (* -1 x)) (- x 1)) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (- x 1) 3) (pow (- 1 x) 3))) (* 6 (/ (- x 1) (- 1 x))))) y)) (* 1/2 (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) y)) (/ 1 (- 1 x))) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(* -1 (/ (- 1 x) y))
(* -1 (/ (- (+ 1 (* -1 (/ (- x 1) y))) x) y))
(* -1 (/ (- (+ 1 (* -1 (/ (- (+ x (* -1 (/ (+ 1 (* -1 x)) y))) 1) y))) x) y))
(* -1 (/ (- (+ 1 (* -1 (/ (- (+ x (* -1 (/ (+ 1 (+ (* -1 x) (* -1 (/ (- x 1) y)))) y))) 1) y))) x) y))
(+ 1 (* -1 (/ (- x 1) y)))
(+ 1 (* -1 (/ (- (+ x (* -1 (/ (- 1 x) y))) 1) y)))
(+ 1 (* -1 (/ (- (+ x (* -1 (/ (- (+ 1 (* -1 (/ (- x 1) y))) x) y))) 1) y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (- 1 (/ 1 y))))
(+ (log (- 1 x)) (log (/ -1 y)))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (/ x (- 1 x)) (/ 1 (- 1 x))) y))))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (+ (* -1/2 (/ (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))) y)) (/ x (- 1 x))) (/ 1 (- 1 x))) y))))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (+ (* -1 (/ (+ (* -1/6 (/ (+ (* -6 (/ (* (+ 1 (* -1 x)) (- x 1)) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (- x 1) 3) (pow (- 1 x) 3))) (* 6 (/ (- x 1) (- 1 x))))) y)) (* 1/2 (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) y)) (/ x (- 1 x))) (/ 1 (- 1 x))) y))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- 1 (/ (- x y) (- 1 y))) (/ (- x y) (- 1 y)) (- x y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- 1 y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (log (- 1 (/ (- x y) (- 1 y)))))
1.0ms
x
@0
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- 1 (/ (- x y) (- 1 y))) (/ (- x y) (- 1 y)) (- x y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- 1 y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (log (- 1 (/ (- x y) (- 1 y)))))
1.0ms
x
@-inf
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- 1 (/ (- x y) (- 1 y))) (/ (- x y) (- 1 y)) (- x y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- 1 y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (log (- 1 (/ (- x y) (- 1 y)))))
1.0ms
y
@inf
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- 1 (/ (- x y) (- 1 y))) (/ (- x y) (- 1 y)) (- x y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- 1 y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (log (- 1 (/ (- x y) (- 1 y)))))
1.0ms
y
@-inf
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- 1 (/ (- x y) (- 1 y))) (/ (- x y) (- 1 y)) (- x y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- 1 y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (log (- 1 (/ (- x y) (- 1 y)))))

simplify2.0ms (0.1%)

Memory
3.7MiB live, 3.7MiB allocated
Algorithm
egg-herbie
Counts
91 → 8
Calls
Call 1
Inputs
(- 1 (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))) (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (* x (+ (* 1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (* x (+ (* x (+ (* 1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(+ 1 (/ y (- 1 y)))
(+ 1 (+ (* -1 (/ x (- 1 y))) (/ y (- 1 y))))
(* -1 (/ y (- 1 y)))
(+ (* -1 (/ y (- 1 y))) (/ x (- 1 y)))
(* -1 y)
(- x y)
(log (+ 1 (/ y (- 1 y))))
(+ (log (+ 1 (/ y (- 1 y)))) (* -1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))))
(+ (log (+ 1 (/ y (- 1 y)))) (* x (- (* -1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y))))))
(+ (log (+ 1 (/ y (- 1 y)))) (* x (- (* x (- (* -1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y))))))
(- 1 (+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x)))))
(- (+ 1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x)))))
(- (+ 1 (* 1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2)))) (+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)))))
(- (+ 1 (* 1/3 (/ (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)) (pow x 3)))) (+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2)))))))
(* -1 (/ x (- 1 y)))
(* x (- (+ (/ 1 x) (/ y (* x (- 1 y)))) (/ 1 (- 1 y))))
(/ x (- 1 y))
(* x (+ (* -1 (/ y (* x (- 1 y)))) (/ 1 (- 1 y))))
x
(* x (+ 1 (* -1 (/ y x))))
(+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2))))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (+ (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2))) (* -1/3 (/ (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)) (pow x 3)))))))
(- 1 (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (/ (* (- 1 y) (- 1 (* -1 (/ y (- 1 y))))) x)) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (* -1 (/ (- (* -1/2 (/ (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (* -1 (/ (- (* -1 (/ (- (* 1/3 (/ (* (pow (- 1 y) 3) (pow (- 1 (* -1 (/ y (- 1 y)))) 3)) x)) (* -1/2 (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)))) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(* -1 (* x (+ (* -1 (/ (- 1 (* -1 (/ y (- 1 y)))) x)) (/ 1 (- 1 y)))))
(* -1 (* x (- (/ y (* x (- 1 y))) (/ 1 (- 1 y)))))
(* -1 (* x (- (/ y x) 1)))
(+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (* (- 1 y) (- 1 (* -1 (/ y (- 1 y))))) x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (* 1/2 (/ (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (* -1 (/ (+ (* -1/2 (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2))) (* -1/3 (/ (* (pow (- 1 y) 3) (pow (- 1 (* -1 (/ y (- 1 y)))) 3)) x))) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))))
(- 1 (log (- 1 x)))
(- (+ 1 (* -1 (* y (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(- (+ 1 (* y (- (* -1/2 (* y (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(- (+ 1 (* y (- (* y (- (* -1/6 (* y (+ (* -6 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (+ 1 (* -1 x)) 3) (pow (- 1 x) 3))) (* 6 (/ (+ 1 (* -1 x)) (- 1 x))))))) (* 1/2 (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x))))))) (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(- 1 x)
(- (+ 1 (* y (+ 1 (* -1 x)))) x)
(- (+ 1 (* y (+ 1 (+ (* -1 x) (* y (+ 1 (* -1 x))))))) x)
(- (+ 1 (* y (+ 1 (+ (* -1 x) (* y (+ 1 (+ (* -1 x) (* y (+ 1 (* -1 x)))))))))) x)
(+ x (* -1 (* y (+ 1 (* -1 x)))))
(+ x (* y (- (* -1 (* y (+ 1 (* -1 x)))) (+ 1 (* -1 x)))))
(+ x (* y (- (* y (- (* -1 (* y (+ 1 (* -1 x)))) (+ 1 (* -1 x)))) (+ 1 (* -1 x)))))
(+ x (* -1 y))
1
(+ 1 (* -1 y))
(log (- 1 x))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (+ (* 1/2 (* y (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) (/ 1 (- 1 x))))))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (+ (* y (+ (* 1/6 (* y (+ (* -6 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (+ 1 (* -1 x)) 3) (pow (- 1 x) 3))) (* 6 (/ (+ 1 (* -1 x)) (- 1 x))))))) (* 1/2 (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x))))))) (/ 1 (- 1 x))))))
(- 1 (+ (log (neg (+ 1 (* -1 x)))) (log (/ 1 y))))
(- (+ 1 (/ x (* y (+ 1 (* -1 x))))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (/ 1 (* y (+ 1 (* -1 x)))))))
(- (+ 1 (* -1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))))))
(- (+ 1 (* -1/6 (/ (+ (* -6 (/ (- x 1) (+ 1 (* -1 x)))) (+ (* -6 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2))) (* -2 (/ (pow (- x 1) 3) (pow (+ 1 (* -1 x)) 3))))) (pow y 3)))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))))))
(* -1 (/ (+ 1 (* -1 x)) y))
(/ (- (/ x y) (+ 1 (+ (* -1 x) (/ 1 y)))) y)
(/ (- (+ (/ x y) (/ x (pow y 2))) (+ 1 (+ (* -1 x) (+ (/ 1 y) (/ 1 (pow y 2)))))) y)
(/ (- (+ (/ x y) (+ (/ x (pow y 2)) (/ x (pow y 3)))) (+ 1 (+ (* -1 x) (+ (/ 1 y) (+ (/ 1 (pow y 2)) (/ 1 (pow y 3))))))) y)
(+ 1 (+ (* -1 (/ x y)) (/ 1 y)))
(+ 1 (+ (* -1 (/ x y)) (+ (* -1 (/ x (pow y 2))) (+ (/ 1 y) (/ 1 (pow y 2))))))
(- (+ 1 (+ (* -1 (/ x y)) (+ (* -1 (/ x (pow y 3))) (+ (/ 1 y) (/ 1 (pow y 3)))))) (* -1 (/ (+ 1 (* -1 x)) (pow y 2))))
(* y (- (/ x y) 1))
(* y (- (/ 1 y) 1))
(+ (log (neg (+ 1 (* -1 x)))) (log (/ 1 y)))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (* -1 (/ (- x 1) (* y (+ 1 (* -1 x)))))))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2))))))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (+ (* 1/6 (/ (+ (* -6 (/ (- x 1) (+ 1 (* -1 x)))) (+ (* -6 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2))) (* -2 (/ (pow (- x 1) 3) (pow (+ 1 (* -1 x)) 3))))) (pow y 3))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))))))
(- 1 (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (/ 1 (- 1 x)) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (+ (* 1/2 (/ (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))) y)) (/ 1 (- 1 x))) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* 1/6 (/ (+ (* -6 (/ (* (+ 1 (* -1 x)) (- x 1)) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (- x 1) 3) (pow (- 1 x) 3))) (* 6 (/ (- x 1) (- 1 x))))) y)) (* 1/2 (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) y)) (/ 1 (- 1 x))) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(* -1 (/ (- 1 x) y))
(* -1 (/ (- (+ 1 (* -1 (/ (- x 1) y))) x) y))
(* -1 (/ (- (+ 1 (* -1 (/ (- (+ x (* -1 (/ (+ 1 (* -1 x)) y))) 1) y))) x) y))
(* -1 (/ (- (+ 1 (* -1 (/ (- (+ x (* -1 (/ (+ 1 (+ (* -1 x) (* -1 (/ (- x 1) y)))) y))) 1) y))) x) y))
(+ 1 (* -1 (/ (- x 1) y)))
(+ 1 (* -1 (/ (- (+ x (* -1 (/ (- 1 x) y))) 1) y)))
(+ 1 (* -1 (/ (- (+ x (* -1 (/ (- (+ 1 (* -1 (/ (- x 1) y))) x) y))) 1) y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (- 1 (/ 1 y))))
(+ (log (- 1 x)) (log (/ -1 y)))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (/ x (- 1 x)) (/ 1 (- 1 x))) y))))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (+ (* -1/2 (/ (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))) y)) (/ x (- 1 x))) (/ 1 (- 1 x))) y))))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (+ (* -1 (/ (+ (* -1/6 (/ (+ (* -6 (/ (* (+ 1 (* -1 x)) (- x 1)) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (- x 1) 3) (pow (- 1 x) 3))) (* 6 (/ (- x 1) (- 1 x))))) y)) (* 1/2 (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) y)) (/ x (- 1 x))) (/ 1 (- 1 x))) y))))
Outputs
(- 1 (log (+ 1 (/ y (- 1 y)))))
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
(- (+ 1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))) (log (+ 1 (/ y (- 1 y)))))
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(- (+ 1 (* x (+ (* 1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
(- (+ 1 (* x (+ (* x (+ (* 1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(-.f64 x y)
(+ 1 (/ y (- 1 y)))
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(+ 1 (+ (* -1 (/ x (- 1 y))) (/ y (- 1 y))))
(-.f64 #s(literal 1 binary64) y)
(* -1 (/ y (- 1 y)))
(-.f64 #s(literal 1 binary64) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
(+ (* -1 (/ y (- 1 y))) (/ x (- 1 y)))
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))

rewrite1.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated
Counts
8 → 8
Calls
Call 1
Inputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
(-.f64 x y)
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(-.f64 #s(literal 1 binary64) y)
(-.f64 #s(literal 1 binary64) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))
Outputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
(-.f64 x y)
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(-.f64 #s(literal 1 binary64) y)
(-.f64 #s(literal 1 binary64) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))

eval2.0ms (0.1%)

Memory
4.2MiB live, 4.2MiB allocated
Compiler

Compiled 506 to 32 computations (93.7% saved)

prune3.0ms (0.1%)

Memory
5.8MiB live, 5.8MiB allocated
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New18220
Fresh000
Picked123
Done011
Total19524
Accuracy
75.6%
Counts
24 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
72.7%
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
2.9%
(-.f64 #s(literal 1 binary64) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
7.8%
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
4.5%
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 x y))
41.5%
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
Compiler

Compiled 99 to 60 computations (39.4% saved)

simplify0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 x y)
cost-diff0
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 x y))
cost-diff0
(-.f64 #s(literal 1 binary64) y)
cost-diff0
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))
cost-diff0
#s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
cost-diff0
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
Calls
Call 1
Inputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
#s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
y
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 x y))
(-.f64 x y)
x
y
Outputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
#s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
y
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 x y))
(-.f64 x y)
x
y

localize49.0ms (2.3%)

Memory
0.3MiB live, 81.3MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x y)
accuracy61.147001869628504
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 x y))
accuracy0.0
(-.f64 #s(literal 1 binary64) y)
accuracy58.99168720878789
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
accuracy60.828894765507606
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))
accuracy62.79801474955709
#s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
Samples
31.0ms155×1valid
6.0ms89×0valid
4.0ms12×2valid
Compiler

Compiled 150 to 27 computations (82% saved)

Precisions
Click to see histograms. Total time spent on operations: 30.0ms
ival-log: 11.0ms (36.7% of total)
ival-sub: 10.0ms (33.4% of total)
adjust: 5.0ms (16.7% of total)
ival-div: 3.0ms (10% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series5.0ms (0.3%)

Memory
-29.3MiB live, 9.3MiB allocated
Counts
6 → 74
Calls
Call 1
Inputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
#s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 x y))
(-.f64 x y)
Outputs
(- 1 (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))) (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (* x (+ (* 1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (* x (+ (* x (+ (* 1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(* -1 (/ y (- 1 y)))
(+ (* -1 (/ y (- 1 y))) (/ x (- 1 y)))
(log (+ 1 (/ y (- 1 y))))
(+ (log (+ 1 (/ y (- 1 y)))) (* -1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))))
(+ (log (+ 1 (/ y (- 1 y)))) (* x (- (* -1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y))))))
(+ (log (+ 1 (/ y (- 1 y)))) (* x (- (* x (- (* -1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y))))))
(* -1 y)
(- x y)
(- 1 (+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x)))))
(- (+ 1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x)))))
(- (+ 1 (* 1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2)))) (+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)))))
(- (+ 1 (* 1/3 (/ (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)) (pow x 3)))) (+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2)))))))
(/ x (- 1 y))
(* x (+ (* -1 (/ y (* x (- 1 y)))) (/ 1 (- 1 y))))
(+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2))))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (+ (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2))) (* -1/3 (/ (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)) (pow x 3)))))))
x
(* x (+ 1 (* -1 (/ y x))))
(- 1 (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (/ (* (- 1 y) (- 1 (* -1 (/ y (- 1 y))))) x)) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (* -1 (/ (- (* -1/2 (/ (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (* -1 (/ (- (* -1 (/ (- (* 1/3 (/ (* (pow (- 1 y) 3) (pow (- 1 (* -1 (/ y (- 1 y)))) 3)) x)) (* -1/2 (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)))) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(* -1 (* x (- (/ y (* x (- 1 y))) (/ 1 (- 1 y)))))
(+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (* (- 1 y) (- 1 (* -1 (/ y (- 1 y))))) x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (* 1/2 (/ (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (* -1 (/ (+ (* -1/2 (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2))) (* -1/3 (/ (* (pow (- 1 y) 3) (pow (- 1 (* -1 (/ y (- 1 y)))) 3)) x))) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))))
(* -1 (* x (- (/ y x) 1)))
(- 1 (log (- 1 x)))
(- (+ 1 (* -1 (* y (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(- (+ 1 (* y (- (* -1/2 (* y (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(- (+ 1 (* y (- (* y (- (* -1/6 (* y (+ (* -6 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (+ 1 (* -1 x)) 3) (pow (- 1 x) 3))) (* 6 (/ (+ 1 (* -1 x)) (- 1 x))))))) (* 1/2 (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x))))))) (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(+ x (* -1 (* y (+ 1 (* -1 x)))))
(+ x (* y (- (* -1 (* y (+ 1 (* -1 x)))) (+ 1 (* -1 x)))))
(+ x (* y (- (* y (- (* -1 (* y (+ 1 (* -1 x)))) (+ 1 (* -1 x)))) (+ 1 (* -1 x)))))
(log (- 1 x))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (+ (* 1/2 (* y (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) (/ 1 (- 1 x))))))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (+ (* y (+ (* 1/6 (* y (+ (* -6 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (+ 1 (* -1 x)) 3) (pow (- 1 x) 3))) (* 6 (/ (+ 1 (* -1 x)) (- 1 x))))))) (* 1/2 (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x))))))) (/ 1 (- 1 x))))))
1
(+ 1 (* -1 y))
(+ x (* -1 y))
(- 1 (+ (log (neg (+ 1 (* -1 x)))) (log (/ 1 y))))
(- (+ 1 (/ x (* y (+ 1 (* -1 x))))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (/ 1 (* y (+ 1 (* -1 x)))))))
(- (+ 1 (* -1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))))))
(- (+ 1 (* -1/6 (/ (+ (* -6 (/ (- x 1) (+ 1 (* -1 x)))) (+ (* -6 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2))) (* -2 (/ (pow (- x 1) 3) (pow (+ 1 (* -1 x)) 3))))) (pow y 3)))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))))))
(+ 1 (+ (* -1 (/ x y)) (/ 1 y)))
(+ 1 (+ (* -1 (/ x y)) (+ (* -1 (/ x (pow y 2))) (+ (/ 1 y) (/ 1 (pow y 2))))))
(- (+ 1 (+ (* -1 (/ x y)) (+ (* -1 (/ x (pow y 3))) (+ (/ 1 y) (/ 1 (pow y 3)))))) (* -1 (/ (+ 1 (* -1 x)) (pow y 2))))
(+ (log (neg (+ 1 (* -1 x)))) (log (/ 1 y)))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (* -1 (/ (- x 1) (* y (+ 1 (* -1 x)))))))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2))))))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (+ (* 1/6 (/ (+ (* -6 (/ (- x 1) (+ 1 (* -1 x)))) (+ (* -6 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2))) (* -2 (/ (pow (- x 1) 3) (pow (+ 1 (* -1 x)) 3))))) (pow y 3))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))))))
(* y (- (/ 1 y) 1))
(* y (- (/ x y) 1))
(- 1 (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (/ 1 (- 1 x)) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (+ (* 1/2 (/ (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))) y)) (/ 1 (- 1 x))) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* 1/6 (/ (+ (* -6 (/ (* (+ 1 (* -1 x)) (- x 1)) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (- x 1) 3) (pow (- 1 x) 3))) (* 6 (/ (- x 1) (- 1 x))))) y)) (* 1/2 (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) y)) (/ 1 (- 1 x))) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(+ 1 (* -1 (/ (- x 1) y)))
(+ 1 (* -1 (/ (- (+ x (* -1 (/ (- 1 x) y))) 1) y)))
(+ 1 (* -1 (/ (- (+ x (* -1 (/ (- (+ 1 (* -1 (/ (- x 1) y))) x) y))) 1) y)))
(+ (log (- 1 x)) (log (/ -1 y)))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (/ x (- 1 x)) (/ 1 (- 1 x))) y))))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (+ (* -1/2 (/ (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))) y)) (/ x (- 1 x))) (/ 1 (- 1 x))) y))))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (+ (* -1 (/ (+ (* -1/6 (/ (+ (* -6 (/ (* (+ 1 (* -1 x)) (- x 1)) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (- x 1) 3) (pow (- 1 x) 3))) (* 6 (/ (- x 1) (- 1 x))))) y)) (* 1/2 (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) y)) (/ x (- 1 x))) (/ 1 (- 1 x))) y))))
(* -1 (* y (- 1 (/ 1 y))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@0
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/ (- x y) (- 1 y)) (log (- 1 (/ (- x y) (- 1 y)))) (- 1 y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- x y))
1.0ms
x
@-inf
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/ (- x y) (- 1 y)) (log (- 1 (/ (- x y) (- 1 y)))) (- 1 y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- x y))
1.0ms
y
@inf
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/ (- x y) (- 1 y)) (log (- 1 (/ (- x y) (- 1 y)))) (- 1 y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- x y))
1.0ms
x
@inf
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/ (- x y) (- 1 y)) (log (- 1 (/ (- x y) (- 1 y)))) (- 1 y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- x y))
0.0ms
y
@-inf
((- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/ (- x y) (- 1 y)) (log (- 1 (/ (- x y) (- 1 y)))) (- 1 y) (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (- x y))

simplify1.0ms (0.1%)

Memory
3.2MiB live, 3.2MiB allocated
Algorithm
egg-herbie
Counts
74 → 6
Calls
Call 1
Inputs
(- 1 (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))) (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (* x (+ (* 1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(- (+ 1 (* x (+ (* x (+ (* 1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(* -1 (/ y (- 1 y)))
(+ (* -1 (/ y (- 1 y))) (/ x (- 1 y)))
(log (+ 1 (/ y (- 1 y))))
(+ (log (+ 1 (/ y (- 1 y)))) (* -1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))))
(+ (log (+ 1 (/ y (- 1 y)))) (* x (- (* -1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y))))))
(+ (log (+ 1 (/ y (- 1 y)))) (* x (- (* x (- (* -1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y))))))
(* -1 y)
(- x y)
(- 1 (+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x)))))
(- (+ 1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x)))))
(- (+ 1 (* 1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2)))) (+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)))))
(- (+ 1 (* 1/3 (/ (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)) (pow x 3)))) (+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2)))))))
(/ x (- 1 y))
(* x (+ (* -1 (/ y (* x (- 1 y)))) (/ 1 (- 1 y))))
(+ (log (neg (/ 1 (- 1 y)))) (* -1 (log (/ 1 x))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2))))))
(+ (log (neg (/ 1 (- 1 y)))) (+ (* -1 (log (/ 1 x))) (+ (* -1 (/ (* (+ 1 (/ y (- 1 y))) (- 1 y)) x)) (+ (* -1/2 (/ (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)) (pow x 2))) (* -1/3 (/ (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)) (pow x 3)))))))
x
(* x (+ 1 (* -1 (/ y x))))
(- 1 (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (/ (* (- 1 y) (- 1 (* -1 (/ y (- 1 y))))) x)) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (* -1 (/ (- (* -1/2 (/ (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(- (+ 1 (* -1 (/ (- (* -1 (/ (- (* 1/3 (/ (* (pow (- 1 y) 3) (pow (- 1 (* -1 (/ y (- 1 y)))) 3)) x)) (* -1/2 (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)))) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))) (+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x)))))
(* -1 (* x (- (/ y (* x (- 1 y))) (/ 1 (- 1 y)))))
(+ (log (/ 1 (- 1 y))) (* -1 (log (/ -1 x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (* (- 1 y) (- 1 (* -1 (/ y (- 1 y))))) x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (* 1/2 (/ (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2)) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))))
(+ (log (/ 1 (- 1 y))) (+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (* -1 (/ (+ (* -1/2 (* (pow (- 1 y) 2) (pow (- 1 (* -1 (/ y (- 1 y)))) 2))) (* -1/3 (/ (* (pow (- 1 y) 3) (pow (- 1 (* -1 (/ y (- 1 y)))) 3)) x))) x)) (* (- 1 y) (- 1 (* -1 (/ y (- 1 y)))))) x))))
(* -1 (* x (- (/ y x) 1)))
(- 1 (log (- 1 x)))
(- (+ 1 (* -1 (* y (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(- (+ 1 (* y (- (* -1/2 (* y (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(- (+ 1 (* y (- (* y (- (* -1/6 (* y (+ (* -6 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (+ 1 (* -1 x)) 3) (pow (- 1 x) 3))) (* 6 (/ (+ 1 (* -1 x)) (- 1 x))))))) (* 1/2 (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x))))))) (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))) (log (- 1 x)))
(+ x (* -1 (* y (+ 1 (* -1 x)))))
(+ x (* y (- (* -1 (* y (+ 1 (* -1 x)))) (+ 1 (* -1 x)))))
(+ x (* y (- (* y (- (* -1 (* y (+ 1 (* -1 x)))) (+ 1 (* -1 x)))) (+ 1 (* -1 x)))))
(log (- 1 x))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (/ 1 (- 1 x)))))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (+ (* 1/2 (* y (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) (/ 1 (- 1 x))))))
(+ (log (- 1 x)) (* y (+ (* -1 (/ x (- 1 x))) (+ (* y (+ (* 1/6 (* y (+ (* -6 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (+ 1 (* -1 x)) 3) (pow (- 1 x) 3))) (* 6 (/ (+ 1 (* -1 x)) (- 1 x))))))) (* 1/2 (+ (* -1 (/ (pow (+ 1 (* -1 x)) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x))))))) (/ 1 (- 1 x))))))
1
(+ 1 (* -1 y))
(+ x (* -1 y))
(- 1 (+ (log (neg (+ 1 (* -1 x)))) (log (/ 1 y))))
(- (+ 1 (/ x (* y (+ 1 (* -1 x))))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (/ 1 (* y (+ 1 (* -1 x)))))))
(- (+ 1 (* -1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))))))
(- (+ 1 (* -1/6 (/ (+ (* -6 (/ (- x 1) (+ 1 (* -1 x)))) (+ (* -6 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2))) (* -2 (/ (pow (- x 1) 3) (pow (+ 1 (* -1 x)) 3))))) (pow y 3)))) (+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))))))
(+ 1 (+ (* -1 (/ x y)) (/ 1 y)))
(+ 1 (+ (* -1 (/ x y)) (+ (* -1 (/ x (pow y 2))) (+ (/ 1 y) (/ 1 (pow y 2))))))
(- (+ 1 (+ (* -1 (/ x y)) (+ (* -1 (/ x (pow y 3))) (+ (/ 1 y) (/ 1 (pow y 3)))))) (* -1 (/ (+ 1 (* -1 x)) (pow y 2))))
(+ (log (neg (+ 1 (* -1 x)))) (log (/ 1 y)))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (* -1 (/ (- x 1) (* y (+ 1 (* -1 x)))))))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2))))))
(+ (log (neg (+ 1 (* -1 x)))) (+ (log (/ 1 y)) (+ (* -1 (/ (- x 1) (* y (+ 1 (* -1 x))))) (+ (* 1/6 (/ (+ (* -6 (/ (- x 1) (+ 1 (* -1 x)))) (+ (* -6 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2))) (* -2 (/ (pow (- x 1) 3) (pow (+ 1 (* -1 x)) 3))))) (pow y 3))) (* 1/2 (/ (+ (* -2 (/ (- x 1) (+ 1 (* -1 x)))) (* -1 (/ (pow (- x 1) 2) (pow (+ 1 (* -1 x)) 2)))) (pow y 2)))))))
(* y (- (/ 1 y) 1))
(* y (- (/ x y) 1))
(- 1 (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (/ 1 (- 1 x)) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (+ (* 1/2 (/ (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))) y)) (/ 1 (- 1 x))) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(- (+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* 1/6 (/ (+ (* -6 (/ (* (+ 1 (* -1 x)) (- x 1)) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (- x 1) 3) (pow (- 1 x) 3))) (* 6 (/ (- x 1) (- 1 x))))) y)) (* 1/2 (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) y)) (/ 1 (- 1 x))) (/ x (- 1 x))) y))) (+ (log (- 1 x)) (log (/ -1 y))))
(+ 1 (* -1 (/ (- x 1) y)))
(+ 1 (* -1 (/ (- (+ x (* -1 (/ (- 1 x) y))) 1) y)))
(+ 1 (* -1 (/ (- (+ x (* -1 (/ (- (+ 1 (* -1 (/ (- x 1) y))) x) y))) 1) y)))
(+ (log (- 1 x)) (log (/ -1 y)))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (/ x (- 1 x)) (/ 1 (- 1 x))) y))))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (+ (* -1/2 (/ (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))) y)) (/ x (- 1 x))) (/ 1 (- 1 x))) y))))
(+ (log (- 1 x)) (+ (log (/ -1 y)) (* -1 (/ (- (+ (* -1 (/ (+ (* -1/6 (/ (+ (* -6 (/ (* (+ 1 (* -1 x)) (- x 1)) (pow (- 1 x) 2))) (+ (* 2 (/ (pow (- x 1) 3) (pow (- 1 x) 3))) (* 6 (/ (- x 1) (- 1 x))))) y)) (* 1/2 (+ (* -1 (/ (pow (- x 1) 2) (pow (- 1 x) 2))) (* 2 (/ (+ 1 (* -1 x)) (- 1 x)))))) y)) (/ x (- 1 x))) (/ 1 (- 1 x))) y))))
(* -1 (* y (- 1 (/ 1 y))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Outputs
(- 1 (log (+ 1 (/ y (- 1 y)))))
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
(- (+ 1 (/ x (* (+ 1 (/ y (- 1 y))) (- 1 y)))) (log (+ 1 (/ y (- 1 y)))))
#s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
(- (+ 1 (* x (+ (* 1/2 (/ x (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))
(- (+ 1 (* x (+ (* x (+ (* 1/3 (/ x (* (pow (+ 1 (/ y (- 1 y))) 3) (pow (- 1 y) 3)))) (* 1/2 (/ 1 (* (pow (+ 1 (/ y (- 1 y))) 2) (pow (- 1 y) 2)))))) (/ 1 (* (+ 1 (/ y (- 1 y))) (- 1 y)))))) (log (+ 1 (/ y (- 1 y)))))
(-.f64 #s(literal 1 binary64) y)
(* -1 (/ y (- 1 y)))
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 x y))
(+ (* -1 (/ y (- 1 y))) (/ x (- 1 y)))
(-.f64 x y)

rewrite0.0ms (0%)

Memory
1.2MiB live, 1.1MiB allocated
Counts
6 → 6
Calls
Call 1
Inputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
#s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 x y))
(-.f64 x y)
Outputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
#s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
#s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 x y))
(-.f64 x y)

eval1.0ms (0.1%)

Memory
3.2MiB live, 3.3MiB allocated
Compiler

Compiled 324 to 23 computations (92.9% saved)

prune6.0ms (0.3%)

Memory
11.6MiB live, 11.6MiB allocated
Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New11011
Fresh000
Picked022
Done033
Total11516
Accuracy
75.6%
Counts
16 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
72.7%
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
2.9%
(-.f64 #s(literal 1 binary64) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
7.8%
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
4.5%
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 x y))
41.5%
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
Compiler

Compiled 220 to 83 computations (62.3% saved)

regimes16.0ms (0.8%)

Memory
5.9MiB live, 44.9MiB allocated
Counts
6 → 2
Calls
Call 1
Inputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 x y))
(-.f64 #s(literal 1 binary64) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
Outputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
Calls

6 calls:

3.0ms
(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
3.0ms
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
2.0ms
y
2.0ms
x
2.0ms
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
Results
AccuracySegmentsBranch
72.7%1x
72.7%1y
75.6%2(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
75.6%2(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
75.6%2(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
75.6%2(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
Compiler

Compiled 40 to 34 computations (15% saved)

regimes16.0ms (0.8%)

Memory
-12.5MiB live, 31.5MiB allocated
Counts
5 → 2
Calls
Call 1
Inputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 x y))
(-.f64 #s(literal 1 binary64) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
Outputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
Calls

6 calls:

5.0ms
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
2.0ms
y
2.0ms
x
2.0ms
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
2.0ms
(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
Results
AccuracySegmentsBranch
41.5%1x
44.2%2y
44.5%2(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
44.5%2(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
44.5%2(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
44.5%2(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
Compiler

Compiled 40 to 34 computations (15% saved)

regimes10.0ms (0.5%)

Memory
-18.0MiB live, 20.9MiB allocated
Accuracy

Total -25.5b remaining (-68.1%)

Threshold costs -25.5b (-68.1%)

Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (-.f64 x y))
(-.f64 #s(literal 1 binary64) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))
Outputs
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
Calls

5 calls:

3.0ms
y
2.0ms
(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
2.0ms
(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
2.0ms
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
1.0ms
(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
Results
AccuracySegmentsBranch
41.5%1y
41.5%1(-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))))
41.5%1(/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))
41.5%1(log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))
41.5%1(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y)))
Compiler

Compiled 39 to 32 computations (17.9% saved)

bsearch0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.0
5.551115123125783e-16
Compiler

Compiled 15 to 15 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.10886962076751905
0.5235607342344366
Compiler

Compiled 15 to 15 computations (0% saved)

simplify5.0ms (0.2%)

Memory
12.6MiB live, 12.6MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(if (<=.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))) #s(literal 0 binary64)) #s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))) (-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))))
(if (<=.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))) #s(literal 3602879701896397/18014398509481984 binary64)) #s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))) #s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))))
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))
Outputs
(if (<=.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))) #s(literal 0 binary64)) #s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))) (-.f64 #s(literal 1 binary64) (log.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))))))
(if (<=.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))) #s(literal 3602879701896397/18014398509481984 binary64)) #s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) (/.f64 (-.f64 x y) (-.f64 #s(literal 1 binary64) y))) #s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y)))))
#s(approx (- 1 (log (- 1 (/ (- x y) (- 1 y))))) #s(approx (/ (- x y) (- 1 y)) #s(approx (log (- 1 (/ (- x y) (- 1 y)))) (-.f64 #s(literal 1 binary64) y))))

soundness1.0ms (0%)

Memory
1.5MiB live, 1.5MiB allocated
Stop Event
done
Compiler

Compiled 146 to 26 computations (82.2% saved)

preprocess36.0ms (1.7%)

Memory
-6.2MiB live, 70.9MiB allocated
Compiler

Compiled 422 to 118 computations (72% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...