Details

Time bar (total: 34.8s)

sample27.0ms

Algorithm
intervals
Results
14.0ms442×body80valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 28.3b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
4.0b
(- (+ (* x x) (* y y)) (* z z))
26.2b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
817×*-un-lft-identity
337×associate-*l*
335×add-sqr-sqrt
228×times-frac
211×distribute-lft-out
154×distribute-lft-out--
137×add-cube-cbrt
120×prod-diff
117×swap-sqr
87×associate-*r*
70×difference-of-squares
43×*-commutative unswap-sqr
19×associate-/l*
15×fma-def
12×associate-/r*
10×add-log-exp
add-exp-log fma-neg add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv +-commutative flip3-- diff-log div-exp associate--l+ sum-log flip-- associate-/l/
sub-neg frac-2neg flip3-+ div-sub prod-exp clear-num cbrt-unprod flip-+ div-inv
Counts
3 → 472
Calls
3 calls:
17.0ms
(+ (* x x) (* y y))
33.0ms
(- (+ (* x x) (* y y)) (* z z))
49.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series186.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(+ (* x x) (* y y))
52.0ms
(- (+ (* x x) (* y y)) (* z z))
102.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify172.0ms

Algorithm
egg-herbie
Counts
481 → 481
Iterations

Useful iterations: 2 (108.0ms)

IterNodesCost
010095363
141674308
250014296

prune342.0ms

Filtered
481 candidates to 136 candidates (71.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New4738481
Fresh000
Picked101
Done000
Total4748482

Merged error: 0.0b

Counts
482 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ z (hypot x y))
0.0b
(- (/ (hypot x y) y) (/ z y))
0.0b
(/ (hypot x y) y)
0.1b
(* (/ (+ z (hypot x y)) (* 2.0 1)) (- (/ (hypot x y) y) (/ z y)))

rewrite450.0ms

Algorithm
rewrite-expression-head
Rules
2674×associate-/r*
2243×*-un-lft-identity
2194×add-sqr-sqrt
1980×frac-times
1944×frac-sub
1873×add-cube-cbrt
1663×associate-/l*
795×times-frac
572×frac-2neg
524×clear-num
507×prod-diff
341×associate-*l*
297×associate-*r*
196×unswap-sqr
182×associate-/l/
171×distribute-rgt-in distribute-lft-in
168×sub-div
105×distribute-lft-out
96×*-commutative
92×flip3-+ flip-+
90×associate-*r/
85×div-inv
24×flip3-- flip--
22×associate-*l/
18×add-exp-log
15×add-cbrt-cube
13×fma-neg
distribute-lft-out-- add-log-exp difference-of-squares
pow1 prod-exp
expm1-log1p-u div-exp cbrt-unprod log1p-expm1-u
cbrt-undiv sub-neg fma-def
distribute-rgt-out--
+-commutative diff-log 1-exp pow-prod-down sum-log
Counts
4 → 2863
Calls
4 calls:
3.0ms
(+ z (hypot x y))
29.0ms
(- (/ (hypot x y) y) (/ z y))
3.0ms
(/ (hypot x y) y)
110.0ms
(* (/ (+ z (hypot x y)) (* 2.0 1)) (- (/ (hypot x y) y) (/ z y)))

series451.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(+ z (hypot x y))
82.0ms
(- (/ (hypot x y) y) (/ z y))
91.0ms
(/ (hypot x y) y)
204.0ms
(* (/ (+ z (hypot x y)) (* 2.0 1)) (- (/ (hypot x y) y) (/ z y)))

simplify620.0ms

Algorithm
egg-herbie
Counts
2875 → 2875
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
0500159298

prune4.8s

Filtered
2875 candidates to 1316 candidates (54.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New286962875
Fresh617
Picked101
Done000
Total287672883

Merged error: 0b

Counts
2883 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ z (hypot x y))
0.0b
(- (/ (hypot x y) y) (/ z y))
0.0b
(/ (hypot x y) y)
0.1b
(* (+ z (hypot x y)) (* (/ 1 (* 2.0 1)) (- (/ (hypot x y) y) (/ z y))))

rewrite1.3s

Algorithm
rewrite-expression-head
Rules
8768×frac-times
7334×associate-/r*
5269×add-sqr-sqrt
4941×frac-sub
4798×*-un-lft-identity
4370×add-cube-cbrt
4116×associate-/l*
2089×associate-*r/
1821×flip3-+ flip-+
1494×frac-2neg
1372×clear-num
1259×times-frac
907×associate-*r*
875×associate-*l*
845×prod-diff
684×distribute-rgt-in distribute-lft-in
582×unswap-sqr
427×sub-div
278×*-commutative
137×div-inv
61×flip3-- flip--
59×associate-*l/
44×add-exp-log
27×prod-exp
20×add-cbrt-cube
13×fma-neg
pow1
cbrt-unprod distribute-lft-out-- add-log-exp difference-of-squares
div-exp
1-exp
sub-neg
expm1-log1p-u log1p-expm1-u
cbrt-undiv rec-exp fma-def pow-prod-down
distribute-rgt-out-- distribute-lft-out
+-commutative diff-log sum-log
Counts
4 → 6588
Calls
4 calls:
3.0ms
(+ z (hypot x y))
30.0ms
(- (/ (hypot x y) y) (/ z y))
3.0ms
(/ (hypot x y) y)
402.0ms
(* (+ z (hypot x y)) (* (/ 1 (* 2.0 1)) (- (/ (hypot x y) y) (/ z y))))

series432.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(+ z (hypot x y))
76.0ms
(- (/ (hypot x y) y) (/ z y))
82.0ms
(/ (hypot x y) y)
197.0ms
(* (+ z (hypot x y)) (* (/ 1 (* 2.0 1)) (- (/ (hypot x y) y) (/ z y))))

simplify1.7s

Algorithm
egg-herbie
Counts
6600 → 6600
Iterations

Useful iterations: 0 (136.0ms)

IterNodesCost
08806167282

prune22.0s

Filtered
6600 candidates to 5097 candidates (22.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New659826600
Fresh246
Picked011
Done000
Total660076607

Merged error: 0b

Counts
6607 → 7

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* (/ 1 (* 2.0 1)) (fma (/ 1 1) (/ (hypot x y) y) (- (* (/ 1 y) z)))) (+ z (hypot x y)))
0.2b
(* (/ 1 y) z)
0.2b
(* (/ 1 y) z)
51.7b
(fma (- (/ 1 y)) z (* (/ 1 y) z))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
145×associate-*l*
141×add-sqr-sqrt
94×associate-*l/
82×*-un-lft-identity
73×times-frac
62×add-cube-cbrt
60×add-exp-log
48×unswap-sqr
45×associate-/r*
38×frac-times
35×prod-exp
31×associate-*r*
28×add-cbrt-cube
20×flip3-+ flip-+
15×associate-/l*
13×pow1
12×cbrt-unprod
10×div-exp *-commutative
1-exp
rec-exp frac-2neg pow-prod-down clear-num
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
div-inv
+-commutative distribute-rgt-in distribute-lft-in associate-*r/
fma-udef distribute-lft-out
Counts
4 → 260
Calls
4 calls:
41.0ms
(* (* (/ 1 (* 2.0 1)) (fma (/ 1 1) (/ (hypot x y) y) (- (* (/ 1 y) z)))) (+ z (hypot x y)))
8.0ms
(* (/ 1 y) z)
8.0ms
(* (/ 1 y) z)
1.0ms
(fma (- (/ 1 y)) z (* (/ 1 y) z))

series274.0ms

Counts
4 → 12
Calls
4 calls:
234.0ms
(* (* (/ 1 (* 2.0 1)) (fma (/ 1 1) (/ (hypot x y) y) (- (* (/ 1 y) z)))) (+ z (hypot x y)))
9.0ms
(* (/ 1 y) z)
10.0ms
(* (/ 1 y) z)
21.0ms
(fma (- (/ 1 y)) z (* (/ 1 y) z))

simplify78.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 1 (47.0ms)

IterNodesCost
015913033
150012685

prune836.0ms

Filtered
272 candidates to 181 candidates (33.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2711272
Fresh145
Picked011
Done011
Total2727279

Merged error: 0b

Counts
279 → 7

regimes124.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12210
22210

end0.0ms

sample732.0ms

Algorithm
intervals
Results
457.0ms13633×body80valid