Details

Time bar (total: 2.1s)

sample38.0ms

Algorithm
intervals
Results
21.0ms100×body1280valid
5.0ms125×body80valid
3.0ms18×body640valid
1.0msbody320valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1246
2286
3306
4356
5376
6376

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.1b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot 1.0 x)
0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
1.9b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
pow1
add-sqr-sqrt
add-exp-log add-cube-cbrt add-cbrt-cube
sqrt-pow1 flip3-+ sqrt-div associate-*r/ flip-+
+-commutative sub-neg flip3-- pow1/2 diff-log pow-prod-down sum-log sqrt-prod flip-- distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 46
Calls
4 calls:
1.0ms
(hypot 1.0 x)
5.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
6.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
4.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series34.0ms

Counts
4 → 12
Calls
4 calls:
1.0ms
(hypot 1.0 x)
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
13.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
14.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify48.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0167381
1423355
21736353
35002352

prune96.0ms

Filtered
40 candidates to 58 candidates (-45.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New56258
Fresh000
Picked101
Done000
Total57259

Merged error: 13.6b

Counts
59 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
1.4b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
add-exp-log add-cbrt-cube
pow1
associate-*r/ associate-/r* associate-/l* add-log-exp
associate--l+
sub-neg
cbrt-undiv distribute-rgt-in flip3-- frac-2neg distribute-lft-in sqrt-pow1 sqrt-div div-exp clear-num frac-sub flip-- div-inv
flip3-+ pow1/2 diff-log pow-prod-down sqrt-prod flip-+
Counts
4 → 85
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(/ 1.0 (hypot 1.0 x))
6.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
6.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

series30.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ 1.0 (hypot 1.0 x))
4.0ms
(/ 1.0 (hypot 1.0 x))
13.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
8.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify37.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0299576
11026547
25001541

prune216.0ms

Filtered
70 candidates to 97 candidates (-38.6%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh011
Picked011
Done000
Total97299

Merged error: 13.6b

Counts
99 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(/ 1.0 (hypot 1.0 x))
0.5b
(* (sqrt 0.5) (sqrt (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
1.9b
(- 1.0 (* (sqrt 0.5) (sqrt (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
20×*-un-lft-identity
16×add-cube-cbrt
11×sqrt-prod
times-frac
pow1 add-exp-log add-cbrt-cube add-log-exp
associate-*r*
associate-*l*
unswap-sqr
pow-prod-down associate-/r* associate-/l*
sqrt-pow1 flip3-+ pow1/2 sqrt-div associate-*r/ flip-+ distribute-lft-out
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg sqrt-unprod diff-log div-exp prod-exp clear-num sum-log *-commutative flip-- cbrt-unprod div-inv
Counts
4 → 84
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
3.0ms
(/ 1.0 (hypot 1.0 x))
10.0ms
(* (sqrt 0.5) (sqrt (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
3.0ms
(- 1.0 (* (sqrt 0.5) (sqrt (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series39.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
4.0ms
(/ 1.0 (hypot 1.0 x))
13.0ms
(* (sqrt 0.5) (sqrt (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
15.0ms
(- 1.0 (* (sqrt 0.5) (sqrt (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify99.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0272656
11012616
23572611
35001611

prune160.0ms

Filtered
63 candidates to 96 candidates (-52.4%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New96096
Fresh000
Picked011
Done011
Total96298

Merged error: 13.6b

Counts
98 → 2

regimes107.0ms

Accuracy

0% (0.0b remaining)

Error of 15.2b against oracle of 15.2b and baseline of 15.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01913
11913

end0.0ms

sample1.1s

Algorithm
intervals
Results
616.0ms2844×body1280valid
159.0ms4041×body80valid
108.0ms632×body640valid
39.0ms329×body320valid
12.0ms154×body160valid

Profiling

Loading profile data...