Details

Time bar (total: 2.7s)

analyze6.0ms (0.2%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
50%50%50%0%0%0%0%3
75%75%25%0%0%0%0%4
87.5%87.5%12.5%0%0%0%0%5
93.8%93.7%6.2%0%0%0%0%6
96.9%96.8%3.1%0%0%0%0%7
98.4%98.4%1.6%0%0%0%0%8
99.2%99.2%0.8%0%0%0%0%9
99.6%99.6%0.4%0%0%0%0%10
99.8%99.8%0.2%0%0%0%0%11
99.9%99.9%0.1%0%0%0%0%12
Compiler

Compiled 10 to 8 computations (20% saved)

sample854.0ms (31.6%)

Results
843.0ms8256×body256valid
0.0msbody256infinite
Bogosity

preprocess141.0ms (5.2%)

Algorithm
egg-herbie
Rules
2476×fma-def
1806×distribute-lft-out
1312×count-2
1058×hypot-def
976×sqr-pow
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
1147
2357
3597
41227
53067
610677
719057
832637
942127
1050047
1160307
1269187
1378577
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.f64 x 2)))
Outputs
(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.f64 x 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(hypot.f64 x x)
Compiler

Compiled 10 to 8 computations (20% saved)

simplify138.0ms (5.1%)

Algorithm
egg-herbie
Rules
2476×fma-def
1806×distribute-lft-out
1312×count-2
1058×hypot-def
976×sqr-pow
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0817
1147
2357
3597
41227
53067
610677
719057
832637
942127
1050047
1160307
1269187
1378577
Stop Event
node limit
Counts
1 → 3
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.f64 x 2)))
Outputs
(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.f64 x 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(hypot.f64 x x)

eval1.0ms (0%)

Compiler

Compiled 18 to 12 computations (33.3% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New123
Fresh101
Picked000
Done000
Total224
Error
0.0b
Counts
4 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(hypot.f64 x x)
33.6b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 11 to 7 computations (36.4% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (*.f64 x x))
32.5b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 17 to 8 computations (52.9% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite150.0ms (5.6%)

Algorithm
batch-egg-rewrite
Rules
1372×add-sqr-sqrt
1354×*-un-lft-identity
1256×add-cube-cbrt
1246×add-cbrt-cube
1234×add-exp-log
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0830
115924
2182924
Stop Event
node limit
Counts
2 → 36
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(*.f64 2 (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (sqrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4)) 1/2) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))))))

simplify149.0ms (5.5%)

Algorithm
egg-herbie
Rules
1326×distribute-lft-in
1310×distribute-rgt-in
1040×associate-+r+
954×associate-+l+
876×fma-def
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
083816
1201816
2880816
32375688
Stop Event
node limit
Counts
60 → 46
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)
(*.f64 x (sqrt.f64 2))
(*.f64 (*.f64 x (sqrt.f64 2)) 1)
(*.f64 1 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2)))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4)) 1/2) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2))
(*.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (*.f64 x (sqrt.f64 2)) 1)
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)
(fabs.f64 (*.f64 x (sqrt.f64 2)))
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))
(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))))
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2)
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(sqrt.f64 (*.f64 (pow.f64 x 4) 4))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))
Outputs
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(neg.f64 (hypot.f64 x x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(neg.f64 (hypot.f64 x x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(neg.f64 (hypot.f64 x x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(neg.f64 (hypot.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 x (sqrt.f64 2))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (*.f64 x (sqrt.f64 2)) 1)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 1 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4)) 1/2) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(pow.f64 (*.f64 x (sqrt.f64 2)) 1)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(fabs.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(exp.f64 (log.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(*.f64 2 (*.f64 x x))
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(*.f64 2 (*.f64 x x))
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(*.f64 2 (*.f64 x x))
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(*.f64 2 (*.f64 x x))
(pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2)
(*.f64 2 (*.f64 x x))
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(*.f64 2 (*.f64 x x))
(sqrt.f64 (*.f64 (pow.f64 x 4) 4))
(*.f64 2 (*.f64 x x))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2))
(*.f64 2 (*.f64 x x))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))
(*.f64 2 (*.f64 x x))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 x x)
Compiler

Compiled 5 to 2 computations (60% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite46.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
918×associate-*r*
744×add-sqr-sqrt
738×*-un-lft-identity
696×pow1
682×add-cube-cbrt
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
1807
29167
Stop Event
node limit
Counts
1 → 36
Calls
Call 1
Inputs
(hypot.f64 x x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (hypot.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (hypot.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 x x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (hypot.f64 x x)))))))

simplify119.0ms (4.4%)

Algorithm
egg-herbie
Rules
1144×distribute-lft-in
1118×associate-*r*
1046×distribute-rgt-in
928×associate-*l*
836×*-commutative
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0881038
1194864
2596854
33338854
47923854
Stop Event
node limit
Counts
48 → 50
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(-.f64 (+.f64 (hypot.f64 x x) 1) 1)
(*.f64 (hypot.f64 x x) 1)
(*.f64 1 (hypot.f64 x x))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (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 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x))))
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
(*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))))
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))
(*.f64 (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (*.f64 x (+.f64 x x)) 1/2)
(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)))
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
Outputs
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(-.f64 (+.f64 (hypot.f64 x x) 1) 1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (hypot.f64 x x) 1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 1 (hypot.f64 x x))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))))
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))))
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2))
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))))
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4))))
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
(*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
(*.f64 (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
(pow.f64 (hypot.f64 x x) 1)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(pow.f64 (*.f64 x (+.f64 x x)) 1/2)
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(sqrt.f64 (*.f64 x (+.f64 x x)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(log.f64 (exp.f64 (hypot.f64 x x)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(exp.f64 (log.f64 (hypot.f64 x x)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
(+.f64 (hypot.f64 x x) 0)
(hypot.f64 x x)

eval17.0ms (0.6%)

Compiler

Compiled 1015 to 464 computations (54.3% saved)

prune10.0ms (0.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New93396
Fresh000
Picked011
Done101
Total94498
Error
0b
Counts
98 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(hypot.f64 x x)
33.4b
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
30.2b
(*.f64 (sqrt.f64 2) (neg.f64 x))
32.7b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 23 to 16 computations (30.4% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 9 to 7 computations (22.2% saved)

series0.0ms (0%)

Counts
1 → 0
Calls

3 calls:

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

rewrite48.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
1198×add-sqr-sqrt
1182×*-un-lft-identity
1118×pow1
1096×add-cube-cbrt
1082×add-cbrt-cube
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
113711
2151111
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 2) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x)))))))

simplify59.0ms (2.2%)

Algorithm
egg-herbie
Rules
1066×*-commutative
886×log-prod
738×associate--l+
678×distribute-lft-out
632×distribute-lft-in
Iterations

Useful iterations: 2 (0.0ms)

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

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (sqrt.f64 2) (neg.f64 x))
Compiler

Compiled 12 to 8 computations (33.3% saved)

series0.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite48.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
1266×add-sqr-sqrt
1248×*-un-lft-identity
1162×add-cube-cbrt
1148×add-cbrt-cube
1134×add-exp-log
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0815
116211
2191711
Stop Event
node limit
Counts
1 → 13
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 2) (neg.f64 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 (sqrt.f64 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (sqrt.f64 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x)))))))

simplify84.0ms (3.1%)

Algorithm
egg-herbie
Rules
1082×*-commutative
878×log-prod
650×distribute-lft-in
648×distribute-rgt-in
646×distribute-lft-out
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
037463
190397
2331331
31789331
44954331
57952331
Stop Event
node limit
Counts
25 → 19
Calls
Call 1
Inputs
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(-.f64 0 (*.f64 (sqrt.f64 2) x))
(-.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)
(pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)
(neg.f64 (*.f64 (sqrt.f64 2) x))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))
(cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))
(expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))
(exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x)))
(log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x)))
Outputs
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(-.f64 0 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(-.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (*.f64 (sqrt.f64 2) x) 1)
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x)))
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)
(log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x)))
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1))
(+.f64 (*.f64 (sqrt.f64 2) x) 0)
(*.f64 (sqrt.f64 2) x)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
Compiler

Compiled 18 to 5 computations (72.2% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite262.0ms (9.7%)

Algorithm
batch-egg-rewrite
Rules
1358×add-sqr-sqrt
1344×*-un-lft-identity
1256×add-cube-cbrt
1236×add-cbrt-cube
1228×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
116517
2218717
Stop Event
node limit
Counts
1 → 13
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (+.f64 x x) (sqrt.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (+.f64 x x) (sqrt.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (+.f64 x x) (pow.f64 x 1/4)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (+.f64 x x) (cbrt.f64 (sqrt.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (+.f64 x x) (pow.f64 x 3/2)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (+.f64 x x) (pow.f64 x 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (+.f64 x x) (sqrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (+.f64 x x) (sqrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (+.f64 x x) (sqrt.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (+.f64 x x) (sqrt.f64 x))))))))

simplify236.0ms (8.7%)

Algorithm
egg-herbie
Rules
934×*-commutative
908×associate-+r+
812×associate-+l+
784×associate-+l-
752×associate-+r-
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
051523
1118457
2316397
3975391
42478359
56694359
Stop Event
node limit
Counts
25 → 33
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(-.f64 (+.f64 1 (*.f64 (+.f64 x x) (sqrt.f64 x))) 1)
(pow.f64 (*.f64 (+.f64 x x) (sqrt.f64 x)) 1)
(pow.f64 (*.f64 (+.f64 x x) (pow.f64 x 1/4)) 2)
(pow.f64 (*.f64 (+.f64 x x) (cbrt.f64 (sqrt.f64 x))) 3)
(pow.f64 (*.f64 (+.f64 x x) (pow.f64 x 3/2)) 1/3)
(pow.f64 (*.f64 x (+.f64 x x)) 1/2)
(sqrt.f64 (*.f64 x (+.f64 x x)))
(log.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (sqrt.f64 x)))
(cbrt.f64 (*.f64 (+.f64 x x) (pow.f64 x 3/2)))
(expm1.f64 (log1p.f64 (*.f64 (+.f64 x x) (sqrt.f64 x))))
(exp.f64 (log.f64 (*.f64 (+.f64 x x) (sqrt.f64 x))))
(exp.f64 (*.f64 (log.f64 (*.f64 (+.f64 x x) (sqrt.f64 x))) 1))
(log1p.f64 (expm1.f64 (*.f64 (+.f64 x x) (sqrt.f64 x))))
Outputs
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(neg.f64 (*.f64 (sqrt.f64 -1) (*.f64 x (sqrt.f64 -2))))
(*.f64 (sqrt.f64 -1) (neg.f64 (*.f64 x (sqrt.f64 -2))))
(*.f64 (sqrt.f64 -1) (*.f64 x (neg.f64 (sqrt.f64 -2))))
(*.f64 x (*.f64 (sqrt.f64 -1) (neg.f64 (sqrt.f64 -2))))
(*.f64 x (*.f64 (sqrt.f64 -2) (neg.f64 (sqrt.f64 -1))))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(neg.f64 (*.f64 (sqrt.f64 -1) (*.f64 x (sqrt.f64 -2))))
(*.f64 (sqrt.f64 -1) (neg.f64 (*.f64 x (sqrt.f64 -2))))
(*.f64 (sqrt.f64 -1) (*.f64 x (neg.f64 (sqrt.f64 -2))))
(*.f64 x (*.f64 (sqrt.f64 -1) (neg.f64 (sqrt.f64 -2))))
(*.f64 x (*.f64 (sqrt.f64 -2) (neg.f64 (sqrt.f64 -1))))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(neg.f64 (*.f64 (sqrt.f64 -1) (*.f64 x (sqrt.f64 -2))))
(*.f64 (sqrt.f64 -1) (neg.f64 (*.f64 x (sqrt.f64 -2))))
(*.f64 (sqrt.f64 -1) (*.f64 x (neg.f64 (sqrt.f64 -2))))
(*.f64 x (*.f64 (sqrt.f64 -1) (neg.f64 (sqrt.f64 -2))))
(*.f64 x (*.f64 (sqrt.f64 -2) (neg.f64 (sqrt.f64 -1))))
(*.f64 -1 (*.f64 (sqrt.f64 -1) (*.f64 (sqrt.f64 -2) x)))
(neg.f64 (*.f64 (sqrt.f64 -1) (*.f64 x (sqrt.f64 -2))))
(*.f64 (sqrt.f64 -1) (neg.f64 (*.f64 x (sqrt.f64 -2))))
(*.f64 (sqrt.f64 -1) (*.f64 x (neg.f64 (sqrt.f64 -2))))
(*.f64 x (*.f64 (sqrt.f64 -1) (neg.f64 (sqrt.f64 -2))))
(*.f64 x (*.f64 (sqrt.f64 -2) (neg.f64 (sqrt.f64 -1))))
(-.f64 (+.f64 1 (*.f64 (+.f64 x x) (sqrt.f64 x))) 1)
(+.f64 (+.f64 1 (*.f64 (+.f64 x x) (sqrt.f64 x))) -1)
(+.f64 (*.f64 2 (*.f64 x (sqrt.f64 x))) 0)
(*.f64 2 (*.f64 x (sqrt.f64 x)))
(*.f64 (+.f64 x x) (sqrt.f64 x))
(*.f64 2 (pow.f64 x 3/2))
(pow.f64 (*.f64 (+.f64 x x) (sqrt.f64 x)) 1)
(+.f64 (+.f64 1 (*.f64 (+.f64 x x) (sqrt.f64 x))) -1)
(+.f64 (*.f64 2 (*.f64 x (sqrt.f64 x))) 0)
(*.f64 2 (*.f64 x (sqrt.f64 x)))
(*.f64 (+.f64 x x) (sqrt.f64 x))
(*.f64 2 (pow.f64 x 3/2))
(pow.f64 (*.f64 (+.f64 x x) (pow.f64 x 1/4)) 2)
(pow.f64 (*.f64 2 (*.f64 x (pow.f64 x 1/4))) 2)
(pow.f64 (*.f64 2 (pow.f64 x 5/4)) 2)
(*.f64 (pow.f64 x 5/2) 4)
(pow.f64 (*.f64 (+.f64 x x) (cbrt.f64 (sqrt.f64 x))) 3)
(*.f64 (sqrt.f64 x) (*.f64 8 (pow.f64 x 3)))
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 3))
(*.f64 x (*.f64 (pow.f64 x 5/2) 8))
(pow.f64 (*.f64 (+.f64 x x) (pow.f64 x 3/2)) 1/3)
(cbrt.f64 (*.f64 (+.f64 x x) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 2 (pow.f64 x 5/2)))
(pow.f64 (*.f64 x (+.f64 x x)) 1/2)
(sqrt.f64 (*.f64 x (+.f64 x x)))
(hypot.f64 x x)
(sqrt.f64 (*.f64 x (+.f64 x x)))
(hypot.f64 x x)
(log.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (sqrt.f64 x)))
(+.f64 (+.f64 1 (*.f64 (+.f64 x x) (sqrt.f64 x))) -1)
(+.f64 (*.f64 2 (*.f64 x (sqrt.f64 x))) 0)
(*.f64 2 (*.f64 x (sqrt.f64 x)))
(*.f64 (+.f64 x x) (sqrt.f64 x))
(*.f64 2 (pow.f64 x 3/2))
(cbrt.f64 (*.f64 (+.f64 x x) (pow.f64 x 3/2)))
(cbrt.f64 (*.f64 2 (pow.f64 x 5/2)))
(expm1.f64 (log1p.f64 (*.f64 (+.f64 x x) (sqrt.f64 x))))
(+.f64 (+.f64 1 (*.f64 (+.f64 x x) (sqrt.f64 x))) -1)
(+.f64 (*.f64 2 (*.f64 x (sqrt.f64 x))) 0)
(*.f64 2 (*.f64 x (sqrt.f64 x)))
(*.f64 (+.f64 x x) (sqrt.f64 x))
(*.f64 2 (pow.f64 x 3/2))
(exp.f64 (log.f64 (*.f64 (+.f64 x x) (sqrt.f64 x))))
(+.f64 (+.f64 1 (*.f64 (+.f64 x x) (sqrt.f64 x))) -1)
(+.f64 (*.f64 2 (*.f64 x (sqrt.f64 x))) 0)
(*.f64 2 (*.f64 x (sqrt.f64 x)))
(*.f64 (+.f64 x x) (sqrt.f64 x))
(*.f64 2 (pow.f64 x 3/2))
(exp.f64 (*.f64 (log.f64 (*.f64 (+.f64 x x) (sqrt.f64 x))) 1))
(+.f64 (+.f64 1 (*.f64 (+.f64 x x) (sqrt.f64 x))) -1)
(+.f64 (*.f64 2 (*.f64 x (sqrt.f64 x))) 0)
(*.f64 2 (*.f64 x (sqrt.f64 x)))
(*.f64 (+.f64 x x) (sqrt.f64 x))
(*.f64 2 (pow.f64 x 3/2))
(log1p.f64 (expm1.f64 (*.f64 (+.f64 x x) (sqrt.f64 x))))
(+.f64 (+.f64 1 (*.f64 (+.f64 x x) (sqrt.f64 x))) -1)
(+.f64 (*.f64 2 (*.f64 x (sqrt.f64 x))) 0)
(*.f64 2 (*.f64 x (sqrt.f64 x)))
(*.f64 (+.f64 x x) (sqrt.f64 x))
(*.f64 2 (pow.f64 x 3/2))

eval10.0ms (0.4%)

Compiler

Compiled 459 to 316 computations (31.2% saved)

prune8.0ms (0.3%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New66066
Fresh000
Picked011
Done033
Total66470
Error
0b
Counts
70 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(hypot.f64 x x)
33.4b
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x))
30.2b
(*.f64 (sqrt.f64 2) (neg.f64 x))
32.7b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 23 to 16 computations (30.4% saved)

regimes35.0ms (1.3%)

Accuracy

Total -63.3b remaining (-323896.5%)

Threshold costs -63.3b (-323896.5%)

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

4 calls:

25.0ms
x
3.0ms
(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.f64 x 2)))
3.0ms
(+.f64 (pow.f64 x 2) (pow.f64 x 2))
3.0ms
(pow.f64 x 2)
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(sqrt.f64 (+.f64 (pow.f64 x 2) (pow.f64 x 2)))
0.0b1(+.f64 (pow.f64 x 2) (pow.f64 x 2))
0.0b1(pow.f64 x 2)
Compiler

Compiled 57 to 40 computations (29.8% saved)

simplify3.0ms (0.1%)

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)

soundness233.0ms (8.6%)

Algorithm
egg-herbie
Rules
2476×fma-def
1806×distribute-lft-out
1312×count-2
1058×hypot-def
976×sqr-pow
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0817
1147
2357
3597
41227
53067
610677
719057
832637
942127
1050047
1160307
1269187
1378577
Stop Event
node limit
Compiler

Compiled 28 to 15 computations (46.4% saved)

end10.0ms (0.4%)

Compiler

Compiled 4 to 2 computations (50% saved)

Profiling

Loading profile data...