sqrt A (should all be same)

Time bar (total: 1.1s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
100%100%0%0%0%0%0%2
Compiler

Compiled 10 to 5 computations (50% saved)

sample715.0ms (62.7%)

Results
704.0ms8252×body256valid
0.0msbody256infinite
Bogosity

preprocess45.0ms (3.9%)

Algorithm
egg-herbie
Rules
174×fma-def
40×associate-*r*
28×distribute-lft-neg-in
22×distribute-lft-in
22×neg-sub0
Problems
130×No Errors
126×(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01121
13121
27521
318321
428421
534121
Stop Event
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(sqrt.f64 (+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (neg.f64 x) (neg.f64 x))))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(hypot.f64 x x)
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
(hypot.f64 x x)
(sqrt.f64 (+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (neg.f64 x) (neg.f64 x))))
(hypot.f64 x x)
Symmetry

(abs x)

Compiler

Compiled 30 to 9 computations (70% saved)

eval0.0ms (0%)

Compiler

Compiled 4 to 2 computations (50% saved)

prune1.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
100.0%
(hypot.f64 x x)
Compiler

Compiled 8 to 4 computations (50% saved)

localize14.0ms (1.2%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
100.0%
(hypot.f64 x x)
Compiler

Compiled 6 to 3 computations (50% saved)

series2.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(hypot.f64 x x)
1.0ms
x
@inf
(hypot.f64 x x)
1.0ms
x
@0
(hypot.f64 x x)

rewrite46.0ms (4%)

Algorithm
batch-egg-rewrite
Rules
738×pow1
704×add-sqr-sqrt
696×*-un-lft-identity
674×add-exp-log
674×log1p-expm1-u
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
1807
29337
Stop Event
node limit
Counts
1 → 41
Calls
Call 1
Inputs
(hypot.f64 x x)
Outputs
(+.f64 0 (hypot.f64 x x))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))) (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))))
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))))
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(*.f64 (hypot.f64 x x) 1)
(*.f64 1 (hypot.f64 x x))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2))
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 1 1/3) (hypot.f64 x x))
(*.f64 (pow.f64 1 1/2) (hypot.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3))
(*.f64 (pow.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2) 1/3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2) (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 2 1/2) x)
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5) 1/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(pow.f64 (*.f64 x (+.f64 x x)) 1/2)
(pow.f64 (E.f64) (log.f64 (hypot.f64 x x)))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (log.f64 (hypot.f64 x x))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (hypot.f64 x x)))) (sqrt.f64 (log.f64 (hypot.f64 x x))))
(sqrt.f64 (*.f64 x (+.f64 x x)))
(log.f64 (exp.f64 (hypot.f64 x x)))
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(exp.f64 (log.f64 (hypot.f64 x x)))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (hypot.f64 x x))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 2))
(exp.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x x))) 1/2))
(log1p.f64 (expm1.f64 (hypot.f64 x x)))

simplify50.0ms (4.4%)

Algorithm
egg-herbie
Rules
916×associate-*r*
884×log-prod
764×associate-*l*
738×associate-+r+
724×associate-+l+
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0116717
1249681
2686669
34000669
Stop Event
node limit
Counts
53 → 54
Calls
Call 1
Inputs
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(+.f64 0 (hypot.f64 x x))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))) (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))))
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))))
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(*.f64 (hypot.f64 x x) 1)
(*.f64 1 (hypot.f64 x x))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2))
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 1 1/3) (hypot.f64 x x))
(*.f64 (pow.f64 1 1/2) (hypot.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3))
(*.f64 (pow.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2) 1/3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2) (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 2 1/2) x)
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5) 1/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(pow.f64 (*.f64 x (+.f64 x x)) 1/2)
(pow.f64 (E.f64) (log.f64 (hypot.f64 x x)))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (log.f64 (hypot.f64 x x))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (hypot.f64 x x)))) (sqrt.f64 (log.f64 (hypot.f64 x x))))
(sqrt.f64 (*.f64 x (+.f64 x x)))
(log.f64 (exp.f64 (hypot.f64 x x)))
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(exp.f64 (log.f64 (hypot.f64 x x)))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (hypot.f64 x x))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 2))
(exp.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x x))) 1/2))
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
Outputs
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 x (sqrt.f64 2))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 x (sqrt.f64 2)))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(+.f64 0 (hypot.f64 x x))
(hypot.f64 x x)
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))) (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))))
(hypot.f64 x x)
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))))
(+.f64 (*.f64 2 (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))))) (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))))
(*.f64 3 (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))))
(*.f64 (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))) 3)
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(hypot.f64 x x)
(*.f64 (hypot.f64 x x) 1)
(hypot.f64 x x)
(*.f64 1 (hypot.f64 x x))
(hypot.f64 x x)
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(hypot.f64 x x)
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2))
(hypot.f64 x x)
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2))
(hypot.f64 x x)
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2)))
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2)))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 2)))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 8)))
(*.f64 (pow.f64 1 1/3) (hypot.f64 x x))
(hypot.f64 x x)
(*.f64 (pow.f64 1 1/2) (hypot.f64 x x))
(hypot.f64 x x)
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3))
(hypot.f64 x x)
(*.f64 (pow.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2) 1/3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2)))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 2)))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 8)))
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2)))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(hypot.f64 x x)
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2) (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))
(hypot.f64 x x)
(*.f64 (pow.f64 2 1/2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5) 1/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(hypot.f64 x x)
(pow.f64 (hypot.f64 x x) 1)
(hypot.f64 x x)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(hypot.f64 x x)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(hypot.f64 x x)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(hypot.f64 x x)
(pow.f64 (*.f64 x (+.f64 x x)) 1/2)
(hypot.f64 x x)
(pow.f64 (E.f64) (log.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (log.f64 (hypot.f64 x x))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (hypot.f64 x x)))) (sqrt.f64 (log.f64 (hypot.f64 x x))))
(sqrt.f64 (*.f64 x (+.f64 x x)))
(hypot.f64 x x)
(log.f64 (exp.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(hypot.f64 x x)
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(exp.f64 (log.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))) 3))
(hypot.f64 x x)
(exp.f64 (*.f64 (*.f64 3 (log.f64 (hypot.f64 x x))) 1/3))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 2))
(hypot.f64 x x)
(exp.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x x))) 1/2))
(hypot.f64 x x)
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
(hypot.f64 x x)

eval9.0ms (0.8%)

Compiler

Compiled 503 to 202 computations (59.8% saved)

prune14.0ms (1.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New53154
Fresh000
Picked011
Done000
Total53255
Accuracy
100.0%
Counts
55 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
99.3%
(*.f64 x (sqrt.f64 2))
100.0%
(hypot.f64 x x)
99.3%
(*.f64 x (sqrt.f64 2))
Compiler

Compiled 18 to 12 computations (33.3% saved)

localize23.0ms (2%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
99.3%
(*.f64 x (sqrt.f64 2))
Compiler

Compiled 10 to 8 computations (20% saved)

series1.0ms (0.1%)

Counts
1 → 0
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(*.f64 x (sqrt.f64 2))
0.0ms
x
@inf
(*.f64 x (sqrt.f64 2))
0.0ms
x
@-inf
(*.f64 x (sqrt.f64 2))

rewrite50.0ms (4.4%)

Algorithm
batch-egg-rewrite
Rules
1182×pow1
1084×add-exp-log
1084×log1p-expm1-u
1084×expm1-log1p-u
1058×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
113811
2150811
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 x (sqrt.f64 2))
Outputs
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)
(pow.f64 (*.f64 x (sqrt.f64 2)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))
(cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))
(exp.f64 (log.f64 (*.f64 x (sqrt.f64 2))))
(log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))

simplify73.0ms (6.4%)

Algorithm
egg-herbie
Rules
1916×log-prod
954×fma-neg
794×*-commutative
674×distribute-lft-out
640×distribute-rgt-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
032253
179187
2271121
31537121
44433121
56770121
Stop Event
node limit
Counts
11 → 14
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)
(pow.f64 (*.f64 x (sqrt.f64 2)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))
(cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))
(exp.f64 (log.f64 (*.f64 x (sqrt.f64 2))))
(log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))
Outputs
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)
(+.f64 1 (-.f64 (*.f64 x (sqrt.f64 2)) 1))
(+.f64 (*.f64 x (sqrt.f64 2)) 0)
(*.f64 x (sqrt.f64 2))
(pow.f64 (*.f64 x (sqrt.f64 2)) 1)
(+.f64 1 (-.f64 (*.f64 x (sqrt.f64 2)) 1))
(+.f64 (*.f64 x (sqrt.f64 2)) 0)
(*.f64 x (sqrt.f64 2))
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
(+.f64 1 (-.f64 (*.f64 x (sqrt.f64 2)) 1))
(+.f64 (*.f64 x (sqrt.f64 2)) 0)
(*.f64 x (sqrt.f64 2))
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)
(+.f64 1 (-.f64 (*.f64 x (sqrt.f64 2)) 1))
(+.f64 (*.f64 x (sqrt.f64 2)) 0)
(*.f64 x (sqrt.f64 2))
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(+.f64 1 (-.f64 (*.f64 x (sqrt.f64 2)) 1))
(+.f64 (*.f64 x (sqrt.f64 2)) 0)
(*.f64 x (sqrt.f64 2))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(+.f64 1 (-.f64 (*.f64 x (sqrt.f64 2)) 1))
(+.f64 (*.f64 x (sqrt.f64 2)) 0)
(*.f64 x (sqrt.f64 2))
(log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))
(+.f64 1 (-.f64 (*.f64 x (sqrt.f64 2)) 1))
(+.f64 (*.f64 x (sqrt.f64 2)) 0)
(*.f64 x (sqrt.f64 2))
(cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))
(+.f64 1 (-.f64 (*.f64 x (sqrt.f64 2)) 1))
(+.f64 (*.f64 x (sqrt.f64 2)) 0)
(*.f64 x (sqrt.f64 2))
(expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))
(+.f64 1 (-.f64 (*.f64 x (sqrt.f64 2)) 1))
(+.f64 (*.f64 x (sqrt.f64 2)) 0)
(*.f64 x (sqrt.f64 2))
(exp.f64 (log.f64 (*.f64 x (sqrt.f64 2))))
(+.f64 1 (-.f64 (*.f64 x (sqrt.f64 2)) 1))
(+.f64 (*.f64 x (sqrt.f64 2)) 0)
(*.f64 x (sqrt.f64 2))
(log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))
(+.f64 1 (-.f64 (*.f64 x (sqrt.f64 2)) 1))
(+.f64 (*.f64 x (sqrt.f64 2)) 0)
(*.f64 x (sqrt.f64 2))

eval3.0ms (0.3%)

Compiler

Compiled 92 to 77 computations (16.3% saved)

prune3.0ms (0.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New14014
Fresh000
Picked011
Done011
Total14216
Accuracy
100.0%
Counts
16 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
99.3%
(*.f64 x (sqrt.f64 2))
Compiler

Compiled 25 to 14 computations (44% saved)

regimes43.0ms (3.8%)

Accuracy

Total -29.1b remaining (-372598.9%)

Threshold costs -29.1b (-372598.9%)

Counts
3 → 1
Calls
Call 1
Inputs
(hypot.f64 x x)
(*.f64 x (sqrt.f64 2))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
Outputs
(hypot.f64 x x)
Calls

4 calls:

33.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
4.0ms
x
3.0ms
(+.f64 (*.f64 x x) (*.f64 x x))
3.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))
100.0%1(+.f64 (*.f64 x x) (*.f64 x x))
100.0%1(*.f64 x x)
Compiler

Compiled 39 to 18 computations (53.8% saved)

simplify4.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
Stop Event
done
saturated
Calls
Call 1
Inputs
(hypot.f64 x x)
Outputs
(hypot.f64 x x)
Compiler

Compiled 4 to 2 computations (50% saved)

soundness25.0ms (2.2%)

Rules
174×fma-def
40×associate-*r*
28×distribute-lft-neg-in
22×distribute-lft-in
22×neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01121
13121
27521
318321
428421
534121
Stop Event
saturated
Compiler

Compiled 12 to 5 computations (58.3% saved)

end0.0ms (0%)

preprocess18.0ms (1.6%)

Remove

(abs x)

Compiler

Compiled 34 to 16 computations (52.9% saved)

Profiling

Loading profile data...