Diagrams.TwoD.Ellipse:ellipse from diagrams-lib-1.3.0.3

Time bar (total: 3.3s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze2.0ms (0.1%)

Memory
3.1MiB live, 3.1MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
0%0%50%0%0%50%0%3
50%25%25%0%0%50%0%4
75%37.5%12.5%0%0%50%0%5
87.5%43.7%6.2%0%0%50%0%6
93.8%46.9%3.1%0%0%50%0%7
96.9%48.4%1.6%0%0%50%0%8
98.4%49.2%0.8%0%0%50%0%9
99.2%49.6%0.4%0%0%50%0%10
99.6%49.8%0.2%0%0%50%0%11
99.8%49.9%0.1%0%0%50%0%12
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample630.0ms (18.8%)

Memory
10.1MiB live, 790.3MiB allocated
Samples
411.0ms8 256×0valid
0.0ms0invalid
Precisions
Click to see histograms. Total time spent on operations: 261.0ms
ival-mult: 120.0ms (46% of total)
ival-sqrt: 67.0ms (25.7% of total)
ival-sub: 59.0ms (22.6% of total)
ival-true: 6.0ms (2.3% of total)
exact: 5.0ms (1.9% of total)
ival-assert: 3.0ms (1.1% of total)
Bogosity

explain107.0ms (3.2%)

Memory
8.7MiB live, 82.2MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
00-0-#s(literal 1 binary64)
00-0-(-.f64 #s(literal 1 binary64) (*.f64 x x))
00-0-(*.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
26.0ms512×0valid
Compiler

Compiled 42 to 19 computations (54.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-mult: 4.0ms (34.9% of total)
ival-sqrt: 4.0ms (34.9% of total)
ival-sub: 3.0ms (26.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess462.0ms (13.8%)

Memory
-0.0MiB live, 364.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
12513
24513
38713
411613
516713
628013
750713
890013
9146713
10383913
11553713
12630013
13659813
14665413
15668613
16694813
17754213
056
086
1156
2226
3306
4456
5656
61086
73056
85856
911596
1020706
1137796
1247336
1350516
1453376
1555066
1655836
1758506
1868486
1979046
082896
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Outputs
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Symmetry

(abs x)

Compiler

Compiled 6 to 5 computations (16.7% 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%
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify268.0ms (8%)

Memory
23.7MiB live, 254.9MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0516
0816
11516
22216
33016
44516
56516
610816
730516
858516
9115916
10207016
11377916
12473316
13505116
14533716
15550616
16558316
17585016
18684816
19790416
0828916
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(sqrt.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
(sqrt.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

localize24.0ms (0.7%)

Memory
-16.2MiB live, 21.2MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 #s(literal 1 binary64) (*.f64 x x))
accuracy0
(*.f64 x x)
accuracy0
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Samples
19.0ms256×0valid
Compiler

Compiled 18 to 7 computations (61.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-sqrt: 10.0ms (72.7% of total)
ival-mult: 2.0ms (14.5% of total)
ival-sub: 1.0ms (7.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
4.3MiB live, 4.3MiB allocated
Counts
3 → 36
Calls
Call 1
Inputs
#s(alt (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (sqrt.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 (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) (taylor 0 x) (#s(alt (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (sqrt.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 (* x (sqrt -1)) (taylor inf x) (#s(alt (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (taylor inf x) (#s(alt (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))) (taylor inf x) (#s(alt (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))) (taylor inf x) (#s(alt (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (sqrt.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 (* -1 (* x (sqrt -1))) (taylor -inf x) (#s(alt (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))) (taylor -inf x) (#s(alt (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))) (taylor -inf x) (#s(alt (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))) (taylor -inf x) (#s(alt (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (patch (sqrt.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
((sqrt (- 1 (* x x))) (- 1 (* x x)) (* x x))
1.0ms
x
@0
((sqrt (- 1 (* x x))) (- 1 (* x x)) (* x x))
1.0ms
x
@-inf
((sqrt (- 1 (* x x))) (- 1 (* x x)) (* x x))

simplify147.0ms (4.4%)

Memory
0.1MiB live, 118.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
062295
1149286
2419278
31279264
43834263
56189263
08166252
Stop Event
iter limit
node limit
Counts
36 → 36
Calls
Call 1
Inputs
1
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
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)
(* x (sqrt -1))
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(* -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)
(* -1 (* x (sqrt -1)))
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))
(* -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)
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
(fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #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)
(* x (sqrt -1))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) x)
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))
(fma.f64 (sqrt.f64 #s(literal -1 binary64)) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))
(fma.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64)))) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(fma.f64 (-.f64 (+.f64 (/.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64))) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64)))) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* -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)
(* -1 (* x (sqrt -1)))
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal -1 binary64)))
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))
(neg.f64 (fma.f64 (sqrt.f64 #s(literal -1 binary64)) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))))
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))
(fma.f64 (-.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64))) (sqrt.f64 #s(literal -1 binary64))) x (/.f64 #s(literal -1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))
(fma.f64 (-.f64 (-.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64))) (/.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64)))) (sqrt.f64 #s(literal -1 binary64))) x (/.f64 #s(literal -1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* -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)

rewrite207.0ms (6.2%)

Memory
-3.9MiB live, 151.7MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0514
0814
13214
218714
3134014
0936512
Stop Event
iter limit
node limit
iter limit
Counts
3 → 355
Calls
Call 1
Inputs
(sqrt.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>

eval215.0ms (6.4%)

Memory
-37.2MiB live, 141.0MiB allocated
Compiler

Compiled 9 639 to 1 265 computations (86.9% saved)

prune39.0ms (1.2%)

Memory
-19.0MiB live, 19.7MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3892391
Fresh000
Picked011
Done000
Total3893392
Accuracy
100.0%
Counts
392 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
100.0%
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
99.5%
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify501.0ms (14.9%)

Memory
4.4MiB live, 278.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
cost-diff0
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
cost-diff0
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01034
01334
12434
23434
34234
45734
57734
612034
732234
860634
9120434
10223634
11324434
12398734
13428334
14459334
15474934
16482634
17503534
18579834
19600434
20768534
0815134
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
(*.f64 x x)
x
#s(literal -1/2 binary64)
#s(literal 1 binary64)
Outputs
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
#s(approx (sqrt (- 1 (* x x))) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
x
#s(literal -1/2 binary64)
#s(literal 1 binary64)

localize23.0ms (0.7%)

Memory
9.0MiB live, 47.1MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
accuracy0
(*.f64 x x)
accuracy0.016288769536884032
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
accuracy0.30866506964976753
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
Samples
15.0ms256×0valid
Compiler

Compiled 28 to 10 computations (64.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 4.0ms (46.7% of total)
ival-sqrt: 2.0ms (23.3% of total)
ival-sub: 1.0ms (11.7% of total)
ival-add: 1.0ms (11.7% 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
5.5MiB live, 5.5MiB allocated
Counts
4 → 48
Calls
Call 1
Inputs
#s(alt #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) (patch #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) (patch #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())
#s(alt (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
Outputs
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) (patch #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) (patch #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) (patch #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) (taylor 0 x) (#s(alt #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) (patch #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) (patch #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) (patch #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) (patch #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) (taylor 0 x) (#s(alt #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) (patch #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) #<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 (* x (sqrt -1)) (taylor inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) (patch #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (taylor inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) (patch #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))) (taylor inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) (patch #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))) (taylor inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) (patch #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (sqrt -1)) (taylor inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) (patch #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) (taylor inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) (patch #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))) (taylor inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) (patch #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))) (taylor inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) (patch #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1/2 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) #<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 (* -1 (* x (sqrt -1))) (taylor -inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) (patch #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))) (taylor -inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) (patch #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))) (taylor -inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) (patch #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))) (taylor -inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) (patch #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (sqrt -1))) (taylor -inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) (patch #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))) (taylor -inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) (patch #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))) (taylor -inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) (patch #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))) (taylor -inf x) (#s(alt #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) (patch #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1/2 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) #<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
((sqrt (- 1 (* x x))) (sqrt (- 1 (* x x))) (+ (* (* x x) -1/2) 1) (* x x))
0.0ms
x
@-inf
((sqrt (- 1 (* x x))) (sqrt (- 1 (* x x))) (+ (* (* x x) -1/2) 1) (* x x))
0.0ms
x
@0
((sqrt (- 1 (* x x))) (sqrt (- 1 (* x x))) (+ (* (* x x) -1/2) 1) (* x x))

simplify111.0ms (3.3%)

Memory
-1.5MiB live, 152.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
060502
1144502
2404486
31258458
43795456
56250456
08283425
Stop Event
iter limit
node limit
Counts
48 → 48
Calls
Call 1
Inputs
1
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
1
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
1
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* -1/2 (pow x 2)))
(+ 1 (* -1/2 (pow x 2)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* x (sqrt -1))
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(* x (sqrt -1))
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(* -1/2 (pow x 2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* -1 (* x (sqrt -1)))
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))
(* -1 (* x (sqrt -1)))
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))
(* -1/2 (pow x 2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
Outputs
1
#s(literal 1 binary64)
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
(fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2)))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2)))
(fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
(+ 1 (* -1/2 (pow x 2)))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #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)
(* x (sqrt -1))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) x)
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))
(fma.f64 (sqrt.f64 #s(literal -1 binary64)) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))
(fma.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64)))) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(fma.f64 (-.f64 (+.f64 (/.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64))) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64)))) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* x (sqrt -1))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) x)
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))
(fma.f64 (sqrt.f64 #s(literal -1 binary64)) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))
(fma.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64)))) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))
(fma.f64 (-.f64 (+.f64 (/.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64))) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64)))) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* -1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal -1/2 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #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)
(* -1 (* x (sqrt -1)))
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal -1 binary64)))
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))
(neg.f64 (fma.f64 (sqrt.f64 #s(literal -1 binary64)) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))))
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))
(fma.f64 (-.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64))) (sqrt.f64 #s(literal -1 binary64))) x (/.f64 #s(literal -1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))
(fma.f64 (-.f64 (-.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64))) (/.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64)))) (sqrt.f64 #s(literal -1 binary64))) x (/.f64 #s(literal -1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* -1 (* x (sqrt -1)))
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal -1 binary64)))
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))))
(neg.f64 (fma.f64 (sqrt.f64 #s(literal -1 binary64)) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))))
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))))
(fma.f64 (-.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64))) (sqrt.f64 #s(literal -1 binary64))) x (/.f64 #s(literal -1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))))
(fma.f64 (-.f64 (-.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (pow.f64 x #s(literal 4 binary64))) (/.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64)))) (sqrt.f64 #s(literal -1 binary64))) x (/.f64 #s(literal -1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))
(* -1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal -1/2 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #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)

rewrite223.0ms (6.7%)

Memory
15.5MiB live, 286.5MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01030
01330
15130
233030
3267630
0877028
Stop Event
iter limit
node limit
iter limit
Counts
4 → 132
Calls
Call 1
Inputs
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))
(*.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>

eval23.0ms (0.7%)

Memory
9.9MiB live, 87.1MiB allocated
Compiler

Compiled 3 466 to 543 computations (84.3% saved)

prune7.0ms (0.2%)

Memory
-29.0MiB live, 16.4MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1800180
Fresh000
Picked022
Done011
Total1803183
Accuracy
100.0%
Counts
183 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
100.0%
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
99.5%
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
Compiler

Compiled 30 to 23 computations (23.3% saved)

regimes6.0ms (0.2%)

Memory
18.4MiB live, 18.4MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Outputs
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Calls

4 calls:

2.0ms
x
1.0ms
(*.f64 x x)
1.0ms
(-.f64 #s(literal 1 binary64) (*.f64 x x))
1.0ms
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(sqrt.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 15 to 12 computations (20% saved)

regimes7.0ms (0.2%)

Memory
-18.4MiB live, 20.5MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
Outputs
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
Calls

4 calls:

3.0ms
x
1.0ms
(-.f64 #s(literal 1 binary64) (*.f64 x x))
1.0ms
(*.f64 x x)
1.0ms
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(sqrt.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 15 to 12 computations (20% saved)

regimes5.0ms (0.1%)

Memory
16.8MiB live, 16.8MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
Outputs
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
Calls

4 calls:

1.0ms
x
1.0ms
(-.f64 #s(literal 1 binary64) (*.f64 x x))
1.0ms
(*.f64 x x)
1.0ms
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Results
AccuracySegmentsBranch
99.5%1x
99.5%1(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
99.5%1(-.f64 #s(literal 1 binary64) (*.f64 x x))
99.5%1(*.f64 x x)
Compiler

Compiled 15 to 12 computations (20% saved)

simplify55.0ms (1.6%)

Memory
-17.7MiB live, 61.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01227
12027
22727
33127
43327
Stop Event
saturated
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))
Outputs
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)))
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64))

soundness232.0ms (6.9%)

Memory
3.0MiB live, 159.2MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
062295
1149286
2419278
31279264
43834263
56189263
08166252
Stop Event
done
iter limit
node limit
Compiler

Compiled 22 to 16 computations (27.3% saved)

preprocess49.0ms (1.5%)

Memory
-21.2MiB live, 80.0MiB allocated
Remove

(abs x)

Compiler

Compiled 66 to 48 computations (27.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...