Difference of squares

Time bar (total: 4.4s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

Compiled 9 to 7 computations (22.2% saved)

sample1.1s (24.2%)

Memory
2.8MiB live, 504.8MiB allocated
Samples
825.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 604.0ms
ival-mult: 473.0ms (78.3% of total)
ival-sub: 122.0ms (20.2% of total)
ival-true: 6.0ms (1% of total)
ival-assert: 3.0ms (0.5% of total)
Bogosity

explain143.0ms (3.2%)

Memory
-20.3MiB live, 71.9MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
200-0-(-.f64 (*.f64 a a) (*.f64 b b))
00-0-(*.f64 a a)
00-0-a
00-0-b
00-0-(*.f64 b b)
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (*.f64 a a) (*.f64 b b))nan-rescue200
(*.f64 a a)overflow75
(*.f64 b b)overflow59
Confusion
Predicted +Predicted -
+200
-0236
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+2000
-00236
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0236
120
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
81.0ms512×0valid
Compiler

Compiled 56 to 24 computations (57.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 69.0ms
ival-sub: 62.0ms (89.5% of total)
ival-mult: 7.0ms (10.1% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess541.0ms (12.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01338
15135
214435
336635
489235
5122335
6175435
7234035
8415235
9472735
10484035
11495435
12503435
13503435
14641535
15739335
16787735
17789335
18789335
057
087
1167
2277
3537
41147
53157
65677
712387
824957
941247
1049977
1153667
1255967
1357107
1457107
1566707
1668307
1771507
1871507
1975507
2077107
2177907
2277907
2377907
0102687
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (*.f64 a a) (*.f64 b b))
Outputs
(-.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 (neg.f64 b) b (*.f64 a a))
Symmetry

(abs b)

(abs a)

Compiler

Compiled 7 to 5 computations (28.6% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
92.2%
(-.f64 (*.f64 a a) (*.f64 b b))
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify359.0ms (8.1%)

Memory
13.4MiB live, 87.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 b b)
cost-diff0
(*.f64 a a)
cost-diff0
(-.f64 (*.f64 a a) (*.f64 b b))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0515
0815
11615
22715
35315
411415
531515
656715
7123815
8249515
9412415
10499715
11536615
12559615
13571015
14571015
15667015
16683015
17715015
18715015
19755015
20771015
21779015
22779015
23779015
01026815
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(-.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a a)
a
(*.f64 b b)
b
Outputs
(-.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(*.f64 a a)
a
(*.f64 b b)
b

localize22.0ms (0.5%)

Memory
-30.4MiB live, 8.2MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 b b)
accuracy0
(*.f64 a a)
accuracy4.492166858302059
(-.f64 (*.f64 a a) (*.f64 b b))
Samples
17.0ms256×0valid
Compiler

Compiled 32 to 12 computations (62.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 3.0ms (63.4% of total)
ival-sub: 1.0ms (21.1% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.1%)

Memory
2.7MiB live, 2.7MiB allocated
Counts
3 → 48
Calls
Call 1
Inputs
#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())
#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())
#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())
Outputs
#s(alt (pow a 2) (taylor 0 b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (pow b 2) (taylor 0 b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ())
#s(alt (pow b 2) (taylor 0 b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ())
#s(alt (pow b 2) (taylor 0 b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ())
#s(alt (pow b 2) (taylor 0 b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (pow b 2) (taylor inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ())
#s(alt (pow b 2) (taylor inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ())
#s(alt (pow b 2) (taylor inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ())
#s(alt (pow b 2) (taylor inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (pow b 2) (taylor -inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ())
#s(alt (pow b 2) (taylor -inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ())
#s(alt (pow b 2) (taylor -inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ())
#s(alt (pow b 2) (taylor -inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor 0 a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor -inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
1.0ms
b
@inf
((- (* a a) (* b b)) (* a a) (* b b))
1.0ms
b
@0
((- (* a a) (* b b)) (* a a) (* b b))
0.0ms
a
@inf
((- (* a a) (* b b)) (* a a) (* b b))
0.0ms
b
@-inf
((- (* a a) (* b b)) (* a a) (* b b))
0.0ms
a
@-inf
((- (* a a) (* b b)) (* a a) (* b b))

simplify167.0ms (3.8%)

Memory
25.7MiB live, 71.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
017219
139219
2113219
3469219
41679219
52846219
65006219
08448219
Stop Event
iter limit
node limit
Counts
48 → 48
Calls
Call 1
Inputs
(pow a 2)
(+ (* -1 (pow b 2)) (pow a 2))
(+ (* -1 (pow b 2)) (pow a 2))
(+ (* -1 (pow b 2)) (pow a 2))
(pow b 2)
(pow b 2)
(pow b 2)
(pow b 2)
(* -1 (pow b 2))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(pow b 2)
(pow b 2)
(pow b 2)
(pow b 2)
(* -1 (pow b 2))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(pow b 2)
(pow b 2)
(pow b 2)
(pow b 2)
(* -1 (pow b 2))
(- (pow a 2) (pow b 2))
(- (pow a 2) (pow b 2))
(- (pow a 2) (pow b 2))
(pow a 2)
(pow a 2)
(pow a 2)
(pow a 2)
(pow a 2)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(pow a 2)
(pow a 2)
(pow a 2)
(pow a 2)
(pow a 2)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(pow a 2)
(pow a 2)
(pow a 2)
(pow a 2)
Outputs
(pow a 2)
(*.f64 a a)
(+ (* -1 (pow b 2)) (pow a 2))
(*.f64 (-.f64 a b) (+.f64 b a))
(+ (* -1 (pow b 2)) (pow a 2))
(*.f64 (-.f64 a b) (+.f64 b a))
(+ (* -1 (pow b 2)) (pow a 2))
(*.f64 (-.f64 a b) (+.f64 b a))
(pow b 2)
(*.f64 b b)
(pow b 2)
(*.f64 b b)
(pow b 2)
(*.f64 b b)
(pow b 2)
(*.f64 b b)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(*.f64 (-.f64 a b) (+.f64 b a))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(*.f64 (-.f64 a b) (+.f64 b a))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(*.f64 (-.f64 a b) (+.f64 b a))
(pow b 2)
(*.f64 b b)
(pow b 2)
(*.f64 b b)
(pow b 2)
(*.f64 b b)
(pow b 2)
(*.f64 b b)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(*.f64 (-.f64 a b) (+.f64 b a))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(*.f64 (-.f64 a b) (+.f64 b a))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(*.f64 (-.f64 a b) (+.f64 b a))
(pow b 2)
(*.f64 b b)
(pow b 2)
(*.f64 b b)
(pow b 2)
(*.f64 b b)
(pow b 2)
(*.f64 b b)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(- (pow a 2) (pow b 2))
(*.f64 (-.f64 a b) (+.f64 b a))
(- (pow a 2) (pow b 2))
(*.f64 (-.f64 a b) (+.f64 b a))
(- (pow a 2) (pow b 2))
(*.f64 (-.f64 a b) (+.f64 b a))
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(*.f64 (-.f64 a b) (+.f64 b a))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(*.f64 (-.f64 a b) (+.f64 b a))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(*.f64 (-.f64 a b) (+.f64 b a))
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(*.f64 (-.f64 a b) (+.f64 b a))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(*.f64 (-.f64 a b) (+.f64 b a))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(*.f64 (-.f64 a b) (+.f64 b a))
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)

rewrite368.0ms (8.3%)

Memory
-30.8MiB live, 164.4MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513
0813
13213
221613
3196713
0877813
Stop Event
iter limit
node limit
iter limit
Counts
3 → 252
Calls
Call 1
Inputs
(-.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a a)
(*.f64 b b)
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>

eval57.0ms (1.3%)

Memory
12.8MiB live, 49.5MiB allocated
Compiler

Compiled 8 583 to 756 computations (91.2% saved)

prune5.0ms (0.1%)

Memory
19.6MiB live, 19.6MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2973300
Fresh000
Picked011
Done000
Total2974301
Accuracy
100.0%
Counts
301 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
92.2%
(-.f64 (*.f64 a a) (*.f64 b b))
100.0%
(*.f64 (-.f64 a b) (+.f64 b a))
54.0%
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
53.2%
#s(approx (- (* a a) (* b b)) (*.f64 a a))
Compiler

Compiled 23 to 19 computations (17.4% saved)

simplify359.0ms (8.1%)

Memory
-21.1MiB live, 333.4MiB allocated
Algorithm
egg-herbie
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 b a)
cost-diff0
(-.f64 a b)
cost-diff0
(*.f64 (-.f64 a b) (+.f64 b a))
cost-diff0
(neg.f64 b)
cost-diff0
(*.f64 (neg.f64 b) b)
cost-diff0
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
cost-diff0
(*.f64 a a)
cost-diff0
#s(approx (- (* a a) (* b b)) (*.f64 a a))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01349
01949
13749
26449
314449
428849
558949
6150849
7291349
8401449
9457249
10481149
11494149
12496349
13496349
14496349
0869749
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (- (* a a) (* b b)) (*.f64 a a))
(*.f64 a a)
a
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
(*.f64 (neg.f64 b) b)
(neg.f64 b)
b
(*.f64 (-.f64 a b) (+.f64 b a))
(-.f64 a b)
a
b
(+.f64 b a)
Outputs
#s(approx (- (* a a) (* b b)) (*.f64 a a))
(*.f64 a a)
a
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
(*.f64 (neg.f64 b) b)
(neg.f64 b)
b
(*.f64 (-.f64 a b) (+.f64 b a))
(*.f64 (+.f64 b a) (-.f64 a b))
(-.f64 a b)
a
b
(+.f64 b a)

localize33.0ms (0.8%)

Memory
-0.1MiB live, 80.3MiB allocated
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 a b)
accuracy0
(+.f64 b a)
accuracy0.00390625
(*.f64 (-.f64 a b) (+.f64 b a))
accuracy0
(*.f64 (neg.f64 b) b)
accuracy0
(neg.f64 b)
accuracy29.46142866092219
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
accuracy0
(*.f64 a a)
accuracy29.970727246947863
#s(approx (- (* a a) (* b b)) (*.f64 a a))
Samples
25.0ms256×0valid
Compiler

Compiled 77 to 22 computations (71.4% saved)

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

series9.0ms (0.2%)

Memory
30.6MiB live, 30.6MiB allocated
Counts
8 → 156
Calls
Call 1
Inputs
#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())
#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())
#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())
#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())
#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())
#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())
#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())
#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())
Outputs
#s(alt (pow a 2) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor 0 b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor 0 b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor 0 b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor 0 b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor 0 b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor 0 b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor 0 b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor 0 b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor 0 b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (+ (* b (+ a (* -1 a))) (pow a 2)) (taylor 0 b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2)) (taylor 0 b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2)) (taylor 0 b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt a (taylor 0 b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (+ a (* -1 b)) (taylor 0 b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (+ a (* -1 b)) (taylor 0 b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (+ a (* -1 b)) (taylor 0 b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt a (taylor 0 b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (+ a b) (taylor 0 b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (+ a b) (taylor 0 b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (+ a b) (taylor 0 b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1)) (taylor inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1)) (taylor inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1)) (taylor inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (* b (- (/ a b) 1)) (taylor inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (* b (- (/ a b) 1)) (taylor inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (* b (- (/ a b) 1)) (taylor inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt b (taylor inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* b (+ 1 (/ a b))) (taylor inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* b (+ 1 (/ a b))) (taylor inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* b (+ 1 (/ a b))) (taylor inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor -inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor -inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor -inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor -inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1)) (taylor -inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1)) (taylor -inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1)) (taylor -inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor -inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (* -1 (* b (+ 1 (* -1 (/ a b))))) (taylor -inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (* -1 (* b (+ 1 (* -1 (/ a b))))) (taylor -inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (* -1 (* b (+ 1 (* -1 (/ a b))))) (taylor -inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt b (taylor -inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* -1 (* b (- (* -1 (/ a b)) 1))) (taylor -inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* -1 (* b (- (* -1 (/ a b)) 1))) (taylor -inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* -1 (* b (- (* -1 (/ a b)) 1))) (taylor -inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow b 2)) (taylor 0 a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow b 2)) (* a (+ b (* -1 b)))) (taylor 0 a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b))))) (taylor 0 a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b))))) (taylor 0 a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* -1 b) (taylor 0 a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (- a b) (taylor 0 a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (- a b) (taylor 0 a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (- a b) (taylor 0 a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt b (taylor 0 a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (+ a b) (taylor 0 a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (+ a b) (taylor 0 a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (+ a b) (taylor 0 a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a)))) (taylor inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a))))) (taylor inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a))))) (taylor inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt a (taylor inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (* a (+ 1 (* -1 (/ b a)))) (taylor inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (* a (+ 1 (* -1 (/ b a)))) (taylor inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (* a (+ 1 (* -1 (/ b a)))) (taylor inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt a (taylor inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* a (+ 1 (/ b a))) (taylor inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* a (+ 1 (/ b a))) (taylor inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* a (+ 1 (/ b a))) (taylor inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ())
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a)))) (taylor -inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a)))) (taylor -inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a)))) (taylor -inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ())
#s(alt a (taylor -inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (* -1 (* a (- (/ b a) 1))) (taylor -inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (* -1 (* a (- (/ b a) 1))) (taylor -inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt (* -1 (* a (- (/ b a) 1))) (taylor -inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ())
#s(alt a (taylor -inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* -1 (* a (- (* -1 (/ b a)) 1))) (taylor -inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* -1 (* a (- (* -1 (/ b a)) 1))) (taylor -inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
#s(alt (* -1 (* a (- (* -1 (/ b a)) 1))) (taylor -inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
1.0ms
a
@-inf
((- (* a a) (* b b)) (* a a) (- (* a a) (* b b)) (* (neg b) b) (neg b) (* (- a b) (+ b a)) (- a b) (+ b a))
1.0ms
b
@inf
((- (* a a) (* b b)) (* a a) (- (* a a) (* b b)) (* (neg b) b) (neg b) (* (- a b) (+ b a)) (- a b) (+ b a))
1.0ms
b
@0
((- (* a a) (* b b)) (* a a) (- (* a a) (* b b)) (* (neg b) b) (neg b) (* (- a b) (+ b a)) (- a b) (+ b a))
1.0ms
b
@-inf
((- (* a a) (* b b)) (* a a) (- (* a a) (* b b)) (* (neg b) b) (neg b) (* (- a b) (+ b a)) (- a b) (+ b a))
1.0ms
a
@inf
((- (* a a) (* b b)) (* a a) (- (* a a) (* b b)) (* (neg b) b) (neg b) (* (- a b) (+ b a)) (- a b) (+ b a))

simplify135.0ms (3%)

Memory
11.1MiB live, 240.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
092651
1281651
2829651
33560651
08744651
Stop Event
iter limit
node limit
Counts
156 → 147
Calls
Call 1
Inputs
(pow a 2)
(+ (* -1 (pow b 2)) (pow a 2))
(+ (* -1 (pow b 2)) (pow a 2))
(+ (* -1 (pow b 2)) (pow a 2))
(pow a 2)
(+ (* -1 (pow b 2)) (pow a 2))
(+ (* -1 (pow b 2)) (pow a 2))
(+ (* -1 (pow b 2)) (pow a 2))
(* -1 (pow b 2))
(* -1 (pow b 2))
(* -1 (pow b 2))
(* -1 (pow b 2))
(* -1 b)
(* -1 b)
(* -1 b)
(* -1 b)
(pow a 2)
(+ (* b (+ a (* -1 a))) (pow a 2))
(+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2))
(+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2))
a
(+ a (* -1 b))
(+ a (* -1 b))
(+ a (* -1 b))
a
(+ a b)
(+ a b)
(+ a b)
(* -1 (pow b 2))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* -1 (pow b 2))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* -1 (pow b 2))
(* -1 (pow b 2))
(* -1 (pow b 2))
(* -1 (pow b 2))
(* -1 b)
(* -1 b)
(* -1 b)
(* -1 b)
(* -1 (pow b 2))
(* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1))
(* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1))
(* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1))
(* -1 b)
(* b (- (/ a b) 1))
(* b (- (/ a b) 1))
(* b (- (/ a b) 1))
b
(* b (+ 1 (/ a b)))
(* b (+ 1 (/ a b)))
(* b (+ 1 (/ a b)))
(* -1 (pow b 2))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* -1 (pow b 2))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(* -1 (pow b 2))
(* -1 (pow b 2))
(* -1 (pow b 2))
(* -1 (pow b 2))
(* -1 b)
(* -1 b)
(* -1 b)
(* -1 b)
(* -1 (pow b 2))
(* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1))
(* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1))
(* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1))
(* -1 b)
(* -1 (* b (+ 1 (* -1 (/ a b)))))
(* -1 (* b (+ 1 (* -1 (/ a b)))))
(* -1 (* b (+ 1 (* -1 (/ a b)))))
b
(* -1 (* b (- (* -1 (/ a b)) 1)))
(* -1 (* b (- (* -1 (/ a b)) 1)))
(* -1 (* b (- (* -1 (/ a b)) 1)))
(* -1 (pow b 2))
(- (pow a 2) (pow b 2))
(- (pow a 2) (pow b 2))
(- (pow a 2) (pow b 2))
(pow a 2)
(pow a 2)
(pow a 2)
(pow a 2)
(* -1 (pow b 2))
(- (pow a 2) (pow b 2))
(- (pow a 2) (pow b 2))
(- (pow a 2) (pow b 2))
(* -1 (pow b 2))
(+ (* -1 (pow b 2)) (* a (+ b (* -1 b))))
(+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b)))))
(+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b)))))
(* -1 b)
(- a b)
(- a b)
(- a b)
b
(+ a b)
(+ a b)
(+ a b)
(pow a 2)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(pow a 2)
(pow a 2)
(pow a 2)
(pow a 2)
(pow a 2)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(pow a 2)
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a))))
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a)))))
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a)))))
a
(* a (+ 1 (* -1 (/ b a))))
(* a (+ 1 (* -1 (/ b a))))
(* a (+ 1 (* -1 (/ b a))))
a
(* a (+ 1 (/ b a)))
(* a (+ 1 (/ b a)))
(* a (+ 1 (/ b a)))
(pow a 2)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(pow a 2)
(pow a 2)
(pow a 2)
(pow a 2)
(pow a 2)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(pow a 2)
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a))))
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a))))
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a))))
a
(* -1 (* a (- (/ b a) 1)))
(* -1 (* a (- (/ b a) 1)))
(* -1 (* a (- (/ b a) 1)))
a
(* -1 (* a (- (* -1 (/ b a)) 1)))
(* -1 (* a (- (* -1 (/ b a)) 1)))
(* -1 (* a (- (* -1 (/ b a)) 1)))
Outputs
(pow a 2)
(*.f64 a a)
(+ (* -1 (pow b 2)) (pow a 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(+ (* -1 (pow b 2)) (pow a 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(+ (* -1 (pow b 2)) (pow a 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(pow a 2)
(*.f64 a a)
(+ (* -1 (pow b 2)) (pow a 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(+ (* -1 (pow b 2)) (pow a 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(+ (* -1 (pow b 2)) (pow a 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* -1 b)
(neg.f64 b)
(* -1 b)
(neg.f64 b)
(* -1 b)
(neg.f64 b)
(* -1 b)
(neg.f64 b)
(pow a 2)
(*.f64 a a)
(+ (* b (+ a (* -1 a))) (pow a 2))
(*.f64 a a)
(+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
a
(+ a (* -1 b))
(-.f64 a b)
(+ a (* -1 b))
(-.f64 a b)
(+ a (* -1 b))
(-.f64 a b)
a
(+ a b)
(+.f64 b a)
(+ a b)
(+.f64 b a)
(+ a b)
(+.f64 b a)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* -1 b)
(neg.f64 b)
(* -1 b)
(neg.f64 b)
(* -1 b)
(neg.f64 b)
(* -1 b)
(neg.f64 b)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1))
(*.f64 (neg.f64 b) b)
(* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* -1 b)
(neg.f64 b)
(* b (- (/ a b) 1))
(-.f64 a b)
(* b (- (/ a b) 1))
(-.f64 a b)
(* b (- (/ a b) 1))
(-.f64 a b)
b
(* b (+ 1 (/ a b)))
(+.f64 b a)
(* b (+ 1 (/ a b)))
(+.f64 b a)
(* b (+ 1 (/ a b)))
(+.f64 b a)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* -1 b)
(neg.f64 b)
(* -1 b)
(neg.f64 b)
(* -1 b)
(neg.f64 b)
(* -1 b)
(neg.f64 b)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1))
(*.f64 (neg.f64 b) b)
(* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* -1 b)
(neg.f64 b)
(* -1 (* b (+ 1 (* -1 (/ a b)))))
(-.f64 a b)
(* -1 (* b (+ 1 (* -1 (/ a b)))))
(-.f64 a b)
(* -1 (* b (+ 1 (* -1 (/ a b)))))
(-.f64 a b)
b
(* -1 (* b (- (* -1 (/ a b)) 1)))
(+.f64 b a)
(* -1 (* b (- (* -1 (/ a b)) 1)))
(+.f64 b a)
(* -1 (* b (- (* -1 (/ a b)) 1)))
(+.f64 b a)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(- (pow a 2) (pow b 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(- (pow a 2) (pow b 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(- (pow a 2) (pow b 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(- (pow a 2) (pow b 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(- (pow a 2) (pow b 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(- (pow a 2) (pow b 2))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* -1 (pow b 2))
(*.f64 (neg.f64 b) b)
(+ (* -1 (pow b 2)) (* a (+ b (* -1 b))))
(*.f64 (neg.f64 b) b)
(+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* -1 b)
(neg.f64 b)
(- a b)
(-.f64 a b)
(- a b)
(-.f64 a b)
(- a b)
(-.f64 a b)
b
(+ a b)
(+.f64 b a)
(+ a b)
(+.f64 b a)
(+ a b)
(+.f64 b a)
(pow a 2)
(*.f64 a a)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(pow a 2)
(*.f64 a a)
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a))))
(*.f64 a a)
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
a
(* a (+ 1 (* -1 (/ b a))))
(-.f64 a b)
(* a (+ 1 (* -1 (/ b a))))
(-.f64 a b)
(* a (+ 1 (* -1 (/ b a))))
(-.f64 a b)
a
(* a (+ 1 (/ b a)))
(+.f64 b a)
(* a (+ 1 (/ b a)))
(+.f64 b a)
(* a (+ 1 (/ b a)))
(+.f64 b a)
(pow a 2)
(*.f64 a a)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(pow a 2)
(*.f64 a a)
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(pow a 2)
(*.f64 a a)
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a))))
(*.f64 a a)
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a))))
(fma.f64 (neg.f64 b) b (*.f64 a a))
a
(* -1 (* a (- (/ b a) 1)))
(-.f64 a b)
(* -1 (* a (- (/ b a) 1)))
(-.f64 a b)
(* -1 (* a (- (/ b a) 1)))
(-.f64 a b)
a
(* -1 (* a (- (* -1 (/ b a)) 1)))
(+.f64 b a)
(* -1 (* a (- (* -1 (/ b a)) 1)))
(+.f64 b a)
(* -1 (* a (- (* -1 (/ b a)) 1)))
(+.f64 b a)

rewrite228.0ms (5.1%)

Memory
-16.8MiB live, 241.4MiB allocated
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01345
01945
17045
250745
3673536
0926336
Stop Event
iter limit
node limit
iter limit
Counts
8 → 733
Calls
Call 1
Inputs
#s(approx (- (* a a) (* b b)) (*.f64 a a))
(*.f64 a a)
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
(*.f64 (neg.f64 b) b)
(neg.f64 b)
(*.f64 (-.f64 a b) (+.f64 b a))
(-.f64 a b)
(+.f64 b a)
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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval269.0ms (6.1%)

Memory
8.8MiB live, 243.2MiB allocated
Compiler

Compiled 17 707 to 1 561 computations (91.2% saved)

prune137.0ms (3.1%)

Memory
-11.6MiB live, 68.7MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New8800880
Fresh000
Picked033
Done011
Total8804884
Accuracy
100.0%
Counts
884 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
92.2%
(-.f64 (*.f64 a a) (*.f64 b b))
100.0%
(*.f64 (-.f64 a b) (+.f64 b a))
54.0%
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
53.2%
#s(approx (- (* a a) (* b b)) (*.f64 a a))
Compiler

Compiled 46 to 31 computations (32.6% saved)

regimes23.0ms (0.5%)

Memory
-13.5MiB live, 26.1MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (- (* a a) (* b b)) (*.f64 a a))
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
(*.f64 (-.f64 a b) (+.f64 b a))
(-.f64 (*.f64 a a) (*.f64 b b))
Outputs
(*.f64 (-.f64 a b) (+.f64 b a))
Calls

5 calls:

14.0ms
(-.f64 (*.f64 a a) (*.f64 b b))
2.0ms
a
2.0ms
b
2.0ms
(*.f64 b b)
2.0ms
(*.f64 a a)
Results
AccuracySegmentsBranch
100.0%1a
100.0%1b
100.0%1(-.f64 (*.f64 a a) (*.f64 b b))
100.0%1(*.f64 a a)
100.0%1(*.f64 b b)
Compiler

Compiled 15 to 15 computations (0% saved)

regimes8.0ms (0.2%)

Memory
18.9MiB live, 18.9MiB allocated
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (- (* a a) (* b b)) (*.f64 a a))
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
Outputs
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))
#s(approx (- (* a a) (* b b)) (*.f64 a a))
Calls

5 calls:

2.0ms
b
2.0ms
a
1.0ms
(*.f64 b b)
1.0ms
(*.f64 a a)
1.0ms
(-.f64 (*.f64 a a) (*.f64 b b))
Results
AccuracySegmentsBranch
81.9%2a
76.7%2b
95.6%2(-.f64 (*.f64 a a) (*.f64 b b))
81.9%2(*.f64 a a)
76.7%2(*.f64 b b)
Compiler

Compiled 15 to 15 computations (0% saved)

regimes23.0ms (0.5%)

Memory
-19.1MiB live, 20.5MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (* a a) (* b b)) (*.f64 a a))
Outputs
#s(approx (- (* a a) (* b b)) (*.f64 a a))
Calls

5 calls:

1.0ms
a
1.0ms
b
1.0ms
(-.f64 (*.f64 a a) (*.f64 b b))
1.0ms
(*.f64 b b)
1.0ms
(*.f64 a a)
Results
AccuracySegmentsBranch
53.2%1b
53.2%1(*.f64 b b)
53.2%1a
53.2%1(*.f64 a a)
53.2%1(-.f64 (*.f64 a a) (*.f64 b b))
Compiler

Compiled 15 to 15 computations (0% saved)

bsearch0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-2.2049760446238513e-299
0.0
Compiler

Compiled 10 to 10 computations (0% saved)

simplify55.0ms (1.2%)

Memory
-13.2MiB live, 80.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01851
12951
23551
33851
43951
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (-.f64 a b) (+.f64 b a))
(if (<=.f64 (-.f64 (*.f64 a a) (*.f64 b b)) #s(literal -7540071506325551/377003575316277553052632783947358479815640765734281611362288441560101396530857955835685848633641608981764089063400052322800846281248691448694119974860434438887084693231743502178167752441192448774799271819130974018130465379775860716808779827596916922071594850183201524526501846714374614008118077197384100897810808832 binary64)) #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #s(approx (- (* a a) (* b b)) (*.f64 a a)))
#s(approx (- (* a a) (* b b)) (*.f64 a a))
Outputs
(*.f64 (-.f64 a b) (+.f64 b a))
(*.f64 (+.f64 b a) (-.f64 a b))
(if (<=.f64 (-.f64 (*.f64 a a) (*.f64 b b)) #s(literal -7540071506325551/377003575316277553052632783947358479815640765734281611362288441560101396530857955835685848633641608981764089063400052322800846281248691448694119974860434438887084693231743502178167752441192448774799271819130974018130465379775860716808779827596916922071594850183201524526501846714374614008118077197384100897810808832 binary64)) #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #s(approx (- (* a a) (* b b)) (*.f64 a a)))
#s(approx (- (* a a) (* b b)) (*.f64 a a))

soundness384.0ms (8.6%)

Memory
6.1MiB live, 285.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
017219
139219
2113219
3469219
41679219
52846219
65006219
08448219
0513
0813
13213
221613
3196713
0877813
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 54 to 33 computations (38.9% saved)

preprocess36.0ms (0.8%)

Memory
15.8MiB live, 133.8MiB allocated
Remove

(abs a)

(abs b)

Compiler

Compiled 144 to 90 computations (37.5% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...