Details

Time bar (total: 2.8s)

sample35.0ms

Algorithm
intervals
Results
21.0ms477×body80valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.9b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
3.6b
(- (+ (* x x) (* y y)) (* z z))
25.9b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt *-un-lft-identity
times-frac associate-/l*
pow1 difference-of-squares
cbrt-undiv flip3-- diff-log div-exp sum-log flip-- associate-/l/
+-commutative sub-neg frac-2neg flip3-+ div-sub prod-exp associate--l+ clear-num associate-/r* cbrt-unprod flip-+ div-inv
Counts
3 → 52
Calls
3 calls:
4.0ms
(+ (* x x) (* y y))
6.0ms
(- (+ (* x x) (* y y)) (* z z))
12.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series153.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(+ (* x x) (* y y))
44.0ms
(- (+ (* x x) (* y y)) (* z z))
81.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0337520
11492454
25001446

prune151.0ms

Filtered
61 candidates to 46 candidates (75.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New54761
Fresh000
Picked101
Done000
Total55762

Merged error: 10.3b

Counts
62 → 7

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ y (/ (pow x 2) y))
9.0b
(/ (pow z 2) y)
10.2b
(/ (pow x 2) y)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
39×*-un-lft-identity
37×add-sqr-sqrt add-cube-cbrt
24×unpow-prod-down
16×associate-/l*
13×add-exp-log
unpow2 sqr-pow
add-cbrt-cube
div-exp associate-/r*
add-log-exp
pow1
cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num div-inv
+-commutative flip3-+ sum-log flip-+ distribute-lft-out
Counts
3 → 110
Calls
3 calls:
10.0ms
(+ y (/ (pow x 2) y))
5.0ms
(/ (pow z 2) y)
6.0ms
(/ (pow x 2) y)

series73.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(+ y (/ (pow x 2) y))
24.0ms
(/ (pow z 2) y)
20.0ms
(/ (pow x 2) y)

simplify45.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0327554
11147494
25001488

prune268.0ms

Filtered
119 candidates to 76 candidates (63.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1127119
Fresh516
Picked101
Done000
Total1188126

Merged error: 1.3b

Counts
126 → 8

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ y (/ x (/ y x)))
0.2b
(/ x (/ y x))
9.0b
(/ (pow z 2) y)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
99×times-frac
64×*-un-lft-identity
62×add-sqr-sqrt add-cube-cbrt
16×associate-/r*
13×add-exp-log
12×unpow-prod-down
11×associate-/l*
10×add-cbrt-cube
div-exp div-inv
add-log-exp
cbrt-undiv unpow2 sqr-pow
pow1
frac-2neg clear-num
+-commutative pow-to-exp flip3-+ pow-exp sum-log associate-/r/ flip-+ distribute-lft-out
Counts
3 → 131
Calls
3 calls:
16.0ms
(+ y (/ x (/ y x)))
6.0ms
(/ x (/ y x))
5.0ms
(/ (pow z 2) y)

series68.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ y (/ x (/ y x)))
19.0ms
(/ x (/ y x))
20.0ms
(/ (pow z 2) y)

simplify80.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0509765
12386692
25002685

prune289.0ms

Filtered
140 candidates to 94 candidates (67.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1391140
Fresh167
Picked101
Done000
Total1417148

Merged error: 0.0b

Counts
148 → 7

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ y (/ x (/ y x)))
0.2b
(* z (/ z y))
0.2b
(/ x (/ y x))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
85×times-frac
58×add-sqr-sqrt
55×*-un-lft-identity
53×add-cube-cbrt
13×add-exp-log associate-*r* associate-/r* add-cbrt-cube
div-inv
pow1 add-log-exp
cbrt-undiv div-exp
associate-*l* associate-/l*
prod-exp cbrt-unprod unswap-sqr
+-commutative frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num sum-log associate-/r/ *-commutative flip-+ distribute-lft-out
Counts
3 → 114
Calls
3 calls:
13.0ms
(+ y (/ x (/ y x)))
7.0ms
(* z (/ z y))
6.0ms
(/ x (/ y x))

series69.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(+ y (/ x (/ y x)))
21.0ms
(* z (/ z y))
20.0ms
(/ x (/ y x))

simplify76.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0519657
12599597
25001590

prune223.0ms

Filtered
123 candidates to 87 candidates (70.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1221123
Fresh156
Picked011
Done000
Total1237130

Merged error: 0b

Counts
130 → 7

regimes133.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample906.0ms

Algorithm
intervals
Results
617.0ms13588×body80valid

Profiling

Loading profile data...