Cancel like terms

Time bar (total: 1.4s)

analyze0.0ms (0%)

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

Compiled 7 to 6 computations (14.3% saved)

sample697.0ms (48.5%)

Memory
41.1MiB live, 524.2MiB allocated
Samples
193.0ms3 740×1valid
168.0ms4 516×0valid
Precisions
Click to see histograms. Total time spent on operations: 218.0ms
ival-sub: 99.0ms (45.5% of total)
ival-add: 74.0ms (34% of total)
adjust: 30.0ms (13.8% of total)
exact: 7.0ms (3.2% of total)
ival-true: 5.0ms (2.3% of total)
ival-assert: 3.0ms (1.4% of total)
Bogosity

preprocess19.0ms (1.3%)

Memory
-16.9MiB live, 16.3MiB allocated
Algorithm
egg-herbie
Rules
42×sub-neg
32×+-lowering-+.f64
32×+-lowering-+.f32
22×--lowering--.f32
22×--lowering--.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0817
1253
2793
31113
41433
51613
61683
045
1111
2221
3251
4301
5371
6471
7651
8691
0691
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
(- (+ 1 x) x)
Outputs
(- (+ 1 x) x)
#s(literal 1 binary64)
Call 2
Inputs
(- (+ 1 x) x)
(- (+ 1 (neg x)) (neg x))
(neg (- (+ 1 (neg x)) (neg x)))
Outputs
(- (+ 1 x) x)
#s(literal 1 binary64)
(- (+ 1 (neg x)) (neg x))
#s(literal 1 binary64)
(neg (- (+ 1 (neg x)) (neg x)))
#s(literal -1 binary64)
Symmetry

(abs x)

explain54.0ms (3.8%)

Memory
12.4MiB live, 73.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1355(406.9237420278252)0-(-.f64 (+.f64 #s(literal 1 binary64) x) x)
00-0-(+.f64 #s(literal 1 binary64) x)
00-0-#s(literal 1 binary64)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (+.f64 #s(literal 1 binary64) x) x)cancellation1400
Confusion
Predicted +Predicted -
+1350
-5116
Precision
0.9642857142857143
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+13500
-50116
Precision?
0.9642857142857143
Recall?
1.0
Freqs
test
numberfreq
0116
1140
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
17.0ms268×1valid
7.0ms244×0valid
Compiler

Compiled 36 to 20 computations (44.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-add: 5.0ms (44.2% of total)
ival-sub: 3.0ms (26.5% of total)
adjust: 2.0ms (17.7% of total)
ival-assert: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
48.9%
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Compiler

Compiled 6 to 4 computations (33.3% saved)

simplify4.0ms (0.3%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 #s(literal 1 binary64) x)
cost-diff384
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Rules
32×+-lowering-+.f64
32×+-lowering-+.f32
22×--lowering--.f32
22×--lowering--.f64
20×sub-neg
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0414
1116
2226
3256
4306
5376
6476
7656
8696
0696
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
(- (+ 1 x) x)
(+ 1 x)
1
x
Outputs
(- (+ 1 x) x)
#s(literal 1 binary64)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
1
#s(literal 1 binary64)
x

localize24.0ms (1.7%)

Memory
-11.5MiB live, 22.8MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(+.f64 #s(literal 1 binary64) x)
accuracy48.9%
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Samples
11.0ms122×0valid
8.0ms134×1valid
Compiler

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-add: 2.0ms (36.4% of total)
ival-sub: 2.0ms (36.4% of total)
adjust: 1.0ms (18.2% of total)
ival-assert: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series1.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#<alt (- (+ 1 x) x)>
#<alt (+ 1 x)>
Outputs
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt (+ 1 x)>
#<alt (+ 1 x)>
#<alt (+ 1 x)>
#<alt x>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt x>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt (* x (+ 1 (/ 1 x)))>
Calls

6 calls:

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

rewrite422.0ms (29.4%)

Memory
15.1MiB live, 291.6MiB allocated
Algorithm
batch-egg-rewrite
Rules
6 796×accelerator-lowering-fma.f32
6 796×accelerator-lowering-fma.f64
3 056×*-lowering-*.f32
3 056×*-lowering-*.f64
2 636×/-lowering-/.f32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
048
1344
22984
338334
090364
Stop Event
iter limit
node limit
Counts
2 → 132
Calls
Call 1
Inputs
(- (+ 1 x) x)
(+ 1 x)
Outputs
#s(literal 1 binary64)
(+.f64 #s(literal 1 binary64) x)
(+.f64 #s(literal 1 binary64) (neg.f64 x))
(+.f64 x #s(literal 1 binary64))
(+.f64 (neg.f64 x) #s(literal 1 binary64))
(+.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(exp.f64 (log1p.f64 x))
(exp.f64 (*.f64 (neg.f64 (log1p.f64 x)) #s(literal -1 binary64)))
(exp.f64 (*.f64 (log1p.f64 x) #s(literal 1 binary64)))
(-.f64 #s(literal 1 binary64) x)
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (/.f64 (*.f64 x (*.f64 x x)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(-.f64 (/.f64 (*.f64 x x) (+.f64 x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal -1 binary64))))
(fma.f64 #s(literal 1 binary64) x #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (neg.f64 x) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 x #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 x #s(literal -1 binary64) #s(literal 1 binary64))
(fma.f64 (+.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (neg.f64 x) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 (neg.f64 x) (-.f64 (neg.f64 x) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
(fma.f64 (*.f64 (*.f64 x (*.f64 x x)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (/.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) (*.f64 x (*.f64 x (fma.f64 x x x))))) #s(literal 1 binary64))
(fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64))
(fma.f64 (*.f64 x (*.f64 x (-.f64 x (+.f64 #s(literal 1 binary64) x)))) (/.f64 #s(literal 1 binary64) (*.f64 x (-.f64 x (+.f64 #s(literal 1 binary64) x)))) #s(literal 1 binary64))
(fma.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (+.f64 #s(literal 1 binary64) x) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) #s(literal -1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))))) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x))))) (fma.f64 x x #s(literal 1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64))) (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))))) (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) x) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal -1 binary64))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (neg.f64 (+.f64 #s(literal 1 binary64) x))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x x #s(literal -1 binary64))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal -1 binary64))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(neg.f64 (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 x #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))))
(/.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 (log1p.f64 x))))
(/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) (neg.f64 x))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (+.f64 #s(literal 1 binary64) x))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (neg.f64 x)))
(/.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))
(/.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)) (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(/.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64)) (*.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (*.f64 (+.f64 #s(literal 1 binary64) x) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (*.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x))))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (+.f64 x #s(literal -1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) (*.f64 (+.f64 #s(literal 1 binary64) x) (fma.f64 x x #s(literal 1 binary64))))
(/.f64 (-.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x (fma.f64 x x x))) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) #s(literal 1 binary64)) (*.f64 (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) #s(literal 1 binary64)) (*.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) #s(literal 1 binary64)) (*.f64 (fma.f64 x x #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(/.f64 (*.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (+.f64 #s(literal 1 binary64) x))
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal -1 binary64))) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 #s(literal -1 binary64) (*.f64 x x))) (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal -1 binary64))) (+.f64 x #s(literal -1 binary64)))
(/.f64 (*.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x))
(/.f64 (*.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)) #s(literal 1 binary64)) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))
(/.f64 (*.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) (+.f64 x #s(literal -1 binary64)))
(/.f64 (neg.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64))) (neg.f64 (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64))))
(/.f64 (neg.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (+.f64 #s(literal 1 binary64) x))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (+.f64 x #s(literal -1 binary64))))
(/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))) (/.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))))) (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))) (fma.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)) (*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))))
(/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))) (*.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)))) (+.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(/.f64 (*.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))) (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))) (fma.f64 x (*.f64 x x) #s(literal 1 binary64)))
(/.f64 (*.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x))) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x))) (fma.f64 x x #s(literal 1 binary64)))
(/.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(/.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x x)))) (exp.f64 (log1p.f64 (fma.f64 x x x))))
(/.f64 (exp.f64 (log1p.f64 (*.f64 x (neg.f64 x)))) (+.f64 #s(literal 1 binary64) x))
(/.f64 (exp.f64 (log.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)))) (exp.f64 (log.f64 (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))))
(/.f64 (exp.f64 (log.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)))) (exp.f64 (log.f64 (neg.f64 (+.f64 #s(literal 1 binary64) x)))))
(/.f64 (exp.f64 (log.f64 (fma.f64 x x #s(literal -1 binary64)))) (exp.f64 (log.f64 (+.f64 x #s(literal -1 binary64)))))
(pow.f64 (+.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal -1 binary64))
(pow.f64 (/.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #s(literal -1 binary64))
(pow.f64 (/.f64 (+.f64 x #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) #s(literal -1 binary64))
(*.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x))
(*.f64 (+.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(*.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
(*.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64))))
(*.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)) (/.f64 #s(literal 1 binary64) (neg.f64 (+.f64 #s(literal 1 binary64) x))))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (pow.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal -1 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (fma.f64 x (*.f64 x x) #s(literal 1 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (pow.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) #s(literal -1 binary64)))
(*.f64 (fma.f64 x x #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal -1 binary64))))
(*.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(*.f64 (*.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (+.f64 #s(literal 1 binary64) x))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal -1 binary64))) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x x #s(literal -1 binary64))) (+.f64 x #s(literal -1 binary64)))
(*.f64 (/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (fma.f64 (fma.f64 x x x) (*.f64 (fma.f64 x x x) (fma.f64 x x x)) #s(literal 1 binary64))) (fma.f64 (fma.f64 x x x) (-.f64 (fma.f64 x x x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 (/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 x x x) (fma.f64 x x x)))) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(*.f64 (pow.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64))))
(*.f64 (pow.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 1 binary64))))
(*.f64 (pow.f64 (/.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64))))
(*.f64 (pow.f64 (/.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))))
(*.f64 (pow.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) #s(literal 1 binary64)) (pow.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (neg.f64 (+.f64 #s(literal 1 binary64) x))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (*.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x))
(*.f64 (pow.f64 (/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (fma.f64 (fma.f64 x x x) (*.f64 (fma.f64 x x x) (fma.f64 x x x)) #s(literal 1 binary64))) #s(literal 1 binary64)) (pow.f64 (fma.f64 (fma.f64 x x x) (-.f64 (fma.f64 x x x) #s(literal 1 binary64)) #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 x x x) (fma.f64 x x x)))) #s(literal 1 binary64)) (pow.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) #s(literal 1 binary64)) (pow.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) #s(literal 1 binary64)))
(*.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x x)))) (exp.f64 (neg.f64 (log1p.f64 (fma.f64 x x x)))))
(*.f64 (exp.f64 (log1p.f64 (*.f64 x (neg.f64 x)))) (exp.f64 (neg.f64 (log1p.f64 x))))

simplify6.0ms (0.4%)

Memory
-20.3MiB live, 10.6MiB allocated
Algorithm
egg-herbie
Rules
20×*-lowering-*.f32
20×*-lowering-*.f64
+-lowering-+.f64
+-lowering-+.f32
distribute-lft-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0642
11742
21842
32742
43342
53342
03342
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
1
1
1
1
1
1
1
1
1
1
1
1
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
Outputs
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)

eval17.0ms (1.2%)

Memory
3.4MiB live, 34.1MiB allocated
Compiler

Compiled 2 614 to 436 computations (83.3% saved)

prune15.0ms (1.1%)

Memory
-2.4MiB live, 33.6MiB allocated
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1551156
Fresh000
Picked101
Done000
Total1561157
Accuracy
100.0%
Counts
157 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(literal 1 binary64)
Compiler

Compiled 2 to 2 computations (0% saved)

simplify3.0ms (0.2%)

Memory
4.5MiB live, 4.5MiB allocated
Algorithm
egg-herbie
Rules
1-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
131
031
Stop Event
saturated
saturated
Calls
Call 1
Inputs
1
Outputs
1
#s(literal 1 binary64)

localize6.0ms (0.4%)

Memory
9.7MiB live, 9.7MiB allocated
Samples
3.0ms256×0valid
Compiler

Compiled 3 to 4 computations (-33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

rewrite6.0ms (0.4%)

Memory
7.7MiB live, 7.7MiB allocated
Algorithm
batch-egg-rewrite
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
000
Stop Event
saturated
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

simplify3.0ms (0.2%)

Memory
-27.7MiB live, 3.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
000
Stop Event
saturated
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Memory
2.7MiB live, 2.7MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(literal 1 binary64)
Compiler

Compiled 9 to 6 computations (33.3% saved)

regimes3.0ms (0.2%)

Memory
5.4MiB live, 5.4MiB allocated
Accuracy

Total -32.7b remaining (-∞%)

Threshold costs -32.7b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(literal 1 binary64)
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Outputs
#s(literal 1 binary64)
Calls

2 calls:

1.0ms
x
1.0ms
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Compiler

Compiled 8 to 5 computations (37.5% saved)

simplify6.0ms (0.4%)

Memory
10.4MiB live, 10.4MiB allocated
Algorithm
egg-herbie
Rules
1-exp_binary64
1-exp_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
141
Stop Event
saturated
Calls
Call 1
Inputs
#s(literal 1 binary64)
Outputs
#s(literal 1 binary64)

soundness132.0ms (9.2%)

Memory
-36.9MiB live, 80.1MiB allocated
Rules
6 796×accelerator-lowering-fma.f32
6 796×accelerator-lowering-fma.f64
3 056×*-lowering-*.f32
3 056×*-lowering-*.f64
2 636×/-lowering-/.f32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
048
1344
22984
338334
090364
Stop Event
done
iter limit
node limit
Compiler

Compiled 4 to 4 computations (0% saved)

preprocess15.0ms (1.1%)

Memory
1.7MiB live, 32.6MiB allocated
Remove

(abs x)

Compiler

Compiled 20 to 16 computations (20% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...