exp neg sub

Time bar (total: 3.7s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample1.0s (28.1%)

Memory
25.0MiB live, 1 373.8MiB allocated
Samples
771.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 357.0ms
ival-exp: 144.0ms (40.4% of total)
ival-neg: 85.0ms (23.8% of total)
ival-mult: 66.0ms (18.5% of total)
ival-sub: 47.0ms (13.2% of total)
ival-true: 6.0ms (1.7% of total)
exact: 6.0ms (1.7% of total)
ival-assert: 3.0ms (0.8% of total)
Bogosity

explain86.0ms (2.4%)

Memory
-9.5MiB live, 219.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-#s(literal 1 binary64)
00-0-(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
00-0-(-.f64 #s(literal 1 binary64) (*.f64 x x))
00-0-(*.f64 x x)
00-0-(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
32.0ms512×0valid
Compiler

Compiled 80 to 28 computations (65% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
ival-exp: 6.0ms (36.7% of total)
ival-mult: 4.0ms (24.5% of total)
ival-sub: 3.0ms (18.3% of total)
ival-neg: 2.0ms (12.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess279.0ms (7.6%)

Memory
-6.1MiB live, 185.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
13013
27413
315613
428213
541013
663513
796813
8162513
9301313
10613513
067
0107
1226
2516
31066
41926
52936
64686
77766
812776
921096
1042916
1173866
080735
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
Outputs
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
Symmetry

(abs x)

Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune1.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify151.0ms (4.1%)

Memory
-15.2MiB live, 140.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
(-.f64 #s(literal 1 binary64) (*.f64 x x))
cost-diff0
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
cost-diff256
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0623
01023
12221
25121
310621
419221
529321
646821
777621
8127721
9210921
10429121
11738621
0807319
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(-.f64 #s(literal 1 binary64) (*.f64 x x))
#s(literal 1 binary64)
(*.f64 x x)
x
Outputs
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(fma.f64 x x #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 x x))
#s(literal 1 binary64)
(*.f64 x x)
x

localize19.0ms (0.5%)

Memory
15.0MiB live, 15.0MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x x)
accuracy0
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
accuracy0
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
accuracy0.00390625
(-.f64 #s(literal 1 binary64) (*.f64 x x))
Samples
13.0ms256×0valid
Compiler

Compiled 48 to 14 computations (70.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-exp: 3.0ms (40% of total)
ival-mult: 2.0ms (26.7% of total)
ival-sub: 1.0ms (13.3% of total)
ival-neg: 1.0ms (13.3% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
2.5MiB live, 2.5MiB allocated
Counts
4 → 48
Calls
Call 1
Inputs
#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())
#s(alt (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) (patch (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) #<representation binary64>) () ())
#s(alt (-.f64 #s(literal 1 binary64) (*.f64 x x)) (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
Outputs
#s(alt -1 (taylor 0 x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (exp -1) (taylor 0 x) (#s(alt (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) (patch (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt (+ (exp -1) (* (pow x 2) (exp -1))) (taylor 0 x) (#s(alt (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) (patch (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt (+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1)))))) (taylor 0 x) (#s(alt (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) (patch (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt (+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1))))))) (taylor 0 x) (#s(alt (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) (patch (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (*.f64 x x)) (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (pow x 2))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (*.f64 x x)) (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (pow x 2))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (*.f64 x x)) (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1 (pow x 2))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (*.f64 x x)) (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) (patch (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) (patch (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) (patch (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) (patch (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow x 2)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (*.f64 x x)) (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (*.f64 x x)) (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (*.f64 x x)) (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (*.f64 x x)) (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) (patch (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) (patch (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) (patch (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) (patch (exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow x 2)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (*.f64 x x)) (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (*.f64 x x)) (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (*.f64 x x)) (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (*.f64 x x)) (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((neg (- 1 (* x x))) (exp (neg (- 1 (* x x)))) (- 1 (* x x)) (* x x))
1.0ms
x
@0
((neg (- 1 (* x x))) (exp (neg (- 1 (* x x)))) (- 1 (* x x)) (* x x))
0.0ms
x
@-inf
((neg (- 1 (* x x))) (exp (neg (- 1 (* x x)))) (- 1 (* x x)) (* x x))

simplify143.0ms (3.9%)

Memory
5.1MiB live, 154.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030254
181241
2247237
3605234
41328234
52025234
63122234
75538234
08219211
Stop Event
iter limit
node limit
Counts
48 → 48
Calls
Call 1
Inputs
-1
(- (pow x 2) 1)
(- (pow x 2) 1)
(- (pow x 2) 1)
(exp -1)
(+ (exp -1) (* (pow x 2) (exp -1)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
1
(+ 1 (* -1 (pow x 2)))
(+ 1 (* -1 (pow x 2)))
(+ 1 (* -1 (pow x 2)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(* -1 (pow x 2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(* -1 (pow x 2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
Outputs
-1
#s(literal -1 binary64)
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(exp -1)
(exp.f64 #s(literal -1 binary64))
(+ (exp -1) (* (pow x 2) (exp -1)))
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (exp.f64 #s(literal -1 binary64)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(*.f64 (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/2 binary64) (fma.f64 x x #s(literal 1 binary64))) (exp.f64 #s(literal -1 binary64)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
(*.f64 (fma.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 1/6 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x #s(literal 1 binary64)) (exp.f64 #s(literal -1 binary64)))
1
#s(literal 1 binary64)
(+ 1 (* -1 (pow x 2)))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(+ 1 (* -1 (pow x 2)))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(+ 1 (* -1 (pow x 2)))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(* -1 (pow x 2))
(*.f64 (neg.f64 x) x)
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(* -1 (pow x 2))
(*.f64 (neg.f64 x) x)
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1))
(fma.f64 (neg.f64 x) x #s(literal 1 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)

rewrite170.0ms (4.7%)

Memory
21.5MiB live, 212.1MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0621
01021
13719
222719
3192319
0930416
Stop Event
iter limit
node limit
iter limit
Counts
4 → 500
Calls
Call 1
Inputs
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
(-.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 x x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval152.0ms (4.2%)

Memory
-17.7MiB live, 189.7MiB allocated
Compiler

Compiled 10 865 to 1 802 computations (83.4% saved)

prune9.0ms (0.3%)

Memory
-1.0MiB live, 36.0MiB allocated
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New5453548
Fresh000
Picked101
Done000
Total5463549
Accuracy
100.0%
Counts
549 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
64.4%
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
44.7%
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Compiler

Compiled 13 to 12 computations (7.7% saved)

simplify147.0ms (4%)

Memory
9.5MiB live, 235.2MiB allocated
Algorithm
egg-herbie
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 x x #s(literal -1 binary64))
cost-diff0
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (neg (- 1 (* x x))) (*.f64 x x))
cost-diff0
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
cost-diff0
#s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))
cost-diff0
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01354
01854
13446
26346
313046
428546
562046
6150446
7244046
8467446
9707646
0853446
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
#s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))
#s(literal -1 binary64)
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
#s(approx (neg (- 1 (* x x))) (*.f64 x x))
(*.f64 x x)
x
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(fma.f64 x x #s(literal -1 binary64))
x
#s(literal -1 binary64)
Outputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
#s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))
#s(literal -1 binary64)
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
#s(approx (neg (- 1 (* x x))) (*.f64 x x))
(*.f64 x x)
x
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(fma.f64 x x #s(literal -1 binary64))
x
#s(literal -1 binary64)

localize46.0ms (1.3%)

Memory
2.4MiB live, 45.6MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 x x #s(literal -1 binary64))
accuracy0
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
accuracy0
(*.f64 x x)
accuracy0
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
accuracy27.202663715628685
#s(approx (neg (- 1 (* x x))) (*.f64 x x))
accuracy0
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
accuracy36.23938963652815
#s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))
Samples
38.0ms256×0valid
Compiler

Compiled 76 to 20 computations (73.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-exp: 5.0ms (44% of total)
ival-mult: 2.0ms (17.6% of total)
ival-sub: 1.0ms (8.8% of total)
ival-add: 1.0ms (8.8% of total)
ival-neg: 1.0ms (8.8% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
4.6MiB live, 4.6MiB allocated
Counts
7 → 84
Calls
Call 1
Inputs
#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #<representation binary64>) () ())
#s(alt #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) (patch #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) #<representation binary64>) () ())
#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #<representation binary64>) () ())
#s(alt #s(approx (neg (- 1 (* x x))) (*.f64 x x)) (patch #s(approx (neg (- 1 (* x x))) (*.f64 x x)) #<representation binary64>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
#s(alt (exp.f64 (fma.f64 x x #s(literal -1 binary64))) (patch (exp.f64 (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())
#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())
Outputs
#s(alt (exp -1) (taylor 0 x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (exp -1) (* (pow x 2) (exp -1))) (taylor 0 x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1)))))) (taylor 0 x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1))))))) (taylor 0 x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) (patch #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) (patch #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) (patch #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) (patch #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (exp -1) (taylor 0 x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (+ (exp -1) (* (pow x 2) (exp -1))) (taylor 0 x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1)))))) (taylor 0 x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1))))))) (taylor 0 x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (neg (- 1 (* x x))) (*.f64 x x)) (patch #s(approx (neg (- 1 (* x x))) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt #s(approx (neg (- 1 (* x x))) (*.f64 x x)) (patch #s(approx (neg (- 1 (* x x))) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt #s(approx (neg (- 1 (* x x))) (*.f64 x x)) (patch #s(approx (neg (- 1 (* x x))) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt #s(approx (neg (- 1 (* x x))) (*.f64 x x)) (patch #s(approx (neg (- 1 (* x x))) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (exp -1) (taylor 0 x) (#s(alt (exp.f64 (fma.f64 x x #s(literal -1 binary64))) (patch (exp.f64 (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (exp -1) (* (pow x 2) (exp -1))) (taylor 0 x) (#s(alt (exp.f64 (fma.f64 x x #s(literal -1 binary64))) (patch (exp.f64 (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1)))))) (taylor 0 x) (#s(alt (exp.f64 (fma.f64 x x #s(literal -1 binary64))) (patch (exp.f64 (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1))))))) (taylor 0 x) (#s(alt (exp.f64 (fma.f64 x x #s(literal -1 binary64))) (patch (exp.f64 (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) (patch #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) (patch #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) (patch #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) (patch #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (neg (- 1 (* x x))) (*.f64 x x)) (patch #s(approx (neg (- 1 (* x x))) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (neg (- 1 (* x x))) (*.f64 x x)) (patch #s(approx (neg (- 1 (* x x))) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (neg (- 1 (* x x))) (*.f64 x x)) (patch #s(approx (neg (- 1 (* x x))) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (neg (- 1 (* x x))) (*.f64 x x)) (patch #s(approx (neg (- 1 (* x x))) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 (fma.f64 x x #s(literal -1 binary64))) (patch (exp.f64 (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 (fma.f64 x x #s(literal -1 binary64))) (patch (exp.f64 (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 (fma.f64 x x #s(literal -1 binary64))) (patch (exp.f64 (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor inf x) (#s(alt (exp.f64 (fma.f64 x x #s(literal -1 binary64))) (patch (exp.f64 (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) (patch #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) (patch #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) (patch #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) (patch #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) (patch (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (neg (- 1 (* x x))) (*.f64 x x)) (patch #s(approx (neg (- 1 (* x x))) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (neg (- 1 (* x x))) (*.f64 x x)) (patch #s(approx (neg (- 1 (* x x))) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (neg (- 1 (* x x))) (*.f64 x x)) (patch #s(approx (neg (- 1 (* x x))) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (neg (- 1 (* x x))) (*.f64 x x)) (patch #s(approx (neg (- 1 (* x x))) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 (fma.f64 x x #s(literal -1 binary64))) (patch (exp.f64 (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 (fma.f64 x x #s(literal -1 binary64))) (patch (exp.f64 (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 (fma.f64 x x #s(literal -1 binary64))) (patch (exp.f64 (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (exp (- (pow x 2) 1)) (taylor -inf x) (#s(alt (exp.f64 (fma.f64 x x #s(literal -1 binary64))) (patch (exp.f64 (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
((exp (neg (- 1 (* x x)))) (neg (- 1 (* x x))) (exp (neg (- 1 (* x x)))) (neg (- 1 (* x x))) (* x x) (exp (+ (* x x) -1)) (+ (* x x) -1))
0.0ms
x
@inf
((exp (neg (- 1 (* x x)))) (neg (- 1 (* x x))) (exp (neg (- 1 (* x x)))) (neg (- 1 (* x x))) (* x x) (exp (+ (* x x) -1)) (+ (* x x) -1))
0.0ms
x
@0
((exp (neg (- 1 (* x x)))) (neg (- 1 (* x x))) (exp (neg (- 1 (* x x)))) (neg (- 1 (* x x))) (* x x) (exp (+ (* x x) -1)) (+ (* x x) -1))

simplify185.0ms (5.1%)

Memory
5.4MiB live, 209.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
026501
172489
2221477
3568468
41380468
52010468
62766468
75204468
87716468
08129399
Stop Event
iter limit
node limit
Counts
84 → 84
Calls
Call 1
Inputs
(exp -1)
(+ (exp -1) (* (pow x 2) (exp -1)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
-1
(- (pow x 2) 1)
(- (pow x 2) 1)
(- (pow x 2) 1)
(exp -1)
(+ (exp -1) (* (pow x 2) (exp -1)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
-1
(- (pow x 2) 1)
(- (pow x 2) 1)
(- (pow x 2) 1)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(exp -1)
(+ (exp -1) (* (pow x 2) (exp -1)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
-1
(- (pow x 2) 1)
(- (pow x 2) 1)
(- (pow x 2) 1)
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(exp (- (pow x 2) 1))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
Outputs
(exp -1)
(exp.f64 #s(literal -1 binary64))
(+ (exp -1) (* (pow x 2) (exp -1)))
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (exp.f64 #s(literal -1 binary64)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(*.f64 (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/2 binary64) (fma.f64 x x #s(literal 1 binary64))) (exp.f64 #s(literal -1 binary64)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
(*.f64 (fma.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 1/6 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x #s(literal 1 binary64)) (exp.f64 #s(literal -1 binary64)))
-1
#s(literal -1 binary64)
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(exp -1)
(exp.f64 #s(literal -1 binary64))
(+ (exp -1) (* (pow x 2) (exp -1)))
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (exp.f64 #s(literal -1 binary64)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(*.f64 (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/2 binary64) (fma.f64 x x #s(literal 1 binary64))) (exp.f64 #s(literal -1 binary64)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
(*.f64 (fma.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 1/6 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x #s(literal 1 binary64)) (exp.f64 #s(literal -1 binary64)))
-1
#s(literal -1 binary64)
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(exp -1)
(exp.f64 #s(literal -1 binary64))
(+ (exp -1) (* (pow x 2) (exp -1)))
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (exp.f64 #s(literal -1 binary64)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* 1/2 (* (pow x 2) (exp -1))))))
(*.f64 (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/2 binary64) (fma.f64 x x #s(literal 1 binary64))) (exp.f64 #s(literal -1 binary64)))
(+ (exp -1) (* (pow x 2) (+ (exp -1) (* (pow x 2) (+ (* 1/6 (* (pow x 2) (exp -1))) (* 1/2 (exp -1)))))))
(*.f64 (fma.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 1/6 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x #s(literal 1 binary64)) (exp.f64 #s(literal -1 binary64)))
-1
#s(literal -1 binary64)
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(- (pow x 2) 1)
(fma.f64 x x #s(literal -1 binary64))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp (- (pow x 2) 1))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal -1 binary64))

rewrite140.0ms (3.8%)

Memory
17.8MiB live, 204.3MiB allocated
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01350
01850
15942
234542
3301342
01075742
Stop Event
iter limit
node limit
iter limit
Counts
7 → 324
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
#s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
#s(approx (neg (- 1 (* x x))) (*.f64 x x))
(*.f64 x x)
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(fma.f64 x x #s(literal -1 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval61.0ms (1.7%)

Memory
-7.1MiB live, 142.0MiB allocated
Compiler

Compiled 5 483 to 909 computations (83.4% saved)

prune10.0ms (0.3%)

Memory
0.2MiB live, 38.2MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New4080408
Fresh000
Picked033
Done000
Total4083411
Accuracy
100.0%
Counts
411 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
64.4%
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
44.7%
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Compiler

Compiled 33 to 25 computations (24.2% saved)

regimes22.0ms (0.6%)

Memory
-12.0MiB live, 31.2MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
Outputs
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
Calls

5 calls:

14.0ms
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
2.0ms
x
2.0ms
(*.f64 x x)
2.0ms
(-.f64 #s(literal 1 binary64) (*.f64 x x))
2.0ms
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
100.0%1(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
100.0%1(-.f64 #s(literal 1 binary64) (*.f64 x x))
100.0%1(*.f64 x x)
Compiler

Compiled 22 to 18 computations (18.2% saved)

regimes7.0ms (0.2%)

Memory
19.8MiB live, 19.8MiB allocated
Counts
2 → 2
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
Outputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
Calls

5 calls:

2.0ms
x
1.0ms
(*.f64 x x)
1.0ms
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
1.0ms
(-.f64 #s(literal 1 binary64) (*.f64 x x))
1.0ms
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Results
AccuracySegmentsBranch
99.5%2x
99.5%2(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
99.5%2(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
99.5%2(-.f64 #s(literal 1 binary64) (*.f64 x x))
99.5%2(*.f64 x x)
Compiler

Compiled 22 to 18 computations (18.2% saved)

regimes43.0ms (1.2%)

Memory
-20.9MiB live, 16.3MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Outputs
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Calls

5 calls:

38.0ms
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
1.0ms
x
1.0ms
(*.f64 x x)
1.0ms
(-.f64 #s(literal 1 binary64) (*.f64 x x))
1.0ms
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Results
AccuracySegmentsBranch
44.7%1x
44.7%1(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
44.7%1(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
44.7%1(-.f64 #s(literal 1 binary64) (*.f64 x x))
44.7%1(*.f64 x x)
Compiler

Compiled 22 to 18 computations (18.2% saved)

bsearch15.0ms (0.4%)

Memory
28.9MiB live, 28.9MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
13.0ms
0.0008465844398829473
64004024.3861936
Samples
7.0ms160×0valid
Compiler

Compiled 70 to 100 computations (-42.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-exp: 2.0ms (48.6% of total)
ival-sub: 1.0ms (24.3% of total)
ival-neg: 1.0ms (24.3% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify138.0ms (3.8%)

Memory
3.2MiB live, 79.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01640
11940
Stop Event
saturated
Calls
Call 1
Inputs
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(if (<=.f64 (*.f64 x x) #s(literal 8286623314361713/9007199254740992 binary64)) (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))))
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Outputs
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(if (<=.f64 (*.f64 x x) #s(literal 8286623314361713/9007199254740992 binary64)) (exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))) (exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x))))
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))

soundness666.0ms (18.2%)

Memory
-15.5MiB live, 282.5MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0621
01021
13719
222719
3192319
0930416
030254
181241
2247237
3605234
41328234
52025234
63122234
75538234
08219211
Stop Event
done
iter limit
node limit
iter limit
node limit
iter limit
Compiler

Compiled 42 to 30 computations (28.6% saved)

preprocess131.0ms (3.6%)

Memory
-8.5MiB live, 75.5MiB allocated
Remove

(abs x)

Compiler

Compiled 68 to 44 computations (35.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...