exp neg sub

Time bar (total: 3.3s)

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 (30.5%)

Memory
12.4MiB live, 1 387.5MiB allocated
Samples
777.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 258.0ms
ival-exp: 78.0ms (30.3% of total)
ival-mult: 71.0ms (27.5% of total)
ival-sub: 58.0ms (22.5% of total)
ival-neg: 37.0ms (14.4% of total)
ival-true: 6.0ms (2.3% of total)
exact: 5.0ms (1.9% of total)
ival-assert: 3.0ms (1.2% of total)
Bogosity

explain81.0ms (2.5%)

Memory
-12.8MiB live, 149.9MiB 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
27.0ms512×0valid
Compiler

Compiled 80 to 28 computations (65% saved)

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

preprocess220.0ms (6.7%)

Memory
24.9MiB live, 222.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
13013
27813
316013
428613
541613
665413
7100313
8166513
9308413
10633713
067
0107
1226
2556
31106
41976
53006
64796
78066
813106
921486
1043616
1174676
081545
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)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB 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)

simplify156.0ms (4.8%)

Memory
-17.0MiB live, 153.2MiB 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
25521
311021
419721
530021
647921
780621
8131021
9214821
10436121
11746721
0815419
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

localize43.0ms (1.3%)

Memory
-3.4MiB live, 34.9MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 #s(literal 1 binary64) (*.f64 x x))
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))))
Samples
38.0ms256×0valid
Compiler

Compiled 48 to 14 computations (70.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 32.0ms
ival-exp: 27.0ms (84.1% of total)
ival-mult: 2.0ms (6.2% of total)
ival-sub: 1.0ms (3.1% of total)
ival-neg: 1.0ms (3.1% 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.1MiB live, 4.1MiB 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))

simplify150.0ms (4.6%)

Memory
11.4MiB live, 162.7MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030254
181241
2247237
3609234
41321234
52019234
63188234
75679234
08269211
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)

rewrite164.0ms (5%)

Memory
12.4MiB live, 205.7MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0621
01021
13719
223119
3193219
0932216
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>

eval99.0ms (3%)

Memory
-6.1MiB live, 148.4MiB allocated
Compiler

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

prune11.0ms (0.3%)

Memory
2.7MiB live, 39.8MiB 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)))
57.0%
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
53.5%
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Compiler

Compiled 13 to 12 computations (7.7% saved)

simplify187.0ms (5.7%)

Memory
-4.5MiB live, 266.0MiB 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
26746
313446
429846
564146
6157246
7237946
8455946
9696446
0842246
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)

localize31.0ms (0.9%)

Memory
-1.8MiB live, 69.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)))
accuracy32.6210158048343
#s(approx (neg (- 1 (* x x))) (*.f64 x x))
accuracy0
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
accuracy30.441694676425232
#s(approx (neg (- 1 (* x x))) #s(literal -1 binary64))
Samples
23.0ms256×0valid
Compiler

Compiled 76 to 20 computations (73.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
ival-exp: 8.0ms (50.7% of total)
ival-add: 3.0ms (19% of total)
ival-mult: 2.0ms (12.7% of total)
ival-sub: 1.0ms (6.3% of total)
ival-neg: 1.0ms (6.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
9.2MiB live, 9.2MiB 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))

simplify156.0ms (4.7%)

Memory
-8.2MiB live, 220.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
026501
172489
2221477
3568468
41350468
51986468
62742468
75191468
87695468
08108399
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))

rewrite350.0ms (10.6%)

Memory
-0.8MiB live, 292.2MiB allocated
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01350
01850
15942
234942
3303042
01080042
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>

eval53.0ms (1.6%)

Memory
22.5MiB live, 127.5MiB allocated
Compiler

Compiled 5 483 to 909 computations (83.4% saved)

prune19.0ms (0.6%)

Memory
-11.4MiB live, 32.8MiB 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)))
57.0%
(exp.f64 #s(approx (neg (- 1 (* x x))) (*.f64 x x)))
53.5%
(exp.f64 #s(approx (neg (- 1 (* x x))) #s(literal -1 binary64)))
Compiler

Compiled 33 to 25 computations (24.2% saved)

regimes10.0ms (0.3%)

Memory
-14.9MiB live, 24.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:

3.0ms
(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
(exp.f64 (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.3MiB live, 19.3MiB 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
(-.f64 #s(literal 1 binary64) (*.f64 x x))
1.0ms
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
1.0ms
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
Results
AccuracySegmentsBranch
99.7%2x
99.7%2(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
99.7%2(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
99.7%2(-.f64 #s(literal 1 binary64) (*.f64 x x))
99.7%2(*.f64 x x)
Compiler

Compiled 22 to 18 computations (18.2% saved)

regimes7.0ms (0.2%)

Memory
-21.9MiB live, 17.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:

2.0ms
(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
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
Results
AccuracySegmentsBranch
53.5%1x
53.5%1(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
53.5%1(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
53.5%1(-.f64 #s(literal 1 binary64) (*.f64 x x))
53.5%1(*.f64 x x)
Compiler

Compiled 22 to 18 computations (18.2% saved)

bsearch16.0ms (0.5%)

Memory
7.0MiB live, 46.2MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
14.0ms
1.2110309678375067e-5
480517185094579.2
Samples
8.0ms176×0valid
Compiler

Compiled 76 to 109 computations (-43.4% saved)

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

simplify62.0ms (1.9%)

Memory
14.0MiB live, 56.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01640
12540
24937
39737
418437
534437
6123637
7386437
8594137
Stop Event
node limit
Calls
Call 1
Inputs
(exp.f64 (fma.f64 x x #s(literal -1 binary64)))
(if (<=.f64 (*.f64 x x) #s(literal 2116691824864133/2251799813685248 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 2116691824864133/2251799813685248 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)))

soundness380.0ms (11.6%)

Memory
-43.4MiB live, 215.1MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030254
181241
2247237
3609234
41321234
52019234
63188234
75679234
08269211
0621
01021
13719
223119
3193219
0932216
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 42 to 30 computations (28.6% saved)

preprocess73.0ms (2.2%)

Memory
26.8MiB live, 65.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...